Variables
WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy_name, WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy_value
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.
Workstation_State_name, Workstation_State_value
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.
File_google_cloud_workstations_v1_workstations_proto
var File_google_cloud_workstations_v1_workstations_proto protoreflect.FileDescriptor
Functions
func RegisterWorkstationsServer
func RegisterWorkstationsServer(s *grpc.Server, srv WorkstationsServer)
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 review, 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
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
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. Config 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 review, 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
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
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.
Workstation *Workstation `protobuf:"bytes,3,opt,name=workstation,proto3" json:"workstation,omitempty"`
// Optional. If set, validate the request and preview the review, 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
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
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 review, 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
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
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 review, 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
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
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 review, 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
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
GenerateAccessTokenRequest
type GenerateAccessTokenRequest struct {
// Desired expiration or lifetime of the access token.
//
// Types that are assignable 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"`
// contains filtered or unexported fields
}
Request message for GenerateAccessToken.
func (*GenerateAccessTokenRequest) Descriptor
func (*GenerateAccessTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*GenerateAccessTokenRequest) GetExpiration
func (m *GenerateAccessTokenRequest) GetExpiration() isGenerateAccessTokenRequest_Expiration
func (*GenerateAccessTokenRequest) GetExpireTime
func (x *GenerateAccessTokenRequest) GetExpireTime() *timestamppb.Timestamp
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
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"`
}
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"`
}
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
//
Response message for GenerateAccessToken.
func (*GenerateAccessTokenResponse) Descriptor
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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"`
// contains filtered or unexported fields
}
Request message for ListWorkstationClusters.
func (*ListWorkstationClustersRequest) Descriptor
func (*ListWorkstationClustersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkstationClustersRequest.ProtoReflect.Descriptor instead.
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
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
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
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"`
// contains filtered or unexported fields
}
Request message for ListWorkstationConfigs.
func (*ListWorkstationConfigsRequest) Descriptor
func (*ListWorkstationConfigsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkstationConfigsRequest.ProtoReflect.Descriptor instead.
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
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
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
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"`
// contains filtered or unexported fields
}
Request message for ListWorkstations.
func (*ListWorkstationsRequest) Descriptor
func (*ListWorkstationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkstationsRequest.ProtoReflect.Descriptor instead.
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
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
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
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
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
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 review, 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 StartWorkstation.
func (*StartWorkstationRequest) Descriptor
func (*StartWorkstationRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartWorkstationRequest.ProtoReflect.Descriptor instead.
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
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 review, 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
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
UnimplementedWorkstationsServer
type UnimplementedWorkstationsServer struct {
}
UnimplementedWorkstationsServer can 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) 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)
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 review, 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
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
UpdateWorkstationConfigRequest
type UpdateWorkstationConfigRequest struct {
// Required. Config 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 review, 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
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
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 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 review, 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 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
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
Workstation
type Workstation struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
Reconciling bool `protobuf:"varint,4,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
Annotations map[string]string "" /* 163 byte string literal not displayed */
Labels map[string]string "" /* 154 byte string literal not displayed */
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
StartTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
State Workstation_State `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.workstations.v1.Workstation_State" json:"state,omitempty"`
Host string `protobuf:"bytes,11,opt,name=host,proto3" json:"host,omitempty"`
}
A single instance of a developer workstation with its own persistent storage.
func (*Workstation) Descriptor
func (*Workstation) Descriptor() ([]byte, []int)
Deprecated: Use Workstation.ProtoReflect.Descriptor instead.
func (*Workstation) GetAnnotations
func (x *Workstation) GetAnnotations() map[string]string
func (*Workstation) GetCreateTime
func (x *Workstation) GetCreateTime() *timestamppb.Timestamp
func (*Workstation) GetDeleteTime
func (x *Workstation) GetDeleteTime() *timestamppb.Timestamp
func (*Workstation) GetDisplayName
func (x *Workstation) GetDisplayName() string
func (*Workstation) GetEtag
func (x *Workstation) GetEtag() string
func (*Workstation) GetHost
func (x *Workstation) GetHost() string
func (*Workstation) GetLabels
func (x *Workstation) GetLabels() map[string]string
func (*Workstation) GetName
func (x *Workstation) GetName() string
func (*Workstation) GetReconciling
func (x *Workstation) GetReconciling() bool
func (*Workstation) GetStartTime
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
WorkstationCluster
type WorkstationCluster struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
Reconciling bool `protobuf:"varint,4,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
Annotations map[string]string "" /* 163 byte string literal not displayed */
Labels map[string]string "" /* 154 byte string literal not displayed */
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
Network string `protobuf:"bytes,10,opt,name=network,proto3" json:"network,omitempty"`
Subnetwork string `protobuf:"bytes,11,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
ControlPlaneIp string `protobuf:"bytes,16,opt,name=control_plane_ip,json=controlPlaneIp,proto3" json:"control_plane_ip,omitempty"`
PrivateClusterConfig *WorkstationCluster_PrivateClusterConfig `protobuf:"bytes,12,opt,name=private_cluster_config,json=privateClusterConfig,proto3" json:"private_cluster_config,omitempty"`
Degraded bool `protobuf:"varint,13,opt,name=degraded,proto3" json:"degraded,omitempty"`
Conditions []*status.Status `protobuf:"bytes,14,rep,name=conditions,proto3" json:"conditions,omitempty"`
}
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
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
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) GetEtag
func (x *WorkstationCluster) GetEtag() string
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) GetSubnetwork
func (x *WorkstationCluster) GetSubnetwork() string
func (*WorkstationCluster) GetUid
func (x *WorkstationCluster) GetUid() string
func (*WorkstationCluster) GetUpdateTime
func (x *WorkstationCluster) GetUpdateTime() *timestamppb.Timestamp
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
WorkstationCluster_PrivateClusterConfig
type WorkstationCluster_PrivateClusterConfig struct {
EnablePrivateEndpoint bool "" /* 127 byte string literal not displayed */
ClusterHostname string `protobuf:"bytes,2,opt,name=cluster_hostname,json=clusterHostname,proto3" json:"cluster_hostname,omitempty"`
ServiceAttachmentUri string `protobuf:"bytes,3,opt,name=service_attachment_uri,json=serviceAttachmentUri,proto3" json:"service_attachment_uri,omitempty"`
AllowedProjects []string `protobuf:"bytes,4,rep,name=allowed_projects,json=allowedProjects,proto3" json:"allowed_projects,omitempty"`
}
Configuration options for private workstation clusters.
func (*WorkstationCluster_PrivateClusterConfig) Descriptor
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
WorkstationConfig
type WorkstationConfig struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
Reconciling bool `protobuf:"varint,4,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
Annotations map[string]string "" /* 163 byte string literal not displayed */
Labels map[string]string "" /* 154 byte string literal not displayed */
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
IdleTimeout *durationpb.Duration `protobuf:"bytes,10,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
RunningTimeout *durationpb.Duration `protobuf:"bytes,11,opt,name=running_timeout,json=runningTimeout,proto3" json:"running_timeout,omitempty"`
Host *WorkstationConfig_Host `protobuf:"bytes,12,opt,name=host,proto3" json:"host,omitempty"`
PersistentDirectories []*WorkstationConfig_PersistentDirectory `protobuf:"bytes,13,rep,name=persistent_directories,json=persistentDirectories,proto3" json:"persistent_directories,omitempty"`
Container *WorkstationConfig_Container `protobuf:"bytes,14,opt,name=container,proto3" json:"container,omitempty"`
EncryptionKey *WorkstationConfig_CustomerEncryptionKey `protobuf:"bytes,17,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"`
ReadinessChecks []*WorkstationConfig_ReadinessCheck `protobuf:"bytes,19,rep,name=readiness_checks,json=readinessChecks,proto3" json:"readiness_checks,omitempty"`
ReplicaZones []string `protobuf:"bytes,23,rep,name=replica_zones,json=replicaZones,proto3" json:"replica_zones,omitempty"`
Degraded bool `protobuf:"varint,15,opt,name=degraded,proto3" json:"degraded,omitempty"`
Conditions []*status.Status `protobuf:"bytes,16,rep,name=conditions,proto3" json:"conditions,omitempty"`
}
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) rules to grant access to teams or to individual developers.
func (*WorkstationConfig) Descriptor
func (*WorkstationConfig) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig.ProtoReflect.Descriptor instead.
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) GetDisplayName
func (x *WorkstationConfig) GetDisplayName() string
func (*WorkstationConfig) GetEncryptionKey
func (x *WorkstationConfig) GetEncryptionKey() *WorkstationConfig_CustomerEncryptionKey
func (*WorkstationConfig) GetEtag
func (x *WorkstationConfig) GetEtag() string
func (*WorkstationConfig) GetHost
func (x *WorkstationConfig) GetHost() *WorkstationConfig_Host
func (*WorkstationConfig) GetIdleTimeout
func (x *WorkstationConfig) GetIdleTimeout() *durationpb.Duration
func (*WorkstationConfig) GetLabels
func (x *WorkstationConfig) GetLabels() map[string]string
func (*WorkstationConfig) GetName
func (x *WorkstationConfig) GetName() string
func (*WorkstationConfig) GetPersistentDirectories
func (x *WorkstationConfig) GetPersistentDirectories() []*WorkstationConfig_PersistentDirectory
func (*WorkstationConfig) GetReadinessChecks
func (x *WorkstationConfig) GetReadinessChecks() []*WorkstationConfig_ReadinessCheck
func (*WorkstationConfig) GetReconciling
func (x *WorkstationConfig) GetReconciling() bool
func (*WorkstationConfig) GetReplicaZones
func (x *WorkstationConfig) GetReplicaZones() []string
func (*WorkstationConfig) GetRunningTimeout
func (x *WorkstationConfig) GetRunningTimeout() *durationpb.Duration
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
WorkstationConfig_Container
type WorkstationConfig_Container struct {
Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
Command []string `protobuf:"bytes,2,rep,name=command,proto3" json:"command,omitempty"`
Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
Env map[string]string "" /* 147 byte string literal not displayed */
WorkingDir string `protobuf:"bytes,5,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
RunAsUser int32 `protobuf:"varint,6,opt,name=run_as_user,json=runAsUser,proto3" json:"run_as_user,omitempty"`
}
A Docker container.
func (*WorkstationConfig_Container) Descriptor
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
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.
func (*WorkstationConfig_CustomerEncryptionKey) Descriptor
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
WorkstationConfig_Host
type WorkstationConfig_Host struct {
// Type of host that will be used for the workstation's runtime.
//
// Types that are assignable 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
func (*WorkstationConfig_Host) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_Host.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_Host) GetConfig
func (m *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
WorkstationConfig_Host_GceInstance
type WorkstationConfig_Host_GceInstance struct {
MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
ServiceAccount string `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
ServiceAccountScopes []string `protobuf:"bytes,3,rep,name=service_account_scopes,json=serviceAccountScopes,proto3" json:"service_account_scopes,omitempty"`
Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
PoolSize int32 `protobuf:"varint,5,opt,name=pool_size,json=poolSize,proto3" json:"pool_size,omitempty"`
PooledInstances int32 `protobuf:"varint,12,opt,name=pooled_instances,json=pooledInstances,proto3" json:"pooled_instances,omitempty"`
DisablePublicIpAddresses bool "" /* 138 byte string literal not displayed */
EnableNestedVirtualization bool "" /* 142 byte string literal not displayed */
ShieldedInstanceConfig *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig "" /* 129 byte string literal not displayed */
ConfidentialInstanceConfig *WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig "" /* 142 byte string literal not displayed */
BootDiskSizeGb int32 `protobuf:"varint,9,opt,name=boot_disk_size_gb,json=bootDiskSizeGb,proto3" json:"boot_disk_size_gb,omitempty"`
}
A runtime using a Compute Engine instance.
func (*WorkstationConfig_Host_GceInstance) Descriptor
func (*WorkstationConfig_Host_GceInstance) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_Host_GceInstance.ProtoReflect.Descriptor instead.
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) GetEnableNestedVirtualization
func (x *WorkstationConfig_Host_GceInstance) GetEnableNestedVirtualization() bool
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
func (x *WorkstationConfig_Host_GceInstance) GetPooledInstances() int32
func (*WorkstationConfig_Host_GceInstance) GetServiceAccount
func (x *WorkstationConfig_Host_GceInstance) GetServiceAccount() string
func (*WorkstationConfig_Host_GceInstance) GetServiceAccountScopes
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) GetTags
func (x *WorkstationConfig_Host_GceInstance) GetTags() []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
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"`
}
WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig
type WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig struct {
EnableConfidentialCompute bool "" /* 139 byte string literal not displayed */
}
A set of Compute Engine Confidential VM instance options.
func (*WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) Descriptor
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
WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig
type WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig struct {
EnableSecureBoot bool `protobuf:"varint,1,opt,name=enable_secure_boot,json=enableSecureBoot,proto3" json:"enable_secure_boot,omitempty"`
EnableVtpm bool `protobuf:"varint,2,opt,name=enable_vtpm,json=enableVtpm,proto3" json:"enable_vtpm,omitempty"`
EnableIntegrityMonitoring bool "" /* 139 byte string literal not displayed */
}
A set of Compute Engine Shielded instance options.
func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) Descriptor
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
WorkstationConfig_PersistentDirectory
type WorkstationConfig_PersistentDirectory struct {
// How a persistent directory should be implemented.
//
// Types that are assignable to DirectoryType:
//
// *WorkstationConfig_PersistentDirectory_GcePd
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.
func (*WorkstationConfig_PersistentDirectory) Descriptor
func (*WorkstationConfig_PersistentDirectory) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_PersistentDirectory.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_PersistentDirectory) GetDirectoryType
func (m *WorkstationConfig_PersistentDirectory) GetDirectoryType() isWorkstationConfig_PersistentDirectory_DirectoryType
func (*WorkstationConfig_PersistentDirectory) GetGcePd
func (x *WorkstationConfig_PersistentDirectory) GetGcePd() *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk
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
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"`
}
WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk
type WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk struct {
SizeGb int32 `protobuf:"varint,1,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
FsType string `protobuf:"bytes,2,opt,name=fs_type,json=fsType,proto3" json:"fs_type,omitempty"`
DiskType string `protobuf:"bytes,3,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
SourceSnapshot string `protobuf:"bytes,5,opt,name=source_snapshot,json=sourceSnapshot,proto3" json:"source_snapshot,omitempty"`
ReclaimPolicy WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy "" /* 213 byte string literal not displayed */
}
A PersistentDirectory backed by a Compute Engine regional persistent
disk. The
[persistent_directories][google.cloud.workstations.v1.WorkstationConfig.persistent_directories]
field is repeated, but it may contain only one entry. It creates a
persistent
disk 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
func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk.ProtoReflect.Descriptor instead.
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) GetReclaimPolicy
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetReclaimPolicy() WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy
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
WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy
type WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy int32
Value representing what should happen to the disk after the workstation is deleted.
WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_RECLAIM_POLICY_UNSPECIFIED, WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_DELETE, WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_RETAIN
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) Descriptor() protoreflect.EnumDescriptor
func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) Enum
func (x WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) Enum() *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy
func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) EnumDescriptor
func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy.Descriptor instead.
func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) Number
func (x WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) Number() protoreflect.EnumNumber
func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) String
func (x WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) String() string
func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) Type
func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) Type() protoreflect.EnumType
WorkstationConfig_ReadinessCheck
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
func (*WorkstationConfig_ReadinessCheck) Descriptor() ([]byte, []int)
Deprecated: Use WorkstationConfig_ReadinessCheck.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_ReadinessCheck) GetPath
func (x *WorkstationConfig_ReadinessCheck) GetPath() string
func (*WorkstationConfig_ReadinessCheck) GetPort
func (x *WorkstationConfig_ReadinessCheck) GetPort() int32
func (*WorkstationConfig_ReadinessCheck) ProtoMessage
func (*WorkstationConfig_ReadinessCheck) ProtoMessage()
func (*WorkstationConfig_ReadinessCheck) ProtoReflect
func (x *WorkstationConfig_ReadinessCheck) ProtoReflect() protoreflect.Message
func (*WorkstationConfig_ReadinessCheck) Reset
func (x *WorkstationConfig_ReadinessCheck) Reset()
func (*WorkstationConfig_ReadinessCheck) String
func (x *WorkstationConfig_ReadinessCheck) String() string
Workstation_State
type Workstation_State int32
Whether a workstation is running and ready to receive user requests.
Workstation_STATE_UNSPECIFIED, Workstation_STATE_STARTING, Workstation_STATE_RUNNING, Workstation_STATE_STOPPING, Workstation_STATE_STOPPED
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
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
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.
GenerateAccessToken(ctx context.Context, in *GenerateAccessTokenRequest, opts ...grpc.CallOption) (*GenerateAccessTokenResponse, error)
}
WorkstationsClient is the client API for Workstations service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWorkstationsClient
func NewWorkstationsClient(cc grpc.ClientConnInterface) WorkstationsClient
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.
GenerateAccessToken(context.Context, *GenerateAccessTokenRequest) (*GenerateAccessTokenResponse, error)
}
WorkstationsServer is the server API for Workstations service.