Constants
Workstations_GetWorkstationCluster_FullMethodName, Workstations_ListWorkstationClusters_FullMethodName, Workstations_CreateWorkstationCluster_FullMethodName, Workstations_UpdateWorkstationCluster_FullMethodName, Workstations_DeleteWorkstationCluster_FullMethodName, Workstations_GetWorkstationConfig_FullMethodName, Workstations_ListWorkstationConfigs_FullMethodName, Workstations_ListUsableWorkstationConfigs_FullMethodName, Workstations_CreateWorkstationConfig_FullMethodName, Workstations_UpdateWorkstationConfig_FullMethodName, Workstations_DeleteWorkstationConfig_FullMethodName, Workstations_GetWorkstation_FullMethodName, Workstations_ListWorkstations_FullMethodName, Workstations_ListUsableWorkstations_FullMethodName, Workstations_CreateWorkstation_FullMethodName, Workstations_UpdateWorkstation_FullMethodName, Workstations_DeleteWorkstation_FullMethodName, Workstations_StartWorkstation_FullMethodName, Workstations_StopWorkstation_FullMethodName, Workstations_GenerateAccessToken_FullMethodName
const (
Workstations_GetWorkstationCluster_FullMethodName = "/google.cloud.workstations.v1.Workstations/GetWorkstationCluster"
Workstations_ListWorkstationClusters_FullMethodName = "/google.cloud.workstations.v1.Workstations/ListWorkstationClusters"
Workstations_CreateWorkstationCluster_FullMethodName = "/google.cloud.workstations.v1.Workstations/CreateWorkstationCluster"
Workstations_UpdateWorkstationCluster_FullMethodName = "/google.cloud.workstations.v1.Workstations/UpdateWorkstationCluster"
Workstations_DeleteWorkstationCluster_FullMethodName = "/google.cloud.workstations.v1.Workstations/DeleteWorkstationCluster"
Workstations_GetWorkstationConfig_FullMethodName = "/google.cloud.workstations.v1.Workstations/GetWorkstationConfig"
Workstations_ListWorkstationConfigs_FullMethodName = "/google.cloud.workstations.v1.Workstations/ListWorkstationConfigs"
Workstations_ListUsableWorkstationConfigs_FullMethodName = "/google.cloud.workstations.v1.Workstations/ListUsableWorkstationConfigs"
Workstations_CreateWorkstationConfig_FullMethodName = "/google.cloud.workstations.v1.Workstations/CreateWorkstationConfig"
Workstations_UpdateWorkstationConfig_FullMethodName = "/google.cloud.workstations.v1.Workstations/UpdateWorkstationConfig"
Workstations_DeleteWorkstationConfig_FullMethodName = "/google.cloud.workstations.v1.Workstations/DeleteWorkstationConfig"
Workstations_GetWorkstation_FullMethodName = "/google.cloud.workstations.v1.Workstations/GetWorkstation"
Workstations_ListWorkstations_FullMethodName = "/google.cloud.workstations.v1.Workstations/ListWorkstations"
Workstations_ListUsableWorkstations_FullMethodName = "/google.cloud.workstations.v1.Workstations/ListUsableWorkstations"
Workstations_CreateWorkstation_FullMethodName = "/google.cloud.workstations.v1.Workstations/CreateWorkstation"
Workstations_UpdateWorkstation_FullMethodName = "/google.cloud.workstations.v1.Workstations/UpdateWorkstation"
Workstations_DeleteWorkstation_FullMethodName = "/google.cloud.workstations.v1.Workstations/DeleteWorkstation"
Workstations_StartWorkstation_FullMethodName = "/google.cloud.workstations.v1.Workstations/StartWorkstation"
Workstations_StopWorkstation_FullMethodName = "/google.cloud.workstations.v1.Workstations/StopWorkstation"
Workstations_GenerateAccessToken_FullMethodName = "/google.cloud.workstations.v1.Workstations/GenerateAccessToken"
)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.
WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy_name, WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy_value
var (
WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy_name = map[int32]string{
0: "RECLAIM_POLICY_UNSPECIFIED",
1: "DELETE",
2: "RETAIN",
}
WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy_value = map[string]int32{
"RECLAIM_POLICY_UNSPECIFIED": 0,
"DELETE": 1,
"RETAIN": 2,
}
)Enum value maps for WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy.
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.FileDescriptorWorkstations_ServiceDesc
var Workstations_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.workstations.v1.Workstations",
HandlerType: (*WorkstationsServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetWorkstationCluster",
Handler: _Workstations_GetWorkstationCluster_Handler,
},
{
MethodName: "ListWorkstationClusters",
Handler: _Workstations_ListWorkstationClusters_Handler,
},
{
MethodName: "CreateWorkstationCluster",
Handler: _Workstations_CreateWorkstationCluster_Handler,
},
{
MethodName: "UpdateWorkstationCluster",
Handler: _Workstations_UpdateWorkstationCluster_Handler,
},
{
MethodName: "DeleteWorkstationCluster",
Handler: _Workstations_DeleteWorkstationCluster_Handler,
},
{
MethodName: "GetWorkstationConfig",
Handler: _Workstations_GetWorkstationConfig_Handler,
},
{
MethodName: "ListWorkstationConfigs",
Handler: _Workstations_ListWorkstationConfigs_Handler,
},
{
MethodName: "ListUsableWorkstationConfigs",
Handler: _Workstations_ListUsableWorkstationConfigs_Handler,
},
{
MethodName: "CreateWorkstationConfig",
Handler: _Workstations_CreateWorkstationConfig_Handler,
},
{
MethodName: "UpdateWorkstationConfig",
Handler: _Workstations_UpdateWorkstationConfig_Handler,
},
{
MethodName: "DeleteWorkstationConfig",
Handler: _Workstations_DeleteWorkstationConfig_Handler,
},
{
MethodName: "GetWorkstation",
Handler: _Workstations_GetWorkstation_Handler,
},
{
MethodName: "ListWorkstations",
Handler: _Workstations_ListWorkstations_Handler,
},
{
MethodName: "ListUsableWorkstations",
Handler: _Workstations_ListUsableWorkstations_Handler,
},
{
MethodName: "CreateWorkstation",
Handler: _Workstations_CreateWorkstation_Handler,
},
{
MethodName: "UpdateWorkstation",
Handler: _Workstations_UpdateWorkstation_Handler,
},
{
MethodName: "DeleteWorkstation",
Handler: _Workstations_DeleteWorkstation_Handler,
},
{
MethodName: "StartWorkstation",
Handler: _Workstations_StartWorkstation_Handler,
},
{
MethodName: "StopWorkstation",
Handler: _Workstations_StopWorkstation_Handler,
},
{
MethodName: "GenerateAccessToken",
Handler: _Workstations_GenerateAccessToken_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/workstations/v1/workstations.proto",
}Workstations_ServiceDesc is the grpc.ServiceDesc for Workstations service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions
func RegisterWorkstationsServer
func RegisterWorkstationsServer(s grpc.ServiceRegistrar, srv WorkstationsServer)CreateWorkstationClusterRequest
type CreateWorkstationClusterRequest struct {
// Required. Parent resource name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID to use for the workstation cluster.
WorkstationClusterId string `protobuf:"bytes,2,opt,name=workstation_cluster_id,json=workstationClusterId,proto3" json:"workstation_cluster_id,omitempty"`
// Required. Workstation cluster to create.
WorkstationCluster *WorkstationCluster `protobuf:"bytes,3,opt,name=workstation_cluster,json=workstationCluster,proto3" json:"workstation_cluster,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}Message for creating a CreateWorkstationCluster.
func (*CreateWorkstationClusterRequest) Descriptor
func (*CreateWorkstationClusterRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateWorkstationClusterRequest.ProtoReflect.Descriptor instead.
func (*CreateWorkstationClusterRequest) GetParent
func (x *CreateWorkstationClusterRequest) GetParent() stringfunc (*CreateWorkstationClusterRequest) GetValidateOnly
func (x *CreateWorkstationClusterRequest) GetValidateOnly() boolfunc (*CreateWorkstationClusterRequest) GetWorkstationCluster
func (x *CreateWorkstationClusterRequest) GetWorkstationCluster() *WorkstationClusterfunc (*CreateWorkstationClusterRequest) GetWorkstationClusterId
func (x *CreateWorkstationClusterRequest) GetWorkstationClusterId() stringfunc (*CreateWorkstationClusterRequest) ProtoMessage
func (*CreateWorkstationClusterRequest) ProtoMessage()func (*CreateWorkstationClusterRequest) ProtoReflect
func (x *CreateWorkstationClusterRequest) ProtoReflect() protoreflect.Messagefunc (*CreateWorkstationClusterRequest) Reset
func (x *CreateWorkstationClusterRequest) Reset()func (*CreateWorkstationClusterRequest) String
func (x *CreateWorkstationClusterRequest) String() stringCreateWorkstationConfigRequest
type CreateWorkstationConfigRequest struct {
// Required. Parent resource name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID to use for the workstation configuration.
WorkstationConfigId string `protobuf:"bytes,2,opt,name=workstation_config_id,json=workstationConfigId,proto3" json:"workstation_config_id,omitempty"`
// Required. Workstation configuration to create.
WorkstationConfig *WorkstationConfig `protobuf:"bytes,3,opt,name=workstation_config,json=workstationConfig,proto3" json:"workstation_config,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}Message for creating a CreateWorkstationConfig.
func (*CreateWorkstationConfigRequest) Descriptor
func (*CreateWorkstationConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateWorkstationConfigRequest.ProtoReflect.Descriptor instead.
func (*CreateWorkstationConfigRequest) GetParent
func (x *CreateWorkstationConfigRequest) GetParent() stringfunc (*CreateWorkstationConfigRequest) GetValidateOnly
func (x *CreateWorkstationConfigRequest) GetValidateOnly() boolfunc (*CreateWorkstationConfigRequest) GetWorkstationConfig
func (x *CreateWorkstationConfigRequest) GetWorkstationConfig() *WorkstationConfigfunc (*CreateWorkstationConfigRequest) GetWorkstationConfigId
func (x *CreateWorkstationConfigRequest) GetWorkstationConfigId() stringfunc (*CreateWorkstationConfigRequest) ProtoMessage
func (*CreateWorkstationConfigRequest) ProtoMessage()func (*CreateWorkstationConfigRequest) ProtoReflect
func (x *CreateWorkstationConfigRequest) ProtoReflect() protoreflect.Messagefunc (*CreateWorkstationConfigRequest) Reset
func (x *CreateWorkstationConfigRequest) Reset()func (*CreateWorkstationConfigRequest) String
func (x *CreateWorkstationConfigRequest) String() stringCreateWorkstationRequest
type CreateWorkstationRequest struct {
// Required. Parent resource name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID to use for the workstation.
WorkstationId string `protobuf:"bytes,2,opt,name=workstation_id,json=workstationId,proto3" json:"workstation_id,omitempty"`
// Required. Workstation to create. If source_workstation is specified, the
// user must have `workstations.workstations.use` permission on the source
// workstation, and the Cloud Workstations Service Agent for the project where
// you are creating the new workstation must have compute.disks.createSnapshot
// and compute.snapshots.useReadOnly on the source project.
Workstation *Workstation `protobuf:"bytes,3,opt,name=workstation,proto3" json:"workstation,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}Message for creating a CreateWorkstation.
func (*CreateWorkstationRequest) Descriptor
func (*CreateWorkstationRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateWorkstationRequest.ProtoReflect.Descriptor instead.
func (*CreateWorkstationRequest) GetParent
func (x *CreateWorkstationRequest) GetParent() stringfunc (*CreateWorkstationRequest) GetValidateOnly
func (x *CreateWorkstationRequest) GetValidateOnly() boolfunc (*CreateWorkstationRequest) GetWorkstation
func (x *CreateWorkstationRequest) GetWorkstation() *Workstationfunc (*CreateWorkstationRequest) GetWorkstationId
func (x *CreateWorkstationRequest) GetWorkstationId() stringfunc (*CreateWorkstationRequest) ProtoMessage
func (*CreateWorkstationRequest) ProtoMessage()func (*CreateWorkstationRequest) ProtoReflect
func (x *CreateWorkstationRequest) ProtoReflect() protoreflect.Messagefunc (*CreateWorkstationRequest) Reset
func (x *CreateWorkstationRequest) Reset()func (*CreateWorkstationRequest) String
func (x *CreateWorkstationRequest) String() stringDeleteWorkstationClusterRequest
type DeleteWorkstationClusterRequest struct {
// Required. Name of the workstation cluster to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// apply it.
ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set, the request will be rejected if the latest version of the
// workstation cluster on the server does not have this ETag.
Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. If set, any workstation configurations and workstations in the
// workstation cluster are also deleted. Otherwise, the request only
// works if the workstation cluster has no configurations or workstations.
Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}Message for deleting a workstation cluster.
func (*DeleteWorkstationClusterRequest) Descriptor
func (*DeleteWorkstationClusterRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteWorkstationClusterRequest.ProtoReflect.Descriptor instead.
func (*DeleteWorkstationClusterRequest) GetEtag
func (x *DeleteWorkstationClusterRequest) GetEtag() stringfunc (*DeleteWorkstationClusterRequest) GetForce
func (x *DeleteWorkstationClusterRequest) GetForce() boolfunc (*DeleteWorkstationClusterRequest) GetName
func (x *DeleteWorkstationClusterRequest) GetName() stringfunc (*DeleteWorkstationClusterRequest) GetValidateOnly
func (x *DeleteWorkstationClusterRequest) GetValidateOnly() boolfunc (*DeleteWorkstationClusterRequest) ProtoMessage
func (*DeleteWorkstationClusterRequest) ProtoMessage()func (*DeleteWorkstationClusterRequest) ProtoReflect
func (x *DeleteWorkstationClusterRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteWorkstationClusterRequest) Reset
func (x *DeleteWorkstationClusterRequest) Reset()func (*DeleteWorkstationClusterRequest) String
func (x *DeleteWorkstationClusterRequest) String() stringDeleteWorkstationConfigRequest
type DeleteWorkstationConfigRequest struct {
// Required. Name of the workstation configuration to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set, the request is rejected if the latest version of the
// workstation configuration on the server does not have this ETag.
Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. If set, any workstations in the workstation configuration are
// also deleted. Otherwise, the request works only if the workstation
// configuration has no workstations.
Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}Message for deleting a workstation configuration.
func (*DeleteWorkstationConfigRequest) Descriptor
func (*DeleteWorkstationConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteWorkstationConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteWorkstationConfigRequest) GetEtag
func (x *DeleteWorkstationConfigRequest) GetEtag() stringfunc (*DeleteWorkstationConfigRequest) GetForce
func (x *DeleteWorkstationConfigRequest) GetForce() boolfunc (*DeleteWorkstationConfigRequest) GetName
func (x *DeleteWorkstationConfigRequest) GetName() stringfunc (*DeleteWorkstationConfigRequest) GetValidateOnly
func (x *DeleteWorkstationConfigRequest) GetValidateOnly() boolfunc (*DeleteWorkstationConfigRequest) ProtoMessage
func (*DeleteWorkstationConfigRequest) ProtoMessage()func (*DeleteWorkstationConfigRequest) ProtoReflect
func (x *DeleteWorkstationConfigRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteWorkstationConfigRequest) Reset
func (x *DeleteWorkstationConfigRequest) Reset()func (*DeleteWorkstationConfigRequest) String
func (x *DeleteWorkstationConfigRequest) String() stringDeleteWorkstationRequest
type DeleteWorkstationRequest struct {
// Required. Name of the workstation to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set, the request will be rejected if the latest version of the
// workstation on the server does not have this ETag.
Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}Request message for DeleteWorkstation.
func (*DeleteWorkstationRequest) Descriptor
func (*DeleteWorkstationRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteWorkstationRequest.ProtoReflect.Descriptor instead.
func (*DeleteWorkstationRequest) GetEtag
func (x *DeleteWorkstationRequest) GetEtag() stringfunc (*DeleteWorkstationRequest) GetName
func (x *DeleteWorkstationRequest) GetName() stringfunc (*DeleteWorkstationRequest) GetValidateOnly
func (x *DeleteWorkstationRequest) GetValidateOnly() boolfunc (*DeleteWorkstationRequest) ProtoMessage
func (*DeleteWorkstationRequest) ProtoMessage()func (*DeleteWorkstationRequest) ProtoReflect
func (x *DeleteWorkstationRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteWorkstationRequest) Reset
func (x *DeleteWorkstationRequest) Reset()func (*DeleteWorkstationRequest) String
func (x *DeleteWorkstationRequest) String() stringGenerateAccessTokenRequest
type GenerateAccessTokenRequest struct {
// Desired expiration or lifetime of the access token.
//
// Types that are valid to be assigned to Expiration:
//
// *GenerateAccessTokenRequest_ExpireTime
// *GenerateAccessTokenRequest_Ttl
Expiration isGenerateAccessTokenRequest_Expiration `protobuf_oneof:"expiration"`
// Required. Name of the workstation for which the access token should be
// generated.
Workstation string `protobuf:"bytes,1,opt,name=workstation,proto3" json:"workstation,omitempty"`
// Optional. Port for which the access token should be generated. If
// specified, the generated access token grants access only to the
// specified port of the workstation. If specified, values must be within the
// range [1 - 65535]. If not specified, the generated access token grants
// access to all ports of the workstation.
Port int32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
// contains filtered or unexported fields
}Request message for GenerateAccessToken.
func (*GenerateAccessTokenRequest) Descriptor
func (*GenerateAccessTokenRequest) Descriptor() ([]byte, []int)Deprecated: Use GenerateAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*GenerateAccessTokenRequest) GetExpiration
func (x *GenerateAccessTokenRequest) GetExpiration() isGenerateAccessTokenRequest_Expirationfunc (*GenerateAccessTokenRequest) GetExpireTime
func (x *GenerateAccessTokenRequest) GetExpireTime() *timestamppb.Timestampfunc (*GenerateAccessTokenRequest) GetPort
func (x *GenerateAccessTokenRequest) GetPort() int32func (*GenerateAccessTokenRequest) GetTtl
func (x *GenerateAccessTokenRequest) GetTtl() *durationpb.Durationfunc (*GenerateAccessTokenRequest) GetWorkstation
func (x *GenerateAccessTokenRequest) GetWorkstation() stringfunc (*GenerateAccessTokenRequest) ProtoMessage
func (*GenerateAccessTokenRequest) ProtoMessage()func (*GenerateAccessTokenRequest) ProtoReflect
func (x *GenerateAccessTokenRequest) ProtoReflect() protoreflect.Messagefunc (*GenerateAccessTokenRequest) Reset
func (x *GenerateAccessTokenRequest) Reset()func (*GenerateAccessTokenRequest) String
func (x *GenerateAccessTokenRequest) String() stringGenerateAccessTokenRequest_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() stringfunc (*GenerateAccessTokenResponse) GetExpireTime
func (x *GenerateAccessTokenResponse) GetExpireTime() *timestamppb.Timestampfunc (*GenerateAccessTokenResponse) ProtoMessage
func (*GenerateAccessTokenResponse) ProtoMessage()func (*GenerateAccessTokenResponse) ProtoReflect
func (x *GenerateAccessTokenResponse) ProtoReflect() protoreflect.Messagefunc (*GenerateAccessTokenResponse) Reset
func (x *GenerateAccessTokenResponse) Reset()func (*GenerateAccessTokenResponse) String
func (x *GenerateAccessTokenResponse) String() stringGetWorkstationClusterRequest
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() stringfunc (*GetWorkstationClusterRequest) ProtoMessage
func (*GetWorkstationClusterRequest) ProtoMessage()func (*GetWorkstationClusterRequest) ProtoReflect
func (x *GetWorkstationClusterRequest) ProtoReflect() protoreflect.Messagefunc (*GetWorkstationClusterRequest) Reset
func (x *GetWorkstationClusterRequest) Reset()func (*GetWorkstationClusterRequest) String
func (x *GetWorkstationClusterRequest) String() stringGetWorkstationConfigRequest
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() stringfunc (*GetWorkstationConfigRequest) ProtoMessage
func (*GetWorkstationConfigRequest) ProtoMessage()func (*GetWorkstationConfigRequest) ProtoReflect
func (x *GetWorkstationConfigRequest) ProtoReflect() protoreflect.Messagefunc (*GetWorkstationConfigRequest) Reset
func (x *GetWorkstationConfigRequest) Reset()func (*GetWorkstationConfigRequest) String
func (x *GetWorkstationConfigRequest) String() stringGetWorkstationRequest
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() stringfunc (*GetWorkstationRequest) ProtoMessage
func (*GetWorkstationRequest) ProtoMessage()func (*GetWorkstationRequest) ProtoReflect
func (x *GetWorkstationRequest) ProtoReflect() protoreflect.Messagefunc (*GetWorkstationRequest) Reset
func (x *GetWorkstationRequest) Reset()func (*GetWorkstationRequest) String
func (x *GetWorkstationRequest) String() stringListUsableWorkstationConfigsRequest
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() int32func (*ListUsableWorkstationConfigsRequest) GetPageToken
func (x *ListUsableWorkstationConfigsRequest) GetPageToken() stringfunc (*ListUsableWorkstationConfigsRequest) GetParent
func (x *ListUsableWorkstationConfigsRequest) GetParent() stringfunc (*ListUsableWorkstationConfigsRequest) ProtoMessage
func (*ListUsableWorkstationConfigsRequest) ProtoMessage()func (*ListUsableWorkstationConfigsRequest) ProtoReflect
func (x *ListUsableWorkstationConfigsRequest) ProtoReflect() protoreflect.Messagefunc (*ListUsableWorkstationConfigsRequest) Reset
func (x *ListUsableWorkstationConfigsRequest) Reset()func (*ListUsableWorkstationConfigsRequest) String
func (x *ListUsableWorkstationConfigsRequest) String() stringListUsableWorkstationConfigsResponse
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() stringfunc (*ListUsableWorkstationConfigsResponse) GetUnreachable
func (x *ListUsableWorkstationConfigsResponse) GetUnreachable() []stringfunc (*ListUsableWorkstationConfigsResponse) GetWorkstationConfigs
func (x *ListUsableWorkstationConfigsResponse) GetWorkstationConfigs() []*WorkstationConfigfunc (*ListUsableWorkstationConfigsResponse) ProtoMessage
func (*ListUsableWorkstationConfigsResponse) ProtoMessage()func (*ListUsableWorkstationConfigsResponse) ProtoReflect
func (x *ListUsableWorkstationConfigsResponse) ProtoReflect() protoreflect.Messagefunc (*ListUsableWorkstationConfigsResponse) Reset
func (x *ListUsableWorkstationConfigsResponse) Reset()func (*ListUsableWorkstationConfigsResponse) String
func (x *ListUsableWorkstationConfigsResponse) String() stringListUsableWorkstationsRequest
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() int32func (*ListUsableWorkstationsRequest) GetPageToken
func (x *ListUsableWorkstationsRequest) GetPageToken() stringfunc (*ListUsableWorkstationsRequest) GetParent
func (x *ListUsableWorkstationsRequest) GetParent() stringfunc (*ListUsableWorkstationsRequest) ProtoMessage
func (*ListUsableWorkstationsRequest) ProtoMessage()func (*ListUsableWorkstationsRequest) ProtoReflect
func (x *ListUsableWorkstationsRequest) ProtoReflect() protoreflect.Messagefunc (*ListUsableWorkstationsRequest) Reset
func (x *ListUsableWorkstationsRequest) Reset()func (*ListUsableWorkstationsRequest) String
func (x *ListUsableWorkstationsRequest) String() stringListUsableWorkstationsResponse
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() stringfunc (*ListUsableWorkstationsResponse) GetUnreachable
func (x *ListUsableWorkstationsResponse) GetUnreachable() []stringfunc (*ListUsableWorkstationsResponse) GetWorkstations
func (x *ListUsableWorkstationsResponse) GetWorkstations() []*Workstationfunc (*ListUsableWorkstationsResponse) ProtoMessage
func (*ListUsableWorkstationsResponse) ProtoMessage()func (*ListUsableWorkstationsResponse) ProtoReflect
func (x *ListUsableWorkstationsResponse) ProtoReflect() protoreflect.Messagefunc (*ListUsableWorkstationsResponse) Reset
func (x *ListUsableWorkstationsResponse) Reset()func (*ListUsableWorkstationsResponse) String
func (x *ListUsableWorkstationsResponse) String() stringListWorkstationClustersRequest
type ListWorkstationClustersRequest struct {
// Required. Parent resource name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Maximum number of items to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. next_page_token value returned from a previous List request, if
// any.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filter the WorkstationClusters to be listed. Possible filters are
// described in https://google.aip.dev/160.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Request message for ListWorkstationClusters.
func (*ListWorkstationClustersRequest) Descriptor
func (*ListWorkstationClustersRequest) Descriptor() ([]byte, []int)Deprecated: Use ListWorkstationClustersRequest.ProtoReflect.Descriptor instead.
func (*ListWorkstationClustersRequest) GetFilter
func (x *ListWorkstationClustersRequest) GetFilter() stringfunc (*ListWorkstationClustersRequest) GetPageSize
func (x *ListWorkstationClustersRequest) GetPageSize() int32func (*ListWorkstationClustersRequest) GetPageToken
func (x *ListWorkstationClustersRequest) GetPageToken() stringfunc (*ListWorkstationClustersRequest) GetParent
func (x *ListWorkstationClustersRequest) GetParent() stringfunc (*ListWorkstationClustersRequest) ProtoMessage
func (*ListWorkstationClustersRequest) ProtoMessage()func (*ListWorkstationClustersRequest) ProtoReflect
func (x *ListWorkstationClustersRequest) ProtoReflect() protoreflect.Messagefunc (*ListWorkstationClustersRequest) Reset
func (x *ListWorkstationClustersRequest) Reset()func (*ListWorkstationClustersRequest) String
func (x *ListWorkstationClustersRequest) String() stringListWorkstationClustersResponse
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() stringfunc (*ListWorkstationClustersResponse) GetUnreachable
func (x *ListWorkstationClustersResponse) GetUnreachable() []stringfunc (*ListWorkstationClustersResponse) GetWorkstationClusters
func (x *ListWorkstationClustersResponse) GetWorkstationClusters() []*WorkstationClusterfunc (*ListWorkstationClustersResponse) ProtoMessage
func (*ListWorkstationClustersResponse) ProtoMessage()func (*ListWorkstationClustersResponse) ProtoReflect
func (x *ListWorkstationClustersResponse) ProtoReflect() protoreflect.Messagefunc (*ListWorkstationClustersResponse) Reset
func (x *ListWorkstationClustersResponse) Reset()func (*ListWorkstationClustersResponse) String
func (x *ListWorkstationClustersResponse) String() stringListWorkstationConfigsRequest
type ListWorkstationConfigsRequest struct {
// Required. Parent resource name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Maximum number of items to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. next_page_token value returned from a previous List request, if
// any.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filter the WorkstationConfigs to be listed. Possible filters are
// described in https://google.aip.dev/160.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Request message for ListWorkstationConfigs.
func (*ListWorkstationConfigsRequest) Descriptor
func (*ListWorkstationConfigsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListWorkstationConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListWorkstationConfigsRequest) GetFilter
func (x *ListWorkstationConfigsRequest) GetFilter() stringfunc (*ListWorkstationConfigsRequest) GetPageSize
func (x *ListWorkstationConfigsRequest) GetPageSize() int32func (*ListWorkstationConfigsRequest) GetPageToken
func (x *ListWorkstationConfigsRequest) GetPageToken() stringfunc (*ListWorkstationConfigsRequest) GetParent
func (x *ListWorkstationConfigsRequest) GetParent() stringfunc (*ListWorkstationConfigsRequest) ProtoMessage
func (*ListWorkstationConfigsRequest) ProtoMessage()func (*ListWorkstationConfigsRequest) ProtoReflect
func (x *ListWorkstationConfigsRequest) ProtoReflect() protoreflect.Messagefunc (*ListWorkstationConfigsRequest) Reset
func (x *ListWorkstationConfigsRequest) Reset()func (*ListWorkstationConfigsRequest) String
func (x *ListWorkstationConfigsRequest) String() stringListWorkstationConfigsResponse
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() stringfunc (*ListWorkstationConfigsResponse) GetUnreachable
func (x *ListWorkstationConfigsResponse) GetUnreachable() []stringfunc (*ListWorkstationConfigsResponse) GetWorkstationConfigs
func (x *ListWorkstationConfigsResponse) GetWorkstationConfigs() []*WorkstationConfigfunc (*ListWorkstationConfigsResponse) ProtoMessage
func (*ListWorkstationConfigsResponse) ProtoMessage()func (*ListWorkstationConfigsResponse) ProtoReflect
func (x *ListWorkstationConfigsResponse) ProtoReflect() protoreflect.Messagefunc (*ListWorkstationConfigsResponse) Reset
func (x *ListWorkstationConfigsResponse) Reset()func (*ListWorkstationConfigsResponse) String
func (x *ListWorkstationConfigsResponse) String() stringListWorkstationsRequest
type ListWorkstationsRequest struct {
// Required. Parent resource name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Maximum number of items to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. next_page_token value returned from a previous List request, if
// any.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filter the Workstations to be listed. Possible filters are
// described in https://google.aip.dev/160.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Request message for ListWorkstations.
func (*ListWorkstationsRequest) Descriptor
func (*ListWorkstationsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListWorkstationsRequest.ProtoReflect.Descriptor instead.
func (*ListWorkstationsRequest) GetFilter
func (x *ListWorkstationsRequest) GetFilter() stringfunc (*ListWorkstationsRequest) GetPageSize
func (x *ListWorkstationsRequest) GetPageSize() int32func (*ListWorkstationsRequest) GetPageToken
func (x *ListWorkstationsRequest) GetPageToken() stringfunc (*ListWorkstationsRequest) GetParent
func (x *ListWorkstationsRequest) GetParent() stringfunc (*ListWorkstationsRequest) ProtoMessage
func (*ListWorkstationsRequest) ProtoMessage()func (*ListWorkstationsRequest) ProtoReflect
func (x *ListWorkstationsRequest) ProtoReflect() protoreflect.Messagefunc (*ListWorkstationsRequest) Reset
func (x *ListWorkstationsRequest) Reset()func (*ListWorkstationsRequest) String
func (x *ListWorkstationsRequest) String() stringListWorkstationsResponse
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() stringfunc (*ListWorkstationsResponse) GetUnreachable
func (x *ListWorkstationsResponse) GetUnreachable() []stringfunc (*ListWorkstationsResponse) GetWorkstations
func (x *ListWorkstationsResponse) GetWorkstations() []*Workstationfunc (*ListWorkstationsResponse) ProtoMessage
func (*ListWorkstationsResponse) ProtoMessage()func (*ListWorkstationsResponse) ProtoReflect
func (x *ListWorkstationsResponse) ProtoReflect() protoreflect.Messagefunc (*ListWorkstationsResponse) Reset
func (x *ListWorkstationsResponse) Reset()func (*ListWorkstationsResponse) String
func (x *ListWorkstationsResponse) String() stringOperationMetadata
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() stringfunc (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestampfunc (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestampfunc (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() boolfunc (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() stringfunc (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() stringfunc (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() stringfunc (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Messagefunc (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()func (*OperationMetadata) String
func (x *OperationMetadata) String() stringStartWorkstationRequest
type StartWorkstationRequest struct {
// Required. Name of the workstation to start.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set, the request will be rejected if the latest version of the
// workstation on the server does not have this ETag.
Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. If set, the workstation starts using the boost configuration with
// the specified ID.
BoostConfig string `protobuf:"bytes,4,opt,name=boost_config,json=boostConfig,proto3" json:"boost_config,omitempty"`
// contains filtered or unexported fields
}Request message for StartWorkstation.
func (*StartWorkstationRequest) Descriptor
func (*StartWorkstationRequest) Descriptor() ([]byte, []int)Deprecated: Use StartWorkstationRequest.ProtoReflect.Descriptor instead.
func (*StartWorkstationRequest) GetBoostConfig
func (x *StartWorkstationRequest) GetBoostConfig() stringfunc (*StartWorkstationRequest) GetEtag
func (x *StartWorkstationRequest) GetEtag() stringfunc (*StartWorkstationRequest) GetName
func (x *StartWorkstationRequest) GetName() stringfunc (*StartWorkstationRequest) GetValidateOnly
func (x *StartWorkstationRequest) GetValidateOnly() boolfunc (*StartWorkstationRequest) ProtoMessage
func (*StartWorkstationRequest) ProtoMessage()func (*StartWorkstationRequest) ProtoReflect
func (x *StartWorkstationRequest) ProtoReflect() protoreflect.Messagefunc (*StartWorkstationRequest) Reset
func (x *StartWorkstationRequest) Reset()func (*StartWorkstationRequest) String
func (x *StartWorkstationRequest) String() stringStopWorkstationRequest
type StopWorkstationRequest struct {
// Required. Name of the workstation to stop.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set, the request will be rejected if the latest version of the
// workstation on the server does not have this ETag.
Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}Request message for StopWorkstation.
func (*StopWorkstationRequest) Descriptor
func (*StopWorkstationRequest) Descriptor() ([]byte, []int)Deprecated: Use StopWorkstationRequest.ProtoReflect.Descriptor instead.
func (*StopWorkstationRequest) GetEtag
func (x *StopWorkstationRequest) GetEtag() stringfunc (*StopWorkstationRequest) GetName
func (x *StopWorkstationRequest) GetName() stringfunc (*StopWorkstationRequest) GetValidateOnly
func (x *StopWorkstationRequest) GetValidateOnly() boolfunc (*StopWorkstationRequest) ProtoMessage
func (*StopWorkstationRequest) ProtoMessage()func (*StopWorkstationRequest) ProtoReflect
func (x *StopWorkstationRequest) ProtoReflect() protoreflect.Messagefunc (*StopWorkstationRequest) Reset
func (x *StopWorkstationRequest) Reset()func (*StopWorkstationRequest) String
func (x *StopWorkstationRequest) String() stringUnimplementedWorkstationsServer
type UnimplementedWorkstationsServer struct {
}UnimplementedWorkstationsServer should be embedded to have forward compatible implementations.
func (UnimplementedWorkstationsServer) CreateWorkstation
func (UnimplementedWorkstationsServer) CreateWorkstation(context.Context, *CreateWorkstationRequest) (*longrunningpb.Operation, error)func (UnimplementedWorkstationsServer) CreateWorkstationCluster
func (UnimplementedWorkstationsServer) CreateWorkstationCluster(context.Context, *CreateWorkstationClusterRequest) (*longrunningpb.Operation, error)func (UnimplementedWorkstationsServer) CreateWorkstationConfig
func (UnimplementedWorkstationsServer) CreateWorkstationConfig(context.Context, *CreateWorkstationConfigRequest) (*longrunningpb.Operation, error)func (UnimplementedWorkstationsServer) DeleteWorkstation
func (UnimplementedWorkstationsServer) DeleteWorkstation(context.Context, *DeleteWorkstationRequest) (*longrunningpb.Operation, error)func (UnimplementedWorkstationsServer) DeleteWorkstationCluster
func (UnimplementedWorkstationsServer) DeleteWorkstationCluster(context.Context, *DeleteWorkstationClusterRequest) (*longrunningpb.Operation, error)func (UnimplementedWorkstationsServer) DeleteWorkstationConfig
func (UnimplementedWorkstationsServer) DeleteWorkstationConfig(context.Context, *DeleteWorkstationConfigRequest) (*longrunningpb.Operation, error)func (UnimplementedWorkstationsServer) GenerateAccessToken
func (UnimplementedWorkstationsServer) GenerateAccessToken(context.Context, *GenerateAccessTokenRequest) (*GenerateAccessTokenResponse, error)func (UnimplementedWorkstationsServer) GetWorkstation
func (UnimplementedWorkstationsServer) GetWorkstation(context.Context, *GetWorkstationRequest) (*Workstation, error)func (UnimplementedWorkstationsServer) GetWorkstationCluster
func (UnimplementedWorkstationsServer) GetWorkstationCluster(context.Context, *GetWorkstationClusterRequest) (*WorkstationCluster, error)func (UnimplementedWorkstationsServer) GetWorkstationConfig
func (UnimplementedWorkstationsServer) GetWorkstationConfig(context.Context, *GetWorkstationConfigRequest) (*WorkstationConfig, error)func (UnimplementedWorkstationsServer) ListUsableWorkstationConfigs
func (UnimplementedWorkstationsServer) ListUsableWorkstationConfigs(context.Context, *ListUsableWorkstationConfigsRequest) (*ListUsableWorkstationConfigsResponse, error)func (UnimplementedWorkstationsServer) ListUsableWorkstations
func (UnimplementedWorkstationsServer) ListUsableWorkstations(context.Context, *ListUsableWorkstationsRequest) (*ListUsableWorkstationsResponse, error)func (UnimplementedWorkstationsServer) ListWorkstationClusters
func (UnimplementedWorkstationsServer) ListWorkstationClusters(context.Context, *ListWorkstationClustersRequest) (*ListWorkstationClustersResponse, error)func (UnimplementedWorkstationsServer) ListWorkstationConfigs
func (UnimplementedWorkstationsServer) ListWorkstationConfigs(context.Context, *ListWorkstationConfigsRequest) (*ListWorkstationConfigsResponse, error)func (UnimplementedWorkstationsServer) ListWorkstations
func (UnimplementedWorkstationsServer) ListWorkstations(context.Context, *ListWorkstationsRequest) (*ListWorkstationsResponse, error)func (UnimplementedWorkstationsServer) 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)UnsafeWorkstationsServer
type UnsafeWorkstationsServer interface {
// contains filtered or unexported methods
}UnsafeWorkstationsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WorkstationsServer will result in compilation errors.
UpdateWorkstationClusterRequest
type UpdateWorkstationClusterRequest struct {
// Required. Workstation cluster to update.
WorkstationCluster *WorkstationCluster `protobuf:"bytes,1,opt,name=workstation_cluster,json=workstationCluster,proto3" json:"workstation_cluster,omitempty"`
// Required. Mask that specifies which fields in the workstation cluster
// should be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set, and the workstation cluster is not found, a new
// workstation cluster will be created. In this situation, update_mask is
// ignored.
AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// contains filtered or unexported fields
}Request message for UpdateWorkstationCluster.
func (*UpdateWorkstationClusterRequest) Descriptor
func (*UpdateWorkstationClusterRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateWorkstationClusterRequest.ProtoReflect.Descriptor instead.
func (*UpdateWorkstationClusterRequest) GetAllowMissing
func (x *UpdateWorkstationClusterRequest) GetAllowMissing() boolfunc (*UpdateWorkstationClusterRequest) GetUpdateMask
func (x *UpdateWorkstationClusterRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateWorkstationClusterRequest) GetValidateOnly
func (x *UpdateWorkstationClusterRequest) GetValidateOnly() boolfunc (*UpdateWorkstationClusterRequest) GetWorkstationCluster
func (x *UpdateWorkstationClusterRequest) GetWorkstationCluster() *WorkstationClusterfunc (*UpdateWorkstationClusterRequest) ProtoMessage
func (*UpdateWorkstationClusterRequest) ProtoMessage()func (*UpdateWorkstationClusterRequest) ProtoReflect
func (x *UpdateWorkstationClusterRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateWorkstationClusterRequest) Reset
func (x *UpdateWorkstationClusterRequest) Reset()func (*UpdateWorkstationClusterRequest) String
func (x *UpdateWorkstationClusterRequest) String() stringUpdateWorkstationConfigRequest
type UpdateWorkstationConfigRequest struct {
// Required. Workstation configuration to update.
WorkstationConfig *WorkstationConfig `protobuf:"bytes,1,opt,name=workstation_config,json=workstationConfig,proto3" json:"workstation_config,omitempty"`
// Required. Mask specifying which fields in the workstation configuration
// should be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set and the workstation configuration is not found, a new
// workstation configuration will be created. In this situation,
// update_mask is ignored.
AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// contains filtered or unexported fields
}Request message for UpdateWorkstationConfig.
func (*UpdateWorkstationConfigRequest) Descriptor
func (*UpdateWorkstationConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateWorkstationConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateWorkstationConfigRequest) GetAllowMissing
func (x *UpdateWorkstationConfigRequest) GetAllowMissing() boolfunc (*UpdateWorkstationConfigRequest) GetUpdateMask
func (x *UpdateWorkstationConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateWorkstationConfigRequest) GetValidateOnly
func (x *UpdateWorkstationConfigRequest) GetValidateOnly() boolfunc (*UpdateWorkstationConfigRequest) GetWorkstationConfig
func (x *UpdateWorkstationConfigRequest) GetWorkstationConfig() *WorkstationConfigfunc (*UpdateWorkstationConfigRequest) ProtoMessage
func (*UpdateWorkstationConfigRequest) ProtoMessage()func (*UpdateWorkstationConfigRequest) ProtoReflect
func (x *UpdateWorkstationConfigRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateWorkstationConfigRequest) Reset
func (x *UpdateWorkstationConfigRequest) Reset()func (*UpdateWorkstationConfigRequest) String
func (x *UpdateWorkstationConfigRequest) String() stringUpdateWorkstationRequest
type UpdateWorkstationRequest struct {
// Required. Workstation to update.
Workstation *Workstation `protobuf:"bytes,1,opt,name=workstation,proto3" json:"workstation,omitempty"`
// Required. Mask specifying which fields in the workstation should be
// updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. If set, validate the request and preview the result, but do not
// actually apply it.
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set and the workstation is not found, a new workstation is
// created. In this situation, update_mask is ignored.
AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// contains filtered or unexported fields
}Request message for UpdateWorkstation.
func (*UpdateWorkstationRequest) Descriptor
func (*UpdateWorkstationRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateWorkstationRequest.ProtoReflect.Descriptor instead.
func (*UpdateWorkstationRequest) GetAllowMissing
func (x *UpdateWorkstationRequest) GetAllowMissing() boolfunc (*UpdateWorkstationRequest) GetUpdateMask
func (x *UpdateWorkstationRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateWorkstationRequest) GetValidateOnly
func (x *UpdateWorkstationRequest) GetValidateOnly() boolfunc (*UpdateWorkstationRequest) GetWorkstation
func (x *UpdateWorkstationRequest) GetWorkstation() *Workstationfunc (*UpdateWorkstationRequest) ProtoMessage
func (*UpdateWorkstationRequest) ProtoMessage()func (*UpdateWorkstationRequest) ProtoReflect
func (x *UpdateWorkstationRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateWorkstationRequest) Reset
func (x *UpdateWorkstationRequest) Reset()func (*UpdateWorkstationRequest) String
func (x *UpdateWorkstationRequest) String() stringWorkstation
type Workstation struct {
// Identifier. Full name of this workstation.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Human-readable name for this workstation.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. A system-assigned unique identifier for this workstation.
Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. Indicates whether this workstation is currently being updated
// to match its intended state.
Reconciling bool `protobuf:"varint,4,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
// Optional. Client-specified annotations.
Annotations map[string]string `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional.
// [Labels](https://cloud.google.com/workstations/docs/label-resources) that
// are applied to the workstation and that are also propagated to the
// underlying Compute Engine resources.
Labels map[string]string `protobuf:"bytes,13,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. Time when this workstation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when this workstation was most recently updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. Time when this workstation was most recently successfully
// started, regardless of the workstation's initial state.
StartTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Output only. Time when this workstation was soft-deleted.
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
// Optional. Checksum computed by the server. May be sent on update and delete
// requests to make sure that the client has an up-to-date value before
// proceeding.
Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. Directories to persist across workstation sessions.
PersistentDirectories []*Workstation_WorkstationPersistentDirectory `protobuf:"bytes,25,rep,name=persistent_directories,json=persistentDirectories,proto3" json:"persistent_directories,omitempty"`
// Output only. Current state of the workstation.
State Workstation_State `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.workstations.v1.Workstation_State" json:"state,omitempty"`
// Output only. Host to which clients can send HTTPS traffic that will be
// received by the workstation. Authorized traffic will be received to the
// workstation as HTTP on port 80. To send traffic to a different port,
// clients may prefix the host with the destination port in the format
// `{port}-{host}`.
Host string `protobuf:"bytes,11,opt,name=host,proto3" json:"host,omitempty"`
// Optional. Environment variables passed to the workstation container's
// entrypoint.
Env map[string]string `protobuf:"bytes,12,rep,name=env,proto3" json:"env,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. The name of the Google Cloud KMS encryption key used to
// encrypt this workstation. The KMS key can only be configured in the
// WorkstationConfig. The expected format is
// `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
KmsKey string `protobuf:"bytes,15,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"`
// Optional. The source workstation from which this workstation's persistent
// directories were cloned on creation.
SourceWorkstation string `protobuf:"bytes,17,opt,name=source_workstation,json=sourceWorkstation,proto3" json:"source_workstation,omitempty"`
// Optional. Output only. Runtime host for the workstation when in
// STATE_RUNNING.
RuntimeHost *Workstation_RuntimeHost `protobuf:"bytes,21,opt,name=runtime_host,json=runtimeHost,proto3" json:"runtime_host,omitempty"`
// contains filtered or unexported fields
}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]stringfunc (*Workstation) GetCreateTime
func (x *Workstation) GetCreateTime() *timestamppb.Timestampfunc (*Workstation) GetDeleteTime
func (x *Workstation) GetDeleteTime() *timestamppb.Timestampfunc (*Workstation) GetDisplayName
func (x *Workstation) GetDisplayName() stringfunc (*Workstation) GetEnv
func (x *Workstation) GetEnv() map[string]stringfunc (*Workstation) GetEtag
func (x *Workstation) GetEtag() stringfunc (*Workstation) GetHost
func (x *Workstation) GetHost() stringfunc (*Workstation) GetKmsKey
func (x *Workstation) GetKmsKey() stringfunc (*Workstation) GetLabels
func (x *Workstation) GetLabels() map[string]stringfunc (*Workstation) GetName
func (x *Workstation) GetName() stringfunc (*Workstation) GetPersistentDirectories
func (x *Workstation) GetPersistentDirectories() []*Workstation_WorkstationPersistentDirectoryfunc (*Workstation) GetReconciling
func (x *Workstation) GetReconciling() boolfunc (*Workstation) GetRuntimeHost
func (x *Workstation) GetRuntimeHost() *Workstation_RuntimeHostfunc (*Workstation) GetSourceWorkstation
func (x *Workstation) GetSourceWorkstation() stringfunc (*Workstation) GetStartTime
func (x *Workstation) GetStartTime() *timestamppb.Timestampfunc (*Workstation) GetState
func (x *Workstation) GetState() Workstation_Statefunc (*Workstation) GetUid
func (x *Workstation) GetUid() stringfunc (*Workstation) GetUpdateTime
func (x *Workstation) GetUpdateTime() *timestamppb.Timestampfunc (*Workstation) ProtoMessage
func (*Workstation) ProtoMessage()func (*Workstation) ProtoReflect
func (x *Workstation) ProtoReflect() protoreflect.Messagefunc (*Workstation) Reset
func (x *Workstation) Reset()func (*Workstation) String
func (x *Workstation) String() stringWorkstationCluster
type WorkstationCluster struct {
// Identifier. Full name of this workstation cluster.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Human-readable name for this workstation cluster.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. A system-assigned unique identifier for this workstation
// cluster.
Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. Indicates whether this workstation cluster is currently being
// updated to match its intended state.
Reconciling bool `protobuf:"varint,4,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
// Optional. Client-specified annotations.
Annotations map[string]string `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional.
// [Labels](https://cloud.google.com/workstations/docs/label-resources) that
// are applied to the workstation cluster and that are also propagated to the
// underlying Compute Engine resources.
Labels map[string]string `protobuf:"bytes,15,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. Time when this workstation cluster was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when this workstation cluster was most recently updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. Time when this workstation cluster was soft-deleted.
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
// Optional. Checksum computed by the server. May be sent on update and delete
// requests to make sure that the client has an up-to-date value before
// proceeding.
Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
// Immutable. Name of the Compute Engine network in which instances associated
// with this workstation cluster will be created.
Network string `protobuf:"bytes,10,opt,name=network,proto3" json:"network,omitempty"`
// Immutable. Name of the Compute Engine subnetwork in which instances
// associated with this workstation cluster will be created. Must be part of
// the subnetwork specified for this workstation cluster.
Subnetwork string `protobuf:"bytes,11,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
// Output only. The private IP address of the control plane for this
// workstation cluster. Workstation VMs need access to this IP address to work
// with the service, so make sure that your firewall rules allow egress from
// the workstation VMs to this address.
ControlPlaneIp string `protobuf:"bytes,16,opt,name=control_plane_ip,json=controlPlaneIp,proto3" json:"control_plane_ip,omitempty"`
// Optional. Configuration for private workstation cluster.
PrivateClusterConfig *WorkstationCluster_PrivateClusterConfig `protobuf:"bytes,12,opt,name=private_cluster_config,json=privateClusterConfig,proto3" json:"private_cluster_config,omitempty"`
// Optional. Configuration options for a custom domain.
DomainConfig *WorkstationCluster_DomainConfig `protobuf:"bytes,17,opt,name=domain_config,json=domainConfig,proto3" json:"domain_config,omitempty"`
// Output only. Whether this workstation cluster is in degraded mode, in which
// case it may require user action to restore full functionality. The
// [conditions][google.cloud.workstations.v1.WorkstationCluster.conditions]
// field contains detailed information about the status of the cluster.
Degraded bool `protobuf:"varint,13,opt,name=degraded,proto3" json:"degraded,omitempty"`
// Output only. Status conditions describing the workstation cluster's current
// state.
Conditions []*status.Status `protobuf:"bytes,14,rep,name=conditions,proto3" json:"conditions,omitempty"`
// Optional. Input only. Immutable. Tag keys/values directly bound to this
// resource. For example:
//
// "123/environment": "production",
// "123/costCenter": "marketing"
Tags map[string]string `protobuf:"bytes,20,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. Configuration options for Cluster HTTP Gateway.
GatewayConfig *WorkstationCluster_GatewayConfig `protobuf:"bytes,21,opt,name=gateway_config,json=gatewayConfig,proto3" json:"gateway_config,omitempty"`
// Optional. Specifies the redirect URL for unauthorized requests received by
// workstation VMs in this cluster.
//
// Redirects to this endpoint will send a base64 encoded `state` query param
// containing the target workstation name and original request hostname. The
// endpoint is responsible for retrieving a token using `GenerateAccessToken`
// and redirecting back to the original hostname with the token.
WorkstationAuthorizationUrl string `protobuf:"bytes,22,opt,name=workstation_authorization_url,json=workstationAuthorizationUrl,proto3" json:"workstation_authorization_url,omitempty"`
// Optional. Specifies the launch URL for workstations in this cluster.
// Requests sent to unstarted workstations will be redirected to this URL.
//
// Requests redirected to the launch endpoint will be sent with a
// `workstation` and `project` query parameter containing the full workstation
// resource name and project ID, respectively. The launch endpoint is
// responsible for starting the workstation, polling it until it reaches
// `STATE_RUNNING`, and then issuing a redirect to the workstation's host URL.
WorkstationLaunchUrl string `protobuf:"bytes,23,opt,name=workstation_launch_url,json=workstationLaunchUrl,proto3" json:"workstation_launch_url,omitempty"`
// contains filtered or unexported fields
}A workstation cluster resource in the Cloud Workstations API.
Defines a group of workstations in a particular region and the VPC network they're attached to.
func (*WorkstationCluster) Descriptor
func (*WorkstationCluster) Descriptor() ([]byte, []int)Deprecated: Use WorkstationCluster.ProtoReflect.Descriptor instead.
func (*WorkstationCluster) GetAnnotations
func (x *WorkstationCluster) GetAnnotations() map[string]stringfunc (*WorkstationCluster) GetConditions
func (x *WorkstationCluster) GetConditions() []*status.Statusfunc (*WorkstationCluster) GetControlPlaneIp
func (x *WorkstationCluster) GetControlPlaneIp() stringfunc (*WorkstationCluster) GetCreateTime
func (x *WorkstationCluster) GetCreateTime() *timestamppb.Timestampfunc (*WorkstationCluster) GetDegraded
func (x *WorkstationCluster) GetDegraded() boolfunc (*WorkstationCluster) GetDeleteTime
func (x *WorkstationCluster) GetDeleteTime() *timestamppb.Timestampfunc (*WorkstationCluster) GetDisplayName
func (x *WorkstationCluster) GetDisplayName() stringfunc (*WorkstationCluster) GetDomainConfig
func (x *WorkstationCluster) GetDomainConfig() *WorkstationCluster_DomainConfigfunc (*WorkstationCluster) GetEtag
func (x *WorkstationCluster) GetEtag() stringfunc (*WorkstationCluster) GetGatewayConfig
func (x *WorkstationCluster) GetGatewayConfig() *WorkstationCluster_GatewayConfigfunc (*WorkstationCluster) GetLabels
func (x *WorkstationCluster) GetLabels() map[string]stringfunc (*WorkstationCluster) GetName
func (x *WorkstationCluster) GetName() stringfunc (*WorkstationCluster) GetNetwork
func (x *WorkstationCluster) GetNetwork() stringfunc (*WorkstationCluster) GetPrivateClusterConfig
func (x *WorkstationCluster) GetPrivateClusterConfig() *WorkstationCluster_PrivateClusterConfigfunc (*WorkstationCluster) GetReconciling
func (x *WorkstationCluster) GetReconciling() boolfunc (*WorkstationCluster) GetSubnetwork
func (x *WorkstationCluster) GetSubnetwork() stringfunc (*WorkstationCluster) GetTags
func (x *WorkstationCluster) GetTags() map[string]stringfunc (*WorkstationCluster) GetUid
func (x *WorkstationCluster) GetUid() stringfunc (*WorkstationCluster) GetUpdateTime
func (x *WorkstationCluster) GetUpdateTime() *timestamppb.Timestampfunc (*WorkstationCluster) GetWorkstationAuthorizationUrl
func (x *WorkstationCluster) GetWorkstationAuthorizationUrl() stringfunc (*WorkstationCluster) GetWorkstationLaunchUrl
func (x *WorkstationCluster) GetWorkstationLaunchUrl() stringfunc (*WorkstationCluster) ProtoMessage
func (*WorkstationCluster) ProtoMessage()func (*WorkstationCluster) ProtoReflect
func (x *WorkstationCluster) ProtoReflect() protoreflect.Messagefunc (*WorkstationCluster) Reset
func (x *WorkstationCluster) Reset()func (*WorkstationCluster) String
func (x *WorkstationCluster) String() stringWorkstationCluster_DomainConfig
type WorkstationCluster_DomainConfig struct {
// Immutable. Domain used by Workstations for HTTP ingress.
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
// contains filtered or unexported fields
}Configuration options for a custom domain.
func (*WorkstationCluster_DomainConfig) Descriptor
func (*WorkstationCluster_DomainConfig) Descriptor() ([]byte, []int)Deprecated: Use WorkstationCluster_DomainConfig.ProtoReflect.Descriptor instead.
func (*WorkstationCluster_DomainConfig) GetDomain
func (x *WorkstationCluster_DomainConfig) GetDomain() stringfunc (*WorkstationCluster_DomainConfig) ProtoMessage
func (*WorkstationCluster_DomainConfig) ProtoMessage()func (*WorkstationCluster_DomainConfig) ProtoReflect
func (x *WorkstationCluster_DomainConfig) ProtoReflect() protoreflect.Messagefunc (*WorkstationCluster_DomainConfig) Reset
func (x *WorkstationCluster_DomainConfig) Reset()func (*WorkstationCluster_DomainConfig) String
func (x *WorkstationCluster_DomainConfig) String() stringWorkstationCluster_GatewayConfig
type WorkstationCluster_GatewayConfig struct {
// Optional. Whether HTTP/2 is enabled for this workstation cluster.
// Defaults to false.
Http2Enabled bool `protobuf:"varint,1,opt,name=http2_enabled,json=http2Enabled,proto3" json:"http2_enabled,omitempty"`
// contains filtered or unexported fields
}Configuration options for Cluster HTTP Gateway.
func (*WorkstationCluster_GatewayConfig) Descriptor
func (*WorkstationCluster_GatewayConfig) Descriptor() ([]byte, []int)Deprecated: Use WorkstationCluster_GatewayConfig.ProtoReflect.Descriptor instead.
func (*WorkstationCluster_GatewayConfig) GetHttp2Enabled
func (x *WorkstationCluster_GatewayConfig) GetHttp2Enabled() boolfunc (*WorkstationCluster_GatewayConfig) ProtoMessage
func (*WorkstationCluster_GatewayConfig) ProtoMessage()func (*WorkstationCluster_GatewayConfig) ProtoReflect
func (x *WorkstationCluster_GatewayConfig) ProtoReflect() protoreflect.Messagefunc (*WorkstationCluster_GatewayConfig) Reset
func (x *WorkstationCluster_GatewayConfig) Reset()func (*WorkstationCluster_GatewayConfig) String
func (x *WorkstationCluster_GatewayConfig) String() stringWorkstationCluster_PrivateClusterConfig
type WorkstationCluster_PrivateClusterConfig struct {
// Immutable. Whether Workstations endpoint is private.
EnablePrivateEndpoint bool `protobuf:"varint,1,opt,name=enable_private_endpoint,json=enablePrivateEndpoint,proto3" json:"enable_private_endpoint,omitempty"`
// Output only. Hostname for the workstation cluster. This field will be
// populated only when private endpoint is enabled. To access workstations
// in the workstation cluster, create a new DNS zone mapping this domain
// name to an internal IP address and a forwarding rule mapping that address
// to the service attachment.
ClusterHostname string `protobuf:"bytes,2,opt,name=cluster_hostname,json=clusterHostname,proto3" json:"cluster_hostname,omitempty"`
// Output only. Service attachment URI for the workstation cluster. The
// service attachment is created when private endpoint is enabled. To access
// workstations in the workstation cluster, configure access to the managed
// service using [Private Service
// Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
ServiceAttachmentUri string `protobuf:"bytes,3,opt,name=service_attachment_uri,json=serviceAttachmentUri,proto3" json:"service_attachment_uri,omitempty"`
// Optional. Additional projects that are allowed to attach to the
// workstation cluster's service attachment. By default, the workstation
// cluster's project and the VPC host project (if different) are allowed.
AllowedProjects []string `protobuf:"bytes,4,rep,name=allowed_projects,json=allowedProjects,proto3" json:"allowed_projects,omitempty"`
// contains filtered or unexported fields
}Configuration options for private workstation clusters.
func (*WorkstationCluster_PrivateClusterConfig) Descriptor
func (*WorkstationCluster_PrivateClusterConfig) Descriptor() ([]byte, []int)Deprecated: Use WorkstationCluster_PrivateClusterConfig.ProtoReflect.Descriptor instead.
func (*WorkstationCluster_PrivateClusterConfig) GetAllowedProjects
func (x *WorkstationCluster_PrivateClusterConfig) GetAllowedProjects() []stringfunc (*WorkstationCluster_PrivateClusterConfig) GetClusterHostname
func (x *WorkstationCluster_PrivateClusterConfig) GetClusterHostname() stringfunc (*WorkstationCluster_PrivateClusterConfig) GetEnablePrivateEndpoint
func (x *WorkstationCluster_PrivateClusterConfig) GetEnablePrivateEndpoint() boolfunc (*WorkstationCluster_PrivateClusterConfig) GetServiceAttachmentUri
func (x *WorkstationCluster_PrivateClusterConfig) GetServiceAttachmentUri() stringfunc (*WorkstationCluster_PrivateClusterConfig) ProtoMessage
func (*WorkstationCluster_PrivateClusterConfig) ProtoMessage()func (*WorkstationCluster_PrivateClusterConfig) ProtoReflect
func (x *WorkstationCluster_PrivateClusterConfig) ProtoReflect() protoreflect.Messagefunc (*WorkstationCluster_PrivateClusterConfig) Reset
func (x *WorkstationCluster_PrivateClusterConfig) Reset()func (*WorkstationCluster_PrivateClusterConfig) String
func (x *WorkstationCluster_PrivateClusterConfig) String() stringWorkstationConfig
type WorkstationConfig struct {
// Identifier. Full name of this workstation configuration.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Human-readable name for this workstation configuration.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. A system-assigned unique identifier for this workstation
// configuration.
Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. Indicates whether this workstation configuration is currently
// being updated to match its intended state.
Reconciling bool `protobuf:"varint,4,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
// Optional. Client-specified annotations.
Annotations map[string]string `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional.
// [Labels](https://cloud.google.com/workstations/docs/label-resources) that
// are applied to the workstation configuration and that are also propagated
// to the underlying Compute Engine resources.
Labels map[string]string `protobuf:"bytes,18,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. Time when this workstation configuration was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when this workstation configuration was most recently
// updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. Time when this workstation configuration was soft-deleted.
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
// Optional. Checksum computed by the server. May be sent on update and delete
// requests to make sure that the client has an up-to-date value before
// proceeding.
Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. Number of seconds to wait before automatically stopping a
// workstation after it last received user traffic.
//
// A value of `"0s"` indicates that Cloud Workstations VMs created with this
// configuration should never time out due to idleness.
// Provide
// [duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#duration)
// terminated by `s` for seconds—for example, `"7200s"` (2 hours).
// The default is `"1200s"` (20 minutes).
IdleTimeout *durationpb.Duration `protobuf:"bytes,10,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
// Optional. Number of seconds that a workstation can run until it is
// automatically shut down. We recommend that workstations be shut down daily
// to reduce costs and so that security updates can be applied upon restart.
// The
// [idle_timeout][google.cloud.workstations.v1.WorkstationConfig.idle_timeout]
// and
// [running_timeout][google.cloud.workstations.v1.WorkstationConfig.running_timeout]
// fields are independent of each other. Note that the
// [running_timeout][google.cloud.workstations.v1.WorkstationConfig.running_timeout]
// field shuts down VMs after the specified time, regardless of whether or not
// the VMs are idle.
//
// Provide duration terminated by `s` for seconds—for example, `"54000s"`
// (15 hours). Defaults to `"43200s"` (12 hours). A value of `"0s"` indicates
// that workstations using this configuration should never time out. If
// [encryption_key][google.cloud.workstations.v1.WorkstationConfig.encryption_key]
// is set, it must be greater than `"0s"` and less than
// `"86400s"` (24 hours).
//
// Warning: A value of `"0s"` indicates that Cloud Workstations VMs created
// with this configuration have no maximum running time. This is strongly
// discouraged because you incur costs and will not pick up security updates.
RunningTimeout *durationpb.Duration `protobuf:"bytes,11,opt,name=running_timeout,json=runningTimeout,proto3" json:"running_timeout,omitempty"`
// Optional. Maximum number of workstations under this configuration a user
// can have `workstations.workstation.use` permission on.
//
// Only enforced on CreateWorkstation API calls on the user issuing the API
// request. Can be overridden by:
//
// - granting a user
// workstations.workstationConfigs.exemptMaxUsableWorkstationLimit permission,
// or
// - having a user with that permission create a workstation and
// granting another user `workstations.workstation.use` permission on
// that workstation.
//
// If not specified, defaults to `0`, which indicates unlimited.
MaxUsableWorkstations int32 `protobuf:"varint,28,opt,name=max_usable_workstations,json=maxUsableWorkstations,proto3" json:"max_usable_workstations,omitempty"`
// Optional. Runtime host for the workstation.
Host *WorkstationConfig_Host `protobuf:"bytes,12,opt,name=host,proto3" json:"host,omitempty"`
// Optional. Directories to persist across workstation sessions.
PersistentDirectories []*WorkstationConfig_PersistentDirectory `protobuf:"bytes,13,rep,name=persistent_directories,json=persistentDirectories,proto3" json:"persistent_directories,omitempty"`
// Optional. Ephemeral directories which won't persist across workstation
// sessions.
EphemeralDirectories []*WorkstationConfig_EphemeralDirectory `protobuf:"bytes,22,rep,name=ephemeral_directories,json=ephemeralDirectories,proto3" json:"ephemeral_directories,omitempty"`
// Optional. Container that runs upon startup for each workstation using this
// workstation configuration.
Container *WorkstationConfig_Container `protobuf:"bytes,14,opt,name=container,proto3" json:"container,omitempty"`
// Immutable. Encrypts resources of this workstation configuration using a
// customer-managed encryption key (CMEK).
//
// If specified, the boot disk of the Compute Engine instance and the
// persistent disk are encrypted using this encryption key. If
// this field is not set, the disks are encrypted using a generated
// key. Customer-managed encryption keys do not protect disk metadata.
//
// If the customer-managed encryption key is rotated, when the workstation
// instance is stopped, the system attempts to recreate the
// persistent disk with the new version of the key. Be sure to keep
// older versions of the key until the persistent disk is recreated.
// Otherwise, data on the persistent disk might be lost.
//
// If the encryption key is revoked, the workstation session automatically
// stops within 7 hours.
//
// Immutable after the workstation configuration is created.
EncryptionKey *WorkstationConfig_CustomerEncryptionKey `protobuf:"bytes,17,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"`
// Optional. Readiness checks to perform when starting a workstation using
// this workstation configuration. Mark a workstation as running only after
// all specified readiness checks return 200 status codes.
ReadinessChecks []*WorkstationConfig_ReadinessCheck `protobuf:"bytes,19,rep,name=readiness_checks,json=readinessChecks,proto3" json:"readiness_checks,omitempty"`
// Optional. Immutable. Specifies the zones used to replicate the VM and disk
// resources within the region. If set, exactly two zones within the
// workstation cluster's region must be specified—for example,
// `['us-central1-a', 'us-central1-f']`. If this field is empty, two default
// zones within the region are used.
//
// Immutable after the workstation configuration is created.
ReplicaZones []string `protobuf:"bytes,23,rep,name=replica_zones,json=replicaZones,proto3" json:"replica_zones,omitempty"`
// Output only. Whether this workstation configuration is in degraded mode, in
// which case it may require user action to restore full functionality. The
// [conditions][google.cloud.workstations.v1.WorkstationConfig.conditions]
// field contains detailed information about the status of the configuration.
Degraded bool `protobuf:"varint,15,opt,name=degraded,proto3" json:"degraded,omitempty"`
// Output only. Status conditions describing the workstation configuration's
// current state.
Conditions []*status.Status `protobuf:"bytes,16,rep,name=conditions,proto3" json:"conditions,omitempty"`
// Optional. Whether to enable Linux `auditd` logging on the workstation. When
// enabled, a
// [service_account][google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance.service_account]
// must also be specified that has `roles/logging.logWriter` and
// `roles/monitoring.metricWriter` on the project. Operating system audit
// logging is distinct from [Cloud Audit
// Logs](https://cloud.google.com/workstations/docs/audit-logging) and
// [Container output
// logging](https://cloud.google.com/workstations/docs/container-output-logging#overview).
// Operating system audit logs are available in the
// [Cloud Logging](https://cloud.google.com/logging/docs) console by querying:
//
// resource.type="gce_instance"
// log_name:"/logs/linux-auditd"
EnableAuditAgent bool `protobuf:"varint,20,opt,name=enable_audit_agent,json=enableAuditAgent,proto3" json:"enable_audit_agent,omitempty"`
// Optional. Disables support for plain TCP connections in the workstation.
// By default the service supports TCP connections through a websocket relay.
// Setting this option to true disables that relay, which prevents the usage
// of services that require plain TCP connections, such as SSH.
// When enabled, all communication must occur over HTTPS or WSS.
DisableTcpConnections bool `protobuf:"varint,24,opt,name=disable_tcp_connections,json=disableTcpConnections,proto3" json:"disable_tcp_connections,omitempty"`
// Optional. A list of
// [PortRange][google.cloud.workstations.v1.WorkstationConfig.PortRange]s
// specifying single ports or ranges of ports that are externally accessible
// in the workstation. Allowed ports must be one of 22, 80, or within range
// 1024-65535. If not specified defaults to ports 22, 80, and ports
// 1024-65535.
AllowedPorts []*WorkstationConfig_PortRange `protobuf:"bytes,25,rep,name=allowed_ports,json=allowedPorts,proto3" json:"allowed_ports,omitempty"`
// Optional. Grant creator of a workstation `roles/workstations.policyAdmin`
// role along with `roles/workstations.user` role on the workstation created
// by them. This allows workstation users to share access to either their
// entire workstation, or individual ports. Defaults to false.
GrantWorkstationAdminRoleOnCreate bool `protobuf:"varint,29,opt,name=grant_workstation_admin_role_on_create,json=grantWorkstationAdminRoleOnCreate,proto3" json:"grant_workstation_admin_role_on_create,omitempty"`
// contains filtered or unexported fields
}A workstation configuration resource in the Cloud Workstations API.
Workstation configurations act as templates for workstations. The workstation configuration defines details such as the workstation virtual machine (VM) instance type, persistent storage, container image defining environment, which IDE or Code Editor to use, and more. Administrators and platform teams can also use Identity and Access Management (IAM) 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) GetAllowedPorts
func (x *WorkstationConfig) GetAllowedPorts() []*WorkstationConfig_PortRangefunc (*WorkstationConfig) GetAnnotations
func (x *WorkstationConfig) GetAnnotations() map[string]stringfunc (*WorkstationConfig) GetConditions
func (x *WorkstationConfig) GetConditions() []*status.Statusfunc (*WorkstationConfig) GetContainer
func (x *WorkstationConfig) GetContainer() *WorkstationConfig_Containerfunc (*WorkstationConfig) GetCreateTime
func (x *WorkstationConfig) GetCreateTime() *timestamppb.Timestampfunc (*WorkstationConfig) GetDegraded
func (x *WorkstationConfig) GetDegraded() boolfunc (*WorkstationConfig) GetDeleteTime
func (x *WorkstationConfig) GetDeleteTime() *timestamppb.Timestampfunc (*WorkstationConfig) GetDisableTcpConnections
func (x *WorkstationConfig) GetDisableTcpConnections() boolfunc (*WorkstationConfig) GetDisplayName
func (x *WorkstationConfig) GetDisplayName() stringfunc (*WorkstationConfig) GetEnableAuditAgent
func (x *WorkstationConfig) GetEnableAuditAgent() boolfunc (*WorkstationConfig) GetEncryptionKey
func (x *WorkstationConfig) GetEncryptionKey() *WorkstationConfig_CustomerEncryptionKeyfunc (*WorkstationConfig) GetEphemeralDirectories
func (x *WorkstationConfig) GetEphemeralDirectories() []*WorkstationConfig_EphemeralDirectoryfunc (*WorkstationConfig) GetEtag
func (x *WorkstationConfig) GetEtag() stringfunc (*WorkstationConfig) GetGrantWorkstationAdminRoleOnCreate
func (x *WorkstationConfig) GetGrantWorkstationAdminRoleOnCreate() boolfunc (*WorkstationConfig) GetHost
func (x *WorkstationConfig) GetHost() *WorkstationConfig_Hostfunc (*WorkstationConfig) GetIdleTimeout
func (x *WorkstationConfig) GetIdleTimeout() *durationpb.Durationfunc (*WorkstationConfig) GetLabels
func (x *WorkstationConfig) GetLabels() map[string]stringfunc (*WorkstationConfig) GetMaxUsableWorkstations
func (x *WorkstationConfig) GetMaxUsableWorkstations() int32func (*WorkstationConfig) GetName
func (x *WorkstationConfig) GetName() stringfunc (*WorkstationConfig) GetPersistentDirectories
func (x *WorkstationConfig) GetPersistentDirectories() []*WorkstationConfig_PersistentDirectoryfunc (*WorkstationConfig) GetReadinessChecks
func (x *WorkstationConfig) GetReadinessChecks() []*WorkstationConfig_ReadinessCheckfunc (*WorkstationConfig) GetReconciling
func (x *WorkstationConfig) GetReconciling() boolfunc (*WorkstationConfig) GetReplicaZones
func (x *WorkstationConfig) GetReplicaZones() []stringfunc (*WorkstationConfig) GetRunningTimeout
func (x *WorkstationConfig) GetRunningTimeout() *durationpb.Durationfunc (*WorkstationConfig) GetUid
func (x *WorkstationConfig) GetUid() stringfunc (*WorkstationConfig) GetUpdateTime
func (x *WorkstationConfig) GetUpdateTime() *timestamppb.Timestampfunc (*WorkstationConfig) ProtoMessage
func (*WorkstationConfig) ProtoMessage()func (*WorkstationConfig) ProtoReflect
func (x *WorkstationConfig) ProtoReflect() protoreflect.Messagefunc (*WorkstationConfig) Reset
func (x *WorkstationConfig) Reset()func (*WorkstationConfig) String
func (x *WorkstationConfig) String() stringWorkstationConfig_Container
type WorkstationConfig_Container struct {
// Optional. A Docker container image that defines a custom environment.
//
// Cloud Workstations provides a number of
// [preconfigured
// images](https://cloud.google.com/workstations/docs/preconfigured-base-images),
// but you can create your own
// [custom container
// images](https://cloud.google.com/workstations/docs/custom-container-images).
// If using a private image, the `host.gceInstance.serviceAccount` field
// must be specified in the workstation configuration.
// If using a custom container image, the service account must have
// [Artifact Registry
// Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles)
// permission to pull the specified image. Otherwise, the image must be
// publicly accessible.
Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
// Optional. If set, overrides the default ENTRYPOINT specified by the
// image.
Command []string `protobuf:"bytes,2,rep,name=command,proto3" json:"command,omitempty"`
// Optional. Arguments passed to the entrypoint.
Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
// Optional. Environment variables passed to the container's entrypoint.
Env map[string]string `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. If set, overrides the default DIR specified by the image.
WorkingDir string `protobuf:"bytes,5,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
// Optional. If set, overrides the USER specified in the image with the
// given uid.
RunAsUser int32 `protobuf:"varint,6,opt,name=run_as_user,json=runAsUser,proto3" json:"run_as_user,omitempty"`
// contains filtered or unexported fields
}A Docker container.
func (*WorkstationConfig_Container) Descriptor
func (*WorkstationConfig_Container) Descriptor() ([]byte, []int)Deprecated: Use WorkstationConfig_Container.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_Container) GetArgs
func (x *WorkstationConfig_Container) GetArgs() []stringfunc (*WorkstationConfig_Container) GetCommand
func (x *WorkstationConfig_Container) GetCommand() []stringfunc (*WorkstationConfig_Container) GetEnv
func (x *WorkstationConfig_Container) GetEnv() map[string]stringfunc (*WorkstationConfig_Container) GetImage
func (x *WorkstationConfig_Container) GetImage() stringfunc (*WorkstationConfig_Container) GetRunAsUser
func (x *WorkstationConfig_Container) GetRunAsUser() int32func (*WorkstationConfig_Container) GetWorkingDir
func (x *WorkstationConfig_Container) GetWorkingDir() stringfunc (*WorkstationConfig_Container) ProtoMessage
func (*WorkstationConfig_Container) ProtoMessage()func (*WorkstationConfig_Container) ProtoReflect
func (x *WorkstationConfig_Container) ProtoReflect() protoreflect.Messagefunc (*WorkstationConfig_Container) Reset
func (x *WorkstationConfig_Container) Reset()func (*WorkstationConfig_Container) String
func (x *WorkstationConfig_Container) String() stringWorkstationConfig_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() stringfunc (*WorkstationConfig_CustomerEncryptionKey) GetKmsKeyServiceAccount
func (x *WorkstationConfig_CustomerEncryptionKey) GetKmsKeyServiceAccount() stringfunc (*WorkstationConfig_CustomerEncryptionKey) ProtoMessage
func (*WorkstationConfig_CustomerEncryptionKey) ProtoMessage()func (*WorkstationConfig_CustomerEncryptionKey) ProtoReflect
func (x *WorkstationConfig_CustomerEncryptionKey) ProtoReflect() protoreflect.Messagefunc (*WorkstationConfig_CustomerEncryptionKey) Reset
func (x *WorkstationConfig_CustomerEncryptionKey) Reset()func (*WorkstationConfig_CustomerEncryptionKey) String
func (x *WorkstationConfig_CustomerEncryptionKey) String() stringWorkstationConfig_EphemeralDirectory
type WorkstationConfig_EphemeralDirectory struct {
// How an ephemeral directory should be implemented.
//
// Types that are valid to be assigned to DirectoryType:
//
// *WorkstationConfig_EphemeralDirectory_GcePd
DirectoryType isWorkstationConfig_EphemeralDirectory_DirectoryType `protobuf_oneof:"directory_type"`
// Required. Location of this directory in the running workstation.
MountPath string `protobuf:"bytes,1,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
// contains filtered or unexported fields
}An ephemeral directory which won't persist across workstation sessions. It is freshly created on every workstation start operation.
func (*WorkstationConfig_EphemeralDirectory) Descriptor
func (*WorkstationConfig_EphemeralDirectory) Descriptor() ([]byte, []int)Deprecated: Use WorkstationConfig_EphemeralDirectory.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_EphemeralDirectory) GetDirectoryType
func (x *WorkstationConfig_EphemeralDirectory) GetDirectoryType() isWorkstationConfig_EphemeralDirectory_DirectoryTypefunc (*WorkstationConfig_EphemeralDirectory) GetGcePd
func (x *WorkstationConfig_EphemeralDirectory) GetGcePd() *WorkstationConfig_EphemeralDirectory_GcePersistentDiskfunc (*WorkstationConfig_EphemeralDirectory) GetMountPath
func (x *WorkstationConfig_EphemeralDirectory) GetMountPath() stringfunc (*WorkstationConfig_EphemeralDirectory) ProtoMessage
func (*WorkstationConfig_EphemeralDirectory) ProtoMessage()func (*WorkstationConfig_EphemeralDirectory) ProtoReflect
func (x *WorkstationConfig_EphemeralDirectory) ProtoReflect() protoreflect.Messagefunc (*WorkstationConfig_EphemeralDirectory) Reset
func (x *WorkstationConfig_EphemeralDirectory) Reset()func (*WorkstationConfig_EphemeralDirectory) String
func (x *WorkstationConfig_EphemeralDirectory) String() stringWorkstationConfig_EphemeralDirectory_GcePd
type WorkstationConfig_EphemeralDirectory_GcePd struct {
// An EphemeralDirectory backed by a Compute Engine persistent disk.
GcePd *WorkstationConfig_EphemeralDirectory_GcePersistentDisk `protobuf:"bytes,3,opt,name=gce_pd,json=gcePd,proto3,oneof"`
}WorkstationConfig_EphemeralDirectory_GcePersistentDisk
type WorkstationConfig_EphemeralDirectory_GcePersistentDisk struct {
// Optional. Type of the disk to use. Defaults to `"pd-standard"`.
DiskType string `protobuf:"bytes,1,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
// Optional. Name of the snapshot to use as the source for the disk. Must
// be empty if
// [source_image][google.cloud.workstations.v1.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_image]
// is set. Must be empty if
// [read_only][google.cloud.workstations.v1.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.read_only]
// is false. Updating
// [source_snapshot][google.cloud.workstations.v1.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_snapshot]
// will update content in the ephemeral directory after the workstation is
// restarted.
//
// Only file systems supported by Container-Optimized OS (COS)
// are explicitly supported. For a list of supported file systems, see
// [the filesystems available in Container-Optimized
// OS](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems).
//
// This field is mutable.
SourceSnapshot string `protobuf:"bytes,2,opt,name=source_snapshot,json=sourceSnapshot,proto3" json:"source_snapshot,omitempty"`
// Optional. Name of the disk image to use as the source for the disk.
// Must be empty if
// [source_snapshot][google.cloud.workstations.v1.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_snapshot]
// is set. Updating
// [source_image][google.cloud.workstations.v1.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_image]
// will update content in the ephemeral directory after the workstation is
// restarted.
//
// Only file systems supported by Container-Optimized OS (COS)
// are explicitly supported. For a list of supported file systems, please
// refer to the [COS
// documentation](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems).
//
// This field is mutable.
SourceImage string `protobuf:"bytes,3,opt,name=source_image,json=sourceImage,proto3" json:"source_image,omitempty"`
// Optional. Whether the disk is read only. If true, the disk may be
// shared by multiple VMs and
// [source_snapshot][google.cloud.workstations.v1.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_snapshot]
// must be set.
ReadOnly bool `protobuf:"varint,4,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
// contains filtered or unexported fields
}An EphemeralDirectory is backed by a Compute Engine persistent disk.
func (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) Descriptor
func (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) Descriptor() ([]byte, []int)Deprecated: Use WorkstationConfig_EphemeralDirectory_GcePersistentDisk.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetDiskType
func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetDiskType() stringfunc (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetReadOnly
func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetReadOnly() boolfunc (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetSourceImage
func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetSourceImage() stringfunc (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetSourceSnapshot
func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) GetSourceSnapshot() stringfunc (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) ProtoMessage
func (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) ProtoMessage()func (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) ProtoReflect
func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) ProtoReflect() protoreflect.Messagefunc (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) Reset
func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) Reset()func (*WorkstationConfig_EphemeralDirectory_GcePersistentDisk) String
func (x *WorkstationConfig_EphemeralDirectory_GcePersistentDisk) String() stringWorkstationConfig_Host
type WorkstationConfig_Host struct {
// Type of host to be used for the workstation's runtime.
//
// Types that are valid to be assigned to Config:
//
// *WorkstationConfig_Host_GceInstance_
Config isWorkstationConfig_Host_Config `protobuf_oneof:"config"`
// contains filtered or unexported fields
}Runtime host for a workstation.
func (*WorkstationConfig_Host) Descriptor
func (*WorkstationConfig_Host) Descriptor() ([]byte, []int)Deprecated: Use WorkstationConfig_Host.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_Host) GetConfig
func (x *WorkstationConfig_Host) GetConfig() isWorkstationConfig_Host_Configfunc (*WorkstationConfig_Host) GetGceInstance
func (x *WorkstationConfig_Host) GetGceInstance() *WorkstationConfig_Host_GceInstancefunc (*WorkstationConfig_Host) ProtoMessage
func (*WorkstationConfig_Host) ProtoMessage()func (*WorkstationConfig_Host) ProtoReflect
func (x *WorkstationConfig_Host) ProtoReflect() protoreflect.Messagefunc (*WorkstationConfig_Host) Reset
func (x *WorkstationConfig_Host) Reset()func (*WorkstationConfig_Host) String
func (x *WorkstationConfig_Host) String() stringWorkstationConfig_Host_GceInstance
type WorkstationConfig_Host_GceInstance struct {
// Optional. The type of machine to use for VM instances—for example,
// `"e2-standard-4"`. For more information about machine types that
// Cloud Workstations supports, see the list of
// [available machine
// types](https://cloud.google.com/workstations/docs/available-machine-types).
MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
// Optional. The email address of the service account for Cloud
// Workstations VMs created with this configuration. When specified, be
// sure that the service account has `logging.logEntries.create` and
// `monitoring.timeSeries.create` permissions on the project so it can
// write logs out to Cloud Logging. If using a custom container image, the
// service account must have [Artifact Registry
// Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles)
// permission to pull the specified image.
//
// If you as the administrator want to be able to `ssh` into the
// underlying VM, you need to set this value to a service account
// for which you have the `iam.serviceAccounts.actAs` permission.
// Conversely, if you don't want anyone to be able to `ssh` into the
// underlying VM, use a service account where no one has that
// permission.
//
// If not set, VMs run with a service account provided by the
// Cloud Workstations service, and the image must be publicly
// accessible.
ServiceAccount string `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// Optional. Scopes to grant to the
// [service_account][google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance.service_account].
// When specified, users of workstations under this configuration must
// have `iam.serviceAccounts.actAs` on the service account.
ServiceAccountScopes []string `protobuf:"bytes,3,rep,name=service_account_scopes,json=serviceAccountScopes,proto3" json:"service_account_scopes,omitempty"`
// Optional. Network tags to add to the Compute Engine VMs backing the
// workstations. This option applies
// [network
// tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to VMs
// created with this configuration. These network tags enable the creation
// of [firewall
// rules](https://cloud.google.com/workstations/docs/configure-firewall-rules).
Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
// Optional. The number of VMs that the system should keep idle so that
// new workstations can be started quickly for new users. Defaults to `0`
// in the API.
PoolSize int32 `protobuf:"varint,5,opt,name=pool_size,json=poolSize,proto3" json:"pool_size,omitempty"`
// Output only. Number of instances currently available in the pool for
// faster workstation startup.
PooledInstances int32 `protobuf:"varint,12,opt,name=pooled_instances,json=pooledInstances,proto3" json:"pooled_instances,omitempty"`
// Optional. When set to true, disables public IP addresses for VMs. If
// you disable public IP addresses, you must set up Private Google Access
// or Cloud NAT on your network. If you use Private Google Access and you
// use `private.googleapis.com` or `restricted.googleapis.com` for
// Container Registry and Artifact Registry, make sure that you set
// up DNS records for domains `*.gcr.io` and `*.pkg.dev`.
// Defaults to false (VMs have public IP addresses).
DisablePublicIpAddresses bool `protobuf:"varint,6,opt,name=disable_public_ip_addresses,json=disablePublicIpAddresses,proto3" json:"disable_public_ip_addresses,omitempty"`
// Optional. Whether to enable nested virtualization on Cloud Workstations
// VMs created using this workstation configuration.
//
// Defaults to false.
//
// Nested virtualization lets you run virtual machine (VM) instances
// inside your workstation. Before enabling nested virtualization,
// consider the following important considerations. Cloud Workstations
// instances are subject to the [same restrictions as Compute Engine
// instances](https://cloud.google.com/compute/docs/instances/nested-virtualization/overview#restrictions):
//
// * **Organization policy**: projects, folders, or
// organizations may be restricted from creating nested VMs if the
// **Disable VM nested virtualization** constraint is enforced in
// the organization policy. For more information, see the
// Compute Engine section,
// [Checking whether nested virtualization is
// allowed](https://cloud.google.com/compute/docs/instances/nested-virtualization/managing-constraint#checking_whether_nested_virtualization_is_allowed).
// * **Performance**: nested VMs might experience a 10% or greater
// decrease in performance for workloads that are CPU-bound and
// possibly greater than a 10% decrease for workloads that are
// input/output bound.
// * **Machine Type**: nested virtualization can only be enabled on
// workstation configurations that specify a
// [machine_type][google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance.machine_type]
// in the N1 or N2 machine series.
EnableNestedVirtualization bool `protobuf:"varint,7,opt,name=enable_nested_virtualization,json=enableNestedVirtualization,proto3" json:"enable_nested_virtualization,omitempty"`
// Optional. A set of Compute Engine Shielded instance options.
ShieldedInstanceConfig *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig `protobuf:"bytes,8,opt,name=shielded_instance_config,json=shieldedInstanceConfig,proto3" json:"shielded_instance_config,omitempty"`
// Optional. A set of Compute Engine Confidential VM instance options.
ConfidentialInstanceConfig *WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig `protobuf:"bytes,10,opt,name=confidential_instance_config,json=confidentialInstanceConfig,proto3" json:"confidential_instance_config,omitempty"`
// Optional. The size of the boot disk for the VM in gigabytes (GB).
// The minimum boot disk size is `30` GB. Defaults to `50` GB.
BootDiskSizeGb int32 `protobuf:"varint,9,opt,name=boot_disk_size_gb,json=bootDiskSizeGb,proto3" json:"boot_disk_size_gb,omitempty"`
// Optional. A list of the type and count of accelerator cards attached to
// the instance.
Accelerators []*WorkstationConfig_Host_GceInstance_Accelerator `protobuf:"bytes,11,rep,name=accelerators,proto3" json:"accelerators,omitempty"`
// Optional. A list of the boost configurations that workstations created
// using this workstation configuration are allowed to use. If specified,
// users will have the option to choose from the list of boost configs
// when starting a workstation.
BoostConfigs []*WorkstationConfig_Host_GceInstance_BoostConfig `protobuf:"bytes,25,rep,name=boost_configs,json=boostConfigs,proto3" json:"boost_configs,omitempty"`
// Optional. Whether to disable SSH access to the VM.
DisableSsh bool `protobuf:"varint,13,opt,name=disable_ssh,json=disableSsh,proto3" json:"disable_ssh,omitempty"`
// Optional. Resource manager tags to be bound to this instance.
// Tag keys and values have the same definition as [resource manager
// tags](https://cloud.google.com/resource-manager/docs/tags/tags-overview).
// Keys must be in the format `tagKeys/{tag_key_id}`, and
// values are in the format `tagValues/456`.
VmTags map[string]string `protobuf:"bytes,14,rep,name=vm_tags,json=vmTags,proto3" json:"vm_tags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. Link to the startup script stored in Cloud Storage. This
// script will be run on the host workstation VM when the VM is created.
// The URI must be of the form gs://{bucket-name}/{object-name}. If
// specifying a startup script, the service account must have [Permission
// to access the bucket and script file in Cloud
// Storage](https://cloud.google.com/storage/docs/access-control/iam-permissions).
// Otherwise, the script must be publicly accessible.
// Note that the service regularly updates the OS version of the host VM,
// and it is the responsibility of the user to ensure the script stays
// compatible with the OS version.
StartupScriptUri string `protobuf:"bytes,26,opt,name=startup_script_uri,json=startupScriptUri,proto3" json:"startup_script_uri,omitempty"`
// Optional. Custom metadata to apply to Compute Engine instances.
InstanceMetadata map[string]string `protobuf:"bytes,27,rep,name=instance_metadata,json=instanceMetadata,proto3" json:"instance_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// contains filtered or unexported fields
}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) GetAccelerators
func (x *WorkstationConfig_Host_GceInstance) GetAccelerators() []*WorkstationConfig_Host_GceInstance_Acceleratorfunc (*WorkstationConfig_Host_GceInstance) GetBoostConfigs
func (x *WorkstationConfig_Host_GceInstance) GetBoostConfigs() []*WorkstationConfig_Host_GceInstance_BoostConfigfunc (*WorkstationConfig_Host_GceInstance) GetBootDiskSizeGb
func (x *WorkstationConfig_Host_GceInstance) GetBootDiskSizeGb() int32func (*WorkstationConfig_Host_GceInstance) GetConfidentialInstanceConfig
func (x *WorkstationConfig_Host_GceInstance) GetConfidentialInstanceConfig() *WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfigfunc (*WorkstationConfig_Host_GceInstance) GetDisablePublicIpAddresses
func (x *WorkstationConfig_Host_GceInstance) GetDisablePublicIpAddresses() boolfunc (*WorkstationConfig_Host_GceInstance) GetDisableSsh
func (x *WorkstationConfig_Host_GceInstance) GetDisableSsh() boolfunc (*WorkstationConfig_Host_GceInstance) GetEnableNestedVirtualization
func (x *WorkstationConfig_Host_GceInstance) GetEnableNestedVirtualization() boolfunc (*WorkstationConfig_Host_GceInstance) GetInstanceMetadata
func (x *WorkstationConfig_Host_GceInstance) GetInstanceMetadata() map[string]stringfunc (*WorkstationConfig_Host_GceInstance) GetMachineType
func (x *WorkstationConfig_Host_GceInstance) GetMachineType() stringfunc (*WorkstationConfig_Host_GceInstance) GetPoolSize
func (x *WorkstationConfig_Host_GceInstance) GetPoolSize() int32func (*WorkstationConfig_Host_GceInstance) GetPooledInstances
func (x *WorkstationConfig_Host_GceInstance) GetPooledInstances() int32func (*WorkstationConfig_Host_GceInstance) GetServiceAccount
func (x *WorkstationConfig_Host_GceInstance) GetServiceAccount() stringfunc (*WorkstationConfig_Host_GceInstance) GetServiceAccountScopes
func (x *WorkstationConfig_Host_GceInstance) GetServiceAccountScopes() []stringfunc (*WorkstationConfig_Host_GceInstance) GetShieldedInstanceConfig
func (x *WorkstationConfig_Host_GceInstance) GetShieldedInstanceConfig() *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfigfunc (*WorkstationConfig_Host_GceInstance) GetStartupScriptUri
func (x *WorkstationConfig_Host_GceInstance) GetStartupScriptUri() stringfunc (*WorkstationConfig_Host_GceInstance) GetTags
func (x *WorkstationConfig_Host_GceInstance) GetTags() []stringfunc (*WorkstationConfig_Host_GceInstance) GetVmTags
func (x *WorkstationConfig_Host_GceInstance) GetVmTags() map[string]stringfunc (*WorkstationConfig_Host_GceInstance) ProtoMessage
func (*WorkstationConfig_Host_GceInstance) ProtoMessage()func (*WorkstationConfig_Host_GceInstance) ProtoReflect
func (x *WorkstationConfig_Host_GceInstance) ProtoReflect() protoreflect.Messagefunc (*WorkstationConfig_Host_GceInstance) Reset
func (x *WorkstationConfig_Host_GceInstance) Reset()func (*WorkstationConfig_Host_GceInstance) String
func (x *WorkstationConfig_Host_GceInstance) String() stringWorkstationConfig_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_Accelerator
type WorkstationConfig_Host_GceInstance_Accelerator struct {
// Optional. Type of accelerator resource to attach to the instance, for
// example,
// `"nvidia-tesla-p100"`.
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// Optional. Number of accelerator cards exposed to the instance.
Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}An accelerator card attached to the instance.
func (*WorkstationConfig_Host_GceInstance_Accelerator) Descriptor
func (*WorkstationConfig_Host_GceInstance_Accelerator) Descriptor() ([]byte, []int)Deprecated: Use WorkstationConfig_Host_GceInstance_Accelerator.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_Host_GceInstance_Accelerator) GetCount
func (x *WorkstationConfig_Host_GceInstance_Accelerator) GetCount() int32func (*WorkstationConfig_Host_GceInstance_Accelerator) GetType
func (x *WorkstationConfig_Host_GceInstance_Accelerator) GetType() stringfunc (*WorkstationConfig_Host_GceInstance_Accelerator) ProtoMessage
func (*WorkstationConfig_Host_GceInstance_Accelerator) ProtoMessage()func (*WorkstationConfig_Host_GceInstance_Accelerator) ProtoReflect
func (x *WorkstationConfig_Host_GceInstance_Accelerator) ProtoReflect() protoreflect.Messagefunc (*WorkstationConfig_Host_GceInstance_Accelerator) Reset
func (x *WorkstationConfig_Host_GceInstance_Accelerator) Reset()func (*WorkstationConfig_Host_GceInstance_Accelerator) String
func (x *WorkstationConfig_Host_GceInstance_Accelerator) String() stringWorkstationConfig_Host_GceInstance_BoostConfig
type WorkstationConfig_Host_GceInstance_BoostConfig struct {
// Required. The ID to be used for the boost configuration.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Optional. The type of machine that boosted VM instances will use—for
// example, `e2-standard-4`. For more information about machine types
// that Cloud Workstations supports, see the list of [available machine
// types](https://cloud.google.com/workstations/docs/available-machine-types).
// Defaults to `e2-standard-4`.
MachineType string `protobuf:"bytes,2,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
// Optional. A list of the type and count of accelerator cards attached
// to the boost instance. Defaults to `none`.
Accelerators []*WorkstationConfig_Host_GceInstance_Accelerator `protobuf:"bytes,3,rep,name=accelerators,proto3" json:"accelerators,omitempty"`
// Optional. The size of the boot disk for the VM in gigabytes (GB).
// The minimum boot disk size is `30` GB. Defaults to `50` GB.
BootDiskSizeGb int32 `protobuf:"varint,4,opt,name=boot_disk_size_gb,json=bootDiskSizeGb,proto3" json:"boot_disk_size_gb,omitempty"`
// Optional. Whether to enable nested virtualization on boosted Cloud
// Workstations VMs running using this boost configuration.
//
// Defaults to false.
//
// Nested virtualization lets you run virtual machine (VM) instances
// inside your workstation. Before enabling nested virtualization,
// consider the following important considerations. Cloud Workstations
// instances are subject to the [same restrictions as Compute Engine
// instances](https://cloud.google.com/compute/docs/instances/nested-virtualization/overview#restrictions):
//
// * **Organization policy**: projects, folders, or
// organizations may be restricted from creating nested VMs if the
// **Disable VM nested virtualization** constraint is enforced in
// the organization policy. For more information, see the
// Compute Engine section,
// [Checking whether nested virtualization is
// allowed](https://cloud.google.com/compute/docs/instances/nested-virtualization/managing-constraint#checking_whether_nested_virtualization_is_allowed).
// * **Performance**: nested VMs might experience a 10% or greater
// decrease in performance for workloads that are CPU-bound and
// possibly greater than a 10% decrease for workloads that are
// input/output bound.
// * **Machine Type**: nested virtualization can only be enabled on
// boost configurations that specify a
// [machine_type][google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance.BoostConfig.machine_type]
// in the N1 or N2 machine series.
EnableNestedVirtualization bool `protobuf:"varint,7,opt,name=enable_nested_virtualization,json=enableNestedVirtualization,proto3" json:"enable_nested_virtualization,omitempty"`
// Optional. The number of boost VMs that the system should keep idle so
// that workstations can be boosted quickly. Defaults to `0`.
PoolSize int32 `protobuf:"varint,5,opt,name=pool_size,json=poolSize,proto3" json:"pool_size,omitempty"`
// contains filtered or unexported fields
}A boost configuration is a set of resources that a workstation can use to increase its performance. If you specify a boost configuration, upon startup, workstation users can choose to use a VM provisioned under the boost config by passing the boost config ID in the start request. If the workstation user does not provide a boost config ID in the start request, the system will choose a VM from the pool provisioned under the default config.
func (*WorkstationConfig_Host_GceInstance_BoostConfig) Descriptor
func (*WorkstationConfig_Host_GceInstance_BoostConfig) Descriptor() ([]byte, []int)Deprecated: Use WorkstationConfig_Host_GceInstance_BoostConfig.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_Host_GceInstance_BoostConfig) GetAccelerators
func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetAccelerators() []*WorkstationConfig_Host_GceInstance_Acceleratorfunc (*WorkstationConfig_Host_GceInstance_BoostConfig) GetBootDiskSizeGb
func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetBootDiskSizeGb() int32func (*WorkstationConfig_Host_GceInstance_BoostConfig) GetEnableNestedVirtualization
func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetEnableNestedVirtualization() boolfunc (*WorkstationConfig_Host_GceInstance_BoostConfig) GetId
func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetId() stringfunc (*WorkstationConfig_Host_GceInstance_BoostConfig) GetMachineType
func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetMachineType() stringfunc (*WorkstationConfig_Host_GceInstance_BoostConfig) GetPoolSize
func (x *WorkstationConfig_Host_GceInstance_BoostConfig) GetPoolSize() int32func (*WorkstationConfig_Host_GceInstance_BoostConfig) ProtoMessage
func (*WorkstationConfig_Host_GceInstance_BoostConfig) ProtoMessage()func (*WorkstationConfig_Host_GceInstance_BoostConfig) ProtoReflect
func (x *WorkstationConfig_Host_GceInstance_BoostConfig) ProtoReflect() protoreflect.Messagefunc (*WorkstationConfig_Host_GceInstance_BoostConfig) Reset
func (x *WorkstationConfig_Host_GceInstance_BoostConfig) Reset()func (*WorkstationConfig_Host_GceInstance_BoostConfig) String
func (x *WorkstationConfig_Host_GceInstance_BoostConfig) String() stringWorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig
type WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig struct {
// Optional. Whether the instance has confidential compute enabled.
EnableConfidentialCompute bool `protobuf:"varint,1,opt,name=enable_confidential_compute,json=enableConfidentialCompute,proto3" json:"enable_confidential_compute,omitempty"`
// contains filtered or unexported fields
}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() boolfunc (*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.Messagefunc (*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() stringWorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig
type WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig struct {
// Optional. Whether the instance has Secure Boot enabled.
EnableSecureBoot bool `protobuf:"varint,1,opt,name=enable_secure_boot,json=enableSecureBoot,proto3" json:"enable_secure_boot,omitempty"`
// Optional. Whether the instance has the vTPM enabled.
EnableVtpm bool `protobuf:"varint,2,opt,name=enable_vtpm,json=enableVtpm,proto3" json:"enable_vtpm,omitempty"`
// Optional. Whether the instance has integrity monitoring enabled.
EnableIntegrityMonitoring bool `protobuf:"varint,3,opt,name=enable_integrity_monitoring,json=enableIntegrityMonitoring,proto3" json:"enable_integrity_monitoring,omitempty"`
// contains filtered or unexported fields
}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() boolfunc (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) GetEnableSecureBoot
func (x *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) GetEnableSecureBoot() boolfunc (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) GetEnableVtpm
func (x *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) GetEnableVtpm() boolfunc (*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.Messagefunc (*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() stringWorkstationConfig_PersistentDirectory
type WorkstationConfig_PersistentDirectory struct {
// How a persistent directory should be implemented.
//
// Types that are valid to be assigned to DirectoryType:
//
// *WorkstationConfig_PersistentDirectory_GcePd
// *WorkstationConfig_PersistentDirectory_GceHd
DirectoryType isWorkstationConfig_PersistentDirectory_DirectoryType `protobuf_oneof:"directory_type"`
// Optional. Location of this directory in the running workstation.
MountPath string `protobuf:"bytes,1,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
// contains filtered or unexported fields
}A directory to persist across workstation sessions. Updates to this field will not update existing workstations and will only take effect on new workstations.
func (*WorkstationConfig_PersistentDirectory) Descriptor
func (*WorkstationConfig_PersistentDirectory) Descriptor() ([]byte, []int)Deprecated: Use WorkstationConfig_PersistentDirectory.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_PersistentDirectory) GetDirectoryType
func (x *WorkstationConfig_PersistentDirectory) GetDirectoryType() isWorkstationConfig_PersistentDirectory_DirectoryTypefunc (*WorkstationConfig_PersistentDirectory) GetGceHd
func (x *WorkstationConfig_PersistentDirectory) GetGceHd() *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailabilityfunc (*WorkstationConfig_PersistentDirectory) GetGcePd
func (x *WorkstationConfig_PersistentDirectory) GetGcePd() *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDiskfunc (*WorkstationConfig_PersistentDirectory) GetMountPath
func (x *WorkstationConfig_PersistentDirectory) GetMountPath() stringfunc (*WorkstationConfig_PersistentDirectory) ProtoMessage
func (*WorkstationConfig_PersistentDirectory) ProtoMessage()func (*WorkstationConfig_PersistentDirectory) ProtoReflect
func (x *WorkstationConfig_PersistentDirectory) ProtoReflect() protoreflect.Messagefunc (*WorkstationConfig_PersistentDirectory) Reset
func (x *WorkstationConfig_PersistentDirectory) Reset()func (*WorkstationConfig_PersistentDirectory) String
func (x *WorkstationConfig_PersistentDirectory) String() stringWorkstationConfig_PersistentDirectory_GceHd
type WorkstationConfig_PersistentDirectory_GceHd struct {
// A PersistentDirectory backed by a Compute Engine hyperdisk high
// availability disk.
GceHd *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability `protobuf:"bytes,3,opt,name=gce_hd,json=gceHd,proto3,oneof"`
}WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability
type WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability struct {
// Optional. The GB capacity of a persistent home directory for each
// workstation created with this configuration. Must be empty if
// [source_snapshot][google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceHyperdiskBalancedHighAvailability.source_snapshot]
// is set.
//
// Valid values are `10`, `50`, `100`, `200`, `500`, or `1000`.
// Defaults to `200`.
SizeGb int32 `protobuf:"varint,1,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
// Optional. Maximum size in GB to which this persistent directory can be
// resized. Defaults to unlimited if not set.
MaxSizeGb int32 `protobuf:"varint,5,opt,name=max_size_gb,json=maxSizeGb,proto3" json:"max_size_gb,omitempty"`
// Optional. Name of the snapshot to use as the source for the disk. If
// set,
// [size_gb][google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceHyperdiskBalancedHighAvailability.size_gb]
// must be empty. Must be formatted as ext4 file system with no
// partitions.
SourceSnapshot string `protobuf:"bytes,2,opt,name=source_snapshot,json=sourceSnapshot,proto3" json:"source_snapshot,omitempty"`
// Optional. Whether the persistent disk should be deleted when the
// workstation is deleted. Valid values are `DELETE` and `RETAIN`.
// Defaults to `DELETE`.
ReclaimPolicy WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy `protobuf:"varint,3,opt,name=reclaim_policy,json=reclaimPolicy,proto3,enum=google.cloud.workstations.v1.WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy" json:"reclaim_policy,omitempty"`
// Optional. Number of seconds to wait after initially creating or
// subsequently shutting down the workstation before converting its disk
// into a snapshot. This generally saves costs at the expense of greater
// startup time on next workstation start, as the service will need to
// create a disk from the archival snapshot.
//
// A value of `"0s"` indicates that the disk will never be archived.
ArchiveTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=archive_timeout,json=archiveTimeout,proto3" json:"archive_timeout,omitempty"`
// contains filtered or unexported fields
}A Persistent Directory backed by a Compute Engine Hyperdisk Balanced High Availability Disk. This is a high-availability block storage solution that offers a balance between performance and cost for most general-purpose workloads.
func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) Descriptor
func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) Descriptor() ([]byte, []int)Deprecated: Use WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetArchiveTimeout
func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetArchiveTimeout() *durationpb.Durationfunc (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetMaxSizeGb
func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetMaxSizeGb() int32func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetReclaimPolicy
func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetReclaimPolicy() WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicyfunc (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetSizeGb
func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetSizeGb() int32func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetSourceSnapshot
func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) GetSourceSnapshot() stringfunc (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) ProtoMessage
func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) ProtoMessage()func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) ProtoReflect
func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) ProtoReflect() protoreflect.Messagefunc (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) Reset
func (*WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) String
func (x *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability) String() stringWorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy
type WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy int32Value representing what should happen to the disk after the workstation is deleted.
WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_RECLAIM_POLICY_UNSPECIFIED, WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_DELETE, WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_RETAIN
const (
// Do not use.
WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_RECLAIM_POLICY_UNSPECIFIED WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy = 0
// Delete the persistent disk when deleting the workstation.
WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_DELETE WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy = 1
// Keep the persistent disk when deleting the workstation.
// An administrator must manually delete the disk.
WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_RETAIN WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy = 2
)func (WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) Descriptor
func (WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) Descriptor() protoreflect.EnumDescriptorfunc (WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) Enum
func (x WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) Enum() *WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicyfunc (WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) EnumDescriptor
func (WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) EnumDescriptor() ([]byte, []int)Deprecated: Use WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy.Descriptor instead.
func (WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) Number
func (x WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) Number() protoreflect.EnumNumberfunc (WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) String
func (x WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) String() stringfunc (WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) Type
func (WorkstationConfig_PersistentDirectory_GceHyperdiskBalancedHighAvailability_ReclaimPolicy) Type() protoreflect.EnumTypeWorkstationConfig_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 {
// Optional. The GB capacity of a persistent home directory for each
// workstation created with this configuration. Must be empty if
// [source_snapshot][google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.source_snapshot]
// is set.
//
// Valid values are `10`, `50`, `100`, `200`, `500`, or `1000`.
// Defaults to `200`. If less than `200` GB, the
// [disk_type][google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.disk_type]
// must be
// `"pd-balanced"` or `"pd-ssd"`.
SizeGb int32 `protobuf:"varint,1,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
// Optional. Maximum size in GB to which this persistent directory can be
// resized. Defaults to unlimited if not set.
MaxSizeGb int32 `protobuf:"varint,7,opt,name=max_size_gb,json=maxSizeGb,proto3" json:"max_size_gb,omitempty"`
// Optional. Type of file system that the disk should be formatted with.
// The workstation image must support this file system type. Must be empty
// if
// [source_snapshot][google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.source_snapshot]
// is set. Defaults to `"ext4"`.
FsType string `protobuf:"bytes,2,opt,name=fs_type,json=fsType,proto3" json:"fs_type,omitempty"`
// Optional. The [type of the persistent
// disk](https://cloud.google.com/compute/docs/disks#disk-types) for the
// home directory. Defaults to `"pd-standard"`.
DiskType string `protobuf:"bytes,3,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
// Optional. Name of the snapshot to use as the source for the disk. If
// set,
// [size_gb][google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.size_gb]
// and
// [fs_type][google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.fs_type]
// must be empty. Must be formatted as ext4 file system with no
// partitions.
SourceSnapshot string `protobuf:"bytes,5,opt,name=source_snapshot,json=sourceSnapshot,proto3" json:"source_snapshot,omitempty"`
// Optional. Whether the persistent disk should be deleted when the
// workstation is deleted. Valid values are `DELETE` and `RETAIN`.
// Defaults to `DELETE`.
ReclaimPolicy WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy `protobuf:"varint,4,opt,name=reclaim_policy,json=reclaimPolicy,proto3,enum=google.cloud.workstations.v1.WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy" json:"reclaim_policy,omitempty"`
// Optional. Number of seconds to wait after initially creating or
// subsequently shutting down the workstation before converting its disk
// into a snapshot. This generally saves costs at the expense of greater
// startup time on next workstation start, as the service will need to
// create a disk from the archival snapshot.
//
// A value of `"0s"` indicates that the disk will never be archived.
ArchiveTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=archive_timeout,json=archiveTimeout,proto3" json:"archive_timeout,omitempty"`
// contains filtered or unexported fields
}A Persistent Directory backed by a Compute Engine regional persistent
disk. The
[persistent_directories][google.cloud.workstations.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) GetArchiveTimeout
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetArchiveTimeout() *durationpb.Durationfunc (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetDiskType
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetDiskType() stringfunc (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetFsType
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetFsType() stringfunc (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetMaxSizeGb
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetMaxSizeGb() int32func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetReclaimPolicy
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetReclaimPolicy() WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicyfunc (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetSizeGb
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetSizeGb() int32func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetSourceSnapshot
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetSourceSnapshot() stringfunc (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) ProtoMessage
func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) ProtoMessage()func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) ProtoReflect
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) ProtoReflect() protoreflect.Messagefunc (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) Reset
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) Reset()func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) String
func (x *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) String() stringWorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy
type WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy int32Value 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.EnumDescriptorfunc (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) Enum
func (x WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) Enum() *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicyfunc (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.EnumNumberfunc (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) String
func (x WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) String() stringfunc (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) Type
func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) Type() protoreflect.EnumTypeWorkstationConfig_PortRange
type WorkstationConfig_PortRange struct {
// Required. Starting port number for the current range of ports.
// Valid ports are 22, 80, and ports within the range 1024-65535.
First int32 `protobuf:"varint,1,opt,name=first,proto3" json:"first,omitempty"`
// Required. Ending port number for the current range of ports.
// Valid ports are 22, 80, and ports within the range 1024-65535.
Last int32 `protobuf:"varint,2,opt,name=last,proto3" json:"last,omitempty"`
// contains filtered or unexported fields
}A PortRange defines a range of ports. Both [first][google.cloud.workstations.v1.WorkstationConfig.PortRange.first] and [last][google.cloud.workstations.v1.WorkstationConfig.PortRange.last] are inclusive. To specify a single port, both [first][google.cloud.workstations.v1.WorkstationConfig.PortRange.first] and [last][google.cloud.workstations.v1.WorkstationConfig.PortRange.last] should be the same.
func (*WorkstationConfig_PortRange) Descriptor
func (*WorkstationConfig_PortRange) Descriptor() ([]byte, []int)Deprecated: Use WorkstationConfig_PortRange.ProtoReflect.Descriptor instead.
func (*WorkstationConfig_PortRange) GetFirst
func (x *WorkstationConfig_PortRange) GetFirst() int32func (*WorkstationConfig_PortRange) GetLast
func (x *WorkstationConfig_PortRange) GetLast() int32func (*WorkstationConfig_PortRange) ProtoMessage
func (*WorkstationConfig_PortRange) ProtoMessage()func (*WorkstationConfig_PortRange) ProtoReflect
func (x *WorkstationConfig_PortRange) ProtoReflect() protoreflect.Messagefunc (*WorkstationConfig_PortRange) Reset
func (x *WorkstationConfig_PortRange) Reset()func (*WorkstationConfig_PortRange) String
func (x *WorkstationConfig_PortRange) String() stringWorkstationConfig_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() stringfunc (*WorkstationConfig_ReadinessCheck) GetPort
func (x *WorkstationConfig_ReadinessCheck) GetPort() int32func (*WorkstationConfig_ReadinessCheck) ProtoMessage
func (*WorkstationConfig_ReadinessCheck) ProtoMessage()func (*WorkstationConfig_ReadinessCheck) ProtoReflect
func (x *WorkstationConfig_ReadinessCheck) ProtoReflect() protoreflect.Messagefunc (*WorkstationConfig_ReadinessCheck) Reset
func (x *WorkstationConfig_ReadinessCheck) Reset()func (*WorkstationConfig_ReadinessCheck) String
func (x *WorkstationConfig_ReadinessCheck) String() stringWorkstation_RuntimeHost
type Workstation_RuntimeHost struct {
// Type of host used by the workstation.
//
// Types that are valid to be assigned to HostType:
//
// *Workstation_RuntimeHost_GceInstanceHost_
HostType isWorkstation_RuntimeHost_HostType `protobuf_oneof:"host_type"`
// contains filtered or unexported fields
}Runtime host for the workstation.
func (*Workstation_RuntimeHost) Descriptor
func (*Workstation_RuntimeHost) Descriptor() ([]byte, []int)Deprecated: Use Workstation_RuntimeHost.ProtoReflect.Descriptor instead.
func (*Workstation_RuntimeHost) GetGceInstanceHost
func (x *Workstation_RuntimeHost) GetGceInstanceHost() *Workstation_RuntimeHost_GceInstanceHostfunc (*Workstation_RuntimeHost) GetHostType
func (x *Workstation_RuntimeHost) GetHostType() isWorkstation_RuntimeHost_HostTypefunc (*Workstation_RuntimeHost) ProtoMessage
func (*Workstation_RuntimeHost) ProtoMessage()func (*Workstation_RuntimeHost) ProtoReflect
func (x *Workstation_RuntimeHost) ProtoReflect() protoreflect.Messagefunc (*Workstation_RuntimeHost) Reset
func (x *Workstation_RuntimeHost) Reset()func (*Workstation_RuntimeHost) String
func (x *Workstation_RuntimeHost) String() stringWorkstation_RuntimeHost_GceInstanceHost
type Workstation_RuntimeHost_GceInstanceHost struct {
// Optional. Output only. The name of the Compute Engine instance.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Output only. The ID of the Compute Engine instance.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// Optional. Output only. The zone of the Compute Engine instance.
Zone string `protobuf:"bytes,3,opt,name=zone,proto3" json:"zone,omitempty"`
// contains filtered or unexported fields
}The Compute Engine instance host.
func (*Workstation_RuntimeHost_GceInstanceHost) Descriptor
func (*Workstation_RuntimeHost_GceInstanceHost) Descriptor() ([]byte, []int)Deprecated: Use Workstation_RuntimeHost_GceInstanceHost.ProtoReflect.Descriptor instead.
func (*Workstation_RuntimeHost_GceInstanceHost) GetId
func (x *Workstation_RuntimeHost_GceInstanceHost) GetId() stringfunc (*Workstation_RuntimeHost_GceInstanceHost) GetName
func (x *Workstation_RuntimeHost_GceInstanceHost) GetName() stringfunc (*Workstation_RuntimeHost_GceInstanceHost) GetZone
func (x *Workstation_RuntimeHost_GceInstanceHost) GetZone() stringfunc (*Workstation_RuntimeHost_GceInstanceHost) ProtoMessage
func (*Workstation_RuntimeHost_GceInstanceHost) ProtoMessage()func (*Workstation_RuntimeHost_GceInstanceHost) ProtoReflect
func (x *Workstation_RuntimeHost_GceInstanceHost) ProtoReflect() protoreflect.Messagefunc (*Workstation_RuntimeHost_GceInstanceHost) Reset
func (x *Workstation_RuntimeHost_GceInstanceHost) Reset()func (*Workstation_RuntimeHost_GceInstanceHost) String
func (x *Workstation_RuntimeHost_GceInstanceHost) String() stringWorkstation_RuntimeHost_GceInstanceHost_
type Workstation_RuntimeHost_GceInstanceHost_ struct {
// Specifies a Compute Engine instance as the host.
GceInstanceHost *Workstation_RuntimeHost_GceInstanceHost `protobuf:"bytes,1,opt,name=gce_instance_host,json=gceInstanceHost,proto3,oneof"`
}Workstation_State
type Workstation_State int32Whether 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.EnumDescriptorfunc (Workstation_State) Enum
func (x Workstation_State) Enum() *Workstation_Statefunc (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.EnumNumberfunc (Workstation_State) String
func (x Workstation_State) String() stringfunc (Workstation_State) Type
func (Workstation_State) Type() protoreflect.EnumTypeWorkstation_WorkstationPersistentDirectory
type Workstation_WorkstationPersistentDirectory struct {
// Optional. The mount path of the persistent directory.
MountPath string `protobuf:"bytes,2,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
// Optional. Size of the persistent directory in GB. If specified in an
// update request, this is the desired size of the directory.
SizeGb int32 `protobuf:"varint,3,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
// contains filtered or unexported fields
}A directory to persist across workstation sessions. Updates to this field will only take effect on this workstation after it is restarted.
func (*Workstation_WorkstationPersistentDirectory) Descriptor
func (*Workstation_WorkstationPersistentDirectory) Descriptor() ([]byte, []int)Deprecated: Use Workstation_WorkstationPersistentDirectory.ProtoReflect.Descriptor instead.
func (*Workstation_WorkstationPersistentDirectory) GetMountPath
func (x *Workstation_WorkstationPersistentDirectory) GetMountPath() stringfunc (*Workstation_WorkstationPersistentDirectory) GetSizeGb
func (x *Workstation_WorkstationPersistentDirectory) GetSizeGb() int32func (*Workstation_WorkstationPersistentDirectory) ProtoMessage
func (*Workstation_WorkstationPersistentDirectory) ProtoMessage()func (*Workstation_WorkstationPersistentDirectory) ProtoReflect
func (x *Workstation_WorkstationPersistentDirectory) ProtoReflect() protoreflect.Messagefunc (*Workstation_WorkstationPersistentDirectory) Reset
func (x *Workstation_WorkstationPersistentDirectory) Reset()func (*Workstation_WorkstationPersistentDirectory) String
func (x *Workstation_WorkstationPersistentDirectory) String() stringWorkstationsClient
type WorkstationsClient interface {
// Returns the requested workstation cluster.
GetWorkstationCluster(ctx context.Context, in *GetWorkstationClusterRequest, opts ...grpc.CallOption) (*WorkstationCluster, error)
// Returns all workstation clusters in the specified location.
ListWorkstationClusters(ctx context.Context, in *ListWorkstationClustersRequest, opts ...grpc.CallOption) (*ListWorkstationClustersResponse, error)
// Creates a new workstation cluster.
CreateWorkstationCluster(ctx context.Context, in *CreateWorkstationClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates an existing workstation cluster.
UpdateWorkstationCluster(ctx context.Context, in *UpdateWorkstationClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes the specified workstation cluster.
DeleteWorkstationCluster(ctx context.Context, in *DeleteWorkstationClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Returns the requested workstation configuration.
GetWorkstationConfig(ctx context.Context, in *GetWorkstationConfigRequest, opts ...grpc.CallOption) (*WorkstationConfig, error)
// Returns all workstation configurations in the specified cluster.
ListWorkstationConfigs(ctx context.Context, in *ListWorkstationConfigsRequest, opts ...grpc.CallOption) (*ListWorkstationConfigsResponse, error)
// Returns all workstation configurations in the specified cluster on which
// the caller has the "workstations.workstation.create" permission.
ListUsableWorkstationConfigs(ctx context.Context, in *ListUsableWorkstationConfigsRequest, opts ...grpc.CallOption) (*ListUsableWorkstationConfigsResponse, error)
// Creates a new workstation configuration.
CreateWorkstationConfig(ctx context.Context, in *CreateWorkstationConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates an existing workstation configuration.
UpdateWorkstationConfig(ctx context.Context, in *UpdateWorkstationConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes the specified workstation configuration.
DeleteWorkstationConfig(ctx context.Context, in *DeleteWorkstationConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Returns the requested workstation.
GetWorkstation(ctx context.Context, in *GetWorkstationRequest, opts ...grpc.CallOption) (*Workstation, error)
// Returns all Workstations using the specified workstation configuration.
ListWorkstations(ctx context.Context, in *ListWorkstationsRequest, opts ...grpc.CallOption) (*ListWorkstationsResponse, error)
// Returns all workstations using the specified workstation configuration
// on which the caller has the "workstations.workstations.use" permission.
ListUsableWorkstations(ctx context.Context, in *ListUsableWorkstationsRequest, opts ...grpc.CallOption) (*ListUsableWorkstationsResponse, error)
// Creates a new workstation.
CreateWorkstation(ctx context.Context, in *CreateWorkstationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates an existing workstation.
UpdateWorkstation(ctx context.Context, in *UpdateWorkstationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes the specified workstation.
DeleteWorkstation(ctx context.Context, in *DeleteWorkstationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Starts running a workstation so that users can connect to it.
StartWorkstation(ctx context.Context, in *StartWorkstationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Stops running a workstation, reducing costs.
StopWorkstation(ctx context.Context, in *StopWorkstationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Returns a short-lived credential that can be used to send authenticated and
// authorized traffic to a workstation.
// Once generated this token cannot be revoked and is good for the lifetime
// of the token.
GenerateAccessToken(ctx context.Context, in *GenerateAccessTokenRequest, opts ...grpc.CallOption) (*GenerateAccessTokenResponse, error)
}WorkstationsClient is the client API for Workstations service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewWorkstationsClient
func NewWorkstationsClient(cc grpc.ClientConnInterface) WorkstationsClientWorkstationsServer
type WorkstationsServer interface {
// Returns the requested workstation cluster.
GetWorkstationCluster(context.Context, *GetWorkstationClusterRequest) (*WorkstationCluster, error)
// Returns all workstation clusters in the specified location.
ListWorkstationClusters(context.Context, *ListWorkstationClustersRequest) (*ListWorkstationClustersResponse, error)
// Creates a new workstation cluster.
CreateWorkstationCluster(context.Context, *CreateWorkstationClusterRequest) (*longrunningpb.Operation, error)
// Updates an existing workstation cluster.
UpdateWorkstationCluster(context.Context, *UpdateWorkstationClusterRequest) (*longrunningpb.Operation, error)
// Deletes the specified workstation cluster.
DeleteWorkstationCluster(context.Context, *DeleteWorkstationClusterRequest) (*longrunningpb.Operation, error)
// Returns the requested workstation configuration.
GetWorkstationConfig(context.Context, *GetWorkstationConfigRequest) (*WorkstationConfig, error)
// Returns all workstation configurations in the specified cluster.
ListWorkstationConfigs(context.Context, *ListWorkstationConfigsRequest) (*ListWorkstationConfigsResponse, error)
// Returns all workstation configurations in the specified cluster on which
// the caller has the "workstations.workstation.create" permission.
ListUsableWorkstationConfigs(context.Context, *ListUsableWorkstationConfigsRequest) (*ListUsableWorkstationConfigsResponse, error)
// Creates a new workstation configuration.
CreateWorkstationConfig(context.Context, *CreateWorkstationConfigRequest) (*longrunningpb.Operation, error)
// Updates an existing workstation configuration.
UpdateWorkstationConfig(context.Context, *UpdateWorkstationConfigRequest) (*longrunningpb.Operation, error)
// Deletes the specified workstation configuration.
DeleteWorkstationConfig(context.Context, *DeleteWorkstationConfigRequest) (*longrunningpb.Operation, error)
// Returns the requested workstation.
GetWorkstation(context.Context, *GetWorkstationRequest) (*Workstation, error)
// Returns all Workstations using the specified workstation configuration.
ListWorkstations(context.Context, *ListWorkstationsRequest) (*ListWorkstationsResponse, error)
// Returns all workstations using the specified workstation configuration
// on which the caller has the "workstations.workstations.use" permission.
ListUsableWorkstations(context.Context, *ListUsableWorkstationsRequest) (*ListUsableWorkstationsResponse, error)
// Creates a new workstation.
CreateWorkstation(context.Context, *CreateWorkstationRequest) (*longrunningpb.Operation, error)
// Updates an existing workstation.
UpdateWorkstation(context.Context, *UpdateWorkstationRequest) (*longrunningpb.Operation, error)
// Deletes the specified workstation.
DeleteWorkstation(context.Context, *DeleteWorkstationRequest) (*longrunningpb.Operation, error)
// Starts running a workstation so that users can connect to it.
StartWorkstation(context.Context, *StartWorkstationRequest) (*longrunningpb.Operation, error)
// Stops running a workstation, reducing costs.
StopWorkstation(context.Context, *StopWorkstationRequest) (*longrunningpb.Operation, error)
// Returns a short-lived credential that can be used to send authenticated and
// authorized traffic to a workstation.
// Once generated this token cannot be revoked and is good for the lifetime
// of the token.
GenerateAccessToken(context.Context, *GenerateAccessTokenRequest) (*GenerateAccessTokenResponse, error)
}WorkstationsServer is the server API for Workstations service. All implementations should embed UnimplementedWorkstationsServer for forward compatibility