Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterWorkstationsServer(s grpc.ServiceRegistrar, srv WorkstationsServer)
- type CreateWorkstationClusterRequest
- func (*CreateWorkstationClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWorkstationClusterRequest) GetParent() string
- func (x *CreateWorkstationClusterRequest) GetValidateOnly() bool
- func (x *CreateWorkstationClusterRequest) GetWorkstationCluster() *WorkstationCluster
- func (x *CreateWorkstationClusterRequest) GetWorkstationClusterId() string
- func (*CreateWorkstationClusterRequest) ProtoMessage()
- func (x *CreateWorkstationClusterRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWorkstationClusterRequest) Reset()
- func (x *CreateWorkstationClusterRequest) String() string
- type CreateWorkstationConfigRequest
- func (*CreateWorkstationConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWorkstationConfigRequest) GetParent() string
- func (x *CreateWorkstationConfigRequest) GetValidateOnly() bool
- func (x *CreateWorkstationConfigRequest) GetWorkstationConfig() *WorkstationConfig
- func (x *CreateWorkstationConfigRequest) GetWorkstationConfigId() string
- func (*CreateWorkstationConfigRequest) ProtoMessage()
- func (x *CreateWorkstationConfigRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWorkstationConfigRequest) Reset()
- func (x *CreateWorkstationConfigRequest) String() string
- type CreateWorkstationRequest
- func (*CreateWorkstationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWorkstationRequest) GetParent() string
- func (x *CreateWorkstationRequest) GetValidateOnly() bool
- func (x *CreateWorkstationRequest) GetWorkstation() *Workstation
- func (x *CreateWorkstationRequest) GetWorkstationId() string
- func (*CreateWorkstationRequest) ProtoMessage()
- func (x *CreateWorkstationRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWorkstationRequest) Reset()
- func (x *CreateWorkstationRequest) String() string
- type DeleteWorkstationClusterRequest
- func (*DeleteWorkstationClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteWorkstationClusterRequest) GetEtag() string
- func (x *DeleteWorkstationClusterRequest) GetForce() bool
- func (x *DeleteWorkstationClusterRequest) GetName() string
- func (x *DeleteWorkstationClusterRequest) GetValidateOnly() bool
- func (*DeleteWorkstationClusterRequest) ProtoMessage()
- func (x *DeleteWorkstationClusterRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteWorkstationClusterRequest) Reset()
- func (x *DeleteWorkstationClusterRequest) String() string
- type DeleteWorkstationConfigRequest
- func (*DeleteWorkstationConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteWorkstationConfigRequest) GetEtag() string
- func (x *DeleteWorkstationConfigRequest) GetForce() bool
- func (x *DeleteWorkstationConfigRequest) GetName() string
- func (x *DeleteWorkstationConfigRequest) GetValidateOnly() bool
- func (*DeleteWorkstationConfigRequest) ProtoMessage()
- func (x *DeleteWorkstationConfigRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteWorkstationConfigRequest) Reset()
- func (x *DeleteWorkstationConfigRequest) String() string
- type DeleteWorkstationRequest
- func (*DeleteWorkstationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteWorkstationRequest) GetEtag() string
- func (x *DeleteWorkstationRequest) GetName() string
- func (x *DeleteWorkstationRequest) GetValidateOnly() bool
- func (*DeleteWorkstationRequest) ProtoMessage()
- func (x *DeleteWorkstationRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteWorkstationRequest) Reset()
- func (x *DeleteWorkstationRequest) String() string
- type GenerateAccessTokenRequest
- func (*GenerateAccessTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateAccessTokenRequest) GetExpiration() isGenerateAccessTokenRequest_Expiration
- func (x *GenerateAccessTokenRequest) GetExpireTime() *timestamppb.Timestamp
- func (x *GenerateAccessTokenRequest) GetPort() int32
- func (x *GenerateAccessTokenRequest) GetTtl() *durationpb.Duration
- func (x *GenerateAccessTokenRequest) GetWorkstation() string
- func (*GenerateAccessTokenRequest) ProtoMessage()
- func (x *GenerateAccessTokenRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateAccessTokenRequest) Reset()
- func (x *GenerateAccessTokenRequest) String() string
- type GenerateAccessTokenRequest_ExpireTime
- type GenerateAccessTokenRequest_Ttl
- type GenerateAccessTokenResponse
- func (*GenerateAccessTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateAccessTokenResponse) GetAccessToken() string
- func (x *GenerateAccessTokenResponse) GetExpireTime() *timestamppb.Timestamp
- func (*GenerateAccessTokenResponse) ProtoMessage()
- func (x *GenerateAccessTokenResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateAccessTokenResponse) Reset()
- func (x *GenerateAccessTokenResponse) String() string
- type GetWorkstationClusterRequest
- func (*GetWorkstationClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetWorkstationClusterRequest) GetName() string
- func (*GetWorkstationClusterRequest) ProtoMessage()
- func (x *GetWorkstationClusterRequest) ProtoReflect() protoreflect.Message
- func (x *GetWorkstationClusterRequest) Reset()
- func (x *GetWorkstationClusterRequest) String() string
- type GetWorkstationConfigRequest
- func (*GetWorkstationConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetWorkstationConfigRequest) GetName() string
- func (*GetWorkstationConfigRequest) ProtoMessage()
- func (x *GetWorkstationConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetWorkstationConfigRequest) Reset()
- func (x *GetWorkstationConfigRequest) String() string
- type GetWorkstationRequest
- func (*GetWorkstationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetWorkstationRequest) GetName() string
- func (*GetWorkstationRequest) ProtoMessage()
- func (x *GetWorkstationRequest) ProtoReflect() protoreflect.Message
- func (x *GetWorkstationRequest) Reset()
- func (x *GetWorkstationRequest) String() string
- type ListUsableWorkstationConfigsRequest
- func (*ListUsableWorkstationConfigsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsableWorkstationConfigsRequest) GetPageSize() int32
- func (x *ListUsableWorkstationConfigsRequest) GetPageToken() string
- func (x *ListUsableWorkstationConfigsRequest) GetParent() string
- func (*ListUsableWorkstationConfigsRequest) ProtoMessage()
- func (x *ListUsableWorkstationConfigsRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsableWorkstationConfigsRequest) Reset()
- func (x *ListUsableWorkstationConfigsRequest) String() string
- type ListUsableWorkstationConfigsResponse
- func (*ListUsableWorkstationConfigsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsableWorkstationConfigsResponse) GetNextPageToken() string
- func (x *ListUsableWorkstationConfigsResponse) GetUnreachable() []string
- func (x *ListUsableWorkstationConfigsResponse) GetWorkstationConfigs() []*WorkstationConfig
- func (*ListUsableWorkstationConfigsResponse) ProtoMessage()
- func (x *ListUsableWorkstationConfigsResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsableWorkstationConfigsResponse) Reset()
- func (x *ListUsableWorkstationConfigsResponse) String() string
- type ListUsableWorkstationsRequest
- func (*ListUsableWorkstationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsableWorkstationsRequest) GetPageSize() int32
- func (x *ListUsableWorkstationsRequest) GetPageToken() string
- func (x *ListUsableWorkstationsRequest) GetParent() string
- func (*ListUsableWorkstationsRequest) ProtoMessage()
- func (x *ListUsableWorkstationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsableWorkstationsRequest) Reset()
- func (x *ListUsableWorkstationsRequest) String() string
- type ListUsableWorkstationsResponse
- func (*ListUsableWorkstationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsableWorkstationsResponse) GetNextPageToken() string
- func (x *ListUsableWorkstationsResponse) GetUnreachable() []string
- func (x *ListUsableWorkstationsResponse) GetWorkstations() []*Workstation
- func (*ListUsableWorkstationsResponse) ProtoMessage()
- func (x *ListUsableWorkstationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsableWorkstationsResponse) Reset()
- func (x *ListUsableWorkstationsResponse) String() string
- type ListWorkstationClustersRequest
- func (*ListWorkstationClustersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkstationClustersRequest) GetFilter() string
- func (x *ListWorkstationClustersRequest) GetPageSize() int32
- func (x *ListWorkstationClustersRequest) GetPageToken() string
- func (x *ListWorkstationClustersRequest) GetParent() string
- func (*ListWorkstationClustersRequest) ProtoMessage()
- func (x *ListWorkstationClustersRequest) ProtoReflect() protoreflect.Message
- func (x *ListWorkstationClustersRequest) Reset()
- func (x *ListWorkstationClustersRequest) String() string
- type ListWorkstationClustersResponse
- func (*ListWorkstationClustersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkstationClustersResponse) GetNextPageToken() string
- func (x *ListWorkstationClustersResponse) GetUnreachable() []string
- func (x *ListWorkstationClustersResponse) GetWorkstationClusters() []*WorkstationCluster
- func (*ListWorkstationClustersResponse) ProtoMessage()
- func (x *ListWorkstationClustersResponse) ProtoReflect() protoreflect.Message
- func (x *ListWorkstationClustersResponse) Reset()
- func (x *ListWorkstationClustersResponse) String() string
- type ListWorkstationConfigsRequest
- func (*ListWorkstationConfigsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkstationConfigsRequest) GetFilter() string
- func (x *ListWorkstationConfigsRequest) GetPageSize() int32
- func (x *ListWorkstationConfigsRequest) GetPageToken() string
- func (x *ListWorkstationConfigsRequest) GetParent() string
- func (*ListWorkstationConfigsRequest) ProtoMessage()
- func (x *ListWorkstationConfigsRequest) ProtoReflect() protoreflect.Message
- func (x *ListWorkstationConfigsRequest) Reset()
- func (x *ListWorkstationConfigsRequest) String() string
- type ListWorkstationConfigsResponse
- func (*ListWorkstationConfigsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkstationConfigsResponse) GetNextPageToken() string
- func (x *ListWorkstationConfigsResponse) GetUnreachable() []string
- func (x *ListWorkstationConfigsResponse) GetWorkstationConfigs() []*WorkstationConfig
- func (*ListWorkstationConfigsResponse) ProtoMessage()
- func (x *ListWorkstationConfigsResponse) ProtoReflect() protoreflect.Message
- func (x *ListWorkstationConfigsResponse) Reset()
- func (x *ListWorkstationConfigsResponse) String() string
- type ListWorkstationsRequest
- func (*ListWorkstationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkstationsRequest) GetFilter() string
- func (x *ListWorkstationsRequest) GetPageSize() int32
- func (x *ListWorkstationsRequest) GetPageToken() string
- func (x *ListWorkstationsRequest) GetParent() string
- func (*ListWorkstationsRequest) ProtoMessage()
- func (x *ListWorkstationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListWorkstationsRequest) Reset()
- func (x *ListWorkstationsRequest) String() string
- type ListWorkstationsResponse
- func (*ListWorkstationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkstationsResponse) GetNextPageToken() string
- func (x *ListWorkstationsResponse) GetUnreachable() []string
- func (x *ListWorkstationsResponse) GetWorkstations() []*Workstation
- func (*ListWorkstationsResponse) ProtoMessage()
- func (x *ListWorkstationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListWorkstationsResponse) Reset()
- func (x *ListWorkstationsResponse) String() string
- type OperationMetadata
- func (*OperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *OperationMetadata) GetApiVersion() string
- func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
- func (x *OperationMetadata) GetRequestedCancellation() bool
- func (x *OperationMetadata) GetStatusMessage() string
- func (x *OperationMetadata) GetTarget() string
- func (x *OperationMetadata) GetVerb() string
- func (*OperationMetadata) ProtoMessage()
- func (x *OperationMetadata) ProtoReflect() protoreflect.Message
- func (x *OperationMetadata) Reset()
- func (x *OperationMetadata) String() string
- type PushCredentialsMetadata
- type PushCredentialsRequest
- func (*PushCredentialsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushCredentialsRequest) GetApplicationDefaultCredentials() *PushCredentialsRequest_OAuthToken
- func (x *PushCredentialsRequest) GetWorkstation() string
- func (*PushCredentialsRequest) ProtoMessage()
- func (x *PushCredentialsRequest) ProtoReflect() protoreflect.Message
- func (x *PushCredentialsRequest) Reset()
- func (x *PushCredentialsRequest) String() string
- type PushCredentialsRequest_OAuthToken
- func (*PushCredentialsRequest_OAuthToken) Descriptor() ([]byte, []int)deprecated
- func (x *PushCredentialsRequest_OAuthToken) GetAccessToken() string
- func (x *PushCredentialsRequest_OAuthToken) GetEmail() string
- func (x *PushCredentialsRequest_OAuthToken) GetExpireTime() *timestamppb.Timestamp
- func (x *PushCredentialsRequest_OAuthToken) GetScopes() string
- func (*PushCredentialsRequest_OAuthToken) ProtoMessage()
- func (x *PushCredentialsRequest_OAuthToken) ProtoReflect() protoreflect.Message
- func (x *PushCredentialsRequest_OAuthToken) Reset()
- func (x *PushCredentialsRequest_OAuthToken) String() string
- type StartWorkstationRequest
- func (*StartWorkstationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartWorkstationRequest) GetBoostConfig() string
- func (x *StartWorkstationRequest) GetEtag() string
- func (x *StartWorkstationRequest) GetName() string
- func (x *StartWorkstationRequest) GetValidateOnly() bool
- func (*StartWorkstationRequest) ProtoMessage()
- func (x *StartWorkstationRequest) ProtoReflect() protoreflect.Message
- func (x *StartWorkstationRequest) Reset()
- func (x *StartWorkstationRequest) String() string
- type StopWorkstationRequest
- func (*StopWorkstationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopWorkstationRequest) GetEtag() string
- func (x *StopWorkstationRequest) GetName() string
- func (x *StopWorkstationRequest) GetValidateOnly() bool
- func (*StopWorkstationRequest) ProtoMessage()
- func (x *StopWorkstationRequest) ProtoReflect() protoreflect.Message
- func (x *StopWorkstationRequest) Reset()
- func (x *StopWorkstationRequest) String() string
- type UnimplementedWorkstationsServer
- func (UnimplementedWorkstationsServer) CreateWorkstation(context.Context, *CreateWorkstationRequest) (*longrunningpb.Operation, error)
- func (UnimplementedWorkstationsServer) CreateWorkstationCluster(context.Context, *CreateWorkstationClusterRequest) (*longrunningpb.Operation, error)
- func (UnimplementedWorkstationsServer) CreateWorkstationConfig(context.Context, *CreateWorkstationConfigRequest) (*longrunningpb.Operation, error)
- func (UnimplementedWorkstationsServer) DeleteWorkstation(context.Context, *DeleteWorkstationRequest) (*longrunningpb.Operation, error)
- func (UnimplementedWorkstationsServer) DeleteWorkstationCluster(context.Context, *DeleteWorkstationClusterRequest) (*longrunningpb.Operation, error)
- func (UnimplementedWorkstationsServer) DeleteWorkstationConfig(context.Context, *DeleteWorkstationConfigRequest) (*longrunningpb.Operation, error)
- func (UnimplementedWorkstationsServer) GenerateAccessToken(context.Context, *GenerateAccessTokenRequest) (*GenerateAccessTokenResponse, error)
- func (UnimplementedWorkstationsServer) GetWorkstation(context.Context, *GetWorkstationRequest) (*Workstation, error)
- func (UnimplementedWorkstationsServer) GetWorkstationCluster(context.Context, *GetWorkstationClusterRequest) (*WorkstationCluster, error)
- func (UnimplementedWorkstationsServer) GetWorkstationConfig(context.Context, *GetWorkstationConfigRequest) (*WorkstationConfig, error)
- func (UnimplementedWorkstationsServer) ListUsableWorkstationConfigs(context.Context, *ListUsableWorkstationConfigsRequest) (*ListUsableWorkstationConfigsResponse, error)
- func (UnimplementedWorkstationsServer) ListUsableWorkstations(context.Context, *ListUsableWorkstationsRequest) (*ListUsableWorkstationsResponse, error)
- func (UnimplementedWorkstationsServer) ListWorkstationClusters(context.Context, *ListWorkstationClustersRequest) (*ListWorkstationClustersResponse, error)
- func (UnimplementedWorkstationsServer) ListWorkstationConfigs(context.Context, *ListWorkstationConfigsRequest) (*ListWorkstationConfigsResponse, error)
- func (UnimplementedWorkstationsServer) ListWorkstations(context.Context, *ListWorkstationsRequest) (*ListWorkstationsResponse, error)
- func (UnimplementedWorkstationsServer) PushCredentials(context.Context, *PushCredentialsRequest) (*longrunningpb.Operation, error)
- func (UnimplementedWorkstationsServer) StartWorkstation(context.Context, *StartWorkstationRequest) (*longrunningpb.Operation, error)
- func (UnimplementedWorkstationsServer) StopWorkstation(context.Context, *StopWorkstationRequest) (*longrunningpb.Operation, error)
- func (UnimplementedWorkstationsServer) UpdateWorkstation(context.Context, *UpdateWorkstationRequest) (*longrunningpb.Operation, error)
- func (UnimplementedWorkstationsServer) UpdateWorkstationCluster(context.Context, *UpdateWorkstationClusterRequest) (*longrunningpb.Operation, error)
- func (UnimplementedWorkstationsServer) UpdateWorkstationConfig(context.Context, *UpdateWorkstationConfigRequest) (*longrunningpb.Operation, error)
- type UnsafeWorkstationsServer
- type UpdateWorkstationClusterRequest
- func (*UpdateWorkstationClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWorkstationClusterRequest) GetAllowMissing() bool
- func (x *UpdateWorkstationClusterRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateWorkstationClusterRequest) GetValidateOnly() bool
- func (x *UpdateWorkstationClusterRequest) GetWorkstationCluster() *WorkstationCluster
- func (*UpdateWorkstationClusterRequest) ProtoMessage()
- func (x *UpdateWorkstationClusterRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateWorkstationClusterRequest) Reset()
- func (x *UpdateWorkstationClusterRequest) String() string
- type UpdateWorkstationConfigRequest
- func (*UpdateWorkstationConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWorkstationConfigRequest) GetAllowMissing() bool
- func (x *UpdateWorkstationConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateWorkstationConfigRequest) GetValidateOnly() bool
- func (x *UpdateWorkstationConfigRequest) GetWorkstationConfig() *WorkstationConfig
- func (*UpdateWorkstationConfigRequest) ProtoMessage()
- func (x *UpdateWorkstationConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateWorkstationConfigRequest) Reset()
- func (x *UpdateWorkstationConfigRequest) String() string
- type UpdateWorkstationRequest
- func (*UpdateWorkstationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWorkstationRequest) GetAllowMissing() bool
- func (x *UpdateWorkstationRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateWorkstationRequest) GetValidateOnly() bool
- func (x *UpdateWorkstationRequest) GetWorkstation() *Workstation
- func (*UpdateWorkstationRequest) ProtoMessage()
- func (x *UpdateWorkstationRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateWorkstationRequest) Reset()
- func (x *UpdateWorkstationRequest) String() string
- type Workstation
- func (*Workstation) Descriptor() ([]byte, []int)deprecated
- func (x *Workstation) GetAnnotations() map[string]string
- func (x *Workstation) GetBoostConfigs() []*Workstation_WorkstationBoostConfig
- func (x *Workstation) GetConditions() []*status.Status
- func (x *Workstation) GetCreateTime() *timestamppb.Timestamp
- func (x *Workstation) GetDegraded() bool
- func (x *Workstation) GetDeleteTime() *timestamppb.Timestamp
- func (x *Workstation) GetDisplayName() string
- func (x *Workstation) GetEnv() map[string]string
- func (x *Workstation) GetEtag() string
- func (x *Workstation) GetHost() string
- func (x *Workstation) GetKmsKey() string
- func (x *Workstation) GetLabels() map[string]string
- func (x *Workstation) GetName() string
- func (x *Workstation) GetPersistentDirectories() []*Workstation_WorkstationPersistentDirectory
- func (x *Workstation) GetReconciling() bool
- func (x *Workstation) GetRuntimeHost() *Workstation_RuntimeHost
- func (x *Workstation) GetSatisfiesPzi() bool
- func (x *Workstation) GetSatisfiesPzs() bool
- func (x *Workstation) GetSourceWorkstation() string
- func (x *Workstation) GetStartTime() *timestamppb.Timestamp
- func (x *Workstation) GetState() Workstation_State
- func (x *Workstation) GetUid() string
- func (x *Workstation) GetUpdateTime() *timestamppb.Timestamp
- func (*Workstation) ProtoMessage()
- func (x *Workstation) ProtoReflect() protoreflect.Message
- func (x *Workstation) Reset()
- func (x *Workstation) String() string
- type WorkstationCluster
- func (*WorkstationCluster) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationCluster) GetAnnotations() map[string]string
- func (x *WorkstationCluster) GetConditions() []*status.Status
- func (x *WorkstationCluster) GetControlPlaneIp() string
- func (x *WorkstationCluster) GetCreateTime() *timestamppb.Timestamp
- func (x *WorkstationCluster) GetDegraded() bool
- func (x *WorkstationCluster) GetDeleteTime() *timestamppb.Timestamp
- func (x *WorkstationCluster) GetDisplayName() string
- func (x *WorkstationCluster) GetDomainConfig() *WorkstationCluster_DomainConfig
- func (x *WorkstationCluster) GetEtag() string
- func (x *WorkstationCluster) GetGatewayConfig() *WorkstationCluster_GatewayConfig
- func (x *WorkstationCluster) GetLabels() map[string]string
- func (x *WorkstationCluster) GetName() string
- func (x *WorkstationCluster) GetNetwork() string
- func (x *WorkstationCluster) GetPrivateClusterConfig() *WorkstationCluster_PrivateClusterConfig
- func (x *WorkstationCluster) GetReconciling() bool
- func (x *WorkstationCluster) GetSatisfiesPzi() bool
- func (x *WorkstationCluster) GetSatisfiesPzs() bool
- func (x *WorkstationCluster) GetSubnetwork() string
- func (x *WorkstationCluster) GetTags() map[string]string
- func (x *WorkstationCluster) GetUid() string
- func (x *WorkstationCluster) GetUpdateTime() *timestamppb.Timestamp
- func (x *WorkstationCluster) GetWorkstationAuthorizationUrl() string
- func (x *WorkstationCluster) GetWorkstationLaunchUrl() string
- func (*WorkstationCluster) ProtoMessage()
- func (x *WorkstationCluster) ProtoReflect() protoreflect.Message
- func (x *WorkstationCluster) Reset()
- func (x *WorkstationCluster) String() string
- type WorkstationCluster_DomainConfig
- func (*WorkstationCluster_DomainConfig) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationCluster_DomainConfig) GetDomain() string
- func (*WorkstationCluster_DomainConfig) ProtoMessage()
- func (x *WorkstationCluster_DomainConfig) ProtoReflect() protoreflect.Message
- func (x *WorkstationCluster_DomainConfig) Reset()
- func (x *WorkstationCluster_DomainConfig) String() string
- type WorkstationCluster_GatewayConfig
- func (*WorkstationCluster_GatewayConfig) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationCluster_GatewayConfig) GetHttp2Enabled() bool
- func (*WorkstationCluster_GatewayConfig) ProtoMessage()
- func (x *WorkstationCluster_GatewayConfig) ProtoReflect() protoreflect.Message
- func (x *WorkstationCluster_GatewayConfig) Reset()
- func (x *WorkstationCluster_GatewayConfig) String() string
- type WorkstationCluster_PrivateClusterConfig
- func (*WorkstationCluster_PrivateClusterConfig) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationCluster_PrivateClusterConfig) GetAllowedProjects() []string
- func (x *WorkstationCluster_PrivateClusterConfig) GetClusterHostname() string
- func (x *WorkstationCluster_PrivateClusterConfig) GetEnablePrivateEndpoint() bool
- func (x *WorkstationCluster_PrivateClusterConfig) GetServiceAttachmentUri() string
- func (*WorkstationCluster_PrivateClusterConfig) ProtoMessage()
- func (x *WorkstationCluster_PrivateClusterConfig) ProtoReflect() protoreflect.Message
- func (x *WorkstationCluster_PrivateClusterConfig) Reset()
- func (x *WorkstationCluster_PrivateClusterConfig) String() string
- type WorkstationConfig
- func (*WorkstationConfig) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationConfig) GetAllowedPorts() []*WorkstationConfig_PortRange
- func (x *WorkstationConfig) GetAnnotations() map[string]string
- func (x *WorkstationConfig) GetConditions() []*status.Status
- func (x *WorkstationConfig) GetContainer() *WorkstationConfig_Container
- func (x *WorkstationConfig) GetCreateTime() *timestamppb.Timestamp
- func (x *WorkstationConfig) GetDegraded() bool
- func (x *WorkstationConfig) GetDeleteTime() *timestamppb.Timestamp
- func (x *WorkstationConfig) GetDisableTcpConnections() bool
- func (x *WorkstationConfig) GetDisplayName() string
- func (x *WorkstationConfig) GetEnableAuditAgent() bool
- func (x *WorkstationConfig) GetEnablePushingCredentials() bool
- func (x *WorkstationConfig) GetEncryptionKey() *WorkstationConfig_CustomerEncryptionKey
- func (x *WorkstationConfig) GetEphemeralDirectories() []*WorkstationConfig_EphemeralDirectory
- func (x *WorkstationConfig) GetEtag() string
- func (x *WorkstationConfig) GetGrantWorkstationAdminRoleOnCreate() bool
- func (x *WorkstationConfig) GetHost() *WorkstationConfig_Host
- func (x *WorkstationConfig) GetHttpOptions() *WorkstationConfig_HttpOptions
- func (x *WorkstationConfig) GetIdleTimeout() *durationpb.Duration
- func (x *WorkstationConfig) GetLabels() map[string]string
- func (x *WorkstationConfig) GetMaxUsableWorkstations() int32
- func (x *WorkstationConfig) GetName() string
- func (x *WorkstationConfig) GetPersistentDirectories() []*WorkstationConfig_PersistentDirectory
- func (x *WorkstationConfig) GetReadinessChecks() []*WorkstationConfig_ReadinessCheck
- func (x *WorkstationConfig) GetReconciling() bool
- func (x *WorkstationConfig) GetReplicaZones() []string
- func (x *WorkstationConfig) GetRunningTimeout() *durationpb.Duration
- func (x *WorkstationConfig) GetSatisfiesPzi() bool
- func (x *WorkstationConfig) GetSatisfiesPzs() bool
- func (x *WorkstationConfig) GetUid() string
- func (x *WorkstationConfig) GetUpdateTime() *timestamppb.Timestamp
- func (*WorkstationConfig) ProtoMessage()
- func (x *WorkstationConfig) ProtoReflect() protoreflect.Message
- func (x *WorkstationConfig) Reset()
- func (x *WorkstationConfig) String() string
- type WorkstationConfig_Container
- func (*WorkstationConfig_Container) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationConfig_Container) GetArgs() []string
- func (x *WorkstationConfig_Container) GetCommand() []string
- func (x *WorkstationConfig_Container) GetEnv() map[string]string
- func (x *WorkstationConfig_Container) GetImage() string
- func (x *WorkstationConfig_Container) GetRunAsUser() int32
- func (x *WorkstationConfig_Container) GetWorkingDir() string
- func (*WorkstationConfig_Container) ProtoMessage()
- func (x *WorkstationConfig_Container) ProtoReflect() protoreflect.Message
- func (x *WorkstationConfig_Container) Reset()
- func (x *WorkstationConfig_Container) String() string
- type WorkstationConfig_CustomerEncryptionKey
- func (*WorkstationConfig_CustomerEncryptionKey) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationConfig_CustomerEncryptionKey) GetKmsKey() string
- func (x *WorkstationConfig_CustomerEncryptionKey) GetKmsKeyServiceAccount() string
- func (*WorkstationConfig_CustomerEncryptionKey) ProtoMessage()
- func (x *WorkstationConfig_CustomerEncryptionKey) ProtoReflect() protoreflect.Message
- func (x *WorkstationConfig_CustomerEncryptionKey) Reset()
- func (x *WorkstationConfig_CustomerEncryptionKey) String() string
- type WorkstationConfig_EphemeralDirectory
- func (*WorkstationConfig_EphemeralDirectory) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationConfig_EphemeralDirectory) GetDirectoryType() isWorkstationConfig_EphemeralDirectory_DirectoryType
- func (x *WorkstationConfig_EphemeralDirectory) GetGcePd() *WorkstationConfig_EphemeralDirectory_GcePersistentDisk
- func (x *WorkstationConfig_EphemeralDirectory) GetMountPath() string
- func (*WorkstationConfig_EphemeralDirectory) ProtoMessage()
- func (x *WorkstationConfig_EphemeralDirectory) ProtoReflect() protoreflect.Message
- func (x *WorkstationConfig_EphemeralDirectory) Reset()
- func (x *WorkstationConfig_EphemeralDirectory) String() string
- type WorkstationConfig_EphemeralDirectory_GcePd
- type WorkstationConfig_EphemeralDirectory_GcePersistentDisk
- func (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetDiskType() string
- func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetReadOnly() bool
- func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetSourceImage() string
- func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetSourceSnapshot() string
- func (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) ProtoMessage()
- func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) ProtoReflect() protoreflect.Message
- func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) Reset()
- func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) String() string
- type WorkstationConfig_Host
- func (*WorkstationConfig_Host) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationConfig_Host) GetConfig() isWorkstationConfig_Host_Config
- func (x *WorkstationConfig_Host) GetGceInstance() *WorkstationConfig_Host_GceInstance
- func (*WorkstationConfig_Host) ProtoMessage()
- func (x *WorkstationConfig_Host) ProtoReflect() protoreflect.Message
- func (x *WorkstationConfig_Host) Reset()
- func (x *WorkstationConfig_Host) String() string
- type WorkstationConfig_Host_GceInstance
- func (*WorkstationConfig_Host_GceInstance) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationConfig_Host_GceInstance) GetAccelerators() []*WorkstationConfig_Host_GceInstance_Accelerator
- func (x *WorkstationConfig_Host_GceInstance) GetBoostConfigs() []*WorkstationConfig_Host_GceInstance_BoostConfig
- func (x *WorkstationConfig_Host_GceInstance) GetBootDiskSizeGb() int32
- func (x *WorkstationConfig_Host_GceInstance) GetConfidentialInstanceConfig() *WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig
- func (x *WorkstationConfig_Host_GceInstance) GetDisablePublicIpAddresses() bool
- func (x *WorkstationConfig_Host_GceInstance) GetDisableSsh() bool
- func (x *WorkstationConfig_Host_GceInstance) GetEnableNestedVirtualization() bool
- func (x *WorkstationConfig_Host_GceInstance) GetInstanceMetadata() map[string]string
- func (x *WorkstationConfig_Host_GceInstance) GetMachineType() string
- func (x *WorkstationConfig_Host_GceInstance) GetPoolSize() int32
- func (x *WorkstationConfig_Host_GceInstance) GetPooledInstances() int32
- func (x *WorkstationConfig_Host_GceInstance) GetReservationAffinity() *WorkstationConfig_Host_GceInstance_ReservationAffinity
- func (x *WorkstationConfig_Host_GceInstance) GetServiceAccount() string
- func (x *WorkstationConfig_Host_GceInstance) GetServiceAccountScopes() []string
- func (x *WorkstationConfig_Host_GceInstance) GetShieldedInstanceConfig() *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig
- func (x *WorkstationConfig_Host_GceInstance) GetStartupScriptUri() string
- func (x *WorkstationConfig_Host_GceInstance) GetTags() []string
- func (x *WorkstationConfig_Host_GceInstance) GetVmTags() map[string]string
- func (*WorkstationConfig_Host_GceInstance) ProtoMessage()
- func (x *WorkstationConfig_Host_GceInstance) ProtoReflect() protoreflect.Message
- func (x *WorkstationConfig_Host_GceInstance) Reset()
- func (x *WorkstationConfig_Host_GceInstance) String() string
- type WorkstationConfig_Host_GceInstance_
- type WorkstationConfig_Host_GceInstance_Accelerator
- func (*WorkstationConfig_Host_GceInstance_Accelerator) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationConfig_Host_GceInstance_Accelerator) GetCount() int32
- func (x *WorkstationConfig_Host_GceInstance_Accelerator) GetType() string
- func (*WorkstationConfig_Host_GceInstance_Accelerator) ProtoMessage()
- func (x *WorkstationConfig_Host_GceInstance_Accelerator) ProtoReflect() protoreflect.Message
- func (x *WorkstationConfig_Host_GceInstance_Accelerator) Reset()
- func (x *WorkstationConfig_Host_GceInstance_Accelerator) String() string
- type WorkstationConfig_Host_GceInstance_BoostConfig
- func (*WorkstationConfig_Host_GceInstance_BoostConfig) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetAccelerators() []*WorkstationConfig_Host_GceInstance_Accelerator
- func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetBootDiskSizeGb() int32
- func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetEnableNestedVirtualization() bool
- func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetId() string
- func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetMachineType() string
- func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetPoolSize() int32
- func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetReservationAffinity() *WorkstationConfig_Host_GceInstance_ReservationAffinity
- func (*WorkstationConfig_Host_GceInstance_BoostConfig) ProtoMessage()
- func (x *WorkstationConfig_Host_GceInstance_BoostConfig) ProtoReflect() protoreflect.Message
- func (x *WorkstationConfig_Host_GceInstance_BoostConfig) Reset()
- func (x *WorkstationConfig_Host_GceInstance_BoostConfig) String() string
- type WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig
- func (*WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) GetEnableConfidentialCompute() bool
- func (*WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) ProtoMessage()
- func (x *WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) ProtoReflect() protoreflect.Message
- func (x *WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) Reset()
- func (x *WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) String() string
- type WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig
- func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) GetEnableIntegrityMonitoring() bool
- func (x *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) GetEnableSecureBoot() bool
- func (x *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) GetEnableVtpm() bool
- func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) ProtoMessage()
- func (x *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) ProtoReflect() protoreflect.Message
- func (x *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) Reset()
- func (x *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) String() string
- type WorkstationConfig_Host_GceInstance_ReservationAffinity
- func (*WorkstationConfig_Host_GceInstance_ReservationAffinity) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationConfig_Host_GceInstance_ReservationAffinity) GetConsumeReservationType() WorkstationConfig_Host_GceInstance_ReservationAffinity_Type
- func (x *WorkstationConfig_Host_GceInstance_ReservationAffinity) GetKey() string
- func (x *WorkstationConfig_Host_GceInstance_ReservationAffinity) GetValues() []string
- func (*WorkstationConfig_Host_GceInstance_ReservationAffinity) ProtoMessage()
- func (x *WorkstationConfig_Host_GceInstance_ReservationAffinity) ProtoReflect() protoreflect.Message
- func (x *WorkstationConfig_Host_GceInstance_ReservationAffinity) Reset()
- func (x *WorkstationConfig_Host_GceInstance_ReservationAffinity) String() string
- type WorkstationConfig_Host_GceInstance_ReservationAffinity_Type
- func (WorkstationConfig_Host_GceInstance_ReservationAffinity_Type) Descriptor() protoreflect.EnumDescriptor
- func (x WorkstationConfig_Host_GceInstance_ReservationAffinity_Type) Enum() *WorkstationConfig_Host_GceInstance_ReservationAffinity_Type
- func (WorkstationConfig_Host_GceInstance_ReservationAffinity_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkstationConfig_Host_GceInstance_ReservationAffinity_Type) Number() protoreflect.EnumNumber
- func (x WorkstationConfig_Host_GceInstance_ReservationAffinity_Type) String() string
- func (WorkstationConfig_Host_GceInstance_ReservationAffinity_Type) Type() protoreflect.EnumType
- type WorkstationConfig_HttpOptions
- func (*WorkstationConfig_HttpOptions) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationConfig_HttpOptions) GetAllowedUnauthenticatedCorsPreflightRequests() bool
- func (x *WorkstationConfig_HttpOptions) GetDisableLocalhostReplacement() bool
- func (*WorkstationConfig_HttpOptions) ProtoMessage()
- func (x *WorkstationConfig_HttpOptions) ProtoReflect() protoreflect.Message
- func (x *WorkstationConfig_HttpOptions) Reset()
- func (x *WorkstationConfig_HttpOptions) String() string
- type WorkstationConfig_PersistentDirectory
- func (*WorkstationConfig_PersistentDirectory) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationConfig_PersistentDirectory) GetDirectoryType() isWorkstationConfig_PersistentDirectory_DirectoryType
- func (x *WorkstationConfig_PersistentDirectory) GetGceHd() *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability
- func (x *WorkstationConfig_PersistentDirectory) GetGcePd() *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk
- func (x *WorkstationConfig_PersistentDirectory) GetMountPath() string
- func (*WorkstationConfig_PersistentDirectory) ProtoMessage()
- func (x *WorkstationConfig_PersistentDirectory) ProtoReflect() protoreflect.Message
- func (x *WorkstationConfig_PersistentDirectory) Reset()
- func (x *WorkstationConfig_PersistentDirectory) String() string
- type WorkstationConfig_PersistentDirectory_GceHd
- type WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability
- func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetArchiveTimeout() *durationpb.Duration
- func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetMaxSizeGb() int32
- func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetReclaimPolicy() ...
- func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetSizeGb() int32
- func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetSourceSnapshot() string
- func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) ProtoMessage()
- func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) ProtoReflect() protoreflect.Message
- func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) Reset()
- func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) String() string
- type WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy
- func (WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) Descriptor() protoreflect.EnumDescriptor
- func (x WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) Enum() ...
- func (WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) Number() protoreflect.EnumNumber
- func (x WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) String() string
- func (WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) Type() protoreflect.EnumType
- type WorkstationConfig_PersistentDirectory_GcePd
- type WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk
- func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetArchiveTimeout() *durationpb.Duration
- func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetDiskType() string
- func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetFsType() string
- func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetMaxSizeGb() int32
- func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetReclaimPolicy() WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy
- func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetSizeGb() int32
- func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetSourceSnapshot() string
- func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) ProtoMessage()
- func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) ProtoReflect() protoreflect.Message
- func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) Reset()
- func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) String() string
- type WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy
- func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) Descriptor() protoreflect.EnumDescriptor
- func (x WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) Enum() *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy
- func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) Number() protoreflect.EnumNumber
- func (x WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) String() string
- func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) Type() protoreflect.EnumType
- type WorkstationConfig_PortRange
- func (*WorkstationConfig_PortRange) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationConfig_PortRange) GetFirst() int32
- func (x *WorkstationConfig_PortRange) GetLast() int32
- func (*WorkstationConfig_PortRange) ProtoMessage()
- func (x *WorkstationConfig_PortRange) ProtoReflect() protoreflect.Message
- func (x *WorkstationConfig_PortRange) Reset()
- func (x *WorkstationConfig_PortRange) String() string
- type WorkstationConfig_ReadinessCheck
- func (*WorkstationConfig_ReadinessCheck) Descriptor() ([]byte, []int)deprecated
- func (x *WorkstationConfig_ReadinessCheck) GetPath() string
- func (x *WorkstationConfig_ReadinessCheck) GetPort() int32
- func (*WorkstationConfig_ReadinessCheck) ProtoMessage()
- func (x *WorkstationConfig_ReadinessCheck) ProtoReflect() protoreflect.Message
- func (x *WorkstationConfig_ReadinessCheck) Reset()
- func (x *WorkstationConfig_ReadinessCheck) String() string
- type Workstation_RuntimeHost
- func (*Workstation_RuntimeHost) Descriptor() ([]byte, []int)deprecated
- func (x *Workstation_RuntimeHost) GetGceInstanceHost() *Workstation_RuntimeHost_GceInstanceHost
- func (x *Workstation_RuntimeHost) GetHostType() isWorkstation_RuntimeHost_HostType
- func (*Workstation_RuntimeHost) ProtoMessage()
- func (x *Workstation_RuntimeHost) ProtoReflect() protoreflect.Message
- func (x *Workstation_RuntimeHost) Reset()
- func (x *Workstation_RuntimeHost) String() string
- type Workstation_RuntimeHost_GceInstanceHost
- func (*Workstation_RuntimeHost_GceInstanceHost) Descriptor() ([]byte, []int)deprecated
- func (x *Workstation_RuntimeHost_GceInstanceHost) GetId() string
- func (x *Workstation_RuntimeHost_GceInstanceHost) GetName() string
- func (x *Workstation_RuntimeHost_GceInstanceHost) GetZone() string
- func (*Workstation_RuntimeHost_GceInstanceHost) ProtoMessage()
- func (x *Workstation_RuntimeHost_GceInstanceHost) ProtoReflect() protoreflect.Message
- func (x *Workstation_RuntimeHost_GceInstanceHost) Reset()
- func (x *Workstation_RuntimeHost_GceInstanceHost) String() string
- type Workstation_RuntimeHost_GceInstanceHost_
- type Workstation_State
- func (Workstation_State) Descriptor() protoreflect.EnumDescriptor
- func (x Workstation_State) Enum() *Workstation_State
- func (Workstation_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Workstation_State) Number() protoreflect.EnumNumber
- func (x Workstation_State) String() string
- func (Workstation_State) Type() protoreflect.EnumType
- type Workstation_WorkstationBoostConfig
- func (*Workstation_WorkstationBoostConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Workstation_WorkstationBoostConfig) GetId() string
- func (x *Workstation_WorkstationBoostConfig) GetRunning() bool
- func (*Workstation_WorkstationBoostConfig) ProtoMessage()
- func (x *Workstation_WorkstationBoostConfig) ProtoReflect() protoreflect.Message
- func (x *Workstation_WorkstationBoostConfig) Reset()
- func (x *Workstation_WorkstationBoostConfig) String() string
- type Workstation_WorkstationPersistentDirectory
- func (*Workstation_WorkstationPersistentDirectory) Descriptor() ([]byte, []int)deprecated
- func (x *Workstation_WorkstationPersistentDirectory) GetMountPath() string
- func (x *Workstation_WorkstationPersistentDirectory) GetSizeGb() int32
- func (*Workstation_WorkstationPersistentDirectory) ProtoMessage()
- func (x *Workstation_WorkstationPersistentDirectory) ProtoReflect() protoreflect.Message
- func (x *Workstation_WorkstationPersistentDirectory) Reset()
- func (x *Workstation_WorkstationPersistentDirectory) String() string
- type WorkstationsClient
- type WorkstationsServer
Constants ¶
const ( Workstations_GetWorkstationCluster_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/GetWorkstationCluster" Workstations_ListWorkstationClusters_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/ListWorkstationClusters" Workstations_CreateWorkstationCluster_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/CreateWorkstationCluster" Workstations_UpdateWorkstationCluster_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/UpdateWorkstationCluster" Workstations_DeleteWorkstationCluster_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/DeleteWorkstationCluster" Workstations_GetWorkstationConfig_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/GetWorkstationConfig" Workstations_ListWorkstationConfigs_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/ListWorkstationConfigs" Workstations_ListUsableWorkstationConfigs_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/ListUsableWorkstationConfigs" Workstations_CreateWorkstationConfig_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/CreateWorkstationConfig" Workstations_UpdateWorkstationConfig_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/UpdateWorkstationConfig" Workstations_DeleteWorkstationConfig_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/DeleteWorkstationConfig" Workstations_GetWorkstation_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/GetWorkstation" Workstations_ListWorkstations_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/ListWorkstations" Workstations_ListUsableWorkstations_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/ListUsableWorkstations" Workstations_CreateWorkstation_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/CreateWorkstation" Workstations_UpdateWorkstation_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/UpdateWorkstation" Workstations_DeleteWorkstation_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/DeleteWorkstation" Workstations_StartWorkstation_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/StartWorkstation" Workstations_StopWorkstation_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/StopWorkstation" Workstations_GenerateAccessToken_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/GenerateAccessToken" Workstations_PushCredentials_FullMethodName = "/google.cloud.workstations.v1beta.Workstations/PushCredentials" )
Variables ¶
var ( WorkstationConfig_Host_GceInstance_ReservationAffinity_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "NO_RESERVATION", 2: "ANY_RESERVATION", 3: "SPECIFIC_RESERVATION", } WorkstationConfig_Host_GceInstance_ReservationAffinity_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "NO_RESERVATION": 1, "ANY_RESERVATION": 2, "SPECIFIC_RESERVATION": 3, } )
Enum value maps for WorkstationConfig_Host_GceInstance_ReservationAffinity_Type.
var ( WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy_name = map[int32]string{ 0: "RECLAIM_POLICY_UNSPECIFIED", 1: "DELETE", 2: "RETAIN", } WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy_value = map[string]int32{ "RECLAIM_POLICY_UNSPECIFIED": 0, "DELETE": 1, "RETAIN": 2, } )
Enum value maps for WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy.
var ( WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy_name = map[int32]string{ 0: "RECLAIM_POLICY_UNSPECIFIED", 1: "DELETE", 2: "RETAIN", } WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy_value = map[string]int32{ "RECLAIM_POLICY_UNSPECIFIED": 0, "DELETE": 1, "RETAIN": 2, } )
Enum value maps for WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy.
var ( Workstation_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "STATE_STARTING", 2: "STATE_RUNNING", 3: "STATE_STOPPING", 4: "STATE_STOPPED", } Workstation_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "STATE_STARTING": 1, "STATE_RUNNING": 2, "STATE_STOPPING": 3, "STATE_STOPPED": 4, } )
Enum value maps for Workstation_State.
var File_google_cloud_workstations_v1beta_workstations_proto protoreflect.FileDescriptor
var Workstations_ServiceDesc = grpc.ServiceDesc{ ServiceName: "google.cloud.workstations.v1beta.Workstations", HandlerType: (*WorkstationsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetWorkstationCluster", Handler: _Workstations_GetWorkstationCluster_Handler, }, { MethodName: "ListWorkstationClusters", Handler: _Workstations_ListWorkstationClusters_Handler, }, { MethodName: "CreateWorkstationCluster", Handler: _Workstations_CreateWorkstationCluster_Handler, }, { MethodName: "UpdateWorkstationCluster", Handler: _Workstations_UpdateWorkstationCluster_Handler, }, { MethodName: "DeleteWorkstationCluster", Handler: _Workstations_DeleteWorkstationCluster_Handler, }, { MethodName: "GetWorkstationConfig", Handler: _Workstations_GetWorkstationConfig_Handler, }, { MethodName: "ListWorkstationConfigs", Handler: _Workstations_ListWorkstationConfigs_Handler, }, { MethodName: "ListUsableWorkstationConfigs", Handler: _Workstations_ListUsableWorkstationConfigs_Handler, }, { MethodName: "CreateWorkstationConfig", Handler: _Workstations_CreateWorkstationConfig_Handler, }, { MethodName: "UpdateWorkstationConfig", Handler: _Workstations_UpdateWorkstationConfig_Handler, }, { MethodName: "DeleteWorkstationConfig", Handler: _Workstations_DeleteWorkstationConfig_Handler, }, { MethodName: "GetWorkstation", Handler: _Workstations_GetWorkstation_Handler, }, { MethodName: "ListWorkstations", Handler: _Workstations_ListWorkstations_Handler, }, { MethodName: "ListUsableWorkstations", Handler: _Workstations_ListUsableWorkstations_Handler, }, { MethodName: "CreateWorkstation", Handler: _Workstations_CreateWorkstation_Handler, }, { MethodName: "UpdateWorkstation", Handler: _Workstations_UpdateWorkstation_Handler, }, { MethodName: "DeleteWorkstation", Handler: _Workstations_DeleteWorkstation_Handler, }, { MethodName: "StartWorkstation", Handler: _Workstations_StartWorkstation_Handler, }, { MethodName: "StopWorkstation", Handler: _Workstations_StopWorkstation_Handler, }, { MethodName: "GenerateAccessToken", Handler: _Workstations_GenerateAccessToken_Handler, }, { MethodName: "PushCredentials", Handler: _Workstations_PushCredentials_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/cloud/workstations/v1beta/workstations.proto", }
Workstations_ServiceDesc is the grpc.ServiceDesc for Workstations service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterWorkstationsServer ¶
func RegisterWorkstationsServer(s grpc.ServiceRegistrar, srv WorkstationsServer)
Types ¶
type CreateWorkstationClusterRequest ¶
type CreateWorkstationClusterRequest struct {
// Required. Parent resource name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID to use for the workstation cluster.
WorkstationClusterId string `protobuf:"bytes,2,opt,name=workstation_cluster_id,json=workstationClusterId,proto3" json:"workstation_cluster_id,omitempty"`
// Required. Workstation cluster to create.
WorkstationCluster *WorkstationCluster `protobuf:"bytes,3,opt,name=workstation_cluster,json=workstationCluster,proto3" json:"workstation_cluster,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
Message for creating a CreateWorkstationCluster.
func (*CreateWorkstationClusterRequest) Descriptor
deprecated
func (*CreateWorkstationClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWorkstationClusterRequest.ProtoReflect.Descriptor instead.
func (*CreateWorkstationClusterRequest) GetParent ¶
func (x *CreateWorkstationClusterRequest) GetParent() string
func (*CreateWorkstationClusterRequest) GetValidateOnly ¶
func (x *CreateWorkstationClusterRequest) GetValidateOnly() bool
func (*CreateWorkstationClusterRequest) GetWorkstationCluster ¶
func (x *CreateWorkstationClusterRequest) GetWorkstationCluster() *WorkstationCluster
func (*CreateWorkstationClusterRequest) GetWorkstationClusterId ¶
func (x *CreateWorkstationClusterRequest) GetWorkstationClusterId() string
func (*CreateWorkstationClusterRequest) ProtoMessage ¶
func (*CreateWorkstationClusterRequest) ProtoMessage()
func (*CreateWorkstationClusterRequest) ProtoReflect ¶
func (x *CreateWorkstationClusterRequest) ProtoReflect() protoreflect.Message
func (*CreateWorkstationClusterRequest) Reset ¶
func (x *CreateWorkstationClusterRequest) Reset()
func (*CreateWorkstationClusterRequest) String ¶
func (x *CreateWorkstationClusterRequest) String() string
type CreateWorkstationConfigRequest ¶
type CreateWorkstationConfigRequest struct {
// Required. Parent resource name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID to use for the workstation configuration.
WorkstationConfigId string `protobuf:"bytes,2,opt,name=workstation_config_id,json=workstationConfigId,proto3" json:"workstation_config_id,omitempty"`
// Required. Workstation configuration to create.
WorkstationConfig *WorkstationConfig `protobuf:"bytes,3,opt,name=workstation_config,json=workstationConfig,proto3" json:"workstation_config,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
Message for creating a CreateWorkstationConfig.
func (*CreateWorkstationConfigRequest) Descriptor
deprecated
func (*CreateWorkstationConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWorkstationConfigRequest.ProtoReflect.Descriptor instead.
func (*CreateWorkstationConfigRequest) GetParent ¶
func (x *CreateWorkstationConfigRequest) GetParent() string
func (*CreateWorkstationConfigRequest) GetValidateOnly ¶
func (x *CreateWorkstationConfigRequest) GetValidateOnly() bool
func (*CreateWorkstationConfigRequest) GetWorkstationConfig ¶
func (x *CreateWorkstationConfigRequest) GetWorkstationConfig() *WorkstationConfig
func (*CreateWorkstationConfigRequest) GetWorkstationConfigId ¶
func (x *CreateWorkstationConfigRequest) GetWorkstationConfigId() string
func (*CreateWorkstationConfigRequest) ProtoMessage ¶
func (*CreateWorkstationConfigRequest) ProtoMessage()
func (*CreateWorkstationConfigRequest) ProtoReflect ¶
func (x *CreateWorkstationConfigRequest) ProtoReflect() protoreflect.Message
func (*CreateWorkstationConfigRequest) Reset ¶
func (x *CreateWorkstationConfigRequest) Reset()
func (*CreateWorkstationConfigRequest) String ¶
func (x *CreateWorkstationConfigRequest) String() string
type CreateWorkstationRequest ¶
type CreateWorkstationRequest struct {
// Required. Parent resource name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID to use for the workstation.
WorkstationId string `protobuf:"bytes,2,opt,name=workstation_id,json=workstationId,proto3" json:"workstation_id,omitempty"`
// Required. Workstation to create. If source_workstation is specified, the
// user must have `workstations.workstations.use` permission on the source
// workstation, and the Cloud Workstations Service Agent for the project where
// you are creating the new workstation must have compute.disks.createSnapshot
// and compute.snapshots.useReadOnly on the source project.
Workstation *Workstation `protobuf:"bytes,3,opt,name=workstation,proto3" json:"workstation,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
Message for creating a CreateWorkstation.
func (*CreateWorkstationRequest) Descriptor
deprecated
func (*CreateWorkstationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWorkstationRequest.ProtoReflect.Descriptor instead.
func (*CreateWorkstationRequest) GetParent ¶
func (x *CreateWorkstationRequest) GetParent() string
func (*CreateWorkstationRequest) GetValidateOnly ¶
func (x *CreateWorkstationRequest) GetValidateOnly() bool
func (*CreateWorkstationRequest) GetWorkstation ¶
func (x *CreateWorkstationRequest) GetWorkstation() *Workstation
func (*CreateWorkstationRequest) GetWorkstationId ¶
func (x *CreateWorkstationRequest) GetWorkstationId() string
func (*CreateWorkstationRequest) ProtoMessage ¶
func (*CreateWorkstationRequest) ProtoMessage()
func (*CreateWorkstationRequest) ProtoReflect ¶
func (x *CreateWorkstationRequest) ProtoReflect() protoreflect.Message
func (*CreateWorkstationRequest) Reset ¶
func (x *CreateWorkstationRequest) Reset()
func (*CreateWorkstationRequest) String ¶
func (x *CreateWorkstationRequest) String() string
type DeleteWorkstationClusterRequest ¶
type DeleteWorkstationClusterRequest struct {
// Required. Name of the workstation cluster to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// apply it.
ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set, the request will be rejected if the latest version of the
// workstation cluster on the server does not have this ETag.
Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. If set, any workstation configurations and workstations in the
// workstation cluster are also deleted. Otherwise, the request only
// works if the workstation cluster has no configurations or workstations.
Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
Message for deleting a workstation cluster.
func (*DeleteWorkstationClusterRequest) Descriptor
deprecated
func (*DeleteWorkstationClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWorkstationClusterRequest.ProtoReflect.Descriptor instead.
func (*DeleteWorkstationClusterRequest) GetEtag ¶
func (x *DeleteWorkstationClusterRequest) GetEtag() string
func (*DeleteWorkstationClusterRequest) GetForce ¶
func (x *DeleteWorkstationClusterRequest) GetForce() bool
func (*DeleteWorkstationClusterRequest) GetName ¶
func (x *DeleteWorkstationClusterRequest) GetName() string
func (*DeleteWorkstationClusterRequest) GetValidateOnly ¶
func (x *DeleteWorkstationClusterRequest) GetValidateOnly() bool
func (*DeleteWorkstationClusterRequest) ProtoMessage ¶
func (*DeleteWorkstationClusterRequest) ProtoMessage()
func (*DeleteWorkstationClusterRequest) ProtoReflect ¶
func (x *DeleteWorkstationClusterRequest) ProtoReflect() protoreflect.Message
func (*DeleteWorkstationClusterRequest) Reset ¶
func (x *DeleteWorkstationClusterRequest) Reset()
func (*DeleteWorkstationClusterRequest) String ¶
func (x *DeleteWorkstationClusterRequest) String() string
type DeleteWorkstationConfigRequest ¶
type DeleteWorkstationConfigRequest struct {
// Required. Name of the workstation configuration to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set, the request is rejected if the latest version of the
// workstation configuration on the server does not have this ETag.
Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. If set, any workstations in the workstation configuration are
// also deleted. Otherwise, the request works only if the workstation
// configuration has no workstations.
Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
Message for deleting a workstation configuration.
func (*DeleteWorkstationConfigRequest) Descriptor
deprecated
func (*DeleteWorkstationConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWorkstationConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteWorkstationConfigRequest) GetEtag ¶
func (x *DeleteWorkstationConfigRequest) GetEtag() string
func (*DeleteWorkstationConfigRequest) GetForce ¶
func (x *DeleteWorkstationConfigRequest) GetForce() bool
func (*DeleteWorkstationConfigRequest) GetName ¶
func (x *DeleteWorkstationConfigRequest) GetName() string
func (*DeleteWorkstationConfigRequest) GetValidateOnly ¶
func (x *DeleteWorkstationConfigRequest) GetValidateOnly() bool
func (*DeleteWorkstationConfigRequest) ProtoMessage ¶
func (*DeleteWorkstationConfigRequest) ProtoMessage()
func (*DeleteWorkstationConfigRequest) ProtoReflect ¶
func (x *DeleteWorkstationConfigRequest) ProtoReflect() protoreflect.Message
func (*DeleteWorkstationConfigRequest) Reset ¶
func (x *DeleteWorkstationConfigRequest) Reset()
func (*DeleteWorkstationConfigRequest) String ¶
func (x *DeleteWorkstationConfigRequest) String() string
type DeleteWorkstationRequest ¶
type DeleteWorkstationRequest struct {
// Required. Name of the workstation to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set, the request will be rejected if the latest version of the
// workstation on the server does not have this ETag.
Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}
Request message for DeleteWorkstation.
func (*DeleteWorkstationRequest) Descriptor
deprecated
func (*DeleteWorkstationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWorkstationRequest.ProtoReflect.Descriptor instead.
func (*DeleteWorkstationRequest) GetEtag ¶
func (x *DeleteWorkstationRequest) GetEtag() string
func (*DeleteWorkstationRequest) GetName ¶
func (x *DeleteWorkstationRequest) GetName() string
func (*DeleteWorkstationRequest) GetValidateOnly ¶
func (x *DeleteWorkstationRequest) GetValidateOnly() bool
func (*DeleteWorkstationRequest) ProtoMessage ¶
func (*DeleteWorkstationRequest) ProtoMessage()
func (*DeleteWorkstationRequest) ProtoReflect ¶
func (x *DeleteWorkstationRequest) ProtoReflect() protoreflect.Message
func (*DeleteWorkstationRequest) Reset ¶
func (x *DeleteWorkstationRequest) Reset()
func (*DeleteWorkstationRequest) String ¶
func (x *DeleteWorkstationRequest) String() string
type GenerateAccessTokenRequest ¶
type GenerateAccessTokenRequest struct {
// Desired expiration or lifetime of the access token.
//
// Types that are valid to be assigned to Expiration:
//
// *GenerateAccessTokenRequest_ExpireTime
// *GenerateAccessTokenRequest_Ttl
Expiration isGenerateAccessTokenRequest_Expiration `protobuf_oneof:"expiration"`
// Required. Name of the workstation for which the access token should be
// generated.
Workstation string `protobuf:"bytes,1,opt,name=workstation,proto3" json:"workstation,omitempty"`
// Optional. Port for which the access token should be generated. If
// specified, the generated access token grants access only to the
// specified port of the workstation. If specified, values must be within the
// range [1 - 65535]. If not specified, the generated access token grants
// access to all ports of the workstation.
Port int32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
// contains filtered or unexported fields
}
Request message for GenerateAccessToken.
func (*GenerateAccessTokenRequest) Descriptor
deprecated
func (*GenerateAccessTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*GenerateAccessTokenRequest) GetExpiration ¶
func (x *GenerateAccessTokenRequest) GetExpiration() isGenerateAccessTokenRequest_Expiration
func (*GenerateAccessTokenRequest) GetExpireTime ¶
func (x *GenerateAccessTokenRequest) GetExpireTime() *timestamppb.Timestamp
func (*GenerateAccessTokenRequest) GetPort ¶ added in v1.7.0
func (x *GenerateAccessTokenRequest) GetPort() int32
func (*GenerateAccessTokenRequest) GetTtl ¶
func (x *GenerateAccessTokenRequest) GetTtl() *durationpb.Duration
func (*GenerateAccessTokenRequest) GetWorkstation ¶
func (x *GenerateAccessTokenRequest) GetWorkstation() string
func (*GenerateAccessTokenRequest) ProtoMessage ¶
func (*GenerateAccessTokenRequest) ProtoMessage()
func (*GenerateAccessTokenRequest) ProtoReflect ¶
func (x *GenerateAccessTokenRequest) ProtoReflect() protoreflect.Message
func (*GenerateAccessTokenRequest) Reset ¶
func (x *GenerateAccessTokenRequest) Reset()
func (*GenerateAccessTokenRequest) String ¶
func (x *GenerateAccessTokenRequest) String() string
type GenerateAccessTokenRequest_ExpireTime ¶
type GenerateAccessTokenRequest_ExpireTime struct {
// Desired expiration time of the access token. This value must
// be at most 24 hours in the future. If a value is not specified, the
// token's expiration time will be set to a default value of 1 hour in the
// future.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3,oneof"`
}
type GenerateAccessTokenRequest_Ttl ¶
type GenerateAccessTokenRequest_Ttl struct {
// Desired lifetime duration of the access token. This value must
// be at most 24 hours. If a value is not specified, the token's lifetime
// will be set to a default value of 1 hour.
Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3,oneof"`
}
type GenerateAccessTokenResponse ¶
type GenerateAccessTokenResponse struct {
// The generated bearer access token. To use this token, include it in an
// Authorization header of an HTTP request sent to the associated
// workstation's hostname—for example, `Authorization: Bearer
// <access_token>`.
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
// Time at which the generated token will expire.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// contains filtered or unexported fields
}
Response message for GenerateAccessToken.
func (*GenerateAccessTokenResponse) Descriptor
deprecated
func (*GenerateAccessTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateAccessTokenResponse.ProtoReflect.Descriptor instead.
func (*GenerateAccessTokenResponse) GetAccessToken ¶
func (x *GenerateAccessTokenResponse) GetAccessToken() string
func (*GenerateAccessTokenResponse) GetExpireTime ¶
func (x *GenerateAccessTokenResponse) GetExpireTime() *timestamppb.Timestamp
func (*GenerateAccessTokenResponse) ProtoMessage ¶
func (*GenerateAccessTokenResponse) ProtoMessage()
func (*GenerateAccessTokenResponse) ProtoReflect ¶
func (x *GenerateAccessTokenResponse) ProtoReflect() protoreflect.Message
func (*GenerateAccessTokenResponse) Reset ¶
func (x *GenerateAccessTokenResponse) Reset()
func (*GenerateAccessTokenResponse) String ¶
func (x *GenerateAccessTokenResponse) String() string
type GetWorkstationClusterRequest ¶
type GetWorkstationClusterRequest struct {
// Required. Name of the requested resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GetWorkstationCluster.
func (*GetWorkstationClusterRequest) Descriptor
deprecated
func (*GetWorkstationClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWorkstationClusterRequest.ProtoReflect.Descriptor instead.
func (*GetWorkstationClusterRequest) GetName ¶
func (x *GetWorkstationClusterRequest) GetName() string
func (*GetWorkstationClusterRequest) ProtoMessage ¶
func (*GetWorkstationClusterRequest) ProtoMessage()
func (*GetWorkstationClusterRequest) ProtoReflect ¶
func (x *GetWorkstationClusterRequest) ProtoReflect() protoreflect.Message
func (*GetWorkstationClusterRequest) Reset ¶
func (x *GetWorkstationClusterRequest) Reset()
func (*GetWorkstationClusterRequest) String ¶
func (x *GetWorkstationClusterRequest) String() string
type GetWorkstationConfigRequest ¶
type GetWorkstationConfigRequest struct {
// Required. Name of the requested resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GetWorkstationConfig.
func (*GetWorkstationConfigRequest) Descriptor
deprecated
func (*GetWorkstationConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWorkstationConfigRequest.ProtoReflect.Descriptor instead.
func (*GetWorkstationConfigRequest) GetName ¶
func (x *GetWorkstationConfigRequest) GetName() string
func (*GetWorkstationConfigRequest) ProtoMessage ¶
func (*GetWorkstationConfigRequest) ProtoMessage()
func (*GetWorkstationConfigRequest) ProtoReflect ¶
func (x *GetWorkstationConfigRequest) ProtoReflect() protoreflect.Message
func (*GetWorkstationConfigRequest) Reset ¶
func (x *GetWorkstationConfigRequest) Reset()
func (*GetWorkstationConfigRequest) String ¶
func (x *GetWorkstationConfigRequest) String() string
type GetWorkstationRequest ¶
type GetWorkstationRequest struct {
// Required. Name of the requested resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GetWorkstation.
func (*GetWorkstationRequest) Descriptor
deprecated
func (*GetWorkstationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWorkstationRequest.ProtoReflect.Descriptor instead.
func (*GetWorkstationRequest) GetName ¶
func (x *GetWorkstationRequest) GetName() string
func (*GetWorkstationRequest) ProtoMessage ¶
func (*GetWorkstationRequest) ProtoMessage()
func (*GetWorkstationRequest) ProtoReflect ¶
func (x *GetWorkstationRequest) ProtoReflect() protoreflect.Message
func (*GetWorkstationRequest) Reset ¶
func (x *GetWorkstationRequest) Reset()
func (*GetWorkstationRequest) String ¶
func (x *GetWorkstationRequest) String() string
type ListUsableWorkstationConfigsRequest ¶
type ListUsableWorkstationConfigsRequest struct {
// Required. Parent resource name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Maximum number of items to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. next_page_token value returned from a previous List request, if
// any.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request message for ListUsableWorkstationConfigs.
func (*ListUsableWorkstationConfigsRequest) Descriptor
deprecated
func (*ListUsableWorkstationConfigsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsableWorkstationConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListUsableWorkstationConfigsRequest) GetPageSize ¶
func (x *ListUsableWorkstationConfigsRequest) GetPageSize() int32
func (*ListUsableWorkstationConfigsRequest) GetPageToken ¶
func (x *ListUsableWorkstationConfigsRequest) GetPageToken() string
func (*ListUsableWorkstationConfigsRequest) GetParent ¶
func (x *ListUsableWorkstationConfigsRequest) GetParent() string
func (*ListUsableWorkstationConfigsRequest) ProtoMessage ¶
func (*ListUsableWorkstationConfigsRequest) ProtoMessage()
func (*ListUsableWorkstationConfigsRequest) ProtoReflect ¶
func (x *ListUsableWorkstationConfigsRequest) ProtoReflect() protoreflect.Message
func (*ListUsableWorkstationConfigsRequest) Reset ¶
func (x *ListUsableWorkstationConfigsRequest) Reset()
func (*ListUsableWorkstationConfigsRequest) String ¶
func (x *ListUsableWorkstationConfigsRequest) String() string
type ListUsableWorkstationConfigsResponse ¶
type ListUsableWorkstationConfigsResponse struct {
// The requested configs.
WorkstationConfigs []*WorkstationConfig `protobuf:"bytes,1,rep,name=workstation_configs,json=workstationConfigs,proto3" json:"workstation_configs,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Unreachable resources.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for ListUsableWorkstationConfigs.
func (*ListUsableWorkstationConfigsResponse) Descriptor
deprecated
func (*ListUsableWorkstationConfigsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsableWorkstationConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListUsableWorkstationConfigsResponse) GetNextPageToken ¶
func (x *ListUsableWorkstationConfigsResponse) GetNextPageToken() string
func (*ListUsableWorkstationConfigsResponse) GetUnreachable ¶
func (x *ListUsableWorkstationConfigsResponse) GetUnreachable() []string
func (*ListUsableWorkstationConfigsResponse) GetWorkstationConfigs ¶
func (x *ListUsableWorkstationConfigsResponse) GetWorkstationConfigs() []*WorkstationConfig
func (*ListUsableWorkstationConfigsResponse) ProtoMessage ¶
func (*ListUsableWorkstationConfigsResponse) ProtoMessage()
func (*ListUsableWorkstationConfigsResponse) ProtoReflect ¶
func (x *ListUsableWorkstationConfigsResponse) ProtoReflect() protoreflect.Message
func (*ListUsableWorkstationConfigsResponse) Reset ¶
func (x *ListUsableWorkstationConfigsResponse) Reset()
func (*ListUsableWorkstationConfigsResponse) String ¶
func (x *ListUsableWorkstationConfigsResponse) String() string
type ListUsableWorkstationsRequest ¶
type ListUsableWorkstationsRequest struct {
// Required. Parent resource name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Maximum number of items to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. next_page_token value returned from a previous List request, if
// any.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request message for ListUsableWorkstations.
func (*ListUsableWorkstationsRequest) Descriptor
deprecated
func (*ListUsableWorkstationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsableWorkstationsRequest.ProtoReflect.Descriptor instead.
func (*ListUsableWorkstationsRequest) GetPageSize ¶
func (x *ListUsableWorkstationsRequest) GetPageSize() int32
func (*ListUsableWorkstationsRequest) GetPageToken ¶
func (x *ListUsableWorkstationsRequest) GetPageToken() string
func (*ListUsableWorkstationsRequest) GetParent ¶
func (x *ListUsableWorkstationsRequest) GetParent() string
func (*ListUsableWorkstationsRequest) ProtoMessage ¶
func (*ListUsableWorkstationsRequest) ProtoMessage()
func (*ListUsableWorkstationsRequest) ProtoReflect ¶
func (x *ListUsableWorkstationsRequest) ProtoReflect() protoreflect.Message
func (*ListUsableWorkstationsRequest) Reset ¶
func (x *ListUsableWorkstationsRequest) Reset()
func (*ListUsableWorkstationsRequest) String ¶
func (x *ListUsableWorkstationsRequest) String() string
type ListUsableWorkstationsResponse ¶
type ListUsableWorkstationsResponse struct {
// The requested workstations.
Workstations []*Workstation `protobuf:"bytes,1,rep,name=workstations,proto3" json:"workstations,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Unreachable resources.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for ListUsableWorkstations.
func (*ListUsableWorkstationsResponse) Descriptor
deprecated
func (*ListUsableWorkstationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsableWorkstationsResponse.ProtoReflect.Descriptor instead.
func (*ListUsableWorkstationsResponse) GetNextPageToken ¶
func (x *ListUsableWorkstationsResponse) GetNextPageToken() string
func (*ListUsableWorkstationsResponse) GetUnreachable ¶
func (x *ListUsableWorkstationsResponse) GetUnreachable() []string
func (*ListUsableWorkstationsResponse) GetWorkstations ¶
func (x *ListUsableWorkstationsResponse) GetWorkstations() []*Workstation
func (*ListUsableWorkstationsResponse) ProtoMessage ¶
func (*ListUsableWorkstationsResponse) ProtoMessage()
func (*ListUsableWorkstationsResponse) ProtoReflect ¶
func (x *ListUsableWorkstationsResponse) ProtoReflect() protoreflect.Message
func (*ListUsableWorkstationsResponse) Reset ¶
func (x *ListUsableWorkstationsResponse) Reset()
func (*ListUsableWorkstationsResponse) String ¶
func (x *ListUsableWorkstationsResponse) String() string
type ListWorkstationClustersRequest ¶
type ListWorkstationClustersRequest struct {
// Required. Parent resource name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Maximum number of items to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. next_page_token value returned from a previous List request, if
// any.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filter the WorkstationClusters to be listed. Possible filters are
// described in https://google.aip.dev/160.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
Request message for ListWorkstationClusters.
func (*ListWorkstationClustersRequest) Descriptor
deprecated
func (*ListWorkstationClustersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkstationClustersRequest.ProtoReflect.Descriptor instead.
func (*ListWorkstationClustersRequest) GetFilter ¶ added in v1.7.0
func (x *ListWorkstationClustersRequest) GetFilter() string
func (*ListWorkstationClustersRequest) GetPageSize ¶
func (x *ListWorkstationClustersRequest) GetPageSize() int32
func (*ListWorkstationClustersRequest) GetPageToken ¶
func (x *ListWorkstationClustersRequest) GetPageToken() string
func (*ListWorkstationClustersRequest) GetParent ¶
func (x *ListWorkstationClustersRequest) GetParent() string
func (*ListWorkstationClustersRequest) ProtoMessage ¶
func (*ListWorkstationClustersRequest) ProtoMessage()
func (*ListWorkstationClustersRequest) ProtoReflect ¶
func (x *ListWorkstationClustersRequest) ProtoReflect() protoreflect.Message
func (*ListWorkstationClustersRequest) Reset ¶
func (x *ListWorkstationClustersRequest) Reset()
func (*ListWorkstationClustersRequest) String ¶
func (x *ListWorkstationClustersRequest) String() string
type ListWorkstationClustersResponse ¶
type ListWorkstationClustersResponse struct {
// The requested workstation clusters.
WorkstationClusters []*WorkstationCluster `protobuf:"bytes,1,rep,name=workstation_clusters,json=workstationClusters,proto3" json:"workstation_clusters,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Unreachable resources.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for ListWorkstationClusters.
func (*ListWorkstationClustersResponse) Descriptor
deprecated
func (*ListWorkstationClustersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkstationClustersResponse.ProtoReflect.Descriptor instead.
func (*ListWorkstationClustersResponse) GetNextPageToken ¶
func (x *ListWorkstationClustersResponse) GetNextPageToken() string
func (*ListWorkstationClustersResponse) GetUnreachable ¶
func (x *ListWorkstationClustersResponse) GetUnreachable() []string
func (*ListWorkstationClustersResponse) GetWorkstationClusters ¶
func (x *ListWorkstationClustersResponse) GetWorkstationClusters() []*WorkstationCluster
func (*ListWorkstationClustersResponse) ProtoMessage ¶
func (*ListWorkstationClustersResponse) ProtoMessage()
func (*ListWorkstationClustersResponse) ProtoReflect ¶
func (x *ListWorkstationClustersResponse) ProtoReflect() protoreflect.Message
func (*ListWorkstationClustersResponse) Reset ¶
func (x *ListWorkstationClustersResponse) Reset()
func (*ListWorkstationClustersResponse) String ¶
func (x *ListWorkstationClustersResponse) String() string
type ListWorkstationConfigsRequest ¶
type ListWorkstationConfigsRequest struct {
// Required. Parent resource name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Maximum number of items to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. next_page_token value returned from a previous List request, if
// any.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filter the WorkstationConfigs to be listed. Possible filters are
// described in https://google.aip.dev/160.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
Request message for ListWorkstationConfigs.
func (*ListWorkstationConfigsRequest) Descriptor
deprecated
func (*ListWorkstationConfigsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkstationConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListWorkstationConfigsRequest) GetFilter ¶ added in v1.7.0
func (x *ListWorkstationConfigsRequest) GetFilter() string
func (*ListWorkstationConfigsRequest) GetPageSize ¶
func (x *ListWorkstationConfigsRequest) GetPageSize() int32
func (*ListWorkstationConfigsRequest) GetPageToken ¶
func (x *ListWorkstationConfigsRequest) GetPageToken() string
func (*ListWorkstationConfigsRequest) GetParent ¶
func (x *ListWorkstationConfigsRequest) GetParent() string
func (*ListWorkstationConfigsRequest) ProtoMessage ¶
func (*ListWorkstationConfigsRequest) ProtoMessage()
func (*ListWorkstationConfigsRequest) ProtoReflect ¶
func (x *ListWorkstationConfigsRequest) ProtoReflect() protoreflect.Message
func (*ListWorkstationConfigsRequest) Reset ¶
func (x *ListWorkstationConfigsRequest) Reset()
func (*ListWorkstationConfigsRequest) String ¶
func (x *ListWorkstationConfigsRequest) String() string
type ListWorkstationConfigsResponse ¶
type ListWorkstationConfigsResponse struct {
// The requested configs.
WorkstationConfigs []*WorkstationConfig `protobuf:"bytes,1,rep,name=workstation_configs,json=workstationConfigs,proto3" json:"workstation_configs,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Unreachable resources.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for ListWorkstationConfigs.
func (*ListWorkstationConfigsResponse) Descriptor
deprecated
func (*ListWorkstationConfigsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkstationConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListWorkstationConfigsResponse) GetNextPageToken ¶
func (x *ListWorkstationConfigsResponse) GetNextPageToken() string
func (*ListWorkstationConfigsResponse) GetUnreachable ¶
func (x *ListWorkstationConfigsResponse) GetUnreachable() []string
func (*ListWorkstationConfigsResponse) GetWorkstationConfigs ¶
func (x *ListWorkstationConfigsResponse) GetWorkstationConfigs() []*WorkstationConfig
func (*ListWorkstationConfigsResponse) ProtoMessage ¶
func (*ListWorkstationConfigsResponse) ProtoMessage()
func (*ListWorkstationConfigsResponse) ProtoReflect ¶
func (x *ListWorkstationConfigsResponse) ProtoReflect() protoreflect.Message
func (*ListWorkstationConfigsResponse) Reset ¶
func (x *ListWorkstationConfigsResponse) Reset()
func (*ListWorkstationConfigsResponse) String ¶
func (x *ListWorkstationConfigsResponse) String() string
type ListWorkstationsRequest ¶
type ListWorkstationsRequest struct {
// Required. Parent resource name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Maximum number of items to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. next_page_token value returned from a previous List request, if
// any.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filter the Workstations to be listed. Possible filters are
// described in https://google.aip.dev/160.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
Request message for ListWorkstations.
func (*ListWorkstationsRequest) Descriptor
deprecated
func (*ListWorkstationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkstationsRequest.ProtoReflect.Descriptor instead.
func (*ListWorkstationsRequest) GetFilter ¶ added in v1.7.0
func (x *ListWorkstationsRequest) GetFilter() string
func (*ListWorkstationsRequest) GetPageSize ¶
func (x *ListWorkstationsRequest) GetPageSize() int32
func (*ListWorkstationsRequest) GetPageToken ¶
func (x *ListWorkstationsRequest) GetPageToken() string
func (*ListWorkstationsRequest) GetParent ¶
func (x *ListWorkstationsRequest) GetParent() string
func (*ListWorkstationsRequest) ProtoMessage ¶
func (*ListWorkstationsRequest) ProtoMessage()
func (*ListWorkstationsRequest) ProtoReflect ¶
func (x *ListWorkstationsRequest) ProtoReflect() protoreflect.Message
func (*ListWorkstationsRequest) Reset ¶
func (x *ListWorkstationsRequest) Reset()
func (*ListWorkstationsRequest) String ¶
func (x *ListWorkstationsRequest) String() string
type ListWorkstationsResponse ¶
type ListWorkstationsResponse struct {
// The requested workstations.
Workstations []*Workstation `protobuf:"bytes,1,rep,name=workstations,proto3" json:"workstations,omitempty"`
// Optional. Token to retrieve the next page of results, or empty if there are
// no more results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Optional. Unreachable resources.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for ListWorkstations.
func (*ListWorkstationsResponse) Descriptor
deprecated
func (*ListWorkstationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkstationsResponse.ProtoReflect.Descriptor instead.
func (*ListWorkstationsResponse) GetNextPageToken ¶
func (x *ListWorkstationsResponse) GetNextPageToken() string
func (*ListWorkstationsResponse) GetUnreachable ¶
func (x *ListWorkstationsResponse) GetUnreachable() []string
func (*ListWorkstationsResponse) GetWorkstations ¶
func (x *ListWorkstationsResponse) GetWorkstations() []*Workstation
func (*ListWorkstationsResponse) ProtoMessage ¶
func (*ListWorkstationsResponse) ProtoMessage()
func (*ListWorkstationsResponse) ProtoReflect ¶
func (x *ListWorkstationsResponse) ProtoReflect() protoreflect.Message
func (*ListWorkstationsResponse) Reset ¶
func (x *ListWorkstationsResponse) Reset()
func (*ListWorkstationsResponse) String ¶
func (x *ListWorkstationsResponse) String() string
type OperationMetadata ¶
type OperationMetadata struct {
// Output only. Time that the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time that the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested cancellation
// of the operation.
RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}
Metadata for long-running operations.
func (*OperationMetadata) Descriptor
deprecated
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion ¶
func (x *OperationMetadata) GetApiVersion() string
func (*OperationMetadata) GetCreateTime ¶
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*OperationMetadata) GetEndTime ¶
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*OperationMetadata) GetRequestedCancellation ¶
func (x *OperationMetadata) GetRequestedCancellation() bool
func (*OperationMetadata) GetStatusMessage ¶
func (x *OperationMetadata) GetStatusMessage() string
func (*OperationMetadata) GetTarget ¶
func (x *OperationMetadata) GetTarget() string
func (*OperationMetadata) GetVerb ¶
func (x *OperationMetadata) GetVerb() string
func (*OperationMetadata) ProtoMessage ¶
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) ProtoReflect ¶
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (*OperationMetadata) Reset ¶
func (x *OperationMetadata) Reset()
func (*OperationMetadata) String ¶
func (x *OperationMetadata) String() string
type PushCredentialsMetadata ¶ added in v1.7.0
type PushCredentialsMetadata struct {
// contains filtered or unexported fields
}
Metadata message for PushCredentials.
func (*PushCredentialsMetadata) Descriptor
deprecated
added in
v1.7.0
func (*PushCredentialsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use PushCredentialsMetadata.ProtoReflect.Descriptor instead.
func (*PushCredentialsMetadata) ProtoMessage ¶ added in v1.7.0
func (*PushCredentialsMetadata) ProtoMessage()
func (*PushCredentialsMetadata) ProtoReflect ¶ added in v1.7.0
func (x *PushCredentialsMetadata) ProtoReflect() protoreflect.Message
func (*PushCredentialsMetadata) Reset ¶ added in v1.7.0
func (x *PushCredentialsMetadata) Reset()
func (*PushCredentialsMetadata) String ¶ added in v1.7.0
func (x *PushCredentialsMetadata) String() string
type PushCredentialsRequest ¶ added in v1.7.0
type PushCredentialsRequest struct {
// Required. Name of the workstation for which the credentials should be
// pushed.
Workstation string `protobuf:"bytes,1,opt,name=workstation,proto3" json:"workstation,omitempty"`
// Optional. Credentials used by Cloud Client Libraries, Google API Client
// Libraries, and other tooling within the user conainer:
// https://cloud.google.com/docs/authentication/application-default-credentials
ApplicationDefaultCredentials *PushCredentialsRequest_OAuthToken `` /* 150-byte string literal not displayed */
// contains filtered or unexported fields
}
Request message for PushCredentials.
func (*PushCredentialsRequest) Descriptor
deprecated
added in
v1.7.0
func (*PushCredentialsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushCredentialsRequest.ProtoReflect.Descriptor instead.
func (*PushCredentialsRequest) GetApplicationDefaultCredentials ¶ added in v1.7.0
func (x *PushCredentialsRequest) GetApplicationDefaultCredentials() *PushCredentialsRequest_OAuthToken
func (*PushCredentialsRequest) GetWorkstation ¶ added in v1.7.0
func (x *PushCredentialsRequest) GetWorkstation() string
func (*PushCredentialsRequest) ProtoMessage ¶ added in v1.7.0
func (*PushCredentialsRequest) ProtoMessage()
func (*PushCredentialsRequest) ProtoReflect ¶ added in v1.7.0
func (x *PushCredentialsRequest) ProtoReflect() protoreflect.Message
func (*PushCredentialsRequest) Reset ¶ added in v1.7.0
func (x *PushCredentialsRequest) Reset()
func (*PushCredentialsRequest) String ¶ added in v1.7.0
func (x *PushCredentialsRequest) String() string
type PushCredentialsRequest_OAuthToken ¶ added in v1.7.0
type PushCredentialsRequest_OAuthToken struct {
// Optional. The email address encapsulated in the OAuth token.
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
// Optional. The scopes encapsulated in the OAuth token.
// See https://developers.google.com/identity/protocols/oauth2/scopes for
// more information.
Scopes string `protobuf:"bytes,2,opt,name=scopes,proto3" json:"scopes,omitempty"`
// Required. The OAuth token.
AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
// Optional. The time the OAuth access token will expire. This should be the
// time the access token was generated plus the expires_in offset returned
// from the Access Token Response.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// contains filtered or unexported fields
}
OAuth token.
func (*PushCredentialsRequest_OAuthToken) Descriptor
deprecated
added in
v1.7.0
func (*PushCredentialsRequest_OAuthToken) Descriptor() ([]byte, []int)
Deprecated: Use PushCredentialsRequest_OAuthToken.ProtoReflect.Descriptor instead.
func (*PushCredentialsRequest_OAuthToken) GetAccessToken ¶ added in v1.7.0
func (x *PushCredentialsRequest_OAuthToken) GetAccessToken() string
func (*PushCredentialsRequest_OAuthToken) GetEmail ¶ added in v1.7.0
func (x *PushCredentialsRequest_OAuthToken) GetEmail() string
func (*PushCredentialsRequest_OAuthToken) GetExpireTime ¶ added in v1.7.0
func (x *PushCredentialsRequest_OAuthToken) GetExpireTime() *timestamppb.Timestamp
func (*PushCredentialsRequest_OAuthToken) GetScopes ¶ added in v1.7.0
func (x *PushCredentialsRequest_OAuthToken) GetScopes() string
func (*PushCredentialsRequest_OAuthToken) ProtoMessage ¶ added in v1.7.0
func (*PushCredentialsRequest_OAuthToken) ProtoMessage()
func (*PushCredentialsRequest_OAuthToken) ProtoReflect ¶ added in v1.7.0
func (x *PushCredentialsRequest_OAuthToken) ProtoReflect() protoreflect.Message
func (*PushCredentialsRequest_OAuthToken) Reset ¶ added in v1.7.0
func (x *PushCredentialsRequest_OAuthToken) Reset()
func (*PushCredentialsRequest_OAuthToken) String ¶ added in v1.7.0
func (x *PushCredentialsRequest_OAuthToken) String() string
type StartWorkstationRequest ¶
type StartWorkstationRequest struct {
// Required. Name of the workstation to start.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set, the request will be rejected if the latest version of the
// workstation on the server does not have this ETag.
Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. If set, the workstation starts using the boost configuration with
// the specified ID.
BoostConfig string `protobuf:"bytes,4,opt,name=boost_config,json=boostConfig,proto3" json:"boost_config,omitempty"`
// contains filtered or unexported fields
}
Request message for StartWorkstation.
func (*StartWorkstationRequest) Descriptor
deprecated
func (*StartWorkstationRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartWorkstationRequest.ProtoReflect.Descriptor instead.
func (*StartWorkstationRequest) GetBoostConfig ¶ added in v1.7.0
func (x *StartWorkstationRequest) GetBoostConfig() string
func (*StartWorkstationRequest) GetEtag ¶
func (x *StartWorkstationRequest) GetEtag() string
func (*StartWorkstationRequest) GetName ¶
func (x *StartWorkstationRequest) GetName() string
func (*StartWorkstationRequest) GetValidateOnly ¶
func (x *StartWorkstationRequest) GetValidateOnly() bool
func (*StartWorkstationRequest) ProtoMessage ¶
func (*StartWorkstationRequest) ProtoMessage()
func (*StartWorkstationRequest) ProtoReflect ¶
func (x *StartWorkstationRequest) ProtoReflect() protoreflect.Message
func (*StartWorkstationRequest) Reset ¶
func (x *StartWorkstationRequest) Reset()
func (*StartWorkstationRequest) String ¶
func (x *StartWorkstationRequest) String() string
type StopWorkstationRequest ¶
type StopWorkstationRequest struct {
// Required. Name of the workstation to stop.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set, the request will be rejected if the latest version of the
// workstation on the server does not have this ETag.
Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}
Request message for StopWorkstation.
func (*StopWorkstationRequest) Descriptor
deprecated
func (*StopWorkstationRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopWorkstationRequest.ProtoReflect.Descriptor instead.
func (*StopWorkstationRequest) GetEtag ¶
func (x *StopWorkstationRequest) GetEtag() string
func (*StopWorkstationRequest) GetName ¶
func (x *StopWorkstationRequest) GetName() string
func (*StopWorkstationRequest) GetValidateOnly ¶
func (x *StopWorkstationRequest) GetValidateOnly() bool
func (*StopWorkstationRequest) ProtoMessage ¶
func (*StopWorkstationRequest) ProtoMessage()
func (*StopWorkstationRequest) ProtoReflect ¶
func (x *StopWorkstationRequest) ProtoReflect() protoreflect.Message
func (*StopWorkstationRequest) Reset ¶
func (x *StopWorkstationRequest) Reset()
func (*StopWorkstationRequest) String ¶
func (x *StopWorkstationRequest) String() string
type UnimplementedWorkstationsServer ¶
type UnimplementedWorkstationsServer struct {
}
UnimplementedWorkstationsServer should be embedded to have forward compatible implementations.
func (UnimplementedWorkstationsServer) CreateWorkstation ¶
func (UnimplementedWorkstationsServer) CreateWorkstation(context.Context, *CreateWorkstationRequest) (*longrunningpb.Operation, error)
func (UnimplementedWorkstationsServer) CreateWorkstationCluster ¶
func (UnimplementedWorkstationsServer) CreateWorkstationCluster(context.Context, *CreateWorkstationClusterRequest) (*longrunningpb.Operation, error)
func (UnimplementedWorkstationsServer) CreateWorkstationConfig ¶
func (UnimplementedWorkstationsServer) CreateWorkstationConfig(context.Context, *CreateWorkstationConfigRequest) (*longrunningpb.Operation, error)
func (UnimplementedWorkstationsServer) DeleteWorkstation ¶
func (UnimplementedWorkstationsServer) DeleteWorkstation(context.Context, *DeleteWorkstationRequest) (*longrunningpb.Operation, error)
func (UnimplementedWorkstationsServer) DeleteWorkstationCluster ¶
func (UnimplementedWorkstationsServer) DeleteWorkstationCluster(context.Context, *DeleteWorkstationClusterRequest) (*longrunningpb.Operation, error)
func (UnimplementedWorkstationsServer) DeleteWorkstationConfig ¶
func (UnimplementedWorkstationsServer) DeleteWorkstationConfig(context.Context, *DeleteWorkstationConfigRequest) (*longrunningpb.Operation, error)
func (UnimplementedWorkstationsServer) GenerateAccessToken ¶
func (UnimplementedWorkstationsServer) GenerateAccessToken(context.Context, *GenerateAccessTokenRequest) (*GenerateAccessTokenResponse, error)
func (UnimplementedWorkstationsServer) GetWorkstation ¶
func (UnimplementedWorkstationsServer) GetWorkstation(context.Context, *GetWorkstationRequest) (*Workstation, error)
func (UnimplementedWorkstationsServer) GetWorkstationCluster ¶
func (UnimplementedWorkstationsServer) GetWorkstationCluster(context.Context, *GetWorkstationClusterRequest) (*WorkstationCluster, error)
func (UnimplementedWorkstationsServer) GetWorkstationConfig ¶
func (UnimplementedWorkstationsServer) GetWorkstationConfig(context.Context, *GetWorkstationConfigRequest) (*WorkstationConfig, error)
func (UnimplementedWorkstationsServer) ListUsableWorkstationConfigs ¶
func (UnimplementedWorkstationsServer) ListUsableWorkstationConfigs(context.Context, *ListUsableWorkstationConfigsRequest) (*ListUsableWorkstationConfigsResponse, error)
func (UnimplementedWorkstationsServer) ListUsableWorkstations ¶
func (UnimplementedWorkstationsServer) ListUsableWorkstations(context.Context, *ListUsableWorkstationsRequest) (*ListUsableWorkstationsResponse, error)
func (UnimplementedWorkstationsServer) ListWorkstationClusters ¶
func (UnimplementedWorkstationsServer) ListWorkstationClusters(context.Context, *ListWorkstationClustersRequest) (*ListWorkstationClustersResponse, error)
func (UnimplementedWorkstationsServer) ListWorkstationConfigs ¶
func (UnimplementedWorkstationsServer) ListWorkstationConfigs(context.Context, *ListWorkstationConfigsRequest) (*ListWorkstationConfigsResponse, error)
func (UnimplementedWorkstationsServer) ListWorkstations ¶
func (UnimplementedWorkstationsServer) ListWorkstations(context.Context, *ListWorkstationsRequest) (*ListWorkstationsResponse, error)
func (UnimplementedWorkstationsServer) PushCredentials ¶ added in v1.7.0
func (UnimplementedWorkstationsServer) PushCredentials(context.Context, *PushCredentialsRequest) (*longrunningpb.Operation, error)
func (UnimplementedWorkstationsServer) StartWorkstation ¶
func (UnimplementedWorkstationsServer) StartWorkstation(context.Context, *StartWorkstationRequest) (*longrunningpb.Operation, error)
func (UnimplementedWorkstationsServer) StopWorkstation ¶
func (UnimplementedWorkstationsServer) StopWorkstation(context.Context, *StopWorkstationRequest) (*longrunningpb.Operation, error)
func (UnimplementedWorkstationsServer) UpdateWorkstation ¶
func (UnimplementedWorkstationsServer) UpdateWorkstation(context.Context, *UpdateWorkstationRequest) (*longrunningpb.Operation, error)
func (UnimplementedWorkstationsServer) UpdateWorkstationCluster ¶
func (UnimplementedWorkstationsServer) UpdateWorkstationCluster(context.Context, *UpdateWorkstationClusterRequest) (*longrunningpb.Operation, error)
func (UnimplementedWorkstationsServer) UpdateWorkstationConfig ¶
func (UnimplementedWorkstationsServer) UpdateWorkstationConfig(context.Context, *UpdateWorkstationConfigRequest) (*longrunningpb.Operation, error)
type UnsafeWorkstationsServer ¶ added in v1.1.6
type UnsafeWorkstationsServer interface {
// contains filtered or unexported methods
}
UnsafeWorkstationsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WorkstationsServer will result in compilation errors.
type UpdateWorkstationClusterRequest ¶
type UpdateWorkstationClusterRequest struct {
// Required. Workstation cluster to update.
WorkstationCluster *WorkstationCluster `protobuf:"bytes,1,opt,name=workstation_cluster,json=workstationCluster,proto3" json:"workstation_cluster,omitempty"`
// Required. Mask that specifies which fields in the workstation cluster
// should be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set, and the workstation cluster is not found, a new
// workstation cluster will be created. In this situation, update_mask is
// ignored.
AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// contains filtered or unexported fields
}
Request message for UpdateWorkstationCluster.
func (*UpdateWorkstationClusterRequest) Descriptor
deprecated
func (*UpdateWorkstationClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWorkstationClusterRequest.ProtoReflect.Descriptor instead.
func (*UpdateWorkstationClusterRequest) GetAllowMissing ¶
func (x *UpdateWorkstationClusterRequest) GetAllowMissing() bool
func (*UpdateWorkstationClusterRequest) GetUpdateMask ¶
func (x *UpdateWorkstationClusterRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateWorkstationClusterRequest) GetValidateOnly ¶
func (x *UpdateWorkstationClusterRequest) GetValidateOnly() bool
func (*UpdateWorkstationClusterRequest) GetWorkstationCluster ¶
func (x *UpdateWorkstationClusterRequest) GetWorkstationCluster() *WorkstationCluster
func (*UpdateWorkstationClusterRequest) ProtoMessage ¶
func (*UpdateWorkstationClusterRequest) ProtoMessage()
func (*UpdateWorkstationClusterRequest) ProtoReflect ¶
func (x *UpdateWorkstationClusterRequest) ProtoReflect() protoreflect.Message
func (*UpdateWorkstationClusterRequest) Reset ¶
func (x *UpdateWorkstationClusterRequest) Reset()
func (*UpdateWorkstationClusterRequest) String ¶
func (x *UpdateWorkstationClusterRequest) String() string
type UpdateWorkstationConfigRequest ¶
type UpdateWorkstationConfigRequest struct {
// Required. Workstation configuration to update.
WorkstationConfig *WorkstationConfig `protobuf:"bytes,1,opt,name=workstation_config,json=workstationConfig,proto3" json:"workstation_config,omitempty"`
// Required. Mask specifying which fields in the workstation configuration
// should be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set and the workstation configuration is not found, a new
// workstation configuration will be created. In this situation,
// update_mask is ignored.
AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// contains filtered or unexported fields
}
Request message for UpdateWorkstationConfig.
func (*UpdateWorkstationConfigRequest) Descriptor
deprecated
func (*UpdateWorkstationConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWorkstationConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateWorkstationConfigRequest) GetAllowMissing ¶
func (x *UpdateWorkstationConfigRequest) GetAllowMissing() bool
func (*UpdateWorkstationConfigRequest) GetUpdateMask ¶
func (x *UpdateWorkstationConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateWorkstationConfigRequest) GetValidateOnly ¶
func (x *UpdateWorkstationConfigRequest) GetValidateOnly() bool
func (*UpdateWorkstationConfigRequest) GetWorkstationConfig ¶
func (x *UpdateWorkstationConfigRequest) GetWorkstationConfig() *WorkstationConfig
func (*UpdateWorkstationConfigRequest) ProtoMessage ¶
func (*UpdateWorkstationConfigRequest) ProtoMessage()
func (*UpdateWorkstationConfigRequest) ProtoReflect ¶
func (x *UpdateWorkstationConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateWorkstationConfigRequest) Reset ¶
func (x *UpdateWorkstationConfigRequest) Reset()
func (*UpdateWorkstationConfigRequest) String ¶
func (x *UpdateWorkstationConfigRequest) String() string
type UpdateWorkstationRequest ¶
type UpdateWorkstationRequest struct {
// Required. Workstation to update.
Workstation *Workstation `protobuf:"bytes,1,opt,name=workstation,proto3" json:"workstation,omitempty"`
// Required. Mask specifying which fields in the workstation should be
// updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set and the workstation is not found, a new workstation is
// created. In this situation, update_mask is ignored.
AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// contains filtered or unexported fields
}
Request message for UpdateWorkstation.
func (*UpdateWorkstationRequest) Descriptor
deprecated
func (*UpdateWorkstationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWorkstationRequest.ProtoReflect.Descriptor instead.
func (*UpdateWorkstationRequest) GetAllowMissing ¶
func (x *UpdateWorkstationRequest) GetAllowMissing() bool
func (*UpdateWorkstationRequest) GetUpdateMask ¶
func (x *UpdateWorkstationRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateWorkstationRequest) GetValidateOnly ¶
func (x *UpdateWorkstationRequest) GetValidateOnly() bool
func (*UpdateWorkstationRequest) GetWorkstation ¶
func (x *UpdateWorkstationRequest) GetWorkstation() *Workstation
func (*UpdateWorkstationRequest) ProtoMessage ¶
func (*UpdateWorkstationRequest) ProtoMessage()
func (*UpdateWorkstationRequest) ProtoReflect ¶
func (x *UpdateWorkstationRequest) ProtoReflect() protoreflect.Message
func (*UpdateWorkstationRequest) Reset ¶
func (x *UpdateWorkstationRequest) Reset()
func (*UpdateWorkstationRequest) String ¶
func (x *UpdateWorkstationRequest) String() string
type Workstation ¶
type Workstation struct {
// Identifier. Full name of this workstation.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Human-readable name for this workstation.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. A system-assigned unique identifier for this workstation.
Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. Indicates whether this workstation is currently being updated
// to match its intended state.
Reconciling bool `protobuf:"varint,4,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
// Optional. Client-specified annotations.
Annotations map[string]string `` /* 149-byte string literal not displayed */
// Optional.
// [Labels](https://cloud.google.com/workstations/docs/label-resources) that
// are applied to the workstation and that are also propagated to the
// underlying Compute Engine resources.
Labels map[string]string `` /* 140-byte string literal not displayed */
// Output only. Time when this workstation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when this workstation was most recently updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. Time when this workstation was most recently successfully
// started, regardless of the workstation's initial state.
StartTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Output only. Time when this workstation was soft-deleted.
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
// Optional. Checksum computed by the server. May be sent on update and delete
// requests to make sure that the client has an up-to-date value before
// proceeding.
Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. Directories to persist across workstation sessions.
PersistentDirectories []*Workstation_WorkstationPersistentDirectory `protobuf:"bytes,25,rep,name=persistent_directories,json=persistentDirectories,proto3" json:"persistent_directories,omitempty"`
// Output only. Current state of the workstation.
State Workstation_State `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.workstations.v1beta.Workstation_State" json:"state,omitempty"`
// Output only. Host to which clients can send HTTPS traffic that will be
// received by the workstation. Authorized traffic will be received to the
// workstation as HTTP on port 80. To send traffic to a different port,
// clients may prefix the host with the destination port in the format
// `{port}-{host}`.
Host string `protobuf:"bytes,11,opt,name=host,proto3" json:"host,omitempty"`
// Optional. Environment variables passed to the workstation container's
// entrypoint.
Env map[string]string `` /* 134-byte string literal not displayed */
// Output only. The name of the Google Cloud KMS encryption key used to
// encrypt this workstation. The KMS key can only be configured in the
// WorkstationConfig. The expected format is
// `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
KmsKey string `protobuf:"bytes,15,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"`
// Output only. List of available boost configuration IDs that this
// workstation can be boosted up to.
BoostConfigs []*Workstation_WorkstationBoostConfig `protobuf:"bytes,16,rep,name=boost_configs,json=boostConfigs,proto3" json:"boost_configs,omitempty"`
// Optional. The source workstation from which this workstation's persistent
// directories were cloned on creation.
SourceWorkstation string `protobuf:"bytes,17,opt,name=source_workstation,json=sourceWorkstation,proto3" json:"source_workstation,omitempty"`
// Output only. Reserved for future use.
SatisfiesPzs bool `protobuf:"varint,18,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`
// Output only. Reserved for future use.
SatisfiesPzi bool `protobuf:"varint,19,opt,name=satisfies_pzi,json=satisfiesPzi,proto3" json:"satisfies_pzi,omitempty"`
// Optional. Output only. Runtime host for the workstation when in
// STATE_RUNNING.
RuntimeHost *Workstation_RuntimeHost `protobuf:"bytes,21,opt,name=runtime_host,json=runtimeHost,proto3" json:"runtime_host,omitempty"`
// Output only. Whether this workstation is in degraded mode, in which case it
// may require user action to restore full functionality. The
// [conditions][google.cloud.workstations.v1beta.Workstation.conditions] field
// contains detailed information about the status of the workstation.
Degraded bool `protobuf:"varint,23,opt,name=degraded,proto3" json:"degraded,omitempty"`
// Output only. Status conditions describing the workstation's current state.
Conditions []*status.Status `protobuf:"bytes,24,rep,name=conditions,proto3" json:"conditions,omitempty"`
// contains filtered or unexported fields
}
A single instance of a developer workstation with its own persistent storage.
func (*Workstation) Descriptor
deprecated
func (*Workstation) Descriptor() ([]byte, []int)
Deprecated: Use Workstation.ProtoReflect.Descriptor instead.
func (*Workstation) GetAnnotations ¶
func (x *Workstation) GetAnnotations() map[string]string
func (*Workstation) GetBoostConfigs ¶ added in v1.7.0
func (x *Workstation) GetBoostConfigs() []*Workstation_WorkstationBoostConfig
func (*Workstation) GetConditions ¶ added in v1.7.0
func (x *Workstation) GetConditions() []*status.Status
func (*Workstation) GetCreateTime ¶
func (x *Workstation) GetCreateTime() *timestamppb.Timestamp
func (*Workstation) GetDegraded ¶ added in v1.7.0
func (x *Workstation) GetDegraded() bool
func (*Workstation) GetDeleteTime ¶
func (x *Workstation) GetDeleteTime() *timestamppb.Timestamp
func (*Workstation) GetDisplayName ¶
func (x *Workstation) GetDisplayName() string
func (*Workstation) GetEnv ¶ added in v0.3.0
func (x *Workstation) GetEnv() map[string]string
func (*Workstation) GetEtag ¶
func (x *Workstation) GetEtag() string
func (*Workstation) GetHost ¶
func (x *Workstation) GetHost() string
func (*Workstation) GetKmsKey ¶ added in v1.7.0
func (x *Workstation) GetKmsKey() string
func (*Workstation) GetLabels ¶
func (x *Workstation) GetLabels() map[string]string
func (*Workstation) GetName ¶
func (x *Workstation) GetName() string
func (*Workstation) GetPersistentDirectories ¶ added in v1.7.0
func (x *Workstation) GetPersistentDirectories() []*Workstation_WorkstationPersistentDirectory
func (*Workstation) GetReconciling ¶
func (x *Workstation) GetReconciling() bool
func (*Workstation) GetRuntimeHost ¶ added in v1.7.0
func (x *Workstation) GetRuntimeHost() *Workstation_RuntimeHost
func (*Workstation) GetSatisfiesPzi ¶ added in v1.7.0
func (x *Workstation) GetSatisfiesPzi() bool
func (*Workstation) GetSatisfiesPzs ¶ added in v1.7.0
func (x *Workstation) GetSatisfiesPzs() bool
func (*Workstation) GetSourceWorkstation ¶ added in v1.7.0
func (x *Workstation) GetSourceWorkstation() string
func (*Workstation) GetStartTime ¶ added in v0.5.0
func (x *Workstation) GetStartTime() *timestamppb.Timestamp
func (*Workstation) GetState ¶
func (x *Workstation) GetState() Workstation_State
func (*Workstation) GetUid ¶
func (x *Workstation) GetUid() string
func (*Workstation) GetUpdateTime ¶
func (x *Workstation) GetUpdateTime() *timestamppb.Timestamp
func (*Workstation) ProtoMessage ¶
func (*Workstation) ProtoMessage()
func (*Workstation) ProtoReflect ¶
func (x *Workstation) ProtoReflect() protoreflect.Message
func (*Workstation) Reset ¶
func (x *Workstation) Reset()
func (*Workstation) String ¶
func (x *Workstation) String() string
type WorkstationCluster ¶
type WorkstationCluster struct {
// Identifier. Full name of this workstation cluster.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Human-readable name for this workstation cluster.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. A system-assigned unique identifier for this workstation
// cluster.
Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. Indicates whether this workstation cluster is currently being
// updated to match its intended state.
Reconciling bool `protobuf:"varint,4,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
// Optional. Client-specified annotations.
Annotations map[string]string `` /* 149-byte string literal not displayed */
// Optional.
// [Labels](https://cloud.google.com/workstations/docs/label-resources) that
// are applied to the workstation cluster and that are also propagated to the
// underlying Compute Engine resources.
Labels map[string]string `` /* 140-byte string literal not displayed */
// Output only. Time when this workstation cluster was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when this workstation cluster was most recently updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. Time when this workstation cluster was soft-deleted.
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
// Optional. Checksum computed by the server. May be sent on update and delete
// requests to make sure that the client has an up-to-date value before
// proceeding.
Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
// Immutable. Name of the Compute Engine network in which instances associated
// with this workstation cluster will be created.
Network string `protobuf:"bytes,10,opt,name=network,proto3" json:"network,omitempty"`
// Immutable. Name of the Compute Engine subnetwork in which instances
// associated with this workstation cluster will be created. Must be part of
// the subnetwork specified for this workstation cluster.
Subnetwork string `protobuf:"bytes,11,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
// Output only. The private IP address of the control plane for this
// workstation cluster. Workstation VMs need access to this IP address to work
// with the service, so make sure that your firewall rules allow egress from
// the workstation VMs to this address.
ControlPlaneIp string `protobuf:"bytes,16,opt,name=control_plane_ip,json=controlPlaneIp,proto3" json:"control_plane_ip,omitempty"`
// Optional. Configuration for private workstation cluster.
PrivateClusterConfig *WorkstationCluster_PrivateClusterConfig `protobuf:"bytes,12,opt,name=private_cluster_config,json=privateClusterConfig,proto3" json:"private_cluster_config,omitempty"`
// Optional. Configuration options for a custom domain.
DomainConfig *WorkstationCluster_DomainConfig `protobuf:"bytes,17,opt,name=domain_config,json=domainConfig,proto3" json:"domain_config,omitempty"`
// Output only. Whether this workstation cluster is in degraded mode, in which
// case it may require user action to restore full functionality. The
// [conditions][google.cloud.workstations.v1beta.WorkstationCluster.conditions]
// field contains detailed information about the status of the cluster.
Degraded bool `protobuf:"varint,13,opt,name=degraded,proto3" json:"degraded,omitempty"`
// Output only. Status conditions describing the workstation cluster's current
// state.
Conditions []*status.Status `protobuf:"bytes,14,rep,name=conditions,proto3" json:"conditions,omitempty"`
// Output only. Reserved for future use.
SatisfiesPzs bool `protobuf:"varint,18,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`
// Output only. Reserved for future use.
SatisfiesPzi bool `protobuf:"varint,19,opt,name=satisfies_pzi,json=satisfiesPzi,proto3" json:"satisfies_pzi,omitempty"`
// Optional. Input only. Immutable. Tag keys/values directly bound to this
// resource. For example:
//
// "123/environment": "production",
// "123/costCenter": "marketing"
Tags map[string]string `` /* 136-byte string literal not displayed */
// Optional. Configuration options for Cluster HTTP Gateway.
GatewayConfig *WorkstationCluster_GatewayConfig `protobuf:"bytes,21,opt,name=gateway_config,json=gatewayConfig,proto3" json:"gateway_config,omitempty"`
// Optional. Specifies the redirect URL for unauthorized requests received by
// workstation VMs in this cluster.
//
// Redirects to this endpoint will send a base64 encoded `state` query param
// containing the target workstation name and original request hostname. The
// endpoint is responsible for retrieving a token using `GenerateAccessToken`
// and redirecting back to the original hostname with the token.
WorkstationAuthorizationUrl string `` /* 145-byte string literal not displayed */
// Optional. Specifies the launch URL for workstations in this cluster.
// Requests sent to unstarted workstations will be redirected to this URL.
//
// Requests redirected to the launch endpoint will be sent with a
// `workstation` and `project` query parameter containing the full workstation
// resource name and project ID, respectively. The launch endpoint is
// responsible for starting the workstation, polling it until it reaches
// `STATE_RUNNING`, and then issuing a redirect to the workstation's host URL.
WorkstationLaunchUrl string `protobuf:"bytes,23,opt,name=workstation_launch_url,json=workstationLaunchUrl,proto3" json:"workstation_launch_url,omitempty"`
// contains filtered or unexported fields
}
A workstation cluster resource in the Cloud Workstations API.
Defines a group of workstations in a particular region and the VPC network they're attached to.
func (*WorkstationCluster) Descriptor
deprecated
func (*WorkstationCluster) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationCluster.ProtoReflect.Descriptor instead.
func (*WorkstationCluster) GetAnnotations ¶
func (x *WorkstationCluster) GetAnnotations() map[string]string
func (*WorkstationCluster) GetConditions ¶
func (x *WorkstationCluster) GetConditions() []*status.Status
func (*WorkstationCluster) GetControlPlaneIp ¶ added in v0.3.0
func (x *WorkstationCluster) GetControlPlaneIp() string
func (*WorkstationCluster) GetCreateTime ¶
func (x *WorkstationCluster) GetCreateTime() *timestamppb.Timestamp
func (*WorkstationCluster) GetDegraded ¶
func (x *WorkstationCluster) GetDegraded() bool
func (*WorkstationCluster) GetDeleteTime ¶
func (x *WorkstationCluster) GetDeleteTime() *timestamppb.Timestamp
func (*WorkstationCluster) GetDisplayName ¶
func (x *WorkstationCluster) GetDisplayName() string
func (*WorkstationCluster) GetDomainConfig ¶ added in v1.7.0
func (x *WorkstationCluster) GetDomainConfig() *WorkstationCluster_DomainConfig
func (*WorkstationCluster) GetEtag ¶
func (x *WorkstationCluster) GetEtag() string
func (*WorkstationCluster) GetGatewayConfig ¶ added in v1.7.0
func (x *WorkstationCluster) GetGatewayConfig() *WorkstationCluster_GatewayConfig
func (*WorkstationCluster) GetLabels ¶
func (x *WorkstationCluster) GetLabels() map[string]string
func (*WorkstationCluster) GetName ¶
func (x *WorkstationCluster) GetName() string
func (*WorkstationCluster) GetNetwork ¶
func (x *WorkstationCluster) GetNetwork() string
func (*WorkstationCluster) GetPrivateClusterConfig ¶
func (x *WorkstationCluster) GetPrivateClusterConfig() *WorkstationCluster_PrivateClusterConfig
func (*WorkstationCluster) GetReconciling ¶
func (x *WorkstationCluster) GetReconciling() bool
func (*WorkstationCluster) GetSatisfiesPzi ¶ added in v1.7.0
func (x *WorkstationCluster) GetSatisfiesPzi() bool
func (*WorkstationCluster) GetSatisfiesPzs ¶ added in v1.7.0
func (x *WorkstationCluster) GetSatisfiesPzs() bool
func (*WorkstationCluster) GetSubnetwork ¶
func (x *WorkstationCluster) GetSubnetwork() string
func (*WorkstationCluster) GetTags ¶ added in v1.7.0
func (x *WorkstationCluster) GetTags() map[string]string
func (*WorkstationCluster) GetUid ¶
func (x *WorkstationCluster) GetUid() string
func (*WorkstationCluster) GetUpdateTime ¶
func (x *WorkstationCluster) GetUpdateTime() *timestamppb.Timestamp
func (*WorkstationCluster) GetWorkstationAuthorizationUrl ¶ added in v1.7.0
func (x *WorkstationCluster) GetWorkstationAuthorizationUrl() string
func (*WorkstationCluster) GetWorkstationLaunchUrl ¶ added in v1.7.0
func (x *WorkstationCluster) GetWorkstationLaunchUrl() string
func (*WorkstationCluster) ProtoMessage ¶
func (*WorkstationCluster) ProtoMessage()
func (*WorkstationCluster) ProtoReflect ¶
func (x *WorkstationCluster) ProtoReflect() protoreflect.Message
func (*WorkstationCluster) Reset ¶
func (x *WorkstationCluster) Reset()
func (*WorkstationCluster) String ¶
func (x *WorkstationCluster) String() string
type WorkstationCluster_DomainConfig ¶ added in v1.7.0
type WorkstationCluster_DomainConfig struct {
// Immutable. Domain used by Workstations for HTTP ingress.
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
// contains filtered or unexported fields
}
Configuration options for a custom domain.
func (*WorkstationCluster_DomainConfig) Descriptor
deprecated
added in
v1.7.0
func (*WorkstationCluster_DomainConfig) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationCluster_DomainConfig.ProtoReflect.Descriptor instead.
func (*WorkstationCluster_DomainConfig) GetDomain ¶ added in v1.7.0
func (x *WorkstationCluster_DomainConfig) GetDomain() string
func (*WorkstationCluster_DomainConfig) ProtoMessage ¶ added in v1.7.0
func (*WorkstationCluster_DomainConfig) ProtoMessage()
func (*WorkstationCluster_DomainConfig) ProtoReflect ¶ added in v1.7.0
func (x *WorkstationCluster_DomainConfig) ProtoReflect() protoreflect.Message
func (*WorkstationCluster_DomainConfig) Reset ¶ added in v1.7.0
func (x *WorkstationCluster_DomainConfig) Reset()
func (*WorkstationCluster_DomainConfig) String ¶ added in v1.7.0
func (x *WorkstationCluster_DomainConfig) String() string
type WorkstationCluster_GatewayConfig ¶ added in v1.7.0
type WorkstationCluster_GatewayConfig struct {
// Optional. Whether HTTP/2 is enabled for this workstation cluster.
// Defaults to false.
Http2Enabled bool `protobuf:"varint,1,opt,name=http2_enabled,json=http2Enabled,proto3" json:"http2_enabled,omitempty"`
// contains filtered or unexported fields
}
Configuration options for Cluster HTTP Gateway.
func (*WorkstationCluster_GatewayConfig) Descriptor
deprecated
added in
v1.7.0
func (*WorkstationCluster_GatewayConfig) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationCluster_GatewayConfig.ProtoReflect.Descriptor instead.
func (*WorkstationCluster_GatewayConfig) GetHttp2Enabled ¶ added in v1.7.0
func (x *WorkstationCluster_GatewayConfig) GetHttp2Enabled() bool
func (*WorkstationCluster_GatewayConfig) ProtoMessage ¶ added in v1.7.0
func (*WorkstationCluster_GatewayConfig) ProtoMessage()
func (*WorkstationCluster_GatewayConfig) ProtoReflect ¶ added in v1.7.0
func (x *WorkstationCluster_GatewayConfig) ProtoReflect() protoreflect.Message
func (*WorkstationCluster_GatewayConfig) Reset ¶ added in v1.7.0
func (x *WorkstationCluster_GatewayConfig) Reset()
func (*WorkstationCluster_GatewayConfig) String ¶ added in v1.7.0
func (x *WorkstationCluster_GatewayConfig) String() string
type WorkstationCluster_PrivateClusterConfig ¶
type WorkstationCluster_PrivateClusterConfig struct {
// Immutable. Whether Workstations endpoint is private.
EnablePrivateEndpoint bool `` /* 127-byte string literal not displayed */
// Output only. Hostname for the workstation cluster. This field will be
// populated only when private endpoint is enabled. To access workstations
// in the workstation cluster, create a new DNS zone mapping this domain
// name to an internal IP address and a forwarding rule mapping that address
// to the service attachment.
ClusterHostname string `protobuf:"bytes,2,opt,name=cluster_hostname,json=clusterHostname,proto3" json:"cluster_hostname,omitempty"`
// Output only. Service attachment URI for the workstation cluster. The
// service attachment is created when private endpoint is enabled. To access
// workstations in the workstation cluster, configure access to the managed
// service using [Private Service
// Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
ServiceAttachmentUri string `protobuf:"bytes,3,opt,name=service_attachment_uri,json=serviceAttachmentUri,proto3" json:"service_attachment_uri,omitempty"`
// Optional. Additional projects that are allowed to attach to the
// workstation cluster's service attachment. By default, the workstation
// cluster's project and the VPC host project (if different) are allowed.
AllowedProjects []string `protobuf:"bytes,4,rep,name=allowed_projects,json=allowedProjects,proto3" json:"allowed_projects,omitempty"`
// contains filtered or unexported fields
}
Configuration options for private workstation clusters.
func (*WorkstationCluster_PrivateClusterConfig) Descriptor
deprecated
func (*WorkstationCluster_PrivateClusterConfig) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationCluster_PrivateClusterConfig.ProtoReflect.Descriptor instead.
func (*WorkstationCluster_PrivateClusterConfig) GetAllowedProjects ¶
func (x *WorkstationCluster_PrivateClusterConfig) GetAllowedProjects() []string
func (*WorkstationCluster_PrivateClusterConfig) GetClusterHostname ¶
func (x *WorkstationCluster_PrivateClusterConfig) GetClusterHostname() string
func (*WorkstationCluster_PrivateClusterConfig) GetEnablePrivateEndpoint ¶
func (x *WorkstationCluster_PrivateClusterConfig) GetEnablePrivateEndpoint() bool
func (*WorkstationCluster_PrivateClusterConfig) GetServiceAttachmentUri ¶
func (x *WorkstationCluster_PrivateClusterConfig) GetServiceAttachmentUri() string
func (*WorkstationCluster_PrivateClusterConfig) ProtoMessage ¶
func (*WorkstationCluster_PrivateClusterConfig) ProtoMessage()
func (*WorkstationCluster_PrivateClusterConfig) ProtoReflect ¶
func (x *WorkstationCluster_PrivateClusterConfig) ProtoReflect() protoreflect.Message
func (*WorkstationCluster_PrivateClusterConfig) Reset ¶
func (x *WorkstationCluster_PrivateClusterConfig) Reset()
func (*WorkstationCluster_PrivateClusterConfig) String ¶
func (x *WorkstationCluster_PrivateClusterConfig) String() string
type WorkstationConfig ¶
type WorkstationConfig struct {
// Identifier. Full name of this workstation configuration.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Human-readable name for this workstation configuration.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. A system-assigned unique identifier for this workstation
// configuration.
Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. Indicates whether this workstation configuration is currently
// being updated to match its intended state.
Reconciling bool `protobuf:"varint,4,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
// Optional. Client-specified annotations.
Annotations map[string]string `` /* 149-byte string literal not displayed */
// Optional.
// [Labels](https://cloud.google.com/workstations/docs/label-resources) that
// are applied to the workstation configuration and that are also propagated
// to the underlying Compute Engine resources.
Labels map[string]string `` /* 140-byte string literal not displayed */
// Output only. Time when this workstation configuration was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when this workstation configuration was most recently
// updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. Time when this workstation configuration was soft-deleted.
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
// Optional. Checksum computed by the server. May be sent on update and delete
// requests to make sure that the client has an up-to-date value before
// proceeding.
Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. Number of seconds to wait before automatically stopping a
// workstation after it last received user traffic.
//
// A value of `"0s"` indicates that Cloud Workstations VMs created with this
// configuration should never time out due to idleness.
// Provide
// [duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#duration)
// terminated by `s` for seconds—for example, `"7200s"` (2 hours).
// The default is `"1200s"` (20 minutes).
IdleTimeout *durationpb.Duration `protobuf:"bytes,10,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
// Optional. Number of seconds that a workstation can run until it is
// automatically shut down. We recommend that workstations be shut down daily
// to reduce costs and so that security updates can be applied upon restart.
// The
// [idle_timeout][google.cloud.workstations.v1beta.WorkstationConfig.idle_timeout]
// and
// [running_timeout][google.cloud.workstations.v1beta.WorkstationConfig.running_timeout]
// fields are independent of each other. Note that the
// [running_timeout][google.cloud.workstations.v1beta.WorkstationConfig.running_timeout]
// field shuts down VMs after the specified time, regardless of whether or not
// the VMs are idle.
//
// Provide duration terminated by `s` for seconds—for example, `"54000s"`
// (15 hours). Defaults to `"43200s"` (12 hours). A value of `"0s"` indicates
// that workstations using this configuration should never time out. If
// [encryption_key][google.cloud.workstations.v1beta.WorkstationConfig.encryption_key]
// is set, it must be greater than `"0s"` and less than
// `"86400s"` (24 hours).
//
// Warning: A value of `"0s"` indicates that Cloud Workstations VMs created
// with this configuration have no maximum running time. This is strongly
// discouraged because you incur costs and will not pick up security updates.
RunningTimeout *durationpb.Duration `protobuf:"bytes,11,opt,name=running_timeout,json=runningTimeout,proto3" json:"running_timeout,omitempty"`
// Optional. Maximum number of workstations under this configuration a user
// can have `workstations.workstation.use` permission on.
//
// Only enforced on CreateWorkstation API calls on the user issuing the API
// request. Can be overridden by:
//
// - granting a user
// workstations.workstationConfigs.exemptMaxUsableWorkstationLimit permission,
// or
// - having a user with that permission create a workstation and
// granting another user `workstations.workstation.use` permission on
// that workstation.
//
// If not specified, defaults to `0`, which indicates unlimited.
MaxUsableWorkstations int32 `` /* 128-byte string literal not displayed */
// Optional. Runtime host for the workstation.
Host *WorkstationConfig_Host `protobuf:"bytes,12,opt,name=host,proto3" json:"host,omitempty"`
// Optional. Directories to persist across workstation sessions.
PersistentDirectories []*WorkstationConfig_PersistentDirectory `protobuf:"bytes,13,rep,name=persistent_directories,json=persistentDirectories,proto3" json:"persistent_directories,omitempty"`
// Optional. Ephemeral directories which won't persist across workstation
// sessions.
EphemeralDirectories []*WorkstationConfig_EphemeralDirectory `protobuf:"bytes,22,rep,name=ephemeral_directories,json=ephemeralDirectories,proto3" json:"ephemeral_directories,omitempty"`
// Optional. Container that runs upon startup for each workstation using this
// workstation configuration.
Container *WorkstationConfig_Container `protobuf:"bytes,14,opt,name=container,proto3" json:"container,omitempty"`
// Immutable. Encrypts resources of this workstation configuration using a
// customer-managed encryption key (CMEK).
//
// If specified, the boot disk of the Compute Engine instance and the
// persistent disk are encrypted using this encryption key. If
// this field is not set, the disks are encrypted using a generated
// key. Customer-managed encryption keys do not protect disk metadata.
//
// If the customer-managed encryption key is rotated, when the workstation
// instance is stopped, the system attempts to recreate the
// persistent disk with the new version of the key. Be sure to keep
// older versions of the key until the persistent disk is recreated.
// Otherwise, data on the persistent disk might be lost.
//
// If the encryption key is revoked, the workstation session automatically
// stops within 7 hours.
//
// Immutable after the workstation configuration is created.
EncryptionKey *WorkstationConfig_CustomerEncryptionKey `protobuf:"bytes,17,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"`
// Optional. Readiness checks to perform when starting a workstation using
// this workstation configuration. Mark a workstation as running only after
// all specified readiness checks return 200 status codes.
ReadinessChecks []*WorkstationConfig_ReadinessCheck `protobuf:"bytes,19,rep,name=readiness_checks,json=readinessChecks,proto3" json:"readiness_checks,omitempty"`
// Optional. Immutable. Specifies the zones used to replicate the VM and disk
// resources within the region. If set, exactly two zones within the
// workstation cluster's region must be specified—for example,
// `['us-central1-a', 'us-central1-f']`. If this field is empty, two default
// zones within the region are used.
//
// Immutable after the workstation configuration is created.
ReplicaZones []string `protobuf:"bytes,23,rep,name=replica_zones,json=replicaZones,proto3" json:"replica_zones,omitempty"`
// Output only. Whether this workstation configuration is in degraded mode, in
// which case it may require user action to restore full functionality. The
// [conditions][google.cloud.workstations.v1beta.WorkstationConfig.conditions]
// field contains detailed information about the status of the configuration.
Degraded bool `protobuf:"varint,15,opt,name=degraded,proto3" json:"degraded,omitempty"`
// Output only. Status conditions describing the workstation configuration's
// current state.
Conditions []*status.Status `protobuf:"bytes,16,rep,name=conditions,proto3" json:"conditions,omitempty"`
// Optional. Whether to enable Linux `auditd` logging on the workstation. When
// enabled, a
// [service_account][google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance.service_account]
// must also be specified that has `roles/logging.logWriter` and
// `roles/monitoring.metricWriter` on the project. Operating system audit
// logging is distinct from [Cloud Audit
// Logs](https://cloud.google.com/workstations/docs/audit-logging) and
// [Container output
// logging](https://cloud.google.com/workstations/docs/container-output-logging#overview).
// Operating system audit logs are available in the
// [Cloud Logging](https://cloud.google.com/logging/docs) console by querying:
//
// resource.type="gce_instance"
// log_name:"/logs/linux-auditd"
EnableAuditAgent bool `protobuf:"varint,20,opt,name=enable_audit_agent,json=enableAuditAgent,proto3" json:"enable_audit_agent,omitempty"`
// Optional. HTTP options that customize the behavior of the workstation
// service's HTTP proxy.
HttpOptions *WorkstationConfig_HttpOptions `protobuf:"bytes,21,opt,name=http_options,json=httpOptions,proto3" json:"http_options,omitempty"`
// Optional. Disables support for plain TCP connections in the workstation.
// By default the service supports TCP connections through a websocket relay.
// Setting this option to true disables that relay, which prevents the usage
// of services that require plain TCP connections, such as SSH.
// When enabled, all communication must occur over HTTPS or WSS.
DisableTcpConnections bool `` /* 128-byte string literal not displayed */
// Optional. A list of
// [PortRange][google.cloud.workstations.v1beta.WorkstationConfig.PortRange]s
// specifying single ports or ranges of ports that are externally accessible
// in the workstation. Allowed ports must be one of 22, 80, or within range
// 1024-65535. If not specified defaults to ports 22, 80, and ports
// 1024-65535.
AllowedPorts []*WorkstationConfig_PortRange `protobuf:"bytes,25,rep,name=allowed_ports,json=allowedPorts,proto3" json:"allowed_ports,omitempty"`
// Output only. Reserved for future use.
SatisfiesPzs bool `protobuf:"varint,26,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`
// Output only. Reserved for future use.
SatisfiesPzi bool `protobuf:"varint,27,opt,name=satisfies_pzi,json=satisfiesPzi,proto3" json:"satisfies_pzi,omitempty"`
// Optional. Grant creator of a workstation `roles/workstations.policyAdmin`
// role along with `roles/workstations.user` role on the workstation created
// by them. This allows workstation users to share access to either their
// entire workstation, or individual ports. Defaults to false.
GrantWorkstationAdminRoleOnCreate bool `` /* 170-byte string literal not displayed */
// Optional. Enables pushing user provided credentials to Workstations by
// calling workstations.pushCredentials. If application_default_credentials
// are supplied to pushCredentials, the provided token is returned when tools
// and applications running in the user container make a request for Default
// Application Credentials. Please note that any credentials supplied are made
// available to all users with access to the workstation.
EnablePushingCredentials bool `` /* 137-byte string literal not displayed */
// contains filtered or unexported fields
}
A workstation configuration resource in the Cloud Workstations API.
Workstation configurations act as templates for workstations. The workstation configuration defines details such as the workstation virtual machine (VM) instance type, persistent storage, container image defining environment, which IDE or Code Editor to use, and more. Administrators and platform teams can also use [Identity and Access Management (IAM)](https://cloud.google.com/iam/docs/overview) rules to grant access to teams or to individual developers.
func (*WorkstationConfig) Descriptor
deprecated
func (*WorkstationConfig) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig.ProtoReflect.Descriptor instead.
func (*WorkstationConfig) GetAllowedPorts ¶ added in v1.7.0
func (x *WorkstationConfig) GetAllowedPorts() []*WorkstationConfig_PortRange
func (*WorkstationConfig) GetAnnotations ¶
func (x *WorkstationConfig) GetAnnotations() map[string]string
func (*WorkstationConfig) GetConditions ¶
func (x *WorkstationConfig) GetConditions() []*status.Status
func (*WorkstationConfig) GetContainer ¶
func (x *WorkstationConfig) GetContainer() *WorkstationConfig_Container
func (*WorkstationConfig) GetCreateTime ¶
func (x *WorkstationConfig) GetCreateTime() *timestamppb.Timestamp
func (*WorkstationConfig) GetDegraded ¶
func (x *WorkstationConfig) GetDegraded() bool
func (*WorkstationConfig) GetDeleteTime ¶
func (x *WorkstationConfig) GetDeleteTime() *timestamppb.Timestamp
func (*WorkstationConfig) GetDisableTcpConnections ¶ added in v1.7.0
func (x *WorkstationConfig) GetDisableTcpConnections() bool
func (*WorkstationConfig) GetDisplayName ¶
func (x *WorkstationConfig) GetDisplayName() string
func (*WorkstationConfig) GetEnableAuditAgent ¶ added in v0.3.0
func (x *WorkstationConfig) GetEnableAuditAgent() bool
func (*WorkstationConfig) GetEnablePushingCredentials ¶ added in v1.7.0
func (x *WorkstationConfig) GetEnablePushingCredentials() bool
func (*WorkstationConfig) GetEncryptionKey ¶
func (x *WorkstationConfig) GetEncryptionKey() *WorkstationConfig_CustomerEncryptionKey
func (*WorkstationConfig) GetEphemeralDirectories ¶ added in v0.5.0
func (x *WorkstationConfig) GetEphemeralDirectories() []*WorkstationConfig_EphemeralDirectory
func (*WorkstationConfig) GetEtag ¶
func (x *WorkstationConfig) GetEtag() string
func (*WorkstationConfig) GetGrantWorkstationAdminRoleOnCreate ¶ added in v1.7.0
func (x *WorkstationConfig) GetGrantWorkstationAdminRoleOnCreate() bool
func (*WorkstationConfig) GetHost ¶
func (x *WorkstationConfig) GetHost() *WorkstationConfig_Host
func (*WorkstationConfig) GetHttpOptions ¶ added in v1.7.0
func (x *WorkstationConfig) GetHttpOptions() *WorkstationConfig_HttpOptions
func (*WorkstationConfig) GetIdleTimeout ¶
func (x *WorkstationConfig) GetIdleTimeout() *durationpb.Duration
func (*WorkstationConfig) GetLabels ¶
func (x *WorkstationConfig) GetLabels() map[string]string
func (*WorkstationConfig) GetMaxUsableWorkstations ¶ added in v1.7.0
func (x *WorkstationConfig) GetMaxUsableWorkstations() int32
func (*WorkstationConfig) GetName ¶
func (x *WorkstationConfig) GetName() string
func (*WorkstationConfig) GetPersistentDirectories ¶
func (x *WorkstationConfig) GetPersistentDirectories() []*WorkstationConfig_PersistentDirectory
func (*WorkstationConfig) GetReadinessChecks ¶ added in v0.3.0
func (x *WorkstationConfig) GetReadinessChecks() []*WorkstationConfig_ReadinessCheck
func (*WorkstationConfig) GetReconciling ¶
func (x *WorkstationConfig) GetReconciling() bool
func (*WorkstationConfig) GetReplicaZones ¶ added in v0.5.0
func (x *WorkstationConfig) GetReplicaZones() []string
func (*WorkstationConfig) GetRunningTimeout ¶
func (x *WorkstationConfig) GetRunningTimeout() *durationpb.Duration
func (*WorkstationConfig) GetSatisfiesPzi ¶ added in v1.7.0
func (x *WorkstationConfig) GetSatisfiesPzi() bool
func (*WorkstationConfig) GetSatisfiesPzs ¶ added in v1.7.0
func (x *WorkstationConfig) GetSatisfiesPzs() bool
func (*WorkstationConfig) GetUid ¶
func (x *WorkstationConfig) GetUid() string
func (*WorkstationConfig) GetUpdateTime ¶
func (x *WorkstationConfig) GetUpdateTime() *timestamppb.Timestamp
func (*WorkstationConfig) ProtoMessage ¶
func (*WorkstationConfig) ProtoMessage()
func (*WorkstationConfig) ProtoReflect ¶
func (x *WorkstationConfig) ProtoReflect() protoreflect.Message
func (*WorkstationConfig) Reset ¶
func (x *WorkstationConfig) Reset()
func (*WorkstationConfig) String ¶
func (x *WorkstationConfig) String() string
type WorkstationConfig_Container ¶
type WorkstationConfig_Container struct {
// Optional. A Docker container image that defines a custom environment.
//
// Cloud Workstations provides a number of
// [preconfigured
// images](https://cloud.google.com/workstations/docs/preconfigured-base-images),
// but you can create your own
// [custom container
// images](https://cloud.google.com/workstations/docs/custom-container-images).
// If using a private image, the `host.gceInstance.serviceAccount` field
// must be specified in the workstation configuration.
// If using a custom container image, the service account must have
// [Artifact Registry
// Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles)
// permission to pull the specified image. Otherwise, the image must be
// publicly accessible.
Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
// Optional. If set, overrides the default ENTRYPOINT specified by the
// image.
Command []string `protobuf:"bytes,2,rep,name=command,proto3" json:"command,omitempty"`
// Optional. Arguments passed to the entrypoint.
Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
// Optional. Environment variables passed to the container's entrypoint.
Env map[string]string `` /* 133-byte string literal not displayed */
// Optional. If set, overrides the default DIR specified by the image.
WorkingDir string `protobuf:"bytes,5,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
// Optional. If set, overrides the USER specified in the image with the
// given uid.
RunAsUser int32 `protobuf:"varint,6,opt,name=run_as_user,json=runAsUser,proto3" json:"run_as_user,omitempty"`
// contains filtered or unexported fields
}
A Docker container.
func (*WorkstationConfig_Container) Descriptor
deprecated
func (*WorkstationConfig_Container) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_Container.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_Container) GetArgs ¶
func (x *WorkstationConfig_Container) GetArgs() []string
func (*WorkstationConfig_Container) GetCommand ¶
func (x *WorkstationConfig_Container) GetCommand() []string
func (*WorkstationConfig_Container) GetEnv ¶
func (x *WorkstationConfig_Container) GetEnv() map[string]string
func (*WorkstationConfig_Container) GetImage ¶
func (x *WorkstationConfig_Container) GetImage() string
func (*WorkstationConfig_Container) GetRunAsUser ¶
func (x *WorkstationConfig_Container) GetRunAsUser() int32
func (*WorkstationConfig_Container) GetWorkingDir ¶
func (x *WorkstationConfig_Container) GetWorkingDir() string
func (*WorkstationConfig_Container) ProtoMessage ¶
func (*WorkstationConfig_Container) ProtoMessage()
func (*WorkstationConfig_Container) ProtoReflect ¶
func (x *WorkstationConfig_Container) ProtoReflect() protoreflect.Message
func (*WorkstationConfig_Container) Reset ¶
func (x *WorkstationConfig_Container) Reset()
func (*WorkstationConfig_Container) String ¶
func (x *WorkstationConfig_Container) String() string
type WorkstationConfig_CustomerEncryptionKey ¶
type WorkstationConfig_CustomerEncryptionKey struct {
// Immutable. The name of the Google Cloud KMS encryption key. For example,
// `"projects/PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME"`.
// The key must be in the same region as the workstation configuration.
KmsKey string `protobuf:"bytes,1,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"`
// Immutable. The service account to use with the specified
// KMS key. We recommend that you use a separate service account
// and follow KMS best practices. For more information, see
// [Separation of
// duties](https://cloud.google.com/kms/docs/separation-of-duties) and
// `gcloud kms keys add-iam-policy-binding`
// [`--member`](https://cloud.google.com/sdk/gcloud/reference/kms/keys/add-iam-policy-binding#--member).
KmsKeyServiceAccount string `protobuf:"bytes,2,opt,name=kms_key_service_account,json=kmsKeyServiceAccount,proto3" json:"kms_key_service_account,omitempty"`
// contains filtered or unexported fields
}
A customer-managed encryption key (CMEK) for the Compute Engine resources of the associated workstation configuration. Specify the name of your Cloud KMS encryption key and the default service account. We recommend that you use a separate service account and follow [Cloud KMS best practices](https://cloud.google.com/kms/docs/separation-of-duties).
func (*WorkstationConfig_CustomerEncryptionKey) Descriptor
deprecated
func (*WorkstationConfig_CustomerEncryptionKey) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_CustomerEncryptionKey.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_CustomerEncryptionKey) GetKmsKey ¶
func (x *WorkstationConfig_CustomerEncryptionKey) GetKmsKey() string
func (*WorkstationConfig_CustomerEncryptionKey) GetKmsKeyServiceAccount ¶
func (x *WorkstationConfig_CustomerEncryptionKey) GetKmsKeyServiceAccount() string
func (*WorkstationConfig_CustomerEncryptionKey) ProtoMessage ¶
func (*WorkstationConfig_CustomerEncryptionKey) ProtoMessage()
func (*WorkstationConfig_CustomerEncryptionKey) ProtoReflect ¶
func (x *WorkstationConfig_CustomerEncryptionKey) ProtoReflect() protoreflect.Message
func (*WorkstationConfig_CustomerEncryptionKey) Reset ¶
func (x *WorkstationConfig_CustomerEncryptionKey) Reset()
func (*WorkstationConfig_CustomerEncryptionKey) String ¶
func (x *WorkstationConfig_CustomerEncryptionKey) String() string
type WorkstationConfig_EphemeralDirectory ¶ added in v0.5.0
type WorkstationConfig_EphemeralDirectory struct {
// How an ephemeral directory should be implemented.
//
// Types that are valid to be assigned to DirectoryType:
//
// *WorkstationConfig_EphemeralDirectory_GcePd
DirectoryType isWorkstationConfig_EphemeralDirectory_DirectoryType `protobuf_oneof:"directory_type"`
// Required. Location of this directory in the running workstation.
MountPath string `protobuf:"bytes,1,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
// contains filtered or unexported fields
}
An ephemeral directory which won't persist across workstation sessions. It is freshly created on every workstation start operation.
func (*WorkstationConfig_EphemeralDirectory) Descriptor
deprecated
added in
v0.5.0
func (*WorkstationConfig_EphemeralDirectory) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_EphemeralDirectory.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_EphemeralDirectory) GetDirectoryType ¶ added in v0.5.0
func (x *WorkstationConfig_EphemeralDirectory) GetDirectoryType() isWorkstationConfig_EphemeralDirectory_DirectoryType
func (*WorkstationConfig_EphemeralDirectory) GetGcePd ¶ added in v0.5.0
func (x *WorkstationConfig_EphemeralDirectory) GetGcePd() *WorkstationConfig_EphemeralDirectory_GcePersistentDisk
func (*WorkstationConfig_EphemeralDirectory) GetMountPath ¶ added in v0.5.0
func (x *WorkstationConfig_EphemeralDirectory) GetMountPath() string
func (*WorkstationConfig_EphemeralDirectory) ProtoMessage ¶ added in v0.5.0
func (*WorkstationConfig_EphemeralDirectory) ProtoMessage()
func (*WorkstationConfig_EphemeralDirectory) ProtoReflect ¶ added in v0.5.0
func (x *WorkstationConfig_EphemeralDirectory) ProtoReflect() protoreflect.Message
func (*WorkstationConfig_EphemeralDirectory) Reset ¶ added in v0.5.0
func (x *WorkstationConfig_EphemeralDirectory) Reset()
func (*WorkstationConfig_EphemeralDirectory) String ¶ added in v0.5.0
func (x *WorkstationConfig_EphemeralDirectory) String() string
type WorkstationConfig_EphemeralDirectory_GcePd ¶ added in v0.5.0
type WorkstationConfig_EphemeralDirectory_GcePd struct {
// An EphemeralDirectory backed by a Compute Engine persistent disk.
GcePd *WorkstationConfig_EphemeralDirectory_GcePersistentDisk `protobuf:"bytes,3,opt,name=gce_pd,json=gcePd,proto3,oneof"`
}
type WorkstationConfig_EphemeralDirectory_GcePersistentDisk ¶ added in v0.5.0
type WorkstationConfig_EphemeralDirectory_GcePersistentDisk struct {
// Optional. Type of the disk to use. Defaults to `"pd-standard"`.
DiskType string `protobuf:"bytes,1,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
// Optional. Name of the snapshot to use as the source for the disk. Must
// be empty if
// [source_image][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_image]
// is set. Must be empty if
// [read_only][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.read_only]
// is false. Updating
// [source_snapshot][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_snapshot]
// will update content in the ephemeral directory after the workstation is
// restarted.
//
// Only file systems supported by Container-Optimized OS (COS)
// are explicitly supported. For a list of supported file systems, see
// [the filesystems available in Container-Optimized
// OS](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems).
//
// This field is mutable.
SourceSnapshot string `protobuf:"bytes,2,opt,name=source_snapshot,json=sourceSnapshot,proto3" json:"source_snapshot,omitempty"`
// Optional. Name of the disk image to use as the source for the disk.
// Must be empty if
// [source_snapshot][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_snapshot]
// is set. Updating
// [source_image][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_image]
// will update content in the ephemeral directory after the workstation is
// restarted.
//
// Only file systems supported by Container-Optimized OS (COS)
// are explicitly supported. For a list of supported file systems, please
// refer to the [COS
// documentation](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems).
//
// This field is mutable.
SourceImage string `protobuf:"bytes,3,opt,name=source_image,json=sourceImage,proto3" json:"source_image,omitempty"`
// Optional. Whether the disk is read only. If true, the disk may be
// shared by multiple VMs and
// [source_snapshot][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_snapshot]
// must be set.
ReadOnly bool `protobuf:"varint,4,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
// contains filtered or unexported fields
}
An EphemeralDirectory is backed by a Compute Engine persistent disk.
func (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) Descriptor
deprecated
added in
v0.5.0
func (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_EphemeralDirectory_GcePersistentDisk.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetDiskType ¶ added in v0.5.0
func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetDiskType() string
func (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetReadOnly ¶ added in v0.5.0
func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetReadOnly() bool
func (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetSourceImage ¶ added in v0.5.0
func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetSourceImage() string
func (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetSourceSnapshot ¶ added in v0.5.0
func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetSourceSnapshot() string
func (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) ProtoMessage ¶ added in v0.5.0
func (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) ProtoMessage()
func (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) ProtoReflect ¶ added in v0.5.0
func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) ProtoReflect() protoreflect.Message
func (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) Reset ¶ added in v0.5.0
func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) Reset()
func (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) String ¶ added in v0.5.0
func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) String() string
type WorkstationConfig_Host ¶
type WorkstationConfig_Host struct {
// Type of host to be used for the workstation's runtime.
//
// Types that are valid to be assigned to Config:
//
// *WorkstationConfig_Host_GceInstance_
Config isWorkstationConfig_Host_Config `protobuf_oneof:"config"`
// contains filtered or unexported fields
}
Runtime host for a workstation.
func (*WorkstationConfig_Host) Descriptor
deprecated
func (*WorkstationConfig_Host) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_Host.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_Host) GetConfig ¶
func (x *WorkstationConfig_Host) GetConfig() isWorkstationConfig_Host_Config
func (*WorkstationConfig_Host) GetGceInstance ¶
func (x *WorkstationConfig_Host) GetGceInstance() *WorkstationConfig_Host_GceInstance
func (*WorkstationConfig_Host) ProtoMessage ¶
func (*WorkstationConfig_Host) ProtoMessage()
func (*WorkstationConfig_Host) ProtoReflect ¶
func (x *WorkstationConfig_Host) ProtoReflect() protoreflect.Message
func (*WorkstationConfig_Host) Reset ¶
func (x *WorkstationConfig_Host) Reset()
func (*WorkstationConfig_Host) String ¶
func (x *WorkstationConfig_Host) String() string
type WorkstationConfig_Host_GceInstance ¶
type WorkstationConfig_Host_GceInstance struct {
// Optional. The type of machine to use for VM instances—for example,
// `"e2-standard-4"`. For more information about machine types that
// Cloud Workstations supports, see the list of
// [available machine
// types](https://cloud.google.com/workstations/docs/available-machine-types).
MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
// Optional. The email address of the service account for Cloud
// Workstations VMs created with this configuration. When specified, be
// sure that the service account has `logging.logEntries.create` and
// `monitoring.timeSeries.create` permissions on the project so it can
// write logs out to Cloud Logging. If using a custom container image, the
// service account must have [Artifact Registry
// Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles)
// permission to pull the specified image.
//
// If you as the administrator want to be able to `ssh` into the
// underlying VM, you need to set this value to a service account
// for which you have the `iam.serviceAccounts.actAs` permission.
// Conversely, if you don't want anyone to be able to `ssh` into the
// underlying VM, use a service account where no one has that
// permission.
//
// If not set, VMs run with a service account provided by the
// Cloud Workstations service, and the image must be publicly
// accessible.
ServiceAccount string `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// Optional. Scopes to grant to the
// [service_account][google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance.service_account].
// When specified, users of workstations under this configuration must
// have `iam.serviceAccounts.actAs` on the service account.
ServiceAccountScopes []string `protobuf:"bytes,3,rep,name=service_account_scopes,json=serviceAccountScopes,proto3" json:"service_account_scopes,omitempty"`
// Optional. Network tags to add to the Compute Engine VMs backing the
// workstations. This option applies
// [network
// tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to VMs
// created with this configuration. These network tags enable the creation
// of [firewall
// rules](https://cloud.google.com/workstations/docs/configure-firewall-rules).
Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
// Optional. The number of VMs that the system should keep idle so that
// new workstations can be started quickly for new users. Defaults to `0`
// in the API.
PoolSize int32 `protobuf:"varint,5,opt,name=pool_size,json=poolSize,proto3" json:"pool_size,omitempty"`
// Output only. Number of instances currently available in the pool for
// faster workstation startup.
PooledInstances int32 `protobuf:"varint,12,opt,name=pooled_instances,json=pooledInstances,proto3" json:"pooled_instances,omitempty"`
// Optional. When set to true, disables public IP addresses for VMs. If
// you disable public IP addresses, you must set up Private Google Access
// or Cloud NAT on your network. If you use Private Google Access and you
// use `private.googleapis.com` or `restricted.googleapis.com` for
// Container Registry and Artifact Registry, make sure that you set
// up DNS records for domains `*.gcr.io` and `*.pkg.dev`.
// Defaults to false (VMs have public IP addresses).
DisablePublicIpAddresses bool `` /* 138-byte string literal not displayed */
// Optional. Whether to enable nested virtualization on Cloud Workstations
// VMs created using this workstation configuration.
//
// Defaults to false.
//
// Nested virtualization lets you run virtual machine (VM) instances
// inside your workstation. Before enabling nested virtualization,
// consider the following important considerations. Cloud Workstations
// instances are subject to the [same restrictions as Compute Engine
// instances](https://cloud.google.com/compute/docs/instances/nested-virtualization/overview#restrictions):
//
// * **Organization policy**: projects, folders, or
// organizations may be restricted from creating nested VMs if the
// **Disable VM nested virtualization** constraint is enforced in
// the organization policy. For more information, see the
// Compute Engine section,
// [Checking whether nested virtualization is
// allowed](https://cloud.google.com/compute/docs/instances/nested-virtualization/managing-constraint#checking_whether_nested_virtualization_is_allowed).
// * **Performance**: nested VMs might experience a 10% or greater
// decrease in performance for workloads that are CPU-bound and
// possibly greater than a 10% decrease for workloads that are
// input/output bound.
// * **Machine Type**: nested virtualization can only be enabled on
// workstation configurations that specify a
// [machine_type][google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance.machine_type]
// in the N1 or N2 machine series.
EnableNestedVirtualization bool `` /* 142-byte string literal not displayed */
// Optional. A set of Compute Engine Shielded instance options.
ShieldedInstanceConfig *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig `` /* 129-byte string literal not displayed */
// Optional. A set of Compute Engine Confidential VM instance options.
ConfidentialInstanceConfig *WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig `` /* 142-byte string literal not displayed */
// Optional. The size of the boot disk for the VM in gigabytes (GB).
// The minimum boot disk size is `30` GB. Defaults to `50` GB.
BootDiskSizeGb int32 `protobuf:"varint,9,opt,name=boot_disk_size_gb,json=bootDiskSizeGb,proto3" json:"boot_disk_size_gb,omitempty"`
// Optional. A list of the type and count of accelerator cards attached to
// the instance.
Accelerators []*WorkstationConfig_Host_GceInstance_Accelerator `protobuf:"bytes,11,rep,name=accelerators,proto3" json:"accelerators,omitempty"`
// Optional. A list of the boost configurations that workstations created
// using this workstation configuration are allowed to use. If specified,
// users will have the option to choose from the list of boost configs
// when starting a workstation.
BoostConfigs []*WorkstationConfig_Host_GceInstance_BoostConfig `protobuf:"bytes,25,rep,name=boost_configs,json=boostConfigs,proto3" json:"boost_configs,omitempty"`
// Optional. Whether to disable SSH access to the VM.
DisableSsh bool `protobuf:"varint,13,opt,name=disable_ssh,json=disableSsh,proto3" json:"disable_ssh,omitempty"`
// Optional. Resource manager tags to be bound to this instance.
// Tag keys and values have the same definition as [resource manager
// tags](https://cloud.google.com/resource-manager/docs/tags/tags-overview).
// Keys must be in the format `tagKeys/{tag_key_id}`, and
// values are in the format `tagValues/456`.
VmTags map[string]string `` /* 154-byte string literal not displayed */
// Optional.
// [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
// specifies a reservation that can be consumed to create VM
// instances. If SPECIFIC_RESERVATION is specified, Cloud Workstations
// will only create VMs in the zone where the reservation is located.
// This would affect availability since the service will no longer be
// resilient to zonal outages. If ANY_RESERVATION is specified, creating
// reservations in both zones that the config creates VMs in will ensure
// higher availability.
// **Important Considerations for Reservation Affinity:**
//
// * This feature is intended for advanced users and requires
// familiarity with Google Compute Engine reservations.
// - Using reservations incurs charges, regardless of utilization.
// - The resources in the pool will consume the specified
// reservation. Take this into account when setting the
// pool size.
ReservationAffinity *WorkstationConfig_Host_GceInstance_ReservationAffinity `protobuf:"bytes,15,opt,name=reservation_affinity,json=reservationAffinity,proto3" json:"reservation_affinity,omitempty"`
// Optional. Link to the startup script stored in Cloud Storage. This
// script will be run on the host workstation VM when the VM is created.
// The URI must be of the form gs://{bucket-name}/{object-name}. If
// specifying a startup script, the service account must have [Permission
// to access the bucket and script file in Cloud
// Storage](https://cloud.google.com/storage/docs/access-control/iam-permissions).
// Otherwise, the script must be publicly accessible.
// Note that the service regularly updates the OS version of the host VM,
// and it is the responsibility of the user to ensure the script stays
// compatible with the OS version.
StartupScriptUri string `protobuf:"bytes,26,opt,name=startup_script_uri,json=startupScriptUri,proto3" json:"startup_script_uri,omitempty"`
// Optional. Custom metadata to apply to Compute Engine instances.
InstanceMetadata map[string]string `` /* 184-byte string literal not displayed */
// contains filtered or unexported fields
}
A runtime using a Compute Engine instance.
func (*WorkstationConfig_Host_GceInstance) Descriptor
deprecated
func (*WorkstationConfig_Host_GceInstance) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_Host_GceInstance.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_Host_GceInstance) GetAccelerators ¶ added in v0.3.0
func (x *WorkstationConfig_Host_GceInstance) GetAccelerators() []*WorkstationConfig_Host_GceInstance_Accelerator
func (*WorkstationConfig_Host_GceInstance) GetBoostConfigs ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance) GetBoostConfigs() []*WorkstationConfig_Host_GceInstance_BoostConfig
func (*WorkstationConfig_Host_GceInstance) GetBootDiskSizeGb ¶
func (x *WorkstationConfig_Host_GceInstance) GetBootDiskSizeGb() int32
func (*WorkstationConfig_Host_GceInstance) GetConfidentialInstanceConfig ¶
func (x *WorkstationConfig_Host_GceInstance) GetConfidentialInstanceConfig() *WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig
func (*WorkstationConfig_Host_GceInstance) GetDisablePublicIpAddresses ¶
func (x *WorkstationConfig_Host_GceInstance) GetDisablePublicIpAddresses() bool
func (*WorkstationConfig_Host_GceInstance) GetDisableSsh ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance) GetDisableSsh() bool
func (*WorkstationConfig_Host_GceInstance) GetEnableNestedVirtualization ¶ added in v0.5.0
func (x *WorkstationConfig_Host_GceInstance) GetEnableNestedVirtualization() bool
func (*WorkstationConfig_Host_GceInstance) GetInstanceMetadata ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance) GetInstanceMetadata() map[string]string
func (*WorkstationConfig_Host_GceInstance) GetMachineType ¶
func (x *WorkstationConfig_Host_GceInstance) GetMachineType() string
func (*WorkstationConfig_Host_GceInstance) GetPoolSize ¶
func (x *WorkstationConfig_Host_GceInstance) GetPoolSize() int32
func (*WorkstationConfig_Host_GceInstance) GetPooledInstances ¶ added in v0.3.0
func (x *WorkstationConfig_Host_GceInstance) GetPooledInstances() int32
func (*WorkstationConfig_Host_GceInstance) GetReservationAffinity ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance) GetReservationAffinity() *WorkstationConfig_Host_GceInstance_ReservationAffinity
func (*WorkstationConfig_Host_GceInstance) GetServiceAccount ¶
func (x *WorkstationConfig_Host_GceInstance) GetServiceAccount() string
func (*WorkstationConfig_Host_GceInstance) GetServiceAccountScopes ¶ added in v0.5.0
func (x *WorkstationConfig_Host_GceInstance) GetServiceAccountScopes() []string
func (*WorkstationConfig_Host_GceInstance) GetShieldedInstanceConfig ¶
func (x *WorkstationConfig_Host_GceInstance) GetShieldedInstanceConfig() *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig
func (*WorkstationConfig_Host_GceInstance) GetStartupScriptUri ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance) GetStartupScriptUri() string
func (*WorkstationConfig_Host_GceInstance) GetTags ¶
func (x *WorkstationConfig_Host_GceInstance) GetTags() []string
func (*WorkstationConfig_Host_GceInstance) GetVmTags ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance) GetVmTags() map[string]string
func (*WorkstationConfig_Host_GceInstance) ProtoMessage ¶
func (*WorkstationConfig_Host_GceInstance) ProtoMessage()
func (*WorkstationConfig_Host_GceInstance) ProtoReflect ¶
func (x *WorkstationConfig_Host_GceInstance) ProtoReflect() protoreflect.Message
func (*WorkstationConfig_Host_GceInstance) Reset ¶
func (x *WorkstationConfig_Host_GceInstance) Reset()
func (*WorkstationConfig_Host_GceInstance) String ¶
func (x *WorkstationConfig_Host_GceInstance) String() string
type WorkstationConfig_Host_GceInstance_ ¶
type WorkstationConfig_Host_GceInstance_ struct {
// Specifies a Compute Engine instance as the host.
GceInstance *WorkstationConfig_Host_GceInstance `protobuf:"bytes,1,opt,name=gce_instance,json=gceInstance,proto3,oneof"`
}
type WorkstationConfig_Host_GceInstance_Accelerator ¶ added in v0.3.0
type WorkstationConfig_Host_GceInstance_Accelerator struct {
// Optional. Type of accelerator resource to attach to the instance, for
// example,
// `"nvidia-tesla-p100"`.
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// Optional. Number of accelerator cards exposed to the instance.
Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}
An accelerator card attached to the instance.
func (*WorkstationConfig_Host_GceInstance_Accelerator) Descriptor
deprecated
added in
v0.3.0
func (*WorkstationConfig_Host_GceInstance_Accelerator) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_Host_GceInstance_Accelerator.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_Host_GceInstance_Accelerator) GetCount ¶ added in v0.3.0
func (x *WorkstationConfig_Host_GceInstance_Accelerator) GetCount() int32
func (*WorkstationConfig_Host_GceInstance_Accelerator) GetType ¶ added in v0.3.0
func (x *WorkstationConfig_Host_GceInstance_Accelerator) GetType() string
func (*WorkstationConfig_Host_GceInstance_Accelerator) ProtoMessage ¶ added in v0.3.0
func (*WorkstationConfig_Host_GceInstance_Accelerator) ProtoMessage()
func (*WorkstationConfig_Host_GceInstance_Accelerator) ProtoReflect ¶ added in v0.3.0
func (x *WorkstationConfig_Host_GceInstance_Accelerator) ProtoReflect() protoreflect.Message
func (*WorkstationConfig_Host_GceInstance_Accelerator) Reset ¶ added in v0.3.0
func (x *WorkstationConfig_Host_GceInstance_Accelerator) Reset()
func (*WorkstationConfig_Host_GceInstance_Accelerator) String ¶ added in v0.3.0
func (x *WorkstationConfig_Host_GceInstance_Accelerator) String() string
type WorkstationConfig_Host_GceInstance_BoostConfig ¶ added in v1.7.0
type WorkstationConfig_Host_GceInstance_BoostConfig struct {
// Required. The ID to be used for the boost configuration.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Optional. The type of machine that boosted VM instances will use—for
// example, `e2-standard-4`. For more information about machine types
// that Cloud Workstations supports, see the list of [available machine
// types](https://cloud.google.com/workstations/docs/available-machine-types).
// Defaults to `e2-standard-4`.
MachineType string `protobuf:"bytes,2,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
// Optional. A list of the type and count of accelerator cards attached
// to the boost instance. Defaults to `none`.
Accelerators []*WorkstationConfig_Host_GceInstance_Accelerator `protobuf:"bytes,3,rep,name=accelerators,proto3" json:"accelerators,omitempty"`
// Optional. The size of the boot disk for the VM in gigabytes (GB).
// The minimum boot disk size is `30` GB. Defaults to `50` GB.
BootDiskSizeGb int32 `protobuf:"varint,4,opt,name=boot_disk_size_gb,json=bootDiskSizeGb,proto3" json:"boot_disk_size_gb,omitempty"`
// Optional. Whether to enable nested virtualization on boosted Cloud
// Workstations VMs running using this boost configuration.
//
// Defaults to false.
//
// Nested virtualization lets you run virtual machine (VM) instances
// inside your workstation. Before enabling nested virtualization,
// consider the following important considerations. Cloud Workstations
// instances are subject to the [same restrictions as Compute Engine
// instances](https://cloud.google.com/compute/docs/instances/nested-virtualization/overview#restrictions):
//
// * **Organization policy**: projects, folders, or
// organizations may be restricted from creating nested VMs if the
// **Disable VM nested virtualization** constraint is enforced in
// the organization policy. For more information, see the
// Compute Engine section,
// [Checking whether nested virtualization is
// allowed](https://cloud.google.com/compute/docs/instances/nested-virtualization/managing-constraint#checking_whether_nested_virtualization_is_allowed).
// * **Performance**: nested VMs might experience a 10% or greater
// decrease in performance for workloads that are CPU-bound and
// possibly greater than a 10% decrease for workloads that are
// input/output bound.
// * **Machine Type**: nested virtualization can only be enabled on
// boost configurations that specify a
// [machine_type][google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance.BoostConfig.machine_type]
// in the N1 or N2 machine series.
EnableNestedVirtualization bool `` /* 142-byte string literal not displayed */
// Optional. The number of boost VMs that the system should keep idle so
// that workstations can be boosted quickly. Defaults to `0`.
PoolSize int32 `protobuf:"varint,5,opt,name=pool_size,json=poolSize,proto3" json:"pool_size,omitempty"`
// Optional.
// [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
// specifies a reservation that can be consumed to create boost VM
// instances. If SPECIFIC_RESERVATION is specified, Cloud Workstations
// will only create VMs in the zone where the reservation is located.
// This would affect availability since the service will no longer be
// resilient to zonal outages. If ANY_RESERVATION is specified, creating
// reservations in both zones that the config creates VMs in will ensure
// higher availability.
// **Important Considerations for Reservation Affinity:**
//
// * This feature is intended for advanced users and requires
// familiarity with Google Compute Engine reservations.
// - Using reservations incurs charges, regardless of utilization.
// - The resources in the pool will consume the specified
// reservation. Take this into account when setting the
// pool size.
ReservationAffinity *WorkstationConfig_Host_GceInstance_ReservationAffinity `protobuf:"bytes,6,opt,name=reservation_affinity,json=reservationAffinity,proto3" json:"reservation_affinity,omitempty"`
// contains filtered or unexported fields
}
A boost configuration is a set of resources that a workstation can use to increase its performance. If you specify a boost configuration, upon startup, workstation users can choose to use a VM provisioned under the boost config by passing the boost config ID in the start request. If the workstation user does not provide a boost config ID in the start request, the system will choose a VM from the pool provisioned under the default config.
func (*WorkstationConfig_Host_GceInstance_BoostConfig) Descriptor
deprecated
added in
v1.7.0
func (*WorkstationConfig_Host_GceInstance_BoostConfig) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_Host_GceInstance_BoostConfig.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_Host_GceInstance_BoostConfig) GetAccelerators ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetAccelerators() []*WorkstationConfig_Host_GceInstance_Accelerator
func (*WorkstationConfig_Host_GceInstance_BoostConfig) GetBootDiskSizeGb ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetBootDiskSizeGb() int32
func (*WorkstationConfig_Host_GceInstance_BoostConfig) GetEnableNestedVirtualization ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetEnableNestedVirtualization() bool
func (*WorkstationConfig_Host_GceInstance_BoostConfig) GetId ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetId() string
func (*WorkstationConfig_Host_GceInstance_BoostConfig) GetMachineType ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetMachineType() string
func (*WorkstationConfig_Host_GceInstance_BoostConfig) GetPoolSize ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetPoolSize() int32
func (*WorkstationConfig_Host_GceInstance_BoostConfig) GetReservationAffinity ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetReservationAffinity() *WorkstationConfig_Host_GceInstance_ReservationAffinity
func (*WorkstationConfig_Host_GceInstance_BoostConfig) ProtoMessage ¶ added in v1.7.0
func (*WorkstationConfig_Host_GceInstance_BoostConfig) ProtoMessage()
func (*WorkstationConfig_Host_GceInstance_BoostConfig) ProtoReflect ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance_BoostConfig) ProtoReflect() protoreflect.Message
func (*WorkstationConfig_Host_GceInstance_BoostConfig) Reset ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance_BoostConfig) Reset()
func (*WorkstationConfig_Host_GceInstance_BoostConfig) String ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance_BoostConfig) String() string
type WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig ¶
type WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig struct {
// Optional. Whether the instance has confidential compute enabled.
EnableConfidentialCompute bool `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
A set of Compute Engine Confidential VM instance options.
func (*WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) Descriptor
deprecated
func (*WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) GetEnableConfidentialCompute ¶
func (x *WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) GetEnableConfidentialCompute() bool
func (*WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) ProtoMessage ¶
func (*WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) ProtoMessage()
func (*WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) ProtoReflect ¶
func (x *WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) ProtoReflect() protoreflect.Message
func (*WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) Reset ¶
func (x *WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) Reset()
func (*WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) String ¶
func (x *WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) String() string
type WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig ¶
type WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig struct {
// Optional. Whether the instance has Secure Boot enabled.
EnableSecureBoot bool `protobuf:"varint,1,opt,name=enable_secure_boot,json=enableSecureBoot,proto3" json:"enable_secure_boot,omitempty"`
// Optional. Whether the instance has the vTPM enabled.
EnableVtpm bool `protobuf:"varint,2,opt,name=enable_vtpm,json=enableVtpm,proto3" json:"enable_vtpm,omitempty"`
// Optional. Whether the instance has integrity monitoring enabled.
EnableIntegrityMonitoring bool `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
A set of Compute Engine Shielded instance options.
func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) Descriptor
deprecated
func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) GetEnableIntegrityMonitoring ¶
func (x *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) GetEnableIntegrityMonitoring() bool
func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) GetEnableSecureBoot ¶
func (x *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) GetEnableSecureBoot() bool
func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) GetEnableVtpm ¶
func (x *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) GetEnableVtpm() bool
func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) ProtoMessage ¶
func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) ProtoMessage()
func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) ProtoReflect ¶
func (x *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) ProtoReflect() protoreflect.Message
func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) Reset ¶
func (x *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) Reset()
func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) String ¶
func (x *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) String() string
type WorkstationConfig_Host_GceInstance_ReservationAffinity ¶ added in v1.7.0
type WorkstationConfig_Host_GceInstance_ReservationAffinity struct {
// Optional. Corresponds to the type of reservation consumption.
ConsumeReservationType WorkstationConfig_Host_GceInstance_ReservationAffinity_Type `` /* 228-byte string literal not displayed */
// Optional. Corresponds to the label key of reservation resource.
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
// Optional. Corresponds to the label values of reservation resources.
// Valid values are either the name of a reservation in the same project
// or "projects/{project}/reservations/{reservation}" to target a shared
// reservation in the same zone but in a different project.
Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
ReservationAffinity is the configuration of the desired reservation from which instances can consume resources.
func (*WorkstationConfig_Host_GceInstance_ReservationAffinity) Descriptor
deprecated
added in
v1.7.0
func (*WorkstationConfig_Host_GceInstance_ReservationAffinity) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_Host_GceInstance_ReservationAffinity.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_Host_GceInstance_ReservationAffinity) GetConsumeReservationType ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance_ReservationAffinity) GetConsumeReservationType() WorkstationConfig_Host_GceInstance_ReservationAffinity_Type
func (*WorkstationConfig_Host_GceInstance_ReservationAffinity) GetKey ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance_ReservationAffinity) GetKey() string
func (*WorkstationConfig_Host_GceInstance_ReservationAffinity) GetValues ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance_ReservationAffinity) GetValues() []string
func (*WorkstationConfig_Host_GceInstance_ReservationAffinity) ProtoMessage ¶ added in v1.7.0
func (*WorkstationConfig_Host_GceInstance_ReservationAffinity) ProtoMessage()
func (*WorkstationConfig_Host_GceInstance_ReservationAffinity) ProtoReflect ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance_ReservationAffinity) ProtoReflect() protoreflect.Message
func (*WorkstationConfig_Host_GceInstance_ReservationAffinity) Reset ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance_ReservationAffinity) Reset()
func (*WorkstationConfig_Host_GceInstance_ReservationAffinity) String ¶ added in v1.7.0
func (x *WorkstationConfig_Host_GceInstance_ReservationAffinity) String() string
type WorkstationConfig_Host_GceInstance_ReservationAffinity_Type ¶ added in v1.7.0
type WorkstationConfig_Host_GceInstance_ReservationAffinity_Type int32
Indicates whether to consume capacity from a reservation or not.
const ( // Default value. This should not be used. WorkstationConfig_Host_GceInstance_ReservationAffinity_TYPE_UNSPECIFIED WorkstationConfig_Host_GceInstance_ReservationAffinity_Type = 0 // Do not consume from any reserved capacity. WorkstationConfig_Host_GceInstance_ReservationAffinity_NO_RESERVATION WorkstationConfig_Host_GceInstance_ReservationAffinity_Type = 1 // Consume any reservation available. WorkstationConfig_Host_GceInstance_ReservationAffinity_ANY_RESERVATION WorkstationConfig_Host_GceInstance_ReservationAffinity_Type = 2 // Must consume from a specific reservation. Must specify key value // fields for specifying the reservations. WorkstationConfig_Host_GceInstance_ReservationAffinity_SPECIFIC_RESERVATION WorkstationConfig_Host_GceInstance_ReservationAffinity_Type = 3 )
func (WorkstationConfig_Host_GceInstance_ReservationAffinity_Type) Descriptor ¶ added in v1.7.0
func (WorkstationConfig_Host_GceInstance_ReservationAffinity_Type) Descriptor() protoreflect.EnumDescriptor
func (WorkstationConfig_Host_GceInstance_ReservationAffinity_Type) EnumDescriptor
deprecated
added in
v1.7.0
func (WorkstationConfig_Host_GceInstance_ReservationAffinity_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_Host_GceInstance_ReservationAffinity_Type.Descriptor instead.
func (WorkstationConfig_Host_GceInstance_ReservationAffinity_Type) String ¶ added in v1.7.0
func (x WorkstationConfig_Host_GceInstance_ReservationAffinity_Type) String() string
type WorkstationConfig_HttpOptions ¶ added in v1.7.0
type WorkstationConfig_HttpOptions struct {
// Optional. By default, the workstations service makes sure that all
// requests to the workstation are authenticated. CORS preflight requests do
// not include cookies or custom headers, and so are considered
// unauthenticated and blocked by the workstations service. Enabling this
// option allows these unauthenticated CORS preflight requests through to
// the workstation, where it becomes the responsibility of the destination
// server in the workstation to validate the request.
AllowedUnauthenticatedCorsPreflightRequests bool `` /* 197-byte string literal not displayed */
// Optional. By default, the workstations service replaces references to
// localhost, 127.0.0.1, and 0.0.0.0 with the workstation's hostname in http
// responses from the workstation so that applications under development run
// properly on the workstation. This may intefere with some applications,
// and so this option allows that behavior to be disabled.
DisableLocalhostReplacement bool `` /* 145-byte string literal not displayed */
// contains filtered or unexported fields
}
HTTP options for the running workstations.
func (*WorkstationConfig_HttpOptions) Descriptor
deprecated
added in
v1.7.0
func (*WorkstationConfig_HttpOptions) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_HttpOptions.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_HttpOptions) GetAllowedUnauthenticatedCorsPreflightRequests ¶ added in v1.7.0
func (x *WorkstationConfig_HttpOptions) GetAllowedUnauthenticatedCorsPreflightRequests() bool
func (*WorkstationConfig_HttpOptions) GetDisableLocalhostReplacement ¶ added in v1.7.0
func (x *WorkstationConfig_HttpOptions) GetDisableLocalhostReplacement() bool
func (*WorkstationConfig_HttpOptions) ProtoMessage ¶ added in v1.7.0
func (*WorkstationConfig_HttpOptions) ProtoMessage()
func (*WorkstationConfig_HttpOptions) ProtoReflect ¶ added in v1.7.0
func (x *WorkstationConfig_HttpOptions) ProtoReflect() protoreflect.Message
func (*WorkstationConfig_HttpOptions) Reset ¶ added in v1.7.0
func (x *WorkstationConfig_HttpOptions) Reset()
func (*WorkstationConfig_HttpOptions) String ¶ added in v1.7.0
func (x *WorkstationConfig_HttpOptions) String() string
type WorkstationConfig_PersistentDirectory ¶
type WorkstationConfig_PersistentDirectory struct {
// How a persistent directory should be implemented.
//
// Types that are valid to be assigned to DirectoryType:
//
// *WorkstationConfig_PersistentDirectory_GcePd
// *WorkstationConfig_PersistentDirectory_GceHd
DirectoryType isWorkstationConfig_PersistentDirectory_DirectoryType `protobuf_oneof:"directory_type"`
// Optional. Location of this directory in the running workstation.
MountPath string `protobuf:"bytes,1,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
// contains filtered or unexported fields
}
A directory to persist across workstation sessions. Updates to this field will not update existing workstations and will only take effect on new workstations.
func (*WorkstationConfig_PersistentDirectory) Descriptor
deprecated
func (*WorkstationConfig_PersistentDirectory) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_PersistentDirectory.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_PersistentDirectory) GetDirectoryType ¶
func (x *WorkstationConfig_PersistentDirectory) GetDirectoryType() isWorkstationConfig_PersistentDirectory_DirectoryType
func (*WorkstationConfig_PersistentDirectory) GetMountPath ¶
func (x *WorkstationConfig_PersistentDirectory) GetMountPath() string
func (*WorkstationConfig_PersistentDirectory) ProtoMessage ¶
func (*WorkstationConfig_PersistentDirectory) ProtoMessage()
func (*WorkstationConfig_PersistentDirectory) ProtoReflect ¶
func (x *WorkstationConfig_PersistentDirectory) ProtoReflect() protoreflect.Message
func (*WorkstationConfig_PersistentDirectory) Reset ¶
func (x *WorkstationConfig_PersistentDirectory) Reset()
func (*WorkstationConfig_PersistentDirectory) String ¶
func (x *WorkstationConfig_PersistentDirectory) String() string
type WorkstationConfig_PersistentDirectory_GceHd ¶ added in v1.7.0
type WorkstationConfig_PersistentDirectory_GceHd struct {
// A PersistentDirectory backed by a Compute Engine hyperdisk high
// availability disk.
GceHd *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability `protobuf:"bytes,3,opt,name=gce_hd,json=gceHd,proto3,oneof"`
}
type WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability ¶ added in v1.7.0
type WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability struct {
// Optional. The GB capacity of a persistent home directory for each
// workstation created with this configuration. Must be empty if
// [source_snapshot][google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceHyperdiskBalancedHighAvailability.source_snapshot]
// is set.
//
// Valid values are `10`, `50`, `100`, `200`, `500`, or `1000`.
// Defaults to `200`.
SizeGb int32 `protobuf:"varint,1,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
// Optional. Maximum size in GB to which this persistent directory can be
// resized. Defaults to unlimited if not set.
MaxSizeGb int32 `protobuf:"varint,5,opt,name=max_size_gb,json=maxSizeGb,proto3" json:"max_size_gb,omitempty"`
// Optional. Name of the snapshot to use as the source for the disk. If
// set,
// [size_gb][google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceHyperdiskBalancedHighAvailability.size_gb]
// must be empty. Must be formatted as ext4 file system with no
// partitions.
SourceSnapshot string `protobuf:"bytes,2,opt,name=source_snapshot,json=sourceSnapshot,proto3" json:"source_snapshot,omitempty"`
// Optional. Whether the persistent disk should be deleted when the
// workstation is deleted. Valid values are `DELETE` and `RETAIN`.
// Defaults to `DELETE`.
ReclaimPolicy WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy `` /* 228-byte string literal not displayed */
// Optional. Number of seconds to wait after initially creating or
// subsequently shutting down the workstation before converting its disk
// into a snapshot. This generally saves costs at the expense of greater
// startup time on next workstation start, as the service will need to
// create a disk from the archival snapshot.
//
// A value of `"0s"` indicates that the disk will never be archived.
ArchiveTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=archive_timeout,json=archiveTimeout,proto3" json:"archive_timeout,omitempty"`
// contains filtered or unexported fields
}
A Persistent Directory backed by a Compute Engine [Hyperdisk Balanced High Availability Disk](https://cloud.google.com/compute/docs/disks/hd-types/hyperdisk-balanced-ha). This is a high-availability block storage solution that offers a balance between performance and cost for most general-purpose workloads.
func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) Descriptor
deprecated
added in
v1.7.0
func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetArchiveTimeout ¶ added in v1.7.0
func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetArchiveTimeout() *durationpb.Duration
func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetMaxSizeGb ¶ added in v1.7.0
func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetMaxSizeGb() int32
func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetReclaimPolicy ¶ added in v1.7.0
func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetSizeGb ¶ added in v1.7.0
func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetSizeGb() int32
func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetSourceSnapshot ¶ added in v1.7.0
func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetSourceSnapshot() string
func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) ProtoMessage ¶ added in v1.7.0
func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) ProtoMessage()
func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) ProtoReflect ¶ added in v1.7.0
func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) ProtoReflect() protoreflect.Message
func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) Reset ¶ added in v1.7.0
func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) String ¶ added in v1.7.0
func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) String() string
type WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy ¶ added in v1.7.0
type WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy int32
Value representing what should happen to the disk after the workstation is deleted.
const ( // Do not use. WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_RECLAIM_POLICY_UNSPECIFIED WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy = 0 // Delete the persistent disk when deleting the workstation. WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_DELETE WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy = 1 // Keep the persistent disk when deleting the workstation. // An administrator must manually delete the disk. WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_RETAIN WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy = 2 )
func (WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) Descriptor ¶ added in v1.7.0
func (WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) Enum ¶ added in v1.7.0
func (WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) EnumDescriptor
deprecated
added in
v1.7.0
func (WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy.Descriptor instead.
func (WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) Number ¶ added in v1.7.0
func (WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) String ¶ added in v1.7.0
type WorkstationConfig_PersistentDirectory_GcePd ¶
type WorkstationConfig_PersistentDirectory_GcePd struct {
// A PersistentDirectory backed by a Compute Engine persistent disk.
GcePd *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk `protobuf:"bytes,2,opt,name=gce_pd,json=gcePd,proto3,oneof"`
}
type WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk ¶
type WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk struct {
// Optional. The GB capacity of a persistent home directory for each
// workstation created with this configuration. Must be empty if
// [source_snapshot][google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.source_snapshot]
// is set.
//
// Valid values are `10`, `50`, `100`, `200`, `500`, or `1000`.
// Defaults to `200`. If less than `200` GB, the
// [disk_type][google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.disk_type]
// must be
// `"pd-balanced"` or `"pd-ssd"`.
SizeGb int32 `protobuf:"varint,1,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
// Optional. Maximum size in GB to which this persistent directory can be
// resized. Defaults to unlimited if not set.
MaxSizeGb int32 `protobuf:"varint,7,opt,name=max_size_gb,json=maxSizeGb,proto3" json:"max_size_gb,omitempty"`
// Optional. Type of file system that the disk should be formatted with.
// The workstation image must support this file system type. Must be empty
// if
// [source_snapshot][google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.source_snapshot]
// is set. Defaults to `"ext4"`.
FsType string `protobuf:"bytes,2,opt,name=fs_type,json=fsType,proto3" json:"fs_type,omitempty"`
// Optional. The [type of the persistent
// disk](https://cloud.google.com/compute/docs/disks#disk-types) for the
// home directory. Defaults to `"pd-standard"`.
DiskType string `protobuf:"bytes,3,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
// Optional. Name of the snapshot to use as the source for the disk. If
// set,
// [size_gb][google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.size_gb]
// and
// [fs_type][google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.fs_type]
// must be empty. Must be formatted as ext4 file system with no
// partitions.
SourceSnapshot string `protobuf:"bytes,5,opt,name=source_snapshot,json=sourceSnapshot,proto3" json:"source_snapshot,omitempty"`
// Optional. Whether the persistent disk should be deleted when the
// workstation is deleted. Valid values are `DELETE` and `RETAIN`.
// Defaults to `DELETE`.
ReclaimPolicy WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy `` /* 217-byte string literal not displayed */
// Optional. Number of seconds to wait after initially creating or
// subsequently shutting down the workstation before converting its disk
// into a snapshot. This generally saves costs at the expense of greater
// startup time on next workstation start, as the service will need to
// create a disk from the archival snapshot.
//
// A value of `"0s"` indicates that the disk will never be archived.
ArchiveTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=archive_timeout,json=archiveTimeout,proto3" json:"archive_timeout,omitempty"`
// contains filtered or unexported fields
}
A Persistent Directory backed by a Compute Engine regional persistent disk. The [persistent_directories][google.cloud.workstations.v1beta.WorkstationConfig.persistent_directories] field is repeated, but it may contain only one entry. It creates a [persistent disk](https://cloud.google.com/compute/docs/disks/persistent-disks) that mounts to the workstation VM at `/home` when the session starts and detaches when the session ends. If this field is empty, workstations created with this configuration do not have a persistent home directory.
func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) Descriptor
deprecated
func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetArchiveTimeout ¶ added in v1.7.0
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetArchiveTimeout() *durationpb.Duration
func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetDiskType ¶
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetDiskType() string
func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetFsType ¶
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetFsType() string
func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetMaxSizeGb ¶ added in v1.7.0
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetMaxSizeGb() int32
func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetReclaimPolicy ¶
func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetSizeGb ¶
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetSizeGb() int32
func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetSourceSnapshot ¶
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetSourceSnapshot() string
func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) ProtoMessage ¶
func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) ProtoMessage()
func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) ProtoReflect ¶
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) ProtoReflect() protoreflect.Message
func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) Reset ¶
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) Reset()
func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) String ¶
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) String() string
type WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy ¶
type WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy int32
Value representing what should happen to the disk after the workstation is deleted.
const ( // Do not use. WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_RECLAIM_POLICY_UNSPECIFIED WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy = 0 // Delete the persistent disk when deleting the workstation. WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_DELETE WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy = 1 // Keep the persistent disk when deleting the workstation. // An administrator must manually delete the disk. WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_RETAIN WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy = 2 )
func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) Descriptor ¶
func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) EnumDescriptor
deprecated
func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy.Descriptor instead.
type WorkstationConfig_PortRange ¶ added in v1.7.0
type WorkstationConfig_PortRange struct {
// Required. Starting port number for the current range of ports.
// Valid ports are 22, 80, and ports within the range 1024-65535.
First int32 `protobuf:"varint,1,opt,name=first,proto3" json:"first,omitempty"`
// Required. Ending port number for the current range of ports.
// Valid ports are 22, 80, and ports within the range 1024-65535.
Last int32 `protobuf:"varint,2,opt,name=last,proto3" json:"last,omitempty"`
// contains filtered or unexported fields
}
A PortRange defines a range of ports. Both [first][google.cloud.workstations.v1beta.WorkstationConfig.PortRange.first] and [last][google.cloud.workstations.v1beta.WorkstationConfig.PortRange.last] are inclusive. To specify a single port, both [first][google.cloud.workstations.v1beta.WorkstationConfig.PortRange.first] and [last][google.cloud.workstations.v1beta.WorkstationConfig.PortRange.last] should be the same.
func (*WorkstationConfig_PortRange) Descriptor
deprecated
added in
v1.7.0
func (*WorkstationConfig_PortRange) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_PortRange.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_PortRange) GetFirst ¶ added in v1.7.0
func (x *WorkstationConfig_PortRange) GetFirst() int32
func (*WorkstationConfig_PortRange) GetLast ¶ added in v1.7.0
func (x *WorkstationConfig_PortRange) GetLast() int32
func (*WorkstationConfig_PortRange) ProtoMessage ¶ added in v1.7.0
func (*WorkstationConfig_PortRange) ProtoMessage()
func (*WorkstationConfig_PortRange) ProtoReflect ¶ added in v1.7.0
func (x *WorkstationConfig_PortRange) ProtoReflect() protoreflect.Message
func (*WorkstationConfig_PortRange) Reset ¶ added in v1.7.0
func (x *WorkstationConfig_PortRange) Reset()
func (*WorkstationConfig_PortRange) String ¶ added in v1.7.0
func (x *WorkstationConfig_PortRange) String() string
type WorkstationConfig_ReadinessCheck ¶ added in v0.3.0
type WorkstationConfig_ReadinessCheck struct {
// Optional. Path to which the request should be sent.
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// Optional. Port to which the request should be sent.
Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
// contains filtered or unexported fields
}
A readiness check to be performed on a workstation.
func (*WorkstationConfig_ReadinessCheck) Descriptor
deprecated
added in
v0.3.0
func (*WorkstationConfig_ReadinessCheck) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_ReadinessCheck.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_ReadinessCheck) GetPath ¶ added in v0.3.0
func (x *WorkstationConfig_ReadinessCheck) GetPath() string
func (*WorkstationConfig_ReadinessCheck) GetPort ¶ added in v0.3.0
func (x *WorkstationConfig_ReadinessCheck) GetPort() int32
func (*WorkstationConfig_ReadinessCheck) ProtoMessage ¶ added in v0.3.0
func (*WorkstationConfig_ReadinessCheck) ProtoMessage()
func (*WorkstationConfig_ReadinessCheck) ProtoReflect ¶ added in v0.3.0
func (x *WorkstationConfig_ReadinessCheck) ProtoReflect() protoreflect.Message
func (*WorkstationConfig_ReadinessCheck) Reset ¶ added in v0.3.0
func (x *WorkstationConfig_ReadinessCheck) Reset()
func (*WorkstationConfig_ReadinessCheck) String ¶ added in v0.3.0
func (x *WorkstationConfig_ReadinessCheck) String() string
type Workstation_RuntimeHost ¶ added in v1.7.0
type Workstation_RuntimeHost struct {
// Type of host used by the workstation.
//
// Types that are valid to be assigned to HostType:
//
// *Workstation_RuntimeHost_GceInstanceHost_
HostType isWorkstation_RuntimeHost_HostType `protobuf_oneof:"host_type"`
// contains filtered or unexported fields
}
Runtime host for the workstation.
func (*Workstation_RuntimeHost) Descriptor
deprecated
added in
v1.7.0
func (*Workstation_RuntimeHost) Descriptor() ([]byte, []int)
Deprecated: Use Workstation_RuntimeHost.ProtoReflect.Descriptor instead.
func (*Workstation_RuntimeHost) GetGceInstanceHost ¶ added in v1.7.0
func (x *Workstation_RuntimeHost) GetGceInstanceHost() *Workstation_RuntimeHost_GceInstanceHost
func (*Workstation_RuntimeHost) GetHostType ¶ added in v1.7.0
func (x *Workstation_RuntimeHost) GetHostType() isWorkstation_RuntimeHost_HostType
func (*Workstation_RuntimeHost) ProtoMessage ¶ added in v1.7.0
func (*Workstation_RuntimeHost) ProtoMessage()
func (*Workstation_RuntimeHost) ProtoReflect ¶ added in v1.7.0
func (x *Workstation_RuntimeHost) ProtoReflect() protoreflect.Message
func (*Workstation_RuntimeHost) Reset ¶ added in v1.7.0
func (x *Workstation_RuntimeHost) Reset()
func (*Workstation_RuntimeHost) String ¶ added in v1.7.0
func (x *Workstation_RuntimeHost) String() string
type Workstation_RuntimeHost_GceInstanceHost ¶ added in v1.7.0
type Workstation_RuntimeHost_GceInstanceHost struct {
// Optional. Output only. The name of the Compute Engine instance.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Output only. The ID of the Compute Engine instance.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// Optional. Output only. The zone of the Compute Engine instance.
Zone string `protobuf:"bytes,3,opt,name=zone,proto3" json:"zone,omitempty"`
// contains filtered or unexported fields
}
The Compute Engine instance host.
func (*Workstation_RuntimeHost_GceInstanceHost) Descriptor
deprecated
added in
v1.7.0
func (*Workstation_RuntimeHost_GceInstanceHost) Descriptor() ([]byte, []int)
Deprecated: Use Workstation_RuntimeHost_GceInstanceHost.ProtoReflect.Descriptor instead.
func (*Workstation_RuntimeHost_GceInstanceHost) GetId ¶ added in v1.7.0
func (x *Workstation_RuntimeHost_GceInstanceHost) GetId() string
func (*Workstation_RuntimeHost_GceInstanceHost) GetName ¶ added in v1.7.0
func (x *Workstation_RuntimeHost_GceInstanceHost) GetName() string
func (*Workstation_RuntimeHost_GceInstanceHost) GetZone ¶ added in v1.7.0
func (x *Workstation_RuntimeHost_GceInstanceHost) GetZone() string
func (*Workstation_RuntimeHost_GceInstanceHost) ProtoMessage ¶ added in v1.7.0
func (*Workstation_RuntimeHost_GceInstanceHost) ProtoMessage()
func (*Workstation_RuntimeHost_GceInstanceHost) ProtoReflect ¶ added in v1.7.0
func (x *Workstation_RuntimeHost_GceInstanceHost) ProtoReflect() protoreflect.Message
func (*Workstation_RuntimeHost_GceInstanceHost) Reset ¶ added in v1.7.0
func (x *Workstation_RuntimeHost_GceInstanceHost) Reset()
func (*Workstation_RuntimeHost_GceInstanceHost) String ¶ added in v1.7.0
func (x *Workstation_RuntimeHost_GceInstanceHost) String() string
type Workstation_RuntimeHost_GceInstanceHost_ ¶ added in v1.7.0
type Workstation_RuntimeHost_GceInstanceHost_ struct {
// Specifies a Compute Engine instance as the host.
GceInstanceHost *Workstation_RuntimeHost_GceInstanceHost `protobuf:"bytes,1,opt,name=gce_instance_host,json=gceInstanceHost,proto3,oneof"`
}
type Workstation_State ¶
type Workstation_State int32
Whether a workstation is running and ready to receive user requests.
const ( // Do not use. Workstation_STATE_UNSPECIFIED Workstation_State = 0 // The workstation is not yet ready to accept requests from users but will // be soon. Workstation_STATE_STARTING Workstation_State = 1 // The workstation is ready to accept requests from users. Workstation_STATE_RUNNING Workstation_State = 2 // The workstation is being stopped. Workstation_STATE_STOPPING Workstation_State = 3 // The workstation is stopped and will not be able to receive requests until // it is started. Workstation_STATE_STOPPED Workstation_State = 4 )
func (Workstation_State) Descriptor ¶
func (Workstation_State) Descriptor() protoreflect.EnumDescriptor
func (Workstation_State) Enum ¶
func (x Workstation_State) Enum() *Workstation_State
func (Workstation_State) EnumDescriptor
deprecated
func (Workstation_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Workstation_State.Descriptor instead.
func (Workstation_State) Number ¶
func (x Workstation_State) Number() protoreflect.EnumNumber
func (Workstation_State) String ¶
func (x Workstation_State) String() string
func (Workstation_State) Type ¶
func (Workstation_State) Type() protoreflect.EnumType
type Workstation_WorkstationBoostConfig ¶ added in v1.7.0
type Workstation_WorkstationBoostConfig struct {
// Output only. Boost configuration ID.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Output only. Whether or not the current workstation is actively boosted
// with this id.
Running bool `protobuf:"varint,2,opt,name=running,proto3" json:"running,omitempty"`
// contains filtered or unexported fields
}
Boost configuration for this workstation. This object is populated from the parent workstation configuration.
func (*Workstation_WorkstationBoostConfig) Descriptor
deprecated
added in
v1.7.0
func (*Workstation_WorkstationBoostConfig) Descriptor() ([]byte, []int)
Deprecated: Use Workstation_WorkstationBoostConfig.ProtoReflect.Descriptor instead.
func (*Workstation_WorkstationBoostConfig) GetId ¶ added in v1.7.0
func (x *Workstation_WorkstationBoostConfig) GetId() string
func (*Workstation_WorkstationBoostConfig) GetRunning ¶ added in v1.7.0
func (x *Workstation_WorkstationBoostConfig) GetRunning() bool
func (*Workstation_WorkstationBoostConfig) ProtoMessage ¶ added in v1.7.0
func (*Workstation_WorkstationBoostConfig) ProtoMessage()
func (*Workstation_WorkstationBoostConfig) ProtoReflect ¶ added in v1.7.0
func (x *Workstation_WorkstationBoostConfig) ProtoReflect() protoreflect.Message
func (*Workstation_WorkstationBoostConfig) Reset ¶ added in v1.7.0
func (x *Workstation_WorkstationBoostConfig) Reset()
func (*Workstation_WorkstationBoostConfig) String ¶ added in v1.7.0
func (x *Workstation_WorkstationBoostConfig) String() string
type Workstation_WorkstationPersistentDirectory ¶ added in v1.7.0
type Workstation_WorkstationPersistentDirectory struct {
// Optional. The mount path of the persistent directory.
MountPath string `protobuf:"bytes,2,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
// Optional. Size of the persistent directory in GB. If specified in an
// update request, this is the desired size of the directory.
SizeGb int32 `protobuf:"varint,3,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
// contains filtered or unexported fields
}
A directory to persist across workstation sessions. Updates to this field will only take effect on this workstation after it is restarted.
func (*Workstation_WorkstationPersistentDirectory) Descriptor
deprecated
added in
v1.7.0
func (*Workstation_WorkstationPersistentDirectory) Descriptor() ([]byte, []int)
Deprecated: Use Workstation_WorkstationPersistentDirectory.ProtoReflect.Descriptor instead.
func (*Workstation_WorkstationPersistentDirectory) GetMountPath ¶ added in v1.7.0
func (x *Workstation_WorkstationPersistentDirectory) GetMountPath() string
func (*Workstation_WorkstationPersistentDirectory) GetSizeGb ¶ added in v1.7.0
func (x *Workstation_WorkstationPersistentDirectory) GetSizeGb() int32
func (*Workstation_WorkstationPersistentDirectory) ProtoMessage ¶ added in v1.7.0
func (*Workstation_WorkstationPersistentDirectory) ProtoMessage()
func (*Workstation_WorkstationPersistentDirectory) ProtoReflect ¶ added in v1.7.0
func (x *Workstation_WorkstationPersistentDirectory) ProtoReflect() protoreflect.Message
func (*Workstation_WorkstationPersistentDirectory) Reset ¶ added in v1.7.0
func (x *Workstation_WorkstationPersistentDirectory) Reset()
func (*Workstation_WorkstationPersistentDirectory) String ¶ added in v1.7.0
func (x *Workstation_WorkstationPersistentDirectory) String() string
type WorkstationsClient ¶
type WorkstationsClient interface {
// Returns the requested workstation cluster.
GetWorkstationCluster(ctx context.Context, in *GetWorkstationClusterRequest, opts ...grpc.CallOption) (*WorkstationCluster, error)
// Returns all workstation clusters in the specified location.
ListWorkstationClusters(ctx context.Context, in *ListWorkstationClustersRequest, opts ...grpc.CallOption) (*ListWorkstationClustersResponse, error)
// Creates a new workstation cluster.
CreateWorkstationCluster(ctx context.Context, in *CreateWorkstationClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates an existing workstation cluster.
UpdateWorkstationCluster(ctx context.Context, in *UpdateWorkstationClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes the specified workstation cluster.
DeleteWorkstationCluster(ctx context.Context, in *DeleteWorkstationClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Returns the requested workstation configuration.
GetWorkstationConfig(ctx context.Context, in *GetWorkstationConfigRequest, opts ...grpc.CallOption) (*WorkstationConfig, error)
// Returns all workstation configurations in the specified cluster.
ListWorkstationConfigs(ctx context.Context, in *ListWorkstationConfigsRequest, opts ...grpc.CallOption) (*ListWorkstationConfigsResponse, error)
// Returns all workstation configurations in the specified cluster on which
// the caller has the "workstations.workstation.create" permission.
ListUsableWorkstationConfigs(ctx context.Context, in *ListUsableWorkstationConfigsRequest, opts ...grpc.CallOption) (*ListUsableWorkstationConfigsResponse, error)
// Creates a new workstation configuration.
CreateWorkstationConfig(ctx context.Context, in *CreateWorkstationConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates an existing workstation configuration.
UpdateWorkstationConfig(ctx context.Context, in *UpdateWorkstationConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes the specified workstation configuration.
DeleteWorkstationConfig(ctx context.Context, in *DeleteWorkstationConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Returns the requested workstation.
GetWorkstation(ctx context.Context, in *GetWorkstationRequest, opts ...grpc.CallOption) (*Workstation, error)
// Returns all Workstations using the specified workstation configuration.
ListWorkstations(ctx context.Context, in *ListWorkstationsRequest, opts ...grpc.CallOption) (*ListWorkstationsResponse, error)
// Returns all workstations using the specified workstation configuration
// on which the caller has the "workstations.workstations.use" permission.
ListUsableWorkstations(ctx context.Context, in *ListUsableWorkstationsRequest, opts ...grpc.CallOption) (*ListUsableWorkstationsResponse, error)
// Creates a new workstation.
CreateWorkstation(ctx context.Context, in *CreateWorkstationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates an existing workstation.
UpdateWorkstation(ctx context.Context, in *UpdateWorkstationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes the specified workstation.
DeleteWorkstation(ctx context.Context, in *DeleteWorkstationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Starts running a workstation so that users can connect to it.
StartWorkstation(ctx context.Context, in *StartWorkstationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Stops running a workstation, reducing costs.
StopWorkstation(ctx context.Context, in *StopWorkstationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Returns a short-lived credential that can be used to send authenticated and
// authorized traffic to a workstation.
// Once generated this token cannot be revoked and is good for the lifetime
// of the token.
GenerateAccessToken(ctx context.Context, in *GenerateAccessTokenRequest, opts ...grpc.CallOption) (*GenerateAccessTokenResponse, error)
// Pushes credentials to a running workstation on behalf of a user. Once
// complete, supported credential types (application_default_credentials) are
// made available to processes running in the user container.
PushCredentials(ctx context.Context, in *PushCredentialsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}
WorkstationsClient is the client API for Workstations service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewWorkstationsClient ¶
func NewWorkstationsClient(cc grpc.ClientConnInterface) WorkstationsClient
type WorkstationsServer ¶
type WorkstationsServer interface {
// Returns the requested workstation cluster.
GetWorkstationCluster(context.Context, *GetWorkstationClusterRequest) (*WorkstationCluster, error)
// Returns all workstation clusters in the specified location.
ListWorkstationClusters(context.Context, *ListWorkstationClustersRequest) (*ListWorkstationClustersResponse, error)
// Creates a new workstation cluster.
CreateWorkstationCluster(context.Context, *CreateWorkstationClusterRequest) (*longrunningpb.Operation, error)
// Updates an existing workstation cluster.
UpdateWorkstationCluster(context.Context, *UpdateWorkstationClusterRequest) (*longrunningpb.Operation, error)
// Deletes the specified workstation cluster.
DeleteWorkstationCluster(context.Context, *DeleteWorkstationClusterRequest) (*longrunningpb.Operation, error)
// Returns the requested workstation configuration.
GetWorkstationConfig(context.Context, *GetWorkstationConfigRequest) (*WorkstationConfig, error)
// Returns all workstation configurations in the specified cluster.
ListWorkstationConfigs(context.Context, *ListWorkstationConfigsRequest) (*ListWorkstationConfigsResponse, error)
// Returns all workstation configurations in the specified cluster on which
// the caller has the "workstations.workstation.create" permission.
ListUsableWorkstationConfigs(context.Context, *ListUsableWorkstationConfigsRequest) (*ListUsableWorkstationConfigsResponse, error)
// Creates a new workstation configuration.
CreateWorkstationConfig(context.Context, *CreateWorkstationConfigRequest) (*longrunningpb.Operation, error)
// Updates an existing workstation configuration.
UpdateWorkstationConfig(context.Context, *UpdateWorkstationConfigRequest) (*longrunningpb.Operation, error)
// Deletes the specified workstation configuration.
DeleteWorkstationConfig(context.Context, *DeleteWorkstationConfigRequest) (*longrunningpb.Operation, error)
// Returns the requested workstation.
GetWorkstation(context.Context, *GetWorkstationRequest) (*Workstation, error)
// Returns all Workstations using the specified workstation configuration.
ListWorkstations(context.Context, *ListWorkstationsRequest) (*ListWorkstationsResponse, error)
// Returns all workstations using the specified workstation configuration
// on which the caller has the "workstations.workstations.use" permission.
ListUsableWorkstations(context.Context, *ListUsableWorkstationsRequest) (*ListUsableWorkstationsResponse, error)
// Creates a new workstation.
CreateWorkstation(context.Context, *CreateWorkstationRequest) (*longrunningpb.Operation, error)
// Updates an existing workstation.
UpdateWorkstation(context.Context, *UpdateWorkstationRequest) (*longrunningpb.Operation, error)
// Deletes the specified workstation.
DeleteWorkstation(context.Context, *DeleteWorkstationRequest) (*longrunningpb.Operation, error)
// Starts running a workstation so that users can connect to it.
StartWorkstation(context.Context, *StartWorkstationRequest) (*longrunningpb.Operation, error)
// Stops running a workstation, reducing costs.
StopWorkstation(context.Context, *StopWorkstationRequest) (*longrunningpb.Operation, error)
// Returns a short-lived credential that can be used to send authenticated and
// authorized traffic to a workstation.
// Once generated this token cannot be revoked and is good for the lifetime
// of the token.
GenerateAccessToken(context.Context, *GenerateAccessTokenRequest) (*GenerateAccessTokenResponse, error)
// Pushes credentials to a running workstation on behalf of a user. Once
// complete, supported credential types (application_default_credentials) are
// made available to processes running in the user container.
PushCredentials(context.Context, *PushCredentialsRequest) (*longrunningpb.Operation, error)
}
WorkstationsServer is the server API for Workstations service. All implementations should embed UnimplementedWorkstationsServer for forward compatibility