Reference documentation and code samples for the Cloud Workstations V1 API class Google::Cloud::Workstations::V1::WorkstationCluster.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotations
def annotations() -> ::Google::Protobuf::Map{::String => ::String}- (::Google::Protobuf::Map{::String => ::String}) — Optional. Client-specified annotations.
#annotations=
def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Client-specified annotations.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Client-specified annotations.
#conditions
def conditions() -> ::Array<::Google::Rpc::Status>- (::Array<::Google::Rpc::Status>) — Output only. Status conditions describing the workstation cluster's current state.
#control_plane_ip
def control_plane_ip() -> ::String- (::String) — 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.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Time when this workstation cluster was created.
#degraded
def degraded() -> ::Boolean- (::Boolean) — Output only. Whether this workstation cluster is in degraded mode, in which case it may require user action to restore full functionality. The conditions field contains detailed information about the status of the cluster.
#delete_time
def delete_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Time when this workstation cluster was soft-deleted.
#display_name
def display_name() -> ::String- (::String) — Optional. Human-readable name for this workstation cluster.
#display_name=
def display_name=(value) -> ::String- value (::String) — Optional. Human-readable name for this workstation cluster.
- (::String) — Optional. Human-readable name for this workstation cluster.
#domain_config
def domain_config() -> ::Google::Cloud::Workstations::V1::WorkstationCluster::DomainConfig- (::Google::Cloud::Workstations::V1::WorkstationCluster::DomainConfig) — Optional. Configuration options for a custom domain.
#domain_config=
def domain_config=(value) -> ::Google::Cloud::Workstations::V1::WorkstationCluster::DomainConfig- value (::Google::Cloud::Workstations::V1::WorkstationCluster::DomainConfig) — Optional. Configuration options for a custom domain.
- (::Google::Cloud::Workstations::V1::WorkstationCluster::DomainConfig) — Optional. Configuration options for a custom domain.
#etag
def etag() -> ::String- (::String) — 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=
def etag=(value) -> ::String- value (::String) — 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.
- (::String) — 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.
#gateway_config
def gateway_config() -> ::Google::Cloud::Workstations::V1::WorkstationCluster::GatewayConfig- (::Google::Cloud::Workstations::V1::WorkstationCluster::GatewayConfig) — Optional. Configuration options for Cluster HTTP Gateway.
#gateway_config=
def gateway_config=(value) -> ::Google::Cloud::Workstations::V1::WorkstationCluster::GatewayConfig- value (::Google::Cloud::Workstations::V1::WorkstationCluster::GatewayConfig) — Optional. Configuration options for Cluster HTTP Gateway.
- (::Google::Cloud::Workstations::V1::WorkstationCluster::GatewayConfig) — Optional. Configuration options for Cluster HTTP Gateway.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
#name
def name() -> ::String- (::String) — Identifier. Full name of this workstation cluster.
#name=
def name=(value) -> ::String- value (::String) — Identifier. Full name of this workstation cluster.
- (::String) — Identifier. Full name of this workstation cluster.
#network
def network() -> ::String- (::String) — Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.
#network=
def network=(value) -> ::String- value (::String) — Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.
- (::String) — Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.
#private_cluster_config
def private_cluster_config() -> ::Google::Cloud::Workstations::V1::WorkstationCluster::PrivateClusterConfig- (::Google::Cloud::Workstations::V1::WorkstationCluster::PrivateClusterConfig) — Optional. Configuration for private workstation cluster.
#private_cluster_config=
def private_cluster_config=(value) -> ::Google::Cloud::Workstations::V1::WorkstationCluster::PrivateClusterConfig- value (::Google::Cloud::Workstations::V1::WorkstationCluster::PrivateClusterConfig) — Optional. Configuration for private workstation cluster.
- (::Google::Cloud::Workstations::V1::WorkstationCluster::PrivateClusterConfig) — Optional. Configuration for private workstation cluster.
#reconciling
def reconciling() -> ::Boolean- (::Boolean) — Output only. Indicates whether this workstation cluster is currently being updated to match its intended state.
#subnetwork
def subnetwork() -> ::String- (::String) — 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=
def subnetwork=(value) -> ::String- value (::String) — 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.
- (::String) — 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.
#tags
def tags() -> ::Google::Protobuf::Map{::String => ::String}- (::Google::Protobuf::Map{::String => ::String}) — Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
#tags=
def tags=(value) -> ::Google::Protobuf::Map{::String => ::String}- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
#uid
def uid() -> ::String- (::String) — Output only. A system-assigned unique identifier for this workstation cluster.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Time when this workstation cluster was most recently updated.
#workstation_authorization_url
def workstation_authorization_url() -> ::String-
(::String) — Optional. Specifies the redirect URL for unauthorized requests received by
workstation VMs in this cluster.
Redirects to this endpoint will send a base64 encoded
statequery param containing the target workstation name and original request hostname. The endpoint is responsible for retrieving a token usingGenerateAccessTokenand redirecting back to the original hostname with the token.
#workstation_authorization_url=
def workstation_authorization_url=(value) -> ::String-
value (::String) — Optional. Specifies the redirect URL for unauthorized requests received by
workstation VMs in this cluster.
Redirects to this endpoint will send a base64 encoded
statequery param containing the target workstation name and original request hostname. The endpoint is responsible for retrieving a token usingGenerateAccessTokenand redirecting back to the original hostname with the token.
-
(::String) — Optional. Specifies the redirect URL for unauthorized requests received by
workstation VMs in this cluster.
Redirects to this endpoint will send a base64 encoded
statequery param containing the target workstation name and original request hostname. The endpoint is responsible for retrieving a token usingGenerateAccessTokenand redirecting back to the original hostname with the token.
#workstation_launch_url
def workstation_launch_url() -> ::String-
(::String) — Optional. Specifies the launch URL for workstations in this cluster.
Requests sent to unstarted workstations will be redirected to this URL.
Requests redirected to the launch endpoint will be sent with a
workstationandprojectquery parameter containing the full workstation resource name and project ID, respectively. The launch endpoint is responsible for starting the workstation, polling it until it reachesSTATE_RUNNING, and then issuing a redirect to the workstation's host URL.
#workstation_launch_url=
def workstation_launch_url=(value) -> ::String-
value (::String) — Optional. Specifies the launch URL for workstations in this cluster.
Requests sent to unstarted workstations will be redirected to this URL.
Requests redirected to the launch endpoint will be sent with a
workstationandprojectquery parameter containing the full workstation resource name and project ID, respectively. The launch endpoint is responsible for starting the workstation, polling it until it reachesSTATE_RUNNING, and then issuing a redirect to the workstation's host URL.
-
(::String) — Optional. Specifies the launch URL for workstations in this cluster.
Requests sent to unstarted workstations will be redirected to this URL.
Requests redirected to the launch endpoint will be sent with a
workstationandprojectquery parameter containing the full workstation resource name and project ID, respectively. The launch endpoint is responsible for starting the workstation, polling it until it reachesSTATE_RUNNING, and then issuing a redirect to the workstation's host URL.