Documentation
¶
Index ¶
- Variables
- type CredentialLibrary
- func (*CredentialLibrary) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialLibrary) GetCredentialStoreId() string
- func (x *CredentialLibrary) GetDescription() string
- func (x *CredentialLibrary) GetId() string
- func (x *CredentialLibrary) GetName() string
- func (x *CredentialLibrary) GetType() string
- func (*CredentialLibrary) ProtoMessage()
- func (x *CredentialLibrary) ProtoReflect() protoreflect.Message
- func (x *CredentialLibrary) Reset()
- func (x *CredentialLibrary) String() string
- type CredentialSource
- func (*CredentialSource) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialSource) GetCredentialStoreId() string
- func (x *CredentialSource) GetDescription() string
- func (x *CredentialSource) GetId() string
- func (x *CredentialSource) GetName() string
- func (x *CredentialSource) GetType() string
- func (*CredentialSource) ProtoMessage()
- func (x *CredentialSource) ProtoReflect() protoreflect.Message
- func (x *CredentialSource) Reset()
- func (x *CredentialSource) String() string
- type HostSet
- type HostSource
- type SessionAuthorization
- func (*SessionAuthorization) Descriptor() ([]byte, []int)deprecated
- func (x *SessionAuthorization) GetAuthorizationToken() string
- func (x *SessionAuthorization) GetCreatedTime() *timestamppb.Timestamp
- func (x *SessionAuthorization) GetCredentials() []*SessionCredential
- func (x *SessionAuthorization) GetEndpoint() string
- func (x *SessionAuthorization) GetHostId() string
- func (x *SessionAuthorization) GetHostSetId() string
- func (x *SessionAuthorization) GetScope() *scopes.ScopeInfo
- func (x *SessionAuthorization) GetSessionId() string
- func (x *SessionAuthorization) GetTargetId() string
- func (x *SessionAuthorization) GetType() string
- func (x *SessionAuthorization) GetUserId() string
- func (*SessionAuthorization) ProtoMessage()
- func (x *SessionAuthorization) ProtoReflect() protoreflect.Message
- func (x *SessionAuthorization) Reset()
- func (x *SessionAuthorization) String() string
- type SessionAuthorizationData
- func (*SessionAuthorizationData) Descriptor() ([]byte, []int)deprecated
- func (x *SessionAuthorizationData) GetCertificate() []byte
- func (x *SessionAuthorizationData) GetConnectionLimit() int32
- func (x *SessionAuthorizationData) GetCreatedTime() *timestamppb.Timestamp
- func (x *SessionAuthorizationData) GetEndpoint() string
- func (x *SessionAuthorizationData) GetHostId() string
- func (x *SessionAuthorizationData) GetPrivateKey() []byte
- func (x *SessionAuthorizationData) GetScope() *scopes.ScopeInfo
- func (x *SessionAuthorizationData) GetSessionId() string
- func (x *SessionAuthorizationData) GetTargetId() string
- func (x *SessionAuthorizationData) GetType() string
- func (x *SessionAuthorizationData) GetWorkerInfo() []*WorkerInfo
- func (*SessionAuthorizationData) ProtoMessage()
- func (x *SessionAuthorizationData) ProtoReflect() protoreflect.Message
- func (x *SessionAuthorizationData) Reset()
- func (x *SessionAuthorizationData) String() string
- type SessionCredential
- func (*SessionCredential) Descriptor() ([]byte, []int)deprecated
- func (x *SessionCredential) GetCredentialLibrary() *CredentialLibrarydeprecated
- func (x *SessionCredential) GetCredentialSource() *CredentialSource
- func (x *SessionCredential) GetSecret() *SessionSecret
- func (*SessionCredential) ProtoMessage()
- func (x *SessionCredential) ProtoReflect() protoreflect.Message
- func (x *SessionCredential) Reset()
- func (x *SessionCredential) String() string
- type SessionSecret
- func (*SessionSecret) Descriptor() ([]byte, []int)deprecated
- func (x *SessionSecret) GetDecoded() *structpb.Struct
- func (x *SessionSecret) GetRaw() string
- func (*SessionSecret) ProtoMessage()
- func (x *SessionSecret) ProtoReflect() protoreflect.Message
- func (x *SessionSecret) Reset()
- func (x *SessionSecret) String() string
- type Target
- func (*Target) Descriptor() ([]byte, []int)deprecated
- func (x *Target) GetApplicationCredentialLibraries() []*CredentialLibrarydeprecated
- func (x *Target) GetApplicationCredentialLibraryIds() []stringdeprecated
- func (x *Target) GetApplicationCredentialSourceIds() []string
- func (x *Target) GetApplicationCredentialSources() []*CredentialSource
- func (x *Target) GetAttributes() *structpb.Struct
- func (x *Target) GetAuthorizedActions() []string
- func (x *Target) GetCreatedTime() *timestamppb.Timestamp
- func (x *Target) GetDescription() *wrapperspb.StringValue
- func (x *Target) GetHostSetIds() []string
- func (x *Target) GetHostSets() []*HostSet
- func (x *Target) GetHostSourceIds() []string
- func (x *Target) GetHostSources() []*HostSource
- func (x *Target) GetId() string
- func (x *Target) GetName() *wrapperspb.StringValue
- func (x *Target) GetScope() *scopes.ScopeInfo
- func (x *Target) GetScopeId() string
- func (x *Target) GetSessionConnectionLimit() *wrapperspb.Int32Value
- func (x *Target) GetSessionMaxSeconds() *wrapperspb.UInt32Value
- func (x *Target) GetType() string
- func (x *Target) GetUpdatedTime() *timestamppb.Timestamp
- func (x *Target) GetVersion() uint32
- func (x *Target) GetWorkerFilter() *wrapperspb.StringValue
- func (*Target) ProtoMessage()
- func (x *Target) ProtoReflect() protoreflect.Message
- func (x *Target) Reset()
- func (x *Target) String() string
- type TcpTargetAttributes
- func (*TcpTargetAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *TcpTargetAttributes) GetDefaultPort() *wrapperspb.UInt32Value
- func (*TcpTargetAttributes) ProtoMessage()
- func (x *TcpTargetAttributes) ProtoReflect() protoreflect.Message
- func (x *TcpTargetAttributes) Reset()
- func (x *TcpTargetAttributes) String() string
- type WorkerInfo
Constants ¶
This section is empty.
Variables ¶
var File_controller_api_resources_targets_v1_target_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CredentialLibrary ¶ added in v0.4.0
type CredentialLibrary struct { // The ID of the Credential Library. Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"` // Output only. The name of the Credential Library. Name string `protobuf:"bytes,20,opt,name=name,proto3" json:"name,omitempty"` // Output only. The description of the Credential Library. Description string `protobuf:"bytes,30,opt,name=description,proto3" json:"description,omitempty"` // Output only. The Credential Store to which this Credential Library belongs. CredentialStoreId string `protobuf:"bytes,40,opt,name=credential_store_id,proto3" json:"credential_store_id,omitempty"` // Output only. The type of the credential library. Type string `protobuf:"bytes,60,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*CredentialLibrary) Descriptor
deprecated
added in
v0.4.0
func (*CredentialLibrary) Descriptor() ([]byte, []int)
Deprecated: Use CredentialLibrary.ProtoReflect.Descriptor instead.
func (*CredentialLibrary) GetCredentialStoreId ¶ added in v0.4.0
func (x *CredentialLibrary) GetCredentialStoreId() string
func (*CredentialLibrary) GetDescription ¶ added in v0.4.0
func (x *CredentialLibrary) GetDescription() string
func (*CredentialLibrary) GetId ¶ added in v0.4.0
func (x *CredentialLibrary) GetId() string
func (*CredentialLibrary) GetName ¶ added in v0.4.0
func (x *CredentialLibrary) GetName() string
func (*CredentialLibrary) GetType ¶ added in v0.4.0
func (x *CredentialLibrary) GetType() string
func (*CredentialLibrary) ProtoMessage ¶ added in v0.4.0
func (*CredentialLibrary) ProtoMessage()
func (*CredentialLibrary) ProtoReflect ¶ added in v0.4.0
func (x *CredentialLibrary) ProtoReflect() protoreflect.Message
func (*CredentialLibrary) Reset ¶ added in v0.4.0
func (x *CredentialLibrary) Reset()
func (*CredentialLibrary) String ¶ added in v0.4.0
func (x *CredentialLibrary) String() string
type CredentialSource ¶ added in v0.5.0
type CredentialSource struct { // The ID of the Credential. May be empty if the credential is dynamically generated from a library. Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"` // Output only. The name of the Credential source. Name string `protobuf:"bytes,20,opt,name=name,proto3" json:"name,omitempty"` // Output only. The description of the Credential source. Description string `protobuf:"bytes,30,opt,name=description,proto3" json:"description,omitempty"` // Output only. The Credential Store to which this Credential source belongs. CredentialStoreId string `protobuf:"bytes,40,opt,name=credential_store_id,proto3" json:"credential_store_id,omitempty"` // Output only. The type of the credential source (e.g. "vault"; not the type of the credential itself). Type string `protobuf:"bytes,60,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*CredentialSource) Descriptor
deprecated
added in
v0.5.0
func (*CredentialSource) Descriptor() ([]byte, []int)
Deprecated: Use CredentialSource.ProtoReflect.Descriptor instead.
func (*CredentialSource) GetCredentialStoreId ¶ added in v0.5.0
func (x *CredentialSource) GetCredentialStoreId() string
func (*CredentialSource) GetDescription ¶ added in v0.5.0
func (x *CredentialSource) GetDescription() string
func (*CredentialSource) GetId ¶ added in v0.5.0
func (x *CredentialSource) GetId() string
func (*CredentialSource) GetName ¶ added in v0.5.0
func (x *CredentialSource) GetName() string
func (*CredentialSource) GetType ¶ added in v0.5.0
func (x *CredentialSource) GetType() string
func (*CredentialSource) ProtoMessage ¶ added in v0.5.0
func (*CredentialSource) ProtoMessage()
func (*CredentialSource) ProtoReflect ¶ added in v0.5.0
func (x *CredentialSource) ProtoReflect() protoreflect.Message
func (*CredentialSource) Reset ¶ added in v0.5.0
func (x *CredentialSource) Reset()
func (*CredentialSource) String ¶ added in v0.5.0
func (x *CredentialSource) String() string
type HostSet ¶
type HostSet struct { // Output only. The ID of the Host Set. Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"` // Output only. The Host Catalog to which this Host Set belongs. HostCatalogId string `protobuf:"bytes,20,opt,name=host_catalog_id,proto3" json:"host_catalog_id,omitempty"` // contains filtered or unexported fields }
func (*HostSet) Descriptor
deprecated
func (*HostSet) GetHostCatalogId ¶
func (*HostSet) ProtoMessage ¶
func (*HostSet) ProtoMessage()
func (*HostSet) ProtoReflect ¶
func (x *HostSet) ProtoReflect() protoreflect.Message
type HostSource ¶ added in v0.5.0
type HostSource struct { // Output only. The ID of the Host Set. Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"` // Output only. The Host Catalog to which this Host Source belongs. HostCatalogId string `protobuf:"bytes,20,opt,name=host_catalog_id,proto3" json:"host_catalog_id,omitempty"` // contains filtered or unexported fields }
func (*HostSource) Descriptor
deprecated
added in
v0.5.0
func (*HostSource) Descriptor() ([]byte, []int)
Deprecated: Use HostSource.ProtoReflect.Descriptor instead.
func (*HostSource) GetHostCatalogId ¶ added in v0.5.0
func (x *HostSource) GetHostCatalogId() string
func (*HostSource) GetId ¶ added in v0.5.0
func (x *HostSource) GetId() string
func (*HostSource) ProtoMessage ¶ added in v0.5.0
func (*HostSource) ProtoMessage()
func (*HostSource) ProtoReflect ¶ added in v0.5.0
func (x *HostSource) ProtoReflect() protoreflect.Message
func (*HostSource) Reset ¶ added in v0.5.0
func (x *HostSource) Reset()
func (*HostSource) String ¶ added in v0.5.0
func (x *HostSource) String() string
type SessionAuthorization ¶
type SessionAuthorization struct { // Output only. The ID of the Session. SessionId string `protobuf:"bytes,10,opt,name=session_id,proto3" json:"session_id,omitempty"` // Output only. The ID of the Target authorizing this Session. TargetId string `protobuf:"bytes,20,opt,name=target_id,proto3" json:"target_id,omitempty"` // Output only. Scope information for this resource. Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"` // Output only. The time this resource was created. CreatedTime *timestamppb.Timestamp `protobuf:"bytes,40,opt,name=created_time,proto3" json:"created_time,omitempty"` // Output only. The User for which this Session was authorized. UserId string `protobuf:"bytes,50,opt,name=user_id,proto3" json:"user_id,omitempty"` // Output only. The Host Set containing the Host being used for this Session. HostSetId string `protobuf:"bytes,60,opt,name=host_set_id,proto3" json:"host_set_id,omitempty"` // Output only. The Host whose address is being used as the endpoint for this Session. HostId string `protobuf:"bytes,70,opt,name=host_id,proto3" json:"host_id,omitempty"` // Output only. Type of the Session (e.g. tcp, ssh, etc.). Type string `protobuf:"bytes,80,opt,name=type,proto3" json:"type,omitempty"` // Output only. The marshaled SessionAuthorizationData message containing all information that the proxy needs. AuthorizationToken string `protobuf:"bytes,90,opt,name=authorization_token,proto3" json:"authorization_token,omitempty"` // Output only. The endpoint address that the worker will connect to, useful for setting TLS parameters. Endpoint string `protobuf:"bytes,100,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Output only. The credentials for this session. Credentials []*SessionCredential `protobuf:"bytes,110,rep,name=credentials,proto3" json:"credentials,omitempty"` // contains filtered or unexported fields }
SessionAuthorization contains all fields related to authorization for a Session. It's in the Targets package because it's returned by a Target's authorize action.
func (*SessionAuthorization) Descriptor
deprecated
func (*SessionAuthorization) Descriptor() ([]byte, []int)
Deprecated: Use SessionAuthorization.ProtoReflect.Descriptor instead.
func (*SessionAuthorization) GetAuthorizationToken ¶
func (x *SessionAuthorization) GetAuthorizationToken() string
func (*SessionAuthorization) GetCreatedTime ¶
func (x *SessionAuthorization) GetCreatedTime() *timestamppb.Timestamp
func (*SessionAuthorization) GetCredentials ¶ added in v0.4.0
func (x *SessionAuthorization) GetCredentials() []*SessionCredential
func (*SessionAuthorization) GetEndpoint ¶ added in v0.1.3
func (x *SessionAuthorization) GetEndpoint() string
func (*SessionAuthorization) GetHostId ¶
func (x *SessionAuthorization) GetHostId() string
func (*SessionAuthorization) GetHostSetId ¶
func (x *SessionAuthorization) GetHostSetId() string
func (*SessionAuthorization) GetScope ¶
func (x *SessionAuthorization) GetScope() *scopes.ScopeInfo
func (*SessionAuthorization) GetSessionId ¶
func (x *SessionAuthorization) GetSessionId() string
func (*SessionAuthorization) GetTargetId ¶
func (x *SessionAuthorization) GetTargetId() string
func (*SessionAuthorization) GetType ¶
func (x *SessionAuthorization) GetType() string
func (*SessionAuthorization) GetUserId ¶
func (x *SessionAuthorization) GetUserId() string
func (*SessionAuthorization) ProtoMessage ¶
func (*SessionAuthorization) ProtoMessage()
func (*SessionAuthorization) ProtoReflect ¶
func (x *SessionAuthorization) ProtoReflect() protoreflect.Message
func (*SessionAuthorization) Reset ¶
func (x *SessionAuthorization) Reset()
func (*SessionAuthorization) String ¶
func (x *SessionAuthorization) String() string
type SessionAuthorizationData ¶
type SessionAuthorizationData struct { // Output only. The ID of the session. SessionId string `protobuf:"bytes,10,opt,name=session_id,proto3" json:"session_id,omitempty"` // Output only. The ID of the Target authorizing this session. TargetId string `protobuf:"bytes,20,opt,name=target_id,proto3" json:"target_id,omitempty"` // Output only. Scope information for this the Target that authorized this session. Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"` // Output only. The time this resource was created. CreatedTime *timestamppb.Timestamp `protobuf:"bytes,40,opt,name=created_time,proto3" json:"created_time,omitempty"` // Output only. Type of the session (e.g. tcp, ssh, etc.). Type string `protobuf:"bytes,80,opt,name=type,proto3" json:"type,omitempty"` // Output only. The connection limit being applied to this session. -1 means unlimited. This is not actually enforced on the client side but it provides for better listener handling by including it. ConnectionLimit int32 `protobuf:"varint,90,opt,name=connection_limit,proto3" json:"connection_limit,omitempty"` // Output only. The certificate to use when connecting. Raw DER bytes. Certificate []byte `protobuf:"bytes,120,opt,name=certificate,proto3" json:"certificate,omitempty"` // Output only. The private key to use when connecting. We are using Ed25519, so this is purely raw bytes, no marshaling. PrivateKey []byte `protobuf:"bytes,130,opt,name=private_key,proto3" json:"private_key,omitempty"` // Output only. The host ID...not used for security purposes, but for some special command handling (e.g. ssh host key aliasing). HostId string `protobuf:"bytes,140,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` // Output only. The endpoint, for some special command handling. Endpoint string `protobuf:"bytes,141,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Output only. Worker information. The first worker in the array should be prioritized. WorkerInfo []*WorkerInfo `protobuf:"bytes,150,rep,name=worker_info,proto3" json:"worker_info,omitempty"` // contains filtered or unexported fields }
SessionAuthorizationData contains the fields needed by the proxy command to connect to a worker. It is marshaled inside the SessionAuthorization message.
func (*SessionAuthorizationData) Descriptor
deprecated
func (*SessionAuthorizationData) Descriptor() ([]byte, []int)
Deprecated: Use SessionAuthorizationData.ProtoReflect.Descriptor instead.
func (*SessionAuthorizationData) GetCertificate ¶
func (x *SessionAuthorizationData) GetCertificate() []byte
func (*SessionAuthorizationData) GetConnectionLimit ¶
func (x *SessionAuthorizationData) GetConnectionLimit() int32
func (*SessionAuthorizationData) GetCreatedTime ¶
func (x *SessionAuthorizationData) GetCreatedTime() *timestamppb.Timestamp
func (*SessionAuthorizationData) GetEndpoint ¶ added in v0.1.3
func (x *SessionAuthorizationData) GetEndpoint() string
func (*SessionAuthorizationData) GetHostId ¶
func (x *SessionAuthorizationData) GetHostId() string
func (*SessionAuthorizationData) GetPrivateKey ¶
func (x *SessionAuthorizationData) GetPrivateKey() []byte
func (*SessionAuthorizationData) GetScope ¶
func (x *SessionAuthorizationData) GetScope() *scopes.ScopeInfo
func (*SessionAuthorizationData) GetSessionId ¶
func (x *SessionAuthorizationData) GetSessionId() string
func (*SessionAuthorizationData) GetTargetId ¶
func (x *SessionAuthorizationData) GetTargetId() string
func (*SessionAuthorizationData) GetType ¶
func (x *SessionAuthorizationData) GetType() string
func (*SessionAuthorizationData) GetWorkerInfo ¶
func (x *SessionAuthorizationData) GetWorkerInfo() []*WorkerInfo
func (*SessionAuthorizationData) ProtoMessage ¶
func (*SessionAuthorizationData) ProtoMessage()
func (*SessionAuthorizationData) ProtoReflect ¶
func (x *SessionAuthorizationData) ProtoReflect() protoreflect.Message
func (*SessionAuthorizationData) Reset ¶
func (x *SessionAuthorizationData) Reset()
func (*SessionAuthorizationData) String ¶
func (x *SessionAuthorizationData) String() string
type SessionCredential ¶ added in v0.4.0
type SessionCredential struct { // Output only. The credential source information. CredentialSource *CredentialSource `protobuf:"bytes,1,opt,name=credential_source,json=credentialSource,proto3" json:"credential_source,omitempty"` // Output only. The library which generated this credential. Deprecated: use credential_source instead. // // Deprecated: Do not use. CredentialLibrary *CredentialLibrary `protobuf:"bytes,10,opt,name=credential_library,json=credentialLibrary,proto3" json:"credential_library,omitempty"` // Output only. The secret of this credential base64 encoded. Secret *SessionSecret `protobuf:"bytes,20,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
Credential information for a session.
func (*SessionCredential) Descriptor
deprecated
added in
v0.4.0
func (*SessionCredential) Descriptor() ([]byte, []int)
Deprecated: Use SessionCredential.ProtoReflect.Descriptor instead.
func (*SessionCredential) GetCredentialLibrary
deprecated
added in
v0.4.0
func (x *SessionCredential) GetCredentialLibrary() *CredentialLibrary
Deprecated: Do not use.
func (*SessionCredential) GetCredentialSource ¶ added in v0.5.0
func (x *SessionCredential) GetCredentialSource() *CredentialSource
func (*SessionCredential) GetSecret ¶ added in v0.4.0
func (x *SessionCredential) GetSecret() *SessionSecret
func (*SessionCredential) ProtoMessage ¶ added in v0.4.0
func (*SessionCredential) ProtoMessage()
func (*SessionCredential) ProtoReflect ¶ added in v0.4.0
func (x *SessionCredential) ProtoReflect() protoreflect.Message
func (*SessionCredential) Reset ¶ added in v0.4.0
func (x *SessionCredential) Reset()
func (*SessionCredential) String ¶ added in v0.4.0
func (x *SessionCredential) String() string
type SessionSecret ¶ added in v0.4.0
type SessionSecret struct { // Output only. The base64-encoded value representing the raw bytes from the // credential provider. Raw string `protobuf:"bytes,10,opt,name=raw,proto3" json:"raw,omitempty"` // Output only. The decoded raw string, if a JSON object. Decoded *structpb.Struct `protobuf:"bytes,20,opt,name=decoded,proto3" json:"decoded,omitempty"` // contains filtered or unexported fields }
The actual secret for a session credential.
func (*SessionSecret) Descriptor
deprecated
added in
v0.4.0
func (*SessionSecret) Descriptor() ([]byte, []int)
Deprecated: Use SessionSecret.ProtoReflect.Descriptor instead.
func (*SessionSecret) GetDecoded ¶ added in v0.4.0
func (x *SessionSecret) GetDecoded() *structpb.Struct
func (*SessionSecret) GetRaw ¶ added in v0.4.0
func (x *SessionSecret) GetRaw() string
func (*SessionSecret) ProtoMessage ¶ added in v0.4.0
func (*SessionSecret) ProtoMessage()
func (*SessionSecret) ProtoReflect ¶ added in v0.4.0
func (x *SessionSecret) ProtoReflect() protoreflect.Message
func (*SessionSecret) Reset ¶ added in v0.4.0
func (x *SessionSecret) Reset()
func (*SessionSecret) String ¶ added in v0.4.0
func (x *SessionSecret) String() string
type Target ¶
type Target struct { // Output only. The ID of the resource. Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"` // The Scope of of this resource. This must be defined for creation of this resource, but is otherwise output only. ScopeId string `protobuf:"bytes,20,opt,name=scope_id,proto3" json:"scope_id,omitempty"` // Output only. Scope information for this resource. Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"` // Required name for identification purposes. Name *wrapperspb.StringValue `protobuf:"bytes,40,opt,name=name,proto3" json:"name,omitempty"` // Optional user-set description for identification purposes. Description *wrapperspb.StringValue `protobuf:"bytes,50,opt,name=description,proto3" json:"description,omitempty"` // Output only. The time this resource was created. CreatedTime *timestamppb.Timestamp `protobuf:"bytes,60,opt,name=created_time,proto3" json:"created_time,omitempty"` // Output only. The time this resource was last updated. UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,70,opt,name=updated_time,proto3" json:"updated_time,omitempty"` // Version is used in mutation requests, after the initial creation, to ensure this resource has not changed. // The mutation will fail if the version does not match the latest known good version. Version uint32 `protobuf:"varint,80,opt,name=version,proto3" json:"version,omitempty"` // The type of the Target. Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty"` // The IDs of the Host Sets associated with this Target. HostSetIds []string `protobuf:"bytes,100,rep,name=host_set_ids,proto3" json:"host_set_ids,omitempty"` // Output only. The Host Sets associated with this Target. HostSets []*HostSet `protobuf:"bytes,110,rep,name=host_sets,proto3" json:"host_sets,omitempty"` // The IDs of the Host Sources associated with this Target. HostSourceIds []string `protobuf:"bytes,420,rep,name=host_source_ids,proto3" json:"host_source_ids,omitempty"` // Output only. The Host Sources associated with this Target. HostSources []*HostSource `protobuf:"bytes,430,rep,name=host_sources,proto3" json:"host_sources,omitempty"` // Maximum total lifetime of a created Session, in seconds. SessionMaxSeconds *wrapperspb.UInt32Value `protobuf:"bytes,120,opt,name=session_max_seconds,proto3" json:"session_max_seconds,omitempty"` // Maximum number of connections allowed in a Session. Unlimited is indicated by the value -1. SessionConnectionLimit *wrapperspb.Int32Value `protobuf:"bytes,130,opt,name=session_connection_limit,proto3" json:"session_connection_limit,omitempty"` // Optional boolean expression to filter the workers that are allowed to satisfy this request. WorkerFilter *wrapperspb.StringValue `protobuf:"bytes,140,opt,name=worker_filter,proto3" json:"worker_filter,omitempty"` // The IDs of the application credential library ids associated with this Target. Deprecated: use application_credential_source_ids instead. // // Deprecated: Do not use. ApplicationCredentialLibraryIds []string `protobuf:"bytes,150,rep,name=application_credential_library_ids,proto3" json:"application_credential_library_ids,omitempty"` // Output only. The application credential libraries associated with this Target. Deprecated: use application_credential_sources instead. // // Deprecated: Do not use. ApplicationCredentialLibraries []*CredentialLibrary `protobuf:"bytes,180,rep,name=application_credential_libraries,proto3" json:"application_credential_libraries,omitempty"` // The IDs of the application credential source ids associated with this Target. ApplicationCredentialSourceIds []string `protobuf:"bytes,400,rep,name=application_credential_source_ids,proto3" json:"application_credential_source_ids,omitempty"` // Output only. The application credential sources associated with this Target. ApplicationCredentialSources []*CredentialSource `protobuf:"bytes,410,rep,name=application_credential_sources,proto3" json:"application_credential_sources,omitempty"` // The attributes that are applicable for the specific Target. Attributes *structpb.Struct `protobuf:"bytes,200,opt,name=attributes,proto3" json:"attributes,omitempty"` // Output only. The available actions on this resource for this user. AuthorizedActions []string `protobuf:"bytes,300,rep,name=authorized_actions,proto3" json:"authorized_actions,omitempty"` // contains filtered or unexported fields }
Target contains all fields related to a Target resource
func (*Target) Descriptor
deprecated
func (*Target) GetApplicationCredentialLibraries
deprecated
added in
v0.4.0
func (x *Target) GetApplicationCredentialLibraries() []*CredentialLibrary
Deprecated: Do not use.
func (*Target) GetApplicationCredentialLibraryIds
deprecated
added in
v0.4.0
func (*Target) GetApplicationCredentialSourceIds ¶ added in v0.5.0
func (*Target) GetApplicationCredentialSources ¶ added in v0.5.0
func (x *Target) GetApplicationCredentialSources() []*CredentialSource
func (*Target) GetAttributes ¶
func (*Target) GetAuthorizedActions ¶ added in v0.1.5
func (*Target) GetCreatedTime ¶
func (x *Target) GetCreatedTime() *timestamppb.Timestamp
func (*Target) GetDescription ¶
func (x *Target) GetDescription() *wrapperspb.StringValue
func (*Target) GetHostSetIds ¶
func (*Target) GetHostSets ¶
func (*Target) GetHostSourceIds ¶ added in v0.5.0
func (*Target) GetHostSources ¶ added in v0.5.0
func (x *Target) GetHostSources() []*HostSource
func (*Target) GetName ¶
func (x *Target) GetName() *wrapperspb.StringValue
func (*Target) GetScopeId ¶
func (*Target) GetSessionConnectionLimit ¶
func (x *Target) GetSessionConnectionLimit() *wrapperspb.Int32Value
func (*Target) GetSessionMaxSeconds ¶
func (x *Target) GetSessionMaxSeconds() *wrapperspb.UInt32Value
func (*Target) GetUpdatedTime ¶
func (x *Target) GetUpdatedTime() *timestamppb.Timestamp
func (*Target) GetVersion ¶
func (*Target) GetWorkerFilter ¶ added in v0.1.5
func (x *Target) GetWorkerFilter() *wrapperspb.StringValue
func (*Target) ProtoMessage ¶
func (*Target) ProtoMessage()
func (*Target) ProtoReflect ¶
func (x *Target) ProtoReflect() protoreflect.Message
type TcpTargetAttributes ¶
type TcpTargetAttributes struct { // The default TCP port that will be used when connecting to the endpoint unless overridden by a Host Set or Host. DefaultPort *wrapperspb.UInt32Value `protobuf:"bytes,10,opt,name=default_port,proto3" json:"default_port,omitempty"` // contains filtered or unexported fields }
TcpTargetAttributes contains attributes relevant to Targets of type "tcp"
func (*TcpTargetAttributes) Descriptor
deprecated
func (*TcpTargetAttributes) Descriptor() ([]byte, []int)
Deprecated: Use TcpTargetAttributes.ProtoReflect.Descriptor instead.
func (*TcpTargetAttributes) GetDefaultPort ¶
func (x *TcpTargetAttributes) GetDefaultPort() *wrapperspb.UInt32Value
func (*TcpTargetAttributes) ProtoMessage ¶
func (*TcpTargetAttributes) ProtoMessage()
func (*TcpTargetAttributes) ProtoReflect ¶
func (x *TcpTargetAttributes) ProtoReflect() protoreflect.Message
func (*TcpTargetAttributes) Reset ¶
func (x *TcpTargetAttributes) Reset()
func (*TcpTargetAttributes) String ¶
func (x *TcpTargetAttributes) String() string
type WorkerInfo ¶
type WorkerInfo struct { // Output only. The address of the worker. Address string `protobuf:"bytes,10,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
WorkerInfo contains information about workers, returned in to the client in SessionAuthorization
func (*WorkerInfo) Descriptor
deprecated
func (*WorkerInfo) Descriptor() ([]byte, []int)
Deprecated: Use WorkerInfo.ProtoReflect.Descriptor instead.
func (*WorkerInfo) GetAddress ¶
func (x *WorkerInfo) GetAddress() string
func (*WorkerInfo) ProtoMessage ¶
func (*WorkerInfo) ProtoMessage()
func (*WorkerInfo) ProtoReflect ¶
func (x *WorkerInfo) ProtoReflect() protoreflect.Message
func (*WorkerInfo) Reset ¶
func (x *WorkerInfo) Reset()
func (*WorkerInfo) String ¶
func (x *WorkerInfo) String() string