workstationspb

package
v0.5.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
var File_google_cloud_workstations_v1_workstations_proto protoreflect.FileDescriptor

Functions

func RegisterWorkstationsServer

func RegisterWorkstationsServer(s *grpc.Server, srv WorkstationsServer)

Types

type CreateWorkstationClusterRequest

type CreateWorkstationClusterRequest struct {

	// Required. Parent resource name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. ID to use for the workstation cluster.
	WorkstationClusterId string `protobuf:"bytes,2,opt,name=workstation_cluster_id,json=workstationClusterId,proto3" json:"workstation_cluster_id,omitempty"`
	// Required. Workstation cluster to create.
	WorkstationCluster *WorkstationCluster `protobuf:"bytes,3,opt,name=workstation_cluster,json=workstationCluster,proto3" json:"workstation_cluster,omitempty"`
	// Optional. If set, validate the request and preview the review, but do not
	// actually apply it.
	ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

Message for creating a CreateWorkstationCluster.

func (*CreateWorkstationClusterRequest) Descriptor deprecated

func (*CreateWorkstationClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateWorkstationClusterRequest.ProtoReflect.Descriptor instead.

func (*CreateWorkstationClusterRequest) GetParent

func (x *CreateWorkstationClusterRequest) GetParent() string

func (*CreateWorkstationClusterRequest) GetValidateOnly

func (x *CreateWorkstationClusterRequest) GetValidateOnly() bool

func (*CreateWorkstationClusterRequest) GetWorkstationCluster

func (x *CreateWorkstationClusterRequest) GetWorkstationCluster() *WorkstationCluster

func (*CreateWorkstationClusterRequest) GetWorkstationClusterId

func (x *CreateWorkstationClusterRequest) GetWorkstationClusterId() string

func (*CreateWorkstationClusterRequest) ProtoMessage

func (*CreateWorkstationClusterRequest) ProtoMessage()

func (*CreateWorkstationClusterRequest) ProtoReflect

func (*CreateWorkstationClusterRequest) Reset

func (*CreateWorkstationClusterRequest) String

type CreateWorkstationConfigRequest

type CreateWorkstationConfigRequest struct {

	// Required. Parent resource name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. ID to use for the workstation configuration.
	WorkstationConfigId string `protobuf:"bytes,2,opt,name=workstation_config_id,json=workstationConfigId,proto3" json:"workstation_config_id,omitempty"`
	// Required. Config to create.
	WorkstationConfig *WorkstationConfig `protobuf:"bytes,3,opt,name=workstation_config,json=workstationConfig,proto3" json:"workstation_config,omitempty"`
	// Optional. If set, validate the request and preview the review, but do not
	// actually apply it.
	ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

Message for creating a CreateWorkstationConfig.

func (*CreateWorkstationConfigRequest) Descriptor deprecated

func (*CreateWorkstationConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateWorkstationConfigRequest.ProtoReflect.Descriptor instead.

func (*CreateWorkstationConfigRequest) GetParent

func (x *CreateWorkstationConfigRequest) GetParent() string

func (*CreateWorkstationConfigRequest) GetValidateOnly

func (x *CreateWorkstationConfigRequest) GetValidateOnly() bool

func (*CreateWorkstationConfigRequest) GetWorkstationConfig

func (x *CreateWorkstationConfigRequest) GetWorkstationConfig() *WorkstationConfig

func (*CreateWorkstationConfigRequest) GetWorkstationConfigId

func (x *CreateWorkstationConfigRequest) GetWorkstationConfigId() string

func (*CreateWorkstationConfigRequest) ProtoMessage

func (*CreateWorkstationConfigRequest) ProtoMessage()

func (*CreateWorkstationConfigRequest) ProtoReflect

func (*CreateWorkstationConfigRequest) Reset

func (x *CreateWorkstationConfigRequest) Reset()

func (*CreateWorkstationConfigRequest) String

type CreateWorkstationRequest

type CreateWorkstationRequest struct {

	// Required. Parent resource name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. ID to use for the workstation.
	WorkstationId string `protobuf:"bytes,2,opt,name=workstation_id,json=workstationId,proto3" json:"workstation_id,omitempty"`
	// Required. Workstation to create.
	Workstation *Workstation `protobuf:"bytes,3,opt,name=workstation,proto3" json:"workstation,omitempty"`
	// Optional. If set, validate the request and preview the review, but do not
	// actually apply it.
	ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

Message for creating a CreateWorkstation.

func (*CreateWorkstationRequest) Descriptor deprecated

func (*CreateWorkstationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateWorkstationRequest.ProtoReflect.Descriptor instead.

func (*CreateWorkstationRequest) GetParent

func (x *CreateWorkstationRequest) GetParent() string

func (*CreateWorkstationRequest) GetValidateOnly

func (x *CreateWorkstationRequest) GetValidateOnly() bool

func (*CreateWorkstationRequest) GetWorkstation

func (x *CreateWorkstationRequest) GetWorkstation() *Workstation

func (*CreateWorkstationRequest) GetWorkstationId

func (x *CreateWorkstationRequest) GetWorkstationId() string

func (*CreateWorkstationRequest) ProtoMessage

func (*CreateWorkstationRequest) ProtoMessage()

func (*CreateWorkstationRequest) ProtoReflect

func (x *CreateWorkstationRequest) ProtoReflect() protoreflect.Message

func (*CreateWorkstationRequest) Reset

func (x *CreateWorkstationRequest) Reset()

func (*CreateWorkstationRequest) String

func (x *CreateWorkstationRequest) String() string

type DeleteWorkstationClusterRequest

type DeleteWorkstationClusterRequest struct {

	// Required. Name of the workstation cluster to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If set, validate the request and preview the review, but do not
	// apply it.
	ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// Optional. If set, the request will be rejected if the latest version of the
	// workstation cluster on the server does not have this ETag.
	Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
	// Optional. If set, any workstation configurations and workstations in the
	// workstation cluster are also deleted. Otherwise, the request only
	// works if the workstation cluster has no configurations or workstations.
	Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

Message for deleting a workstation cluster.

func (*DeleteWorkstationClusterRequest) Descriptor deprecated

func (*DeleteWorkstationClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteWorkstationClusterRequest.ProtoReflect.Descriptor instead.

func (*DeleteWorkstationClusterRequest) GetEtag

func (*DeleteWorkstationClusterRequest) GetForce

func (x *DeleteWorkstationClusterRequest) GetForce() bool

func (*DeleteWorkstationClusterRequest) GetName

func (*DeleteWorkstationClusterRequest) GetValidateOnly

func (x *DeleteWorkstationClusterRequest) GetValidateOnly() bool

func (*DeleteWorkstationClusterRequest) ProtoMessage

func (*DeleteWorkstationClusterRequest) ProtoMessage()

func (*DeleteWorkstationClusterRequest) ProtoReflect

func (*DeleteWorkstationClusterRequest) Reset

func (*DeleteWorkstationClusterRequest) String

type DeleteWorkstationConfigRequest

type DeleteWorkstationConfigRequest struct {

	// Required. Name of the workstation configuration to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If set, validate the request and preview the review, but do not
	// actually apply it.
	ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// Optional. If set, the request is rejected if the latest version of the
	// workstation configuration on the server does not have this ETag.
	Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
	// Optional. If set, any workstations in the workstation configuration are
	// also deleted. Otherwise, the request works only if the workstation
	// configuration has no workstations.
	Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

Message for deleting a workstation configuration.

func (*DeleteWorkstationConfigRequest) Descriptor deprecated

func (*DeleteWorkstationConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteWorkstationConfigRequest.ProtoReflect.Descriptor instead.

func (*DeleteWorkstationConfigRequest) GetEtag

func (*DeleteWorkstationConfigRequest) GetForce

func (x *DeleteWorkstationConfigRequest) GetForce() bool

func (*DeleteWorkstationConfigRequest) GetName

func (*DeleteWorkstationConfigRequest) GetValidateOnly

func (x *DeleteWorkstationConfigRequest) GetValidateOnly() bool

func (*DeleteWorkstationConfigRequest) ProtoMessage

func (*DeleteWorkstationConfigRequest) ProtoMessage()

func (*DeleteWorkstationConfigRequest) ProtoReflect

func (*DeleteWorkstationConfigRequest) Reset

func (x *DeleteWorkstationConfigRequest) Reset()

func (*DeleteWorkstationConfigRequest) String

type DeleteWorkstationRequest

type DeleteWorkstationRequest struct {

	// Required. Name of the workstation to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If set, validate the request and preview the review, but do not
	// actually apply it.
	ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// Optional. If set, the request will be rejected if the latest version of the
	// workstation on the server does not have this ETag.
	Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

Request message for DeleteWorkstation.

func (*DeleteWorkstationRequest) Descriptor deprecated

func (*DeleteWorkstationRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteWorkstationRequest.ProtoReflect.Descriptor instead.

func (*DeleteWorkstationRequest) GetEtag

func (x *DeleteWorkstationRequest) GetEtag() string

func (*DeleteWorkstationRequest) GetName

func (x *DeleteWorkstationRequest) GetName() string

func (*DeleteWorkstationRequest) GetValidateOnly

func (x *DeleteWorkstationRequest) GetValidateOnly() bool

func (*DeleteWorkstationRequest) ProtoMessage

func (*DeleteWorkstationRequest) ProtoMessage()

func (*DeleteWorkstationRequest) ProtoReflect

func (x *DeleteWorkstationRequest) ProtoReflect() protoreflect.Message

func (*DeleteWorkstationRequest) Reset

func (x *DeleteWorkstationRequest) Reset()

func (*DeleteWorkstationRequest) String

func (x *DeleteWorkstationRequest) String() string

type GenerateAccessTokenRequest

type GenerateAccessTokenRequest struct {

	// Desired expiration or lifetime of the access token.
	//
	// Types that are assignable to Expiration:
	//
	//	*GenerateAccessTokenRequest_ExpireTime
	//	*GenerateAccessTokenRequest_Ttl
	Expiration isGenerateAccessTokenRequest_Expiration `protobuf_oneof:"expiration"`
	// Required. Name of the workstation for which the access token should be
	// generated.
	Workstation string `protobuf:"bytes,1,opt,name=workstation,proto3" json:"workstation,omitempty"`
	// contains filtered or unexported fields
}

Request message for GenerateAccessToken.

func (*GenerateAccessTokenRequest) Descriptor deprecated

func (*GenerateAccessTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*GenerateAccessTokenRequest) GetExpiration

func (m *GenerateAccessTokenRequest) GetExpiration() isGenerateAccessTokenRequest_Expiration

func (*GenerateAccessTokenRequest) GetExpireTime

func (x *GenerateAccessTokenRequest) GetExpireTime() *timestamppb.Timestamp

func (*GenerateAccessTokenRequest) GetTtl

func (*GenerateAccessTokenRequest) GetWorkstation

func (x *GenerateAccessTokenRequest) GetWorkstation() string

func (*GenerateAccessTokenRequest) ProtoMessage

func (*GenerateAccessTokenRequest) ProtoMessage()

func (*GenerateAccessTokenRequest) ProtoReflect

func (*GenerateAccessTokenRequest) Reset

func (x *GenerateAccessTokenRequest) Reset()

func (*GenerateAccessTokenRequest) String

func (x *GenerateAccessTokenRequest) String() string

type GenerateAccessTokenRequest_ExpireTime

type GenerateAccessTokenRequest_ExpireTime struct {
	// Desired expiration time of the access token. This value must
	// be at most 24 hours in the future. If a value is not specified, the
	// token's expiration time will be set to a default value of 1 hour in the
	// future.
	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3,oneof"`
}

type GenerateAccessTokenRequest_Ttl

type GenerateAccessTokenRequest_Ttl struct {
	// Desired lifetime duration of the access token. This value must
	// be at most 24 hours. If a value is not specified, the token's lifetime
	// will be set to a default value of 1 hour.
	Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3,oneof"`
}

type GenerateAccessTokenResponse

type GenerateAccessTokenResponse struct {

	// The generated bearer access token. To use this token, include it in an
	// Authorization header of an HTTP request sent to the associated
	// workstation's hostname—for example, `Authorization: Bearer
	// <access_token>`.
	AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// Time at which the generated token will expire.
	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	// contains filtered or unexported fields
}

Response message for GenerateAccessToken.

func (*GenerateAccessTokenResponse) Descriptor deprecated

func (*GenerateAccessTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateAccessTokenResponse.ProtoReflect.Descriptor instead.

func (*GenerateAccessTokenResponse) GetAccessToken

func (x *GenerateAccessTokenResponse) GetAccessToken() string

func (*GenerateAccessTokenResponse) GetExpireTime

func (*GenerateAccessTokenResponse) ProtoMessage

func (*GenerateAccessTokenResponse) ProtoMessage()

func (*GenerateAccessTokenResponse) ProtoReflect

func (*GenerateAccessTokenResponse) Reset

func (x *GenerateAccessTokenResponse) Reset()

func (*GenerateAccessTokenResponse) String

func (x *GenerateAccessTokenResponse) String() string

type GetWorkstationClusterRequest

type GetWorkstationClusterRequest struct {

	// Required. Name of the requested resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetWorkstationCluster.

func (*GetWorkstationClusterRequest) Descriptor deprecated

func (*GetWorkstationClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetWorkstationClusterRequest.ProtoReflect.Descriptor instead.

func (*GetWorkstationClusterRequest) GetName

func (x *GetWorkstationClusterRequest) GetName() string

func (*GetWorkstationClusterRequest) ProtoMessage

func (*GetWorkstationClusterRequest) ProtoMessage()

func (*GetWorkstationClusterRequest) ProtoReflect

func (*GetWorkstationClusterRequest) Reset

func (x *GetWorkstationClusterRequest) Reset()

func (*GetWorkstationClusterRequest) String

type GetWorkstationConfigRequest

type GetWorkstationConfigRequest struct {

	// Required. Name of the requested resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetWorkstationConfig.

func (*GetWorkstationConfigRequest) Descriptor deprecated

func (*GetWorkstationConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetWorkstationConfigRequest.ProtoReflect.Descriptor instead.

func (*GetWorkstationConfigRequest) GetName

func (x *GetWorkstationConfigRequest) GetName() string

func (*GetWorkstationConfigRequest) ProtoMessage

func (*GetWorkstationConfigRequest) ProtoMessage()

func (*GetWorkstationConfigRequest) ProtoReflect

func (*GetWorkstationConfigRequest) Reset

func (x *GetWorkstationConfigRequest) Reset()

func (*GetWorkstationConfigRequest) String

func (x *GetWorkstationConfigRequest) String() string

type GetWorkstationRequest

type GetWorkstationRequest struct {

	// Required. Name of the requested resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetWorkstation.

func (*GetWorkstationRequest) Descriptor deprecated

func (*GetWorkstationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetWorkstationRequest.ProtoReflect.Descriptor instead.

func (*GetWorkstationRequest) GetName

func (x *GetWorkstationRequest) GetName() string

func (*GetWorkstationRequest) ProtoMessage

func (*GetWorkstationRequest) ProtoMessage()

func (*GetWorkstationRequest) ProtoReflect

func (x *GetWorkstationRequest) ProtoReflect() protoreflect.Message

func (*GetWorkstationRequest) Reset

func (x *GetWorkstationRequest) Reset()

func (*GetWorkstationRequest) String

func (x *GetWorkstationRequest) String() string

type ListUsableWorkstationConfigsRequest

type ListUsableWorkstationConfigsRequest struct {

	// Required. Parent resource name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Maximum number of items to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. next_page_token value returned from a previous List request, if
	// any.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListUsableWorkstationConfigs.

func (*ListUsableWorkstationConfigsRequest) Descriptor deprecated

func (*ListUsableWorkstationConfigsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListUsableWorkstationConfigsRequest.ProtoReflect.Descriptor instead.

func (*ListUsableWorkstationConfigsRequest) GetPageSize

func (x *ListUsableWorkstationConfigsRequest) GetPageSize() int32

func (*ListUsableWorkstationConfigsRequest) GetPageToken

func (x *ListUsableWorkstationConfigsRequest) GetPageToken() string

func (*ListUsableWorkstationConfigsRequest) GetParent

func (*ListUsableWorkstationConfigsRequest) ProtoMessage

func (*ListUsableWorkstationConfigsRequest) ProtoMessage()

func (*ListUsableWorkstationConfigsRequest) ProtoReflect

func (*ListUsableWorkstationConfigsRequest) Reset

func (*ListUsableWorkstationConfigsRequest) String

type ListUsableWorkstationConfigsResponse

type ListUsableWorkstationConfigsResponse struct {

	// The requested configs.
	WorkstationConfigs []*WorkstationConfig `protobuf:"bytes,1,rep,name=workstation_configs,json=workstationConfigs,proto3" json:"workstation_configs,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Unreachable resources.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for ListUsableWorkstationConfigs.

func (*ListUsableWorkstationConfigsResponse) Descriptor deprecated

func (*ListUsableWorkstationConfigsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListUsableWorkstationConfigsResponse.ProtoReflect.Descriptor instead.

func (*ListUsableWorkstationConfigsResponse) GetNextPageToken

func (x *ListUsableWorkstationConfigsResponse) GetNextPageToken() string

func (*ListUsableWorkstationConfigsResponse) GetUnreachable

func (x *ListUsableWorkstationConfigsResponse) GetUnreachable() []string

func (*ListUsableWorkstationConfigsResponse) GetWorkstationConfigs

func (x *ListUsableWorkstationConfigsResponse) GetWorkstationConfigs() []*WorkstationConfig

func (*ListUsableWorkstationConfigsResponse) ProtoMessage

func (*ListUsableWorkstationConfigsResponse) ProtoMessage()

func (*ListUsableWorkstationConfigsResponse) ProtoReflect

func (*ListUsableWorkstationConfigsResponse) Reset

func (*ListUsableWorkstationConfigsResponse) String

type ListUsableWorkstationsRequest

type ListUsableWorkstationsRequest struct {

	// Required. Parent resource name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Maximum number of items to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. next_page_token value returned from a previous List request, if
	// any.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListUsableWorkstations.

func (*ListUsableWorkstationsRequest) Descriptor deprecated

func (*ListUsableWorkstationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListUsableWorkstationsRequest.ProtoReflect.Descriptor instead.

func (*ListUsableWorkstationsRequest) GetPageSize

func (x *ListUsableWorkstationsRequest) GetPageSize() int32

func (*ListUsableWorkstationsRequest) GetPageToken

func (x *ListUsableWorkstationsRequest) GetPageToken() string

func (*ListUsableWorkstationsRequest) GetParent

func (x *ListUsableWorkstationsRequest) GetParent() string

func (*ListUsableWorkstationsRequest) ProtoMessage

func (*ListUsableWorkstationsRequest) ProtoMessage()

func (*ListUsableWorkstationsRequest) ProtoReflect

func (*ListUsableWorkstationsRequest) Reset

func (x *ListUsableWorkstationsRequest) Reset()

func (*ListUsableWorkstationsRequest) String

type ListUsableWorkstationsResponse

type ListUsableWorkstationsResponse struct {

	// The requested workstations.
	Workstations []*Workstation `protobuf:"bytes,1,rep,name=workstations,proto3" json:"workstations,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Unreachable resources.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for ListUsableWorkstations.

func (*ListUsableWorkstationsResponse) Descriptor deprecated

func (*ListUsableWorkstationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListUsableWorkstationsResponse.ProtoReflect.Descriptor instead.

func (*ListUsableWorkstationsResponse) GetNextPageToken

func (x *ListUsableWorkstationsResponse) GetNextPageToken() string

func (*ListUsableWorkstationsResponse) GetUnreachable

func (x *ListUsableWorkstationsResponse) GetUnreachable() []string

func (*ListUsableWorkstationsResponse) GetWorkstations

func (x *ListUsableWorkstationsResponse) GetWorkstations() []*Workstation

func (*ListUsableWorkstationsResponse) ProtoMessage

func (*ListUsableWorkstationsResponse) ProtoMessage()

func (*ListUsableWorkstationsResponse) ProtoReflect

func (*ListUsableWorkstationsResponse) Reset

func (x *ListUsableWorkstationsResponse) Reset()

func (*ListUsableWorkstationsResponse) String

type ListWorkstationClustersRequest

type ListWorkstationClustersRequest struct {

	// Required. Parent resource name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Maximum number of items to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. next_page_token value returned from a previous List request, if
	// any.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListWorkstationClusters.

func (*ListWorkstationClustersRequest) Descriptor deprecated

func (*ListWorkstationClustersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkstationClustersRequest.ProtoReflect.Descriptor instead.

func (*ListWorkstationClustersRequest) GetPageSize

func (x *ListWorkstationClustersRequest) GetPageSize() int32

func (*ListWorkstationClustersRequest) GetPageToken

func (x *ListWorkstationClustersRequest) GetPageToken() string

func (*ListWorkstationClustersRequest) GetParent

func (x *ListWorkstationClustersRequest) GetParent() string

func (*ListWorkstationClustersRequest) ProtoMessage

func (*ListWorkstationClustersRequest) ProtoMessage()

func (*ListWorkstationClustersRequest) ProtoReflect

func (*ListWorkstationClustersRequest) Reset

func (x *ListWorkstationClustersRequest) Reset()

func (*ListWorkstationClustersRequest) String

type ListWorkstationClustersResponse

type ListWorkstationClustersResponse struct {

	// The requested workstation clusters.
	WorkstationClusters []*WorkstationCluster `protobuf:"bytes,1,rep,name=workstation_clusters,json=workstationClusters,proto3" json:"workstation_clusters,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Unreachable resources.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for ListWorkstationClusters.

func (*ListWorkstationClustersResponse) Descriptor deprecated

func (*ListWorkstationClustersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkstationClustersResponse.ProtoReflect.Descriptor instead.

func (*ListWorkstationClustersResponse) GetNextPageToken

func (x *ListWorkstationClustersResponse) GetNextPageToken() string

func (*ListWorkstationClustersResponse) GetUnreachable

func (x *ListWorkstationClustersResponse) GetUnreachable() []string

func (*ListWorkstationClustersResponse) GetWorkstationClusters

func (x *ListWorkstationClustersResponse) GetWorkstationClusters() []*WorkstationCluster

func (*ListWorkstationClustersResponse) ProtoMessage

func (*ListWorkstationClustersResponse) ProtoMessage()

func (*ListWorkstationClustersResponse) ProtoReflect

func (*ListWorkstationClustersResponse) Reset

func (*ListWorkstationClustersResponse) String

type ListWorkstationConfigsRequest

type ListWorkstationConfigsRequest struct {

	// Required. Parent resource name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Maximum number of items to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. next_page_token value returned from a previous List request, if
	// any.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListWorkstationConfigs.

func (*ListWorkstationConfigsRequest) Descriptor deprecated

func (*ListWorkstationConfigsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkstationConfigsRequest.ProtoReflect.Descriptor instead.

func (*ListWorkstationConfigsRequest) GetPageSize

func (x *ListWorkstationConfigsRequest) GetPageSize() int32

func (*ListWorkstationConfigsRequest) GetPageToken

func (x *ListWorkstationConfigsRequest) GetPageToken() string

func (*ListWorkstationConfigsRequest) GetParent

func (x *ListWorkstationConfigsRequest) GetParent() string

func (*ListWorkstationConfigsRequest) ProtoMessage

func (*ListWorkstationConfigsRequest) ProtoMessage()

func (*ListWorkstationConfigsRequest) ProtoReflect

func (*ListWorkstationConfigsRequest) Reset

func (x *ListWorkstationConfigsRequest) Reset()

func (*ListWorkstationConfigsRequest) String

type ListWorkstationConfigsResponse

type ListWorkstationConfigsResponse struct {

	// The requested configs.
	WorkstationConfigs []*WorkstationConfig `protobuf:"bytes,1,rep,name=workstation_configs,json=workstationConfigs,proto3" json:"workstation_configs,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Unreachable resources.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for ListWorkstationConfigs.

func (*ListWorkstationConfigsResponse) Descriptor deprecated

func (*ListWorkstationConfigsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkstationConfigsResponse.ProtoReflect.Descriptor instead.

func (*ListWorkstationConfigsResponse) GetNextPageToken

func (x *ListWorkstationConfigsResponse) GetNextPageToken() string

func (*ListWorkstationConfigsResponse) GetUnreachable

func (x *ListWorkstationConfigsResponse) GetUnreachable() []string

func (*ListWorkstationConfigsResponse) GetWorkstationConfigs

func (x *ListWorkstationConfigsResponse) GetWorkstationConfigs() []*WorkstationConfig

func (*ListWorkstationConfigsResponse) ProtoMessage

func (*ListWorkstationConfigsResponse) ProtoMessage()

func (*ListWorkstationConfigsResponse) ProtoReflect

func (*ListWorkstationConfigsResponse) Reset

func (x *ListWorkstationConfigsResponse) Reset()

func (*ListWorkstationConfigsResponse) String

type ListWorkstationsRequest

type ListWorkstationsRequest struct {

	// Required. Parent resource name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Maximum number of items to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. next_page_token value returned from a previous List request, if
	// any.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListWorkstations.

func (*ListWorkstationsRequest) Descriptor deprecated

func (*ListWorkstationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkstationsRequest.ProtoReflect.Descriptor instead.

func (*ListWorkstationsRequest) GetPageSize

func (x *ListWorkstationsRequest) GetPageSize() int32

func (*ListWorkstationsRequest) GetPageToken

func (x *ListWorkstationsRequest) GetPageToken() string

func (*ListWorkstationsRequest) GetParent

func (x *ListWorkstationsRequest) GetParent() string

func (*ListWorkstationsRequest) ProtoMessage

func (*ListWorkstationsRequest) ProtoMessage()

func (*ListWorkstationsRequest) ProtoReflect

func (x *ListWorkstationsRequest) ProtoReflect() protoreflect.Message

func (*ListWorkstationsRequest) Reset

func (x *ListWorkstationsRequest) Reset()

func (*ListWorkstationsRequest) String

func (x *ListWorkstationsRequest) String() string

type ListWorkstationsResponse

type ListWorkstationsResponse struct {

	// The requested workstations.
	Workstations []*Workstation `protobuf:"bytes,1,rep,name=workstations,proto3" json:"workstations,omitempty"`
	// Optional. Token to retrieve the next page of results, or empty if there are
	// no more results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Optional. Unreachable resources.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for ListWorkstations.

func (*ListWorkstationsResponse) Descriptor deprecated

func (*ListWorkstationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkstationsResponse.ProtoReflect.Descriptor instead.

func (*ListWorkstationsResponse) GetNextPageToken

func (x *ListWorkstationsResponse) GetNextPageToken() string

func (*ListWorkstationsResponse) GetUnreachable

func (x *ListWorkstationsResponse) GetUnreachable() []string

func (*ListWorkstationsResponse) GetWorkstations

func (x *ListWorkstationsResponse) GetWorkstations() []*Workstation

func (*ListWorkstationsResponse) ProtoMessage

func (*ListWorkstationsResponse) ProtoMessage()

func (*ListWorkstationsResponse) ProtoReflect

func (x *ListWorkstationsResponse) ProtoReflect() protoreflect.Message

func (*ListWorkstationsResponse) Reset

func (x *ListWorkstationsResponse) Reset()

func (*ListWorkstationsResponse) String

func (x *ListWorkstationsResponse) String() string

type OperationMetadata

type OperationMetadata struct {

	// Output only. Time that the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time that the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. Server-defined resource path for the target of the operation.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// Output only. Name of the verb executed by the operation.
	Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
	// Output only. Human-readable status of the operation, if any.
	StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// Output only. Identifies whether the user has requested cancellation
	// of the operation.
	RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
	// Output only. API version used to start the operation.
	ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

Metadata for long-running operations.

func (*OperationMetadata) Descriptor deprecated

func (*OperationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCreateTime

func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp

func (*OperationMetadata) GetEndTime

func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

func (x *OperationMetadata) ProtoReflect() protoreflect.Message

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

type StartWorkstationRequest

type StartWorkstationRequest struct {

	// Required. Name of the workstation to start.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If set, validate the request and preview the review, but do not
	// actually apply it.
	ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// Optional. If set, the request will be rejected if the latest version of the
	// workstation on the server does not have this ETag.
	Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

Request message for StartWorkstation.

func (*StartWorkstationRequest) Descriptor deprecated

func (*StartWorkstationRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartWorkstationRequest.ProtoReflect.Descriptor instead.

func (*StartWorkstationRequest) GetEtag

func (x *StartWorkstationRequest) GetEtag() string

func (*StartWorkstationRequest) GetName

func (x *StartWorkstationRequest) GetName() string

func (*StartWorkstationRequest) GetValidateOnly

func (x *StartWorkstationRequest) GetValidateOnly() bool

func (*StartWorkstationRequest) ProtoMessage

func (*StartWorkstationRequest) ProtoMessage()

func (*StartWorkstationRequest) ProtoReflect

func (x *StartWorkstationRequest) ProtoReflect() protoreflect.Message

func (*StartWorkstationRequest) Reset

func (x *StartWorkstationRequest) Reset()

func (*StartWorkstationRequest) String

func (x *StartWorkstationRequest) String() string

type StopWorkstationRequest

type StopWorkstationRequest struct {

	// Required. Name of the workstation to stop.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If set, validate the request and preview the review, but do not
	// actually apply it.
	ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// Optional. If set, the request will be rejected if the latest version of the
	// workstation on the server does not have this ETag.
	Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

Request message for StopWorkstation.

func (*StopWorkstationRequest) Descriptor deprecated

func (*StopWorkstationRequest) Descriptor() ([]byte, []int)

Deprecated: Use StopWorkstationRequest.ProtoReflect.Descriptor instead.

func (*StopWorkstationRequest) GetEtag

func (x *StopWorkstationRequest) GetEtag() string

func (*StopWorkstationRequest) GetName

func (x *StopWorkstationRequest) GetName() string

func (*StopWorkstationRequest) GetValidateOnly

func (x *StopWorkstationRequest) GetValidateOnly() bool

func (*StopWorkstationRequest) ProtoMessage

func (*StopWorkstationRequest) ProtoMessage()

func (*StopWorkstationRequest) ProtoReflect

func (x *StopWorkstationRequest) ProtoReflect() protoreflect.Message

func (*StopWorkstationRequest) Reset

func (x *StopWorkstationRequest) Reset()

func (*StopWorkstationRequest) String

func (x *StopWorkstationRequest) String() string

type UnimplementedWorkstationsServer

type UnimplementedWorkstationsServer struct {
}

UnimplementedWorkstationsServer can be embedded to have forward compatible implementations.

func (*UnimplementedWorkstationsServer) CreateWorkstation

func (*UnimplementedWorkstationsServer) CreateWorkstationCluster

func (*UnimplementedWorkstationsServer) CreateWorkstationConfig

func (*UnimplementedWorkstationsServer) DeleteWorkstation

func (*UnimplementedWorkstationsServer) DeleteWorkstationCluster

func (*UnimplementedWorkstationsServer) DeleteWorkstationConfig

func (*UnimplementedWorkstationsServer) GenerateAccessToken

func (*UnimplementedWorkstationsServer) GetWorkstation

func (*UnimplementedWorkstationsServer) GetWorkstationCluster

func (*UnimplementedWorkstationsServer) GetWorkstationConfig

func (*UnimplementedWorkstationsServer) ListWorkstations

func (*UnimplementedWorkstationsServer) StartWorkstation

func (*UnimplementedWorkstationsServer) StopWorkstation

func (*UnimplementedWorkstationsServer) UpdateWorkstation

func (*UnimplementedWorkstationsServer) UpdateWorkstationCluster

func (*UnimplementedWorkstationsServer) UpdateWorkstationConfig

type UpdateWorkstationClusterRequest

type UpdateWorkstationClusterRequest struct {

	// Required. Workstation cluster to update.
	WorkstationCluster *WorkstationCluster `protobuf:"bytes,1,opt,name=workstation_cluster,json=workstationCluster,proto3" json:"workstation_cluster,omitempty"`
	// Required. Mask that specifies which fields in the workstation cluster
	// should be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Optional. If set, validate the request and preview the review, but do not
	// actually apply it.
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// Optional. If set, and the workstation cluster is not found, a new
	// workstation cluster will be created. In this situation, update_mask is
	// ignored.
	AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

Request message for UpdateWorkstationCluster.

func (*UpdateWorkstationClusterRequest) Descriptor deprecated

func (*UpdateWorkstationClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateWorkstationClusterRequest.ProtoReflect.Descriptor instead.

func (*UpdateWorkstationClusterRequest) GetAllowMissing

func (x *UpdateWorkstationClusterRequest) GetAllowMissing() bool

func (*UpdateWorkstationClusterRequest) GetUpdateMask

func (*UpdateWorkstationClusterRequest) GetValidateOnly

func (x *UpdateWorkstationClusterRequest) GetValidateOnly() bool

func (*UpdateWorkstationClusterRequest) GetWorkstationCluster

func (x *UpdateWorkstationClusterRequest) GetWorkstationCluster() *WorkstationCluster

func (*UpdateWorkstationClusterRequest) ProtoMessage

func (*UpdateWorkstationClusterRequest) ProtoMessage()

func (*UpdateWorkstationClusterRequest) ProtoReflect

func (*UpdateWorkstationClusterRequest) Reset

func (*UpdateWorkstationClusterRequest) String

type UpdateWorkstationConfigRequest

type UpdateWorkstationConfigRequest struct {

	// Required. Config to update.
	WorkstationConfig *WorkstationConfig `protobuf:"bytes,1,opt,name=workstation_config,json=workstationConfig,proto3" json:"workstation_config,omitempty"`
	// Required. Mask specifying which fields in the workstation configuration
	// should be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Optional. If set, validate the request and preview the review, but do not
	// actually apply it.
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// Optional. If set and the workstation configuration is not found, a new
	// workstation configuration will be created. In this situation,
	// update_mask is ignored.
	AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

Request message for UpdateWorkstationConfig.

func (*UpdateWorkstationConfigRequest) Descriptor deprecated

func (*UpdateWorkstationConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateWorkstationConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateWorkstationConfigRequest) GetAllowMissing

func (x *UpdateWorkstationConfigRequest) GetAllowMissing() bool

func (*UpdateWorkstationConfigRequest) GetUpdateMask

func (*UpdateWorkstationConfigRequest) GetValidateOnly

func (x *UpdateWorkstationConfigRequest) GetValidateOnly() bool

func (*UpdateWorkstationConfigRequest) GetWorkstationConfig

func (x *UpdateWorkstationConfigRequest) GetWorkstationConfig() *WorkstationConfig

func (*UpdateWorkstationConfigRequest) ProtoMessage

func (*UpdateWorkstationConfigRequest) ProtoMessage()

func (*UpdateWorkstationConfigRequest) ProtoReflect

func (*UpdateWorkstationConfigRequest) Reset

func (x *UpdateWorkstationConfigRequest) Reset()

func (*UpdateWorkstationConfigRequest) String

type UpdateWorkstationRequest

type UpdateWorkstationRequest struct {

	// Required. Workstation to update.
	Workstation *Workstation `protobuf:"bytes,1,opt,name=workstation,proto3" json:"workstation,omitempty"`
	// Required. Mask specifying which fields in the workstation configuration
	// should be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Optional. If set, validate the request and preview the review, but do not
	// actually apply it.
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// Optional. If set and the workstation configuration is not found, a new
	// workstation configuration is created. In this situation, update_mask
	// is ignored.
	AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

Request message for UpdateWorkstation.

func (*UpdateWorkstationRequest) Descriptor deprecated

func (*UpdateWorkstationRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateWorkstationRequest.ProtoReflect.Descriptor instead.

func (*UpdateWorkstationRequest) GetAllowMissing

func (x *UpdateWorkstationRequest) GetAllowMissing() bool

func (*UpdateWorkstationRequest) GetUpdateMask

func (x *UpdateWorkstationRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateWorkstationRequest) GetValidateOnly

func (x *UpdateWorkstationRequest) GetValidateOnly() bool

func (*UpdateWorkstationRequest) GetWorkstation

func (x *UpdateWorkstationRequest) GetWorkstation() *Workstation

func (*UpdateWorkstationRequest) ProtoMessage

func (*UpdateWorkstationRequest) ProtoMessage()

func (*UpdateWorkstationRequest) ProtoReflect

func (x *UpdateWorkstationRequest) ProtoReflect() protoreflect.Message

func (*UpdateWorkstationRequest) Reset

func (x *UpdateWorkstationRequest) Reset()

func (*UpdateWorkstationRequest) String

func (x *UpdateWorkstationRequest) String() string

type Workstation

type Workstation struct {

	// 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 `` /* 163-byte string literal not displayed */
	// Optional.
	// [Labels](https://cloud.google.com/workstations/docs/label-resources) that
	// are applied to the workstation and that are also propagated to the
	// underlying Compute Engine resources.
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// Output only. Time when this workstation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time when this workstation was most recently updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. Time when this workstation was most recently successfully
	// started, regardless of the workstation's initial state.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Output only. Time when this workstation was soft-deleted.
	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
	// Optional. Checksum computed by the server. May be sent on update and delete
	// requests to make sure that the client has an up-to-date value before
	// proceeding.
	Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
	// 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"`
	// contains filtered or unexported fields
}

A single instance of a developer workstation with its own persistent storage.

func (*Workstation) Descriptor deprecated

func (*Workstation) Descriptor() ([]byte, []int)

Deprecated: Use Workstation.ProtoReflect.Descriptor instead.

func (*Workstation) GetAnnotations

func (x *Workstation) GetAnnotations() map[string]string

func (*Workstation) GetCreateTime

func (x *Workstation) GetCreateTime() *timestamppb.Timestamp

func (*Workstation) GetDeleteTime

func (x *Workstation) GetDeleteTime() *timestamppb.Timestamp

func (*Workstation) GetDisplayName

func (x *Workstation) GetDisplayName() string

func (*Workstation) GetEtag

func (x *Workstation) GetEtag() string

func (*Workstation) GetHost

func (x *Workstation) GetHost() string

func (*Workstation) GetLabels

func (x *Workstation) GetLabels() map[string]string

func (*Workstation) GetName

func (x *Workstation) GetName() string

func (*Workstation) GetReconciling

func (x *Workstation) GetReconciling() bool

func (*Workstation) GetStartTime added in v0.5.0

func (x *Workstation) GetStartTime() *timestamppb.Timestamp

func (*Workstation) GetState

func (x *Workstation) GetState() Workstation_State

func (*Workstation) GetUid

func (x *Workstation) GetUid() string

func (*Workstation) GetUpdateTime

func (x *Workstation) GetUpdateTime() *timestamppb.Timestamp

func (*Workstation) ProtoMessage

func (*Workstation) ProtoMessage()

func (*Workstation) ProtoReflect

func (x *Workstation) ProtoReflect() protoreflect.Message

func (*Workstation) Reset

func (x *Workstation) Reset()

func (*Workstation) String

func (x *Workstation) String() string

type WorkstationCluster

type WorkstationCluster struct {

	// 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 `` /* 163-byte string literal not displayed */
	// Optional.
	// [Labels](https://cloud.google.com/workstations/docs/label-resources) that
	// are applied to the workstation cluster and that are also propagated to the
	// underlying Compute Engine resources.
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// Output only. Time when this workstation cluster was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time when this workstation cluster was most recently updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. Time when this workstation cluster was soft-deleted.
	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
	// Optional. Checksum computed by the server. May be sent on update and delete
	// requests to make sure that the client has an up-to-date value before
	// proceeding.
	Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
	// Immutable. Name of the Compute Engine network in which instances associated
	// with this workstation cluster will be created.
	Network string `protobuf:"bytes,10,opt,name=network,proto3" json:"network,omitempty"`
	// Immutable. Name of the Compute Engine subnetwork in which instances
	// associated with this workstation cluster will be created. Must be part of
	// the subnetwork specified for this workstation cluster.
	Subnetwork string `protobuf:"bytes,11,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
	// Output only. The private IP address of the control plane for this
	// workstation cluster. Workstation VMs need access to this IP address to work
	// with the service, so make sure that your firewall rules allow egress from
	// the workstation VMs to this address.
	ControlPlaneIp string `protobuf:"bytes,16,opt,name=control_plane_ip,json=controlPlaneIp,proto3" json:"control_plane_ip,omitempty"`
	// Optional. Configuration for private workstation cluster.
	PrivateClusterConfig *WorkstationCluster_PrivateClusterConfig `protobuf:"bytes,12,opt,name=private_cluster_config,json=privateClusterConfig,proto3" json:"private_cluster_config,omitempty"`
	// Output only. Whether this workstation cluster is in degraded mode, in which
	// case it may require user action to restore full functionality. Details can
	// be found in
	// [conditions][google.cloud.workstations.v1.WorkstationCluster.conditions].
	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"`
	// contains filtered or unexported fields
}

A workstation cluster resource in the Cloud Workstations API.

Defines a group of workstations in a particular region and the VPC network they're attached to.

func (*WorkstationCluster) Descriptor deprecated

func (*WorkstationCluster) Descriptor() ([]byte, []int)

Deprecated: Use WorkstationCluster.ProtoReflect.Descriptor instead.

func (*WorkstationCluster) GetAnnotations

func (x *WorkstationCluster) GetAnnotations() map[string]string

func (*WorkstationCluster) GetConditions

func (x *WorkstationCluster) GetConditions() []*status.Status

func (*WorkstationCluster) GetControlPlaneIp added in v0.3.0

func (x *WorkstationCluster) GetControlPlaneIp() string

func (*WorkstationCluster) GetCreateTime

func (x *WorkstationCluster) GetCreateTime() *timestamppb.Timestamp

func (*WorkstationCluster) GetDegraded

func (x *WorkstationCluster) GetDegraded() bool

func (*WorkstationCluster) GetDeleteTime

func (x *WorkstationCluster) GetDeleteTime() *timestamppb.Timestamp

func (*WorkstationCluster) GetDisplayName

func (x *WorkstationCluster) GetDisplayName() string

func (*WorkstationCluster) GetEtag

func (x *WorkstationCluster) GetEtag() string

func (*WorkstationCluster) GetLabels

func (x *WorkstationCluster) GetLabels() map[string]string

func (*WorkstationCluster) GetName

func (x *WorkstationCluster) GetName() string

func (*WorkstationCluster) GetNetwork

func (x *WorkstationCluster) GetNetwork() string

func (*WorkstationCluster) GetPrivateClusterConfig

func (x *WorkstationCluster) GetPrivateClusterConfig() *WorkstationCluster_PrivateClusterConfig

func (*WorkstationCluster) GetReconciling

func (x *WorkstationCluster) GetReconciling() bool

func (*WorkstationCluster) GetSubnetwork

func (x *WorkstationCluster) GetSubnetwork() string

func (*WorkstationCluster) GetUid

func (x *WorkstationCluster) GetUid() string

func (*WorkstationCluster) GetUpdateTime

func (x *WorkstationCluster) GetUpdateTime() *timestamppb.Timestamp

func (*WorkstationCluster) ProtoMessage

func (*WorkstationCluster) ProtoMessage()

func (*WorkstationCluster) ProtoReflect

func (x *WorkstationCluster) ProtoReflect() protoreflect.Message

func (*WorkstationCluster) Reset

func (x *WorkstationCluster) Reset()

func (*WorkstationCluster) String

func (x *WorkstationCluster) String() string

type WorkstationCluster_PrivateClusterConfig

type WorkstationCluster_PrivateClusterConfig struct {

	// Immutable. Whether Workstations endpoint is private.
	EnablePrivateEndpoint bool `` /* 127-byte string literal not displayed */
	// Output only. Hostname for the workstation cluster. This field will be
	// populated only when private endpoint is enabled. To access workstations
	// in the workstation cluster, create a new DNS zone mapping this domain
	// name to an internal IP address and a forwarding rule mapping that address
	// to the service attachment.
	ClusterHostname string `protobuf:"bytes,2,opt,name=cluster_hostname,json=clusterHostname,proto3" json:"cluster_hostname,omitempty"`
	// Output only. Service attachment URI for the workstation cluster. The
	// service attachemnt is created when private endpoint is enabled. To access
	// workstations in the workstation cluster, configure access to the managed
	// service using [Private Service
	// Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
	ServiceAttachmentUri string `protobuf:"bytes,3,opt,name=service_attachment_uri,json=serviceAttachmentUri,proto3" json:"service_attachment_uri,omitempty"`
	// Optional. Additional projects that are allowed to attach to the
	// workstation cluster's service attachment. By default, the workstation
	// cluster's project and the VPC host project (if different) are allowed.
	AllowedProjects []string `protobuf:"bytes,4,rep,name=allowed_projects,json=allowedProjects,proto3" json:"allowed_projects,omitempty"`
	// contains filtered or unexported fields
}

Configuration options for private workstation clusters.

func (*WorkstationCluster_PrivateClusterConfig) Descriptor deprecated

func (*WorkstationCluster_PrivateClusterConfig) Descriptor() ([]byte, []int)

Deprecated: Use WorkstationCluster_PrivateClusterConfig.ProtoReflect.Descriptor instead.

func (*WorkstationCluster_PrivateClusterConfig) GetAllowedProjects

func (x *WorkstationCluster_PrivateClusterConfig) GetAllowedProjects() []string

func (*WorkstationCluster_PrivateClusterConfig) GetClusterHostname

func (x *WorkstationCluster_PrivateClusterConfig) GetClusterHostname() string

func (*WorkstationCluster_PrivateClusterConfig) GetEnablePrivateEndpoint

func (x *WorkstationCluster_PrivateClusterConfig) GetEnablePrivateEndpoint() bool

func (*WorkstationCluster_PrivateClusterConfig) GetServiceAttachmentUri

func (x *WorkstationCluster_PrivateClusterConfig) GetServiceAttachmentUri() string

func (*WorkstationCluster_PrivateClusterConfig) ProtoMessage

func (*WorkstationCluster_PrivateClusterConfig) ProtoReflect

func (*WorkstationCluster_PrivateClusterConfig) Reset

func (*WorkstationCluster_PrivateClusterConfig) String

type WorkstationConfig

type WorkstationConfig struct {

	// 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 `` /* 163-byte string literal not displayed */
	// Optional.
	// [Labels](https://cloud.google.com/workstations/docs/label-resources) that
	// are applied to the workstation configuration and that are also propagated
	// to the underlying Compute Engine resources.
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// Output only. Time when this workstation configuration was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time when this workstation configuration was most recently
	// updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. Time when this workstation configuration was soft-deleted.
	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
	// Optional. Checksum computed by the server. May be sent on update and delete
	// requests to make sure that the client has an up-to-date value before
	// proceeding.
	Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
	// Optional. Number of seconds to wait before automatically stopping a
	// workstation after it last received user traffic.
	//
	// A value of `"0s"` indicates that Cloud Workstations VMs created with this
	// configuration should never time out due to idleness.
	// Provide
	// [duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#duration)
	// terminated by `s` for seconds—for example, `"7200s"` (2 hours).
	// The default is `"1200s"` (20 minutes).
	IdleTimeout *durationpb.Duration `protobuf:"bytes,10,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
	// Optional. Number of seconds that a workstation can run until it is
	// automatically shut down. We recommend that workstations be shut down daily
	// to reduce costs and so that security updates can be applied upon restart.
	// The
	// [idle_timeout][google.cloud.workstations.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. 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. 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 resource is degraded, in which case it may
	// require user action to restore full functionality. See also the
	// [conditions][google.cloud.workstations.v1.WorkstationConfig.conditions]
	// field.
	Degraded bool `protobuf:"varint,15,opt,name=degraded,proto3" json:"degraded,omitempty"`
	// Output only. Status conditions describing the current resource state.
	Conditions []*status.Status `protobuf:"bytes,16,rep,name=conditions,proto3" json:"conditions,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)](https://cloud.google.com/iam/docs/overview) rules to grant access to teams or to individual developers.

func (*WorkstationConfig) Descriptor deprecated

func (*WorkstationConfig) Descriptor() ([]byte, []int)

Deprecated: Use WorkstationConfig.ProtoReflect.Descriptor instead.

func (*WorkstationConfig) GetAnnotations

func (x *WorkstationConfig) GetAnnotations() map[string]string

func (*WorkstationConfig) GetConditions

func (x *WorkstationConfig) GetConditions() []*status.Status

func (*WorkstationConfig) GetContainer

func (*WorkstationConfig) GetCreateTime

func (x *WorkstationConfig) GetCreateTime() *timestamppb.Timestamp

func (*WorkstationConfig) GetDegraded

func (x *WorkstationConfig) GetDegraded() bool

func (*WorkstationConfig) GetDeleteTime

func (x *WorkstationConfig) GetDeleteTime() *timestamppb.Timestamp

func (*WorkstationConfig) GetDisplayName

func (x *WorkstationConfig) GetDisplayName() string

func (*WorkstationConfig) GetEncryptionKey

func (*WorkstationConfig) GetEtag

func (x *WorkstationConfig) GetEtag() string

func (*WorkstationConfig) GetHost

func (*WorkstationConfig) GetIdleTimeout

func (x *WorkstationConfig) GetIdleTimeout() *durationpb.Duration

func (*WorkstationConfig) GetLabels

func (x *WorkstationConfig) GetLabels() map[string]string

func (*WorkstationConfig) GetName

func (x *WorkstationConfig) GetName() string

func (*WorkstationConfig) GetPersistentDirectories

func (x *WorkstationConfig) GetPersistentDirectories() []*WorkstationConfig_PersistentDirectory

func (*WorkstationConfig) GetReadinessChecks added in v0.5.0

func (x *WorkstationConfig) GetReadinessChecks() []*WorkstationConfig_ReadinessCheck

func (*WorkstationConfig) GetReconciling

func (x *WorkstationConfig) GetReconciling() bool

func (*WorkstationConfig) GetReplicaZones added in v0.5.0

func (x *WorkstationConfig) GetReplicaZones() []string

func (*WorkstationConfig) GetRunningTimeout

func (x *WorkstationConfig) GetRunningTimeout() *durationpb.Duration

func (*WorkstationConfig) GetUid

func (x *WorkstationConfig) GetUid() string

func (*WorkstationConfig) GetUpdateTime

func (x *WorkstationConfig) GetUpdateTime() *timestamppb.Timestamp

func (*WorkstationConfig) ProtoMessage

func (*WorkstationConfig) ProtoMessage()

func (*WorkstationConfig) ProtoReflect

func (x *WorkstationConfig) ProtoReflect() protoreflect.Message

func (*WorkstationConfig) Reset

func (x *WorkstationConfig) Reset()

func (*WorkstationConfig) String

func (x *WorkstationConfig) String() string

type WorkstationConfig_Container

type WorkstationConfig_Container struct {

	// Optional. A Docker container image that defines a custom environment.
	//
	// Cloud Workstations provides a number of
	// [preconfigured
	// images](https://cloud.google.com/workstations/docs/preconfigured-base-images),
	// but you can create your own
	// [custom container
	// images](https://cloud.google.com/workstations/docs/custom-container-images).
	// If using a private image, the `host.gceInstance.serviceAccount` field
	// must be specified in the workstation configuration and must have
	// 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 `` /* 147-byte string literal not displayed */
	// Optional. If set, overrides the default DIR specified by the image.
	WorkingDir string `protobuf:"bytes,5,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
	// Optional. If set, overrides the USER specified in the image with the
	// given uid.
	RunAsUser int32 `protobuf:"varint,6,opt,name=run_as_user,json=runAsUser,proto3" json:"run_as_user,omitempty"`
	// contains filtered or unexported fields
}

A Docker container.

func (*WorkstationConfig_Container) Descriptor deprecated

func (*WorkstationConfig_Container) Descriptor() ([]byte, []int)

Deprecated: Use WorkstationConfig_Container.ProtoReflect.Descriptor instead.

func (*WorkstationConfig_Container) GetArgs

func (x *WorkstationConfig_Container) GetArgs() []string

func (*WorkstationConfig_Container) GetCommand

func (x *WorkstationConfig_Container) GetCommand() []string

func (*WorkstationConfig_Container) GetEnv

func (x *WorkstationConfig_Container) GetEnv() map[string]string

func (*WorkstationConfig_Container) GetImage

func (x *WorkstationConfig_Container) GetImage() string

func (*WorkstationConfig_Container) GetRunAsUser

func (x *WorkstationConfig_Container) GetRunAsUser() int32

func (*WorkstationConfig_Container) GetWorkingDir

func (x *WorkstationConfig_Container) GetWorkingDir() string

func (*WorkstationConfig_Container) ProtoMessage

func (*WorkstationConfig_Container) ProtoMessage()

func (*WorkstationConfig_Container) ProtoReflect

func (*WorkstationConfig_Container) Reset

func (x *WorkstationConfig_Container) Reset()

func (*WorkstationConfig_Container) String

func (x *WorkstationConfig_Container) String() string

type WorkstationConfig_CustomerEncryptionKey

type WorkstationConfig_CustomerEncryptionKey struct {

	// Immutable. The name of the Google Cloud KMS encryption key. For example,
	// `"projects/PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME"`.
	// The key must be in the same region as the workstation configuration.
	KmsKey string `protobuf:"bytes,1,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"`
	// Immutable. The service account to use with the specified
	// KMS key. We recommend that you use a separate service account
	// and follow KMS best practices. For more information, see
	// [Separation of
	// duties](https://cloud.google.com/kms/docs/separation-of-duties) and
	// `gcloud kms keys add-iam-policy-binding`
	// [`--member`](https://cloud.google.com/sdk/gcloud/reference/kms/keys/add-iam-policy-binding#--member).
	KmsKeyServiceAccount string `protobuf:"bytes,2,opt,name=kms_key_service_account,json=kmsKeyServiceAccount,proto3" json:"kms_key_service_account,omitempty"`
	// contains filtered or unexported fields
}

A customer-managed encryption key (CMEK) for the Compute Engine resources of the associated workstation configuration. Specify the name of your Cloud KMS encryption key and the default service account. We recommend that you use a separate service account and follow [Cloud KMS best practices](https://cloud.google.com/kms/docs/separation-of-duties).

func (*WorkstationConfig_CustomerEncryptionKey) Descriptor deprecated

func (*WorkstationConfig_CustomerEncryptionKey) Descriptor() ([]byte, []int)

Deprecated: Use WorkstationConfig_CustomerEncryptionKey.ProtoReflect.Descriptor instead.

func (*WorkstationConfig_CustomerEncryptionKey) GetKmsKey

func (*WorkstationConfig_CustomerEncryptionKey) GetKmsKeyServiceAccount

func (x *WorkstationConfig_CustomerEncryptionKey) GetKmsKeyServiceAccount() string

func (*WorkstationConfig_CustomerEncryptionKey) ProtoMessage

func (*WorkstationConfig_CustomerEncryptionKey) ProtoReflect

func (*WorkstationConfig_CustomerEncryptionKey) Reset

func (*WorkstationConfig_CustomerEncryptionKey) String

type WorkstationConfig_Host

type WorkstationConfig_Host struct {

	// Type of host that will be used for the workstation's runtime.
	//
	// Types that are assignable to Config:
	//
	//	*WorkstationConfig_Host_GceInstance_
	Config isWorkstationConfig_Host_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

Runtime host for a workstation.

func (*WorkstationConfig_Host) Descriptor deprecated

func (*WorkstationConfig_Host) Descriptor() ([]byte, []int)

Deprecated: Use WorkstationConfig_Host.ProtoReflect.Descriptor instead.

func (*WorkstationConfig_Host) GetConfig

func (m *WorkstationConfig_Host) GetConfig() isWorkstationConfig_Host_Config

func (*WorkstationConfig_Host) GetGceInstance

func (*WorkstationConfig_Host) ProtoMessage

func (*WorkstationConfig_Host) ProtoMessage()

func (*WorkstationConfig_Host) ProtoReflect

func (x *WorkstationConfig_Host) ProtoReflect() protoreflect.Message

func (*WorkstationConfig_Host) Reset

func (x *WorkstationConfig_Host) Reset()

func (*WorkstationConfig_Host) String

func (x *WorkstationConfig_Host) String() string

type WorkstationConfig_Host_GceInstance

type WorkstationConfig_Host_GceInstance struct {

	// Optional. The type of machine to use for VM instances—for example,
	// `"e2-standard-4"`. For more information about machine types that
	// Cloud Workstations supports, see the list of
	// [available machine
	// types](https://cloud.google.com/workstations/docs/available-machine-types).
	MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
	// Optional. The email address of the service account for Cloud
	// Workstations VMs created with this configuration. When specified, be
	// sure that the service account has `logginglogEntries.create` permission
	// on the project so it can write logs out to Cloud Logging. If using a
	// custom container image, the service account must have permissions 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].
	// Various scopes are automatically added based on feature usage. When
	// specified, users of workstations under this configuration must have
	// `iam.serviceAccounts.actAs` on the service account.
	ServiceAccountScopes []string `protobuf:"bytes,3,rep,name=service_account_scopes,json=serviceAccountScopes,proto3" json:"service_account_scopes,omitempty"`
	// Optional. Network tags to add to the Compute Engine VMs backing the
	// workstations. This option applies
	// [network
	// tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to VMs
	// created with this configuration. These network tags enable the creation
	// of [firewall
	// rules](https://cloud.google.com/workstations/docs/configure-firewall-rules).
	Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
	// Optional. The number of VMs that the system should keep idle so that
	// new workstations can be started quickly for new users. Defaults to `0`
	// in the API.
	PoolSize int32 `protobuf:"varint,5,opt,name=pool_size,json=poolSize,proto3" json:"pool_size,omitempty"`
	// Output only. Number of instances currently available in the pool for
	// faster workstation startup.
	PooledInstances int32 `protobuf:"varint,12,opt,name=pooled_instances,json=pooledInstances,proto3" json:"pooled_instances,omitempty"`
	// Optional. When set to true, disables public IP addresses for VMs. If
	// you disable public IP addresses, you must set up Private Google Access
	// or Cloud NAT on your network. If you use Private Google Access and you
	// use `private.googleapis.com` or `restricted.googleapis.com` for
	// Container Registry and Artifact Registry, make sure that you set
	// up DNS records for domains `*.gcr.io` and `*.pkg.dev`.
	// Defaults to false (VMs have public IP addresses).
	DisablePublicIpAddresses bool `` /* 138-byte string literal not displayed */
	// Optional. Whether to enable nested virtualization on Cloud Workstations
	// VMs created under this workstation configuration.
	//
	// 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.
	// * **GPUs**: nested virtualization may not be enabled on workstation
	// configurations with accelerators.
	// * **Operating System**: Because
	// [Container-Optimized
	// OS](https://cloud.google.com/compute/docs/images/os-details#container-optimized_os_cos)
	// does not support nested virtualization, when nested virtualization is
	// enabled, the underlying Compute Engine VM instances boot from an
	// [Ubuntu
	// LTS](https://cloud.google.com/compute/docs/images/os-details#ubuntu_lts)
	// image.
	EnableNestedVirtualization bool `` /* 142-byte string literal not displayed */
	// Optional. A set of Compute Engine Shielded instance options.
	ShieldedInstanceConfig *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig `` /* 129-byte string literal not displayed */
	// Optional. A set of Compute Engine Confidential VM instance options.
	ConfidentialInstanceConfig *WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig `` /* 142-byte string literal not displayed */
	// Optional. The size of the boot disk for the VM in gigabytes (GB).
	// The minimum boot disk size is `30` GB. Defaults to `50` GB.
	BootDiskSizeGb int32 `protobuf:"varint,9,opt,name=boot_disk_size_gb,json=bootDiskSizeGb,proto3" json:"boot_disk_size_gb,omitempty"`
	// contains filtered or unexported fields
}

A runtime using a Compute Engine instance.

func (*WorkstationConfig_Host_GceInstance) Descriptor deprecated

func (*WorkstationConfig_Host_GceInstance) Descriptor() ([]byte, []int)

Deprecated: Use WorkstationConfig_Host_GceInstance.ProtoReflect.Descriptor instead.

func (*WorkstationConfig_Host_GceInstance) GetBootDiskSizeGb

func (x *WorkstationConfig_Host_GceInstance) GetBootDiskSizeGb() int32

func (*WorkstationConfig_Host_GceInstance) GetConfidentialInstanceConfig

func (*WorkstationConfig_Host_GceInstance) GetDisablePublicIpAddresses

func (x *WorkstationConfig_Host_GceInstance) GetDisablePublicIpAddresses() bool

func (*WorkstationConfig_Host_GceInstance) GetEnableNestedVirtualization

func (x *WorkstationConfig_Host_GceInstance) GetEnableNestedVirtualization() bool

func (*WorkstationConfig_Host_GceInstance) GetMachineType

func (x *WorkstationConfig_Host_GceInstance) GetMachineType() string

func (*WorkstationConfig_Host_GceInstance) GetPoolSize

func (x *WorkstationConfig_Host_GceInstance) GetPoolSize() int32

func (*WorkstationConfig_Host_GceInstance) GetPooledInstances added in v0.3.0

func (x *WorkstationConfig_Host_GceInstance) GetPooledInstances() int32

func (*WorkstationConfig_Host_GceInstance) GetServiceAccount

func (x *WorkstationConfig_Host_GceInstance) GetServiceAccount() string

func (*WorkstationConfig_Host_GceInstance) GetServiceAccountScopes added in v0.5.0

func (x *WorkstationConfig_Host_GceInstance) GetServiceAccountScopes() []string

func (*WorkstationConfig_Host_GceInstance) GetShieldedInstanceConfig

func (*WorkstationConfig_Host_GceInstance) GetTags

func (*WorkstationConfig_Host_GceInstance) ProtoMessage

func (*WorkstationConfig_Host_GceInstance) ProtoMessage()

func (*WorkstationConfig_Host_GceInstance) ProtoReflect

func (*WorkstationConfig_Host_GceInstance) Reset

func (*WorkstationConfig_Host_GceInstance) String

type WorkstationConfig_Host_GceInstance_

type WorkstationConfig_Host_GceInstance_ struct {
	// Specifies a Compute Engine instance as the host.
	GceInstance *WorkstationConfig_Host_GceInstance `protobuf:"bytes,1,opt,name=gce_instance,json=gceInstance,proto3,oneof"`
}

type WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig

type WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig struct {

	// Optional. Whether the instance has confidential compute enabled.
	EnableConfidentialCompute bool `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

A set of Compute Engine Confidential VM instance options.

func (*WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) Descriptor deprecated

Deprecated: Use WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig.ProtoReflect.Descriptor instead.

func (*WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) GetEnableConfidentialCompute

func (*WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) ProtoMessage

func (*WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) ProtoReflect

func (*WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) Reset

func (*WorkstationConfig_Host_GceInstance_GceConfidentialInstanceConfig) String

type WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig

type WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig struct {

	// Optional. Whether the instance has Secure Boot enabled.
	EnableSecureBoot bool `protobuf:"varint,1,opt,name=enable_secure_boot,json=enableSecureBoot,proto3" json:"enable_secure_boot,omitempty"`
	// Optional. Whether the instance has the vTPM enabled.
	EnableVtpm bool `protobuf:"varint,2,opt,name=enable_vtpm,json=enableVtpm,proto3" json:"enable_vtpm,omitempty"`
	// Optional. Whether the instance has integrity monitoring enabled.
	EnableIntegrityMonitoring bool `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

A set of Compute Engine Shielded instance options.

func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) Descriptor deprecated

Deprecated: Use WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig.ProtoReflect.Descriptor instead.

func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) GetEnableIntegrityMonitoring

func (x *WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) GetEnableIntegrityMonitoring() bool

func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) GetEnableSecureBoot

func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) GetEnableVtpm

func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) ProtoMessage

func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) ProtoReflect

func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) Reset

func (*WorkstationConfig_Host_GceInstance_GceShieldedInstanceConfig) String

type WorkstationConfig_PersistentDirectory

type WorkstationConfig_PersistentDirectory struct {

	// How a persistent directory should be implemented.
	//
	// Types that are assignable to DirectoryType:
	//
	//	*WorkstationConfig_PersistentDirectory_GcePd
	DirectoryType isWorkstationConfig_PersistentDirectory_DirectoryType `protobuf_oneof:"directory_type"`
	// Optional. Location of this directory in the running workstation.
	MountPath string `protobuf:"bytes,1,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
	// contains filtered or unexported fields
}

A directory to persist across workstation sessions.

func (*WorkstationConfig_PersistentDirectory) Descriptor deprecated

func (*WorkstationConfig_PersistentDirectory) Descriptor() ([]byte, []int)

Deprecated: Use WorkstationConfig_PersistentDirectory.ProtoReflect.Descriptor instead.

func (*WorkstationConfig_PersistentDirectory) GetDirectoryType

func (m *WorkstationConfig_PersistentDirectory) GetDirectoryType() isWorkstationConfig_PersistentDirectory_DirectoryType

func (*WorkstationConfig_PersistentDirectory) GetMountPath

func (*WorkstationConfig_PersistentDirectory) ProtoMessage

func (*WorkstationConfig_PersistentDirectory) ProtoMessage()

func (*WorkstationConfig_PersistentDirectory) ProtoReflect

func (*WorkstationConfig_PersistentDirectory) Reset

func (*WorkstationConfig_PersistentDirectory) String

type WorkstationConfig_PersistentDirectory_GcePd

type WorkstationConfig_PersistentDirectory_GcePd struct {
	// A PersistentDirectory backed by a Compute Engine persistent disk.
	GcePd *WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk `protobuf:"bytes,2,opt,name=gce_pd,json=gcePd,proto3,oneof"`
}

type WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk

type WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk struct {

	// Optional. The GB capacity of a persistent home directory for each
	// workstation created with this configuration. Must be empty if
	// [source_snapshot][google.cloud.workstations.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. 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.
	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 `` /* 213-byte string literal not displayed */
	// contains filtered or unexported fields
}

A PersistentDirectory backed by a Compute Engine regional persistent disk. The [persistent_directories][google.cloud.workstations.v1.WorkstationConfig.persistent_directories] field is repeated, but it may contain only one entry. It creates a [persistent disk](https://cloud.google.com/compute/docs/disks/persistent-disks) that mounts to the workstation VM at `/home` when the session starts and detaches when the session ends. If this field is empty, workstations created with this configuration do not have a persistent home directory.

func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) Descriptor deprecated

Deprecated: Use WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk.ProtoReflect.Descriptor instead.

func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetDiskType

func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetFsType

func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetReclaimPolicy

func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetSizeGb

func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) GetSourceSnapshot

func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) ProtoMessage

func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) ProtoReflect

func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) Reset

func (*WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk) String

type WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy

type WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy int32

Value representing what should happen to the disk after the workstation is deleted.

const (
	// Do not use.
	WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_RECLAIM_POLICY_UNSPECIFIED WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy = 0
	// Delete the persistent disk when deleting the workstation.
	WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_DELETE WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy = 1
	// Keep the persistent disk when deleting the workstation.
	// An administrator must manually delete the disk.
	WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_RETAIN WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy = 2
)

func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) Descriptor

func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) Enum

func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) EnumDescriptor deprecated

Deprecated: Use WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy.Descriptor instead.

func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) Number

func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) String

func (WorkstationConfig_PersistentDirectory_GceRegionalPersistentDisk_ReclaimPolicy) Type

type WorkstationConfig_ReadinessCheck added in v0.5.0

type WorkstationConfig_ReadinessCheck struct {

	// Optional. Path to which the request should be sent.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Optional. Port to which the request should be sent.
	Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

A readiness check to be performed on a workstation.

func (*WorkstationConfig_ReadinessCheck) Descriptor deprecated added in v0.5.0

func (*WorkstationConfig_ReadinessCheck) Descriptor() ([]byte, []int)

Deprecated: Use WorkstationConfig_ReadinessCheck.ProtoReflect.Descriptor instead.

func (*WorkstationConfig_ReadinessCheck) GetPath added in v0.5.0

func (*WorkstationConfig_ReadinessCheck) GetPort added in v0.5.0

func (*WorkstationConfig_ReadinessCheck) ProtoMessage added in v0.5.0

func (*WorkstationConfig_ReadinessCheck) ProtoMessage()

func (*WorkstationConfig_ReadinessCheck) ProtoReflect added in v0.5.0

func (*WorkstationConfig_ReadinessCheck) Reset added in v0.5.0

func (*WorkstationConfig_ReadinessCheck) String added in v0.5.0

type Workstation_State

type Workstation_State int32

Whether a workstation is running and ready to receive user requests.

const (
	// Do not use.
	Workstation_STATE_UNSPECIFIED Workstation_State = 0
	// The workstation is not yet ready to accept requests from users but will
	// be soon.
	Workstation_STATE_STARTING Workstation_State = 1
	// The workstation is ready to accept requests from users.
	Workstation_STATE_RUNNING Workstation_State = 2
	// The workstation is being stopped.
	Workstation_STATE_STOPPING Workstation_State = 3
	// The workstation is stopped and will not be able to receive requests until
	// it is started.
	Workstation_STATE_STOPPED Workstation_State = 4
)

func (Workstation_State) Descriptor

func (Workstation_State) Enum

func (Workstation_State) EnumDescriptor deprecated

func (Workstation_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Workstation_State.Descriptor instead.

func (Workstation_State) Number

func (Workstation_State) String

func (x Workstation_State) String() string

func (Workstation_State) Type

type WorkstationsClient

type WorkstationsClient interface {
	// Returns the requested workstation cluster.
	GetWorkstationCluster(ctx context.Context, in *GetWorkstationClusterRequest, opts ...grpc.CallOption) (*WorkstationCluster, error)
	// Returns all workstation clusters in the specified location.
	ListWorkstationClusters(ctx context.Context, in *ListWorkstationClustersRequest, opts ...grpc.CallOption) (*ListWorkstationClustersResponse, error)
	// Creates a new workstation cluster.
	CreateWorkstationCluster(ctx context.Context, in *CreateWorkstationClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates an existing workstation cluster.
	UpdateWorkstationCluster(ctx context.Context, in *UpdateWorkstationClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes the specified workstation cluster.
	DeleteWorkstationCluster(ctx context.Context, in *DeleteWorkstationClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Returns the requested workstation configuration.
	GetWorkstationConfig(ctx context.Context, in *GetWorkstationConfigRequest, opts ...grpc.CallOption) (*WorkstationConfig, error)
	// Returns all workstation configurations in the specified cluster.
	ListWorkstationConfigs(ctx context.Context, in *ListWorkstationConfigsRequest, opts ...grpc.CallOption) (*ListWorkstationConfigsResponse, error)
	// Returns all workstation configurations in the specified cluster on which
	// the caller has the "workstations.workstation.create" permission.
	ListUsableWorkstationConfigs(ctx context.Context, in *ListUsableWorkstationConfigsRequest, opts ...grpc.CallOption) (*ListUsableWorkstationConfigsResponse, error)
	// Creates a new workstation configuration.
	CreateWorkstationConfig(ctx context.Context, in *CreateWorkstationConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates an existing workstation configuration.
	UpdateWorkstationConfig(ctx context.Context, in *UpdateWorkstationConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes the specified workstation configuration.
	DeleteWorkstationConfig(ctx context.Context, in *DeleteWorkstationConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Returns the requested workstation.
	GetWorkstation(ctx context.Context, in *GetWorkstationRequest, opts ...grpc.CallOption) (*Workstation, error)
	// Returns all Workstations using the specified workstation configuration.
	ListWorkstations(ctx context.Context, in *ListWorkstationsRequest, opts ...grpc.CallOption) (*ListWorkstationsResponse, error)
	// Returns all workstations using the specified workstation configuration
	// on which the caller has the "workstations.workstations.use" permission.
	ListUsableWorkstations(ctx context.Context, in *ListUsableWorkstationsRequest, opts ...grpc.CallOption) (*ListUsableWorkstationsResponse, error)
	// Creates a new workstation.
	CreateWorkstation(ctx context.Context, in *CreateWorkstationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates an existing workstation.
	UpdateWorkstation(ctx context.Context, in *UpdateWorkstationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes the specified workstation.
	DeleteWorkstation(ctx context.Context, in *DeleteWorkstationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Starts running a workstation so that users can connect to it.
	StartWorkstation(ctx context.Context, in *StartWorkstationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Stops running a workstation, reducing costs.
	StopWorkstation(ctx context.Context, in *StopWorkstationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Returns a short-lived credential that can be used to send authenticated and
	// authorized traffic to a workstation.
	GenerateAccessToken(ctx context.Context, in *GenerateAccessTokenRequest, opts ...grpc.CallOption) (*GenerateAccessTokenResponse, error)
}

WorkstationsClient is the client API for Workstations service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type WorkstationsServer

type WorkstationsServer interface {
	// Returns the requested workstation cluster.
	GetWorkstationCluster(context.Context, *GetWorkstationClusterRequest) (*WorkstationCluster, error)
	// Returns all workstation clusters in the specified location.
	ListWorkstationClusters(context.Context, *ListWorkstationClustersRequest) (*ListWorkstationClustersResponse, error)
	// Creates a new workstation cluster.
	CreateWorkstationCluster(context.Context, *CreateWorkstationClusterRequest) (*longrunningpb.Operation, error)
	// Updates an existing workstation cluster.
	UpdateWorkstationCluster(context.Context, *UpdateWorkstationClusterRequest) (*longrunningpb.Operation, error)
	// Deletes the specified workstation cluster.
	DeleteWorkstationCluster(context.Context, *DeleteWorkstationClusterRequest) (*longrunningpb.Operation, error)
	// Returns the requested workstation configuration.
	GetWorkstationConfig(context.Context, *GetWorkstationConfigRequest) (*WorkstationConfig, error)
	// Returns all workstation configurations in the specified cluster.
	ListWorkstationConfigs(context.Context, *ListWorkstationConfigsRequest) (*ListWorkstationConfigsResponse, error)
	// Returns all workstation configurations in the specified cluster on which
	// the caller has the "workstations.workstation.create" permission.
	ListUsableWorkstationConfigs(context.Context, *ListUsableWorkstationConfigsRequest) (*ListUsableWorkstationConfigsResponse, error)
	// Creates a new workstation configuration.
	CreateWorkstationConfig(context.Context, *CreateWorkstationConfigRequest) (*longrunningpb.Operation, error)
	// Updates an existing workstation configuration.
	UpdateWorkstationConfig(context.Context, *UpdateWorkstationConfigRequest) (*longrunningpb.Operation, error)
	// Deletes the specified workstation configuration.
	DeleteWorkstationConfig(context.Context, *DeleteWorkstationConfigRequest) (*longrunningpb.Operation, error)
	// Returns the requested workstation.
	GetWorkstation(context.Context, *GetWorkstationRequest) (*Workstation, error)
	// Returns all Workstations using the specified workstation configuration.
	ListWorkstations(context.Context, *ListWorkstationsRequest) (*ListWorkstationsResponse, error)
	// Returns all workstations using the specified workstation configuration
	// on which the caller has the "workstations.workstations.use" permission.
	ListUsableWorkstations(context.Context, *ListUsableWorkstationsRequest) (*ListUsableWorkstationsResponse, error)
	// Creates a new workstation.
	CreateWorkstation(context.Context, *CreateWorkstationRequest) (*longrunningpb.Operation, error)
	// Updates an existing workstation.
	UpdateWorkstation(context.Context, *UpdateWorkstationRequest) (*longrunningpb.Operation, error)
	// Deletes the specified workstation.
	DeleteWorkstation(context.Context, *DeleteWorkstationRequest) (*longrunningpb.Operation, error)
	// Starts running a workstation so that users can connect to it.
	StartWorkstation(context.Context, *StartWorkstationRequest) (*longrunningpb.Operation, error)
	// Stops running a workstation, reducing costs.
	StopWorkstation(context.Context, *StopWorkstationRequest) (*longrunningpb.Operation, error)
	// Returns a short-lived credential that can be used to send authenticated and
	// authorized traffic to a workstation.
	GenerateAccessToken(context.Context, *GenerateAccessTokenRequest) (*GenerateAccessTokenResponse, error)
}

WorkstationsServer is the server API for Workstations service.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL