Service Client: Google::Cloud::Workstations::V1beta::Workstations::WorkstationsClient
Client stub representing the remote Workstations gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to workstations.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Workstations::V1beta::Workstations - Compiled Protocol Buffers messages for google/cloud/workstations/v1beta/workstations.proto
SYNOPSIS
use Google::Cloud::Workstations::V1beta::Workstations;
my $msg = Google::Cloud::Workstations::V1beta::Workstations::WorkstationCluster->new({
name => $name,
display_name => $display_name,
uid => $uid,
reconciling => $reconciling,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Workstations::V1beta::Workstations::WorkstationCluster->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/workstations/v1beta/workstations.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Workstations::V1beta::Workstations::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 from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Full name of this workstation cluster.
$msg->display_name()/$msg->display_name($value)Type:
StringOptional. Human-readable name for this workstation cluster.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. A system-assigned unique identifier for this workstation cluster.
$msg->reconciling()/$msg->reconciling($value)Type:
BoolOutput only. Indicates whether this workstation cluster is currently being updated to match its intended state.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationCluster::AnnotationsEntry)Optional. Client-specified annotations.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationCluster::LabelsEntry)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.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time when this workstation cluster was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time when this workstation cluster was most recently updated.
$msg->delete_time()/$msg->delete_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time when this workstation cluster was soft-deleted.
$msg->etag()/$msg->etag($value)Type:
StringOptional. 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.
$msg->network()/$msg->network($value)Type:
StringImmutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.
$msg->subnetwork()/$msg->subnetwork($value)Type:
StringImmutable. 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.
$msg->control_plane_ip()/$msg->control_plane_ip($value)Type:
StringOutput 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.
$msg->private_cluster_config()/$msg->private_cluster_config($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationCluster::PrivateClusterConfig)Optional. Configuration for private workstation cluster.
$msg->domain_config()/$msg->domain_config($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationCluster::DomainConfig)Optional. Configuration options for a custom domain.
$msg->degraded()/$msg->degraded($value)Type:
BoolOutput only. Whether this workstation cluster is in degraded mode, in which case it may require user action to restore full functionality. The [conditions][google.cloud.workstations.v1beta.WorkstationCluster.conditions] field contains detailed information about the status of the cluster.
$msg->conditions()/$msg->conditions($value)Type:
Message(Google::Rpc::Status::Status)Output only. Status conditions describing the workstation cluster's current state.
$msg->satisfies_pzs()/$msg->satisfies_pzs($value)Type:
BoolOutput only. Reserved for future use.
$msg->satisfies_pzi()/$msg->satisfies_pzi($value)Type:
BoolOutput only. Reserved for future use.
$msg->tags()/$msg->tags($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationCluster::TagsEntry)Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
$msg->gateway_config()/$msg->gateway_config($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationCluster::GatewayConfig)Optional. Configuration options for Cluster HTTP Gateway.
$msg->workstation_authorization_url()/$msg->workstation_authorization_url($value)Type:
StringOptional. Specifies the redirect URL for unauthorized requests received by workstation VMs in this cluster.
Redirects to this endpoint will send a base64 encoded `state` query param containing the target workstation name and original request hostname. The endpoint is responsible for retrieving a token using `GenerateAccessToken` and redirecting back to the original hostname with the token.
$msg->workstation_launch_url()/$msg->workstation_launch_url($value)Type:
StringOptional. Specifies the launch URL for workstations in this cluster. Requests sent to unstarted workstations will be redirected to this URL.
Requests redirected to the launch endpoint will be sent with a `workstation` and `project` query parameter containing the full workstation resource name and project ID, respectively. The launch endpoint is responsible for starting the workstation, polling it until it reaches `STATE_RUNNING`, and then issuing a redirect to the workstation's host URL.
Google::Cloud::Workstations::V1beta::Workstations::WorkstationConfig
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.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Full name of this workstation configuration.
$msg->display_name()/$msg->display_name($value)Type:
StringOptional. Human-readable name for this workstation configuration.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. A system-assigned unique identifier for this workstation configuration.
$msg->reconciling()/$msg->reconciling($value)Type:
BoolOutput only. Indicates whether this workstation configuration is currently being updated to match its intended state.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationConfig::AnnotationsEntry)Optional. Client-specified annotations.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationConfig::LabelsEntry)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.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time when this workstation configuration was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time when this workstation configuration was most recently updated.
$msg->delete_time()/$msg->delete_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time when this workstation configuration was soft-deleted.
$msg->etag()/$msg->etag($value)Type:
StringOptional. 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.
$msg->idle_timeout()/$msg->idle_timeout($value)Type:
Message(Google::Protobuf::Duration::Duration)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).
$msg->running_timeout()/$msg->running_timeout($value)Type:
Message(Google::Protobuf::Duration::Duration)Optional. Number of seconds that a workstation can run until it is automatically shut down. We recommend that workstations be shut down daily to reduce costs and so that security updates can be applied upon restart. The [idle_timeout][google.cloud.workstations.v1beta.WorkstationConfig.idle_timeout] and [running_timeout][google.cloud.workstations.v1beta.WorkstationConfig.running_timeout] fields are independent of each other. Note that the [running_timeout][google.cloud.workstations.v1beta.WorkstationConfig.running_timeout] field shuts down VMs after the specified time, regardless of whether or not the VMs are idle.
Provide duration terminated by `s` for seconds—for example, `"54000s"` (15 hours). Defaults to `"43200s"` (12 hours). A value of `"0s"` indicates that workstations using this configuration should never time out. If [encryption_key][google.cloud.workstations.v1beta.WorkstationConfig.encryption_key] is set, it must be greater than `"0s"` and less than `"86400s"` (24 hours).
Warning: A value of `"0s"` indicates that Cloud Workstations VMs created with this configuration have no maximum running time. This is strongly discouraged because you incur costs and will not pick up security updates.
$msg->max_usable_workstations()/$msg->max_usable_workstations($value)Type:
Int32Optional. Maximum number of workstations under this configuration a user can have `workstations.workstation.use` permission on.
Only enforced on CreateWorkstation API calls on the user issuing the API request. Can be overridden by:
- granting a user workstations.workstationConfigs.exemptMaxUsableWorkstationLimit permission, or - having a user with that permission create a workstation and granting another user `workstations.workstation.use` permission on that workstation.
If not specified, defaults to `0`, which indicates unlimited.
$msg->host()/$msg->host($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationConfig::Host)Optional. Runtime host for the workstation.
$msg->persistent_directories()/$msg->persistent_directories($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationConfig::PersistentDirectory)Optional. Directories to persist across workstation sessions.
$msg->ephemeral_directories()/$msg->ephemeral_directories($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationConfig::EphemeralDirectory)Optional. Ephemeral directories which won't persist across workstation sessions.
$msg->container()/$msg->container($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationConfig::Container)Optional. Container that runs upon startup for each workstation using this workstation configuration.
$msg->encryption_key()/$msg->encryption_key($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationConfig::CustomerEncryptionKey)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.
$msg->readiness_checks()/$msg->readiness_checks($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationConfig::ReadinessCheck)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.
$msg->replica_zones()/$msg->replica_zones($value)Type:
StringOptional. 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.
$msg->degraded()/$msg->degraded($value)Type:
BoolOutput only. Whether this workstation configuration is in degraded mode, in which case it may require user action to restore full functionality. The [conditions][google.cloud.workstations.v1beta.WorkstationConfig.conditions] field contains detailed information about the status of the configuration.
$msg->conditions()/$msg->conditions($value)Type:
Message(Google::Rpc::Status::Status)Output only. Status conditions describing the workstation configuration's current state.
$msg->enable_audit_agent()/$msg->enable_audit_agent($value)Type:
BoolOptional. Whether to enable Linux `auditd` logging on the workstation. When enabled, a [service_account][google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance.service_account] must also be specified that has `roles/logging.logWriter` and `roles/monitoring.metricWriter` on the project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging) and [Container output logging](https://cloud.google.com/workstations/docs/container-output-logging#overview). Operating system audit logs are available in the [Cloud Logging](https://cloud.google.com/logging/docs) console by querying:
resource.type="gce_instance" log_name:"/logs/linux-auditd"$msg->http_options()/$msg->http_options($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationConfig::HttpOptions)Optional. HTTP options that customize the behavior of the workstation service's HTTP proxy.
$msg->disable_tcp_connections()/$msg->disable_tcp_connections($value)Type:
BoolOptional. Disables support for plain TCP connections in the workstation. By default the service supports TCP connections through a websocket relay. Setting this option to true disables that relay, which prevents the usage of services that require plain TCP connections, such as SSH. When enabled, all communication must occur over HTTPS or WSS.
$msg->allowed_ports()/$msg->allowed_ports($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationConfig::PortRange)Optional. A list of [PortRange][google.cloud.workstations.v1beta.WorkstationConfig.PortRange]s specifying single ports or ranges of ports that are externally accessible in the workstation. Allowed ports must be one of 22, 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and ports 1024-65535.
$msg->satisfies_pzs()/$msg->satisfies_pzs($value)Type:
BoolOutput only. Reserved for future use.
$msg->satisfies_pzi()/$msg->satisfies_pzi($value)Type:
BoolOutput only. Reserved for future use.
$msg->grant_workstation_admin_role_on_create()/$msg->grant_workstation_admin_role_on_create($value)Type:
BoolOptional. Grant creator of a workstation `roles/workstations.policyAdmin` role along with `roles/workstations.user` role on the workstation created by them. This allows workstation users to share access to either their entire workstation, or individual ports. Defaults to false.
$msg->enable_pushing_credentials()/$msg->enable_pushing_credentials($value)Type:
BoolOptional. Enables pushing user provided credentials to Workstations by calling workstations.pushCredentials. If application_default_credentials are supplied to pushCredentials, the provided token is returned when tools and applications running in the user container make a request for Default Application Credentials. Please note that any credentials supplied are made available to all users with access to the workstation.
Google::Cloud::Workstations::V1beta::Workstations::Workstation
A single instance of a developer workstation with its own persistent storage.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Full name of this workstation.
$msg->display_name()/$msg->display_name($value)Type:
StringOptional. Human-readable name for this workstation.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. A system-assigned unique identifier for this workstation.
$msg->reconciling()/$msg->reconciling($value)Type:
BoolOutput only. Indicates whether this workstation is currently being updated to match its intended state.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::Workstation::AnnotationsEntry)Optional. Client-specified annotations.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::Workstation::LabelsEntry)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.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time when this workstation was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time when this workstation was most recently updated.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state.
$msg->delete_time()/$msg->delete_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time when this workstation was soft-deleted.
$msg->etag()/$msg->etag($value)Type:
StringOptional. 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.
$msg->persistent_directories()/$msg->persistent_directories($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::Workstation::WorkstationPersistentDirectory)Optional. Directories to persist across workstation sessions.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Workstations::V1beta::Workstation::State)Output only. Current state of the workstation.
$msg->host()/$msg->host($value)Type:
StringOutput 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}`.
$msg->env()/$msg->env($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::Workstation::EnvEntry)Optional. Environment variables passed to the workstation container's entrypoint.
$msg->kms_key()/$msg->kms_key($value)Type:
StringOutput only. The name of the Google Cloud KMS encryption key used to encrypt this workstation. The KMS key can only be configured in the WorkstationConfig. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
$msg->boost_configs()/$msg->boost_configs($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::Workstation::WorkstationBoostConfig)Output only. List of available boost configuration IDs that this workstation can be boosted up to.
$msg->source_workstation()/$msg->source_workstation($value)Type:
StringOptional. The source workstation from which this workstation's persistent directories were cloned on creation.
$msg->satisfies_pzs()/$msg->satisfies_pzs($value)Type:
BoolOutput only. Reserved for future use.
$msg->satisfies_pzi()/$msg->satisfies_pzi($value)Type:
BoolOutput only. Reserved for future use.
$msg->runtime_host()/$msg->runtime_host($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::Workstation::RuntimeHost)Optional. Output only. Runtime host for the workstation when in STATE_RUNNING.
$msg->degraded()/$msg->degraded($value)Type:
BoolOutput only. Whether this workstation is in degraded mode, in which case it may require user action to restore full functionality. The [conditions][google.cloud.workstations.v1beta.Workstation.conditions] field contains detailed information about the status of the workstation.
$msg->conditions()/$msg->conditions($value)Type:
Message(Google::Rpc::Status::Status)Output only. Status conditions describing the workstation's current state.
Enum: Workstation::State
STATE_UNSPECIFIED=>0STATE_STARTING=>1STATE_RUNNING=>2STATE_STOPPING=>3STATE_STOPPED=>4
Google::Cloud::Workstations::V1beta::Workstations::GetWorkstationClusterRequest
Request message for GetWorkstationCluster.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the requested resource.
Google::Cloud::Workstations::V1beta::Workstations::ListWorkstationClustersRequest
Request message for ListWorkstationClusters.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent resource name.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Maximum number of items to return.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. next_page_token value returned from a previous List request, if any.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filter the WorkstationClusters to be listed. Possible filters are described in https://google.aip.dev/160.
Google::Cloud::Workstations::V1beta::Workstations::ListWorkstationClustersResponse
Response message for ListWorkstationClusters.
Inherits from Protobuf::Message.
Accessors
$msg->workstation_clusters()/$msg->workstation_clusters($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationCluster)The requested workstation clusters.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnreachable resources.
Google::Cloud::Workstations::V1beta::Workstations::CreateWorkstationClusterRequest
Message for creating a CreateWorkstationCluster.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent resource name.
$msg->workstation_cluster_id()/$msg->workstation_cluster_id($value)Type:
StringRequired. ID to use for the workstation cluster.
$msg->workstation_cluster()/$msg->workstation_cluster($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationCluster)Required. Workstation cluster to create.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validate the request and preview the result, but do not actually apply it.
Google::Cloud::Workstations::V1beta::Workstations::UpdateWorkstationClusterRequest
Request message for UpdateWorkstationCluster.
Inherits from Protobuf::Message.
Accessors
$msg->workstation_cluster()/$msg->workstation_cluster($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationCluster)Required. Workstation cluster to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. Mask that specifies which fields in the workstation cluster should be updated.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validate the request and preview the result, but do not actually apply it.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set, and the workstation cluster is not found, a new workstation cluster will be created. In this situation, update_mask is ignored.
Google::Cloud::Workstations::V1beta::Workstations::DeleteWorkstationClusterRequest
Message for deleting a workstation cluster.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the workstation cluster to delete.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validate the request and preview the result, but do not apply it.
$msg->etag()/$msg->etag($value)Type:
StringOptional. If set, the request will be rejected if the latest version of the workstation cluster on the server does not have this ETag.
$msg->force()/$msg->force($value)Type:
BoolOptional. 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.
Google::Cloud::Workstations::V1beta::Workstations::GetWorkstationConfigRequest
Request message for GetWorkstationConfig.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the requested resource.
Google::Cloud::Workstations::V1beta::Workstations::ListWorkstationConfigsRequest
Request message for ListWorkstationConfigs.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent resource name.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Maximum number of items to return.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. next_page_token value returned from a previous List request, if any.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filter the WorkstationConfigs to be listed. Possible filters are described in https://google.aip.dev/160.
Google::Cloud::Workstations::V1beta::Workstations::ListWorkstationConfigsResponse
Response message for ListWorkstationConfigs.
Inherits from Protobuf::Message.
Accessors
$msg->workstation_configs()/$msg->workstation_configs($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationConfig)The requested configs.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnreachable resources.
Google::Cloud::Workstations::V1beta::Workstations::ListUsableWorkstationConfigsRequest
Request message for ListUsableWorkstationConfigs.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent resource name.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Maximum number of items to return.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. next_page_token value returned from a previous List request, if any.
Google::Cloud::Workstations::V1beta::Workstations::ListUsableWorkstationConfigsResponse
Response message for ListUsableWorkstationConfigs.
Inherits from Protobuf::Message.
Accessors
$msg->workstation_configs()/$msg->workstation_configs($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationConfig)The requested configs.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnreachable resources.
Google::Cloud::Workstations::V1beta::Workstations::CreateWorkstationConfigRequest
Message for creating a CreateWorkstationConfig.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent resource name.
$msg->workstation_config_id()/$msg->workstation_config_id($value)Type:
StringRequired. ID to use for the workstation configuration.
$msg->workstation_config()/$msg->workstation_config($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationConfig)Required. Workstation configuration to create.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validate the request and preview the result, but do not actually apply it.
Google::Cloud::Workstations::V1beta::Workstations::UpdateWorkstationConfigRequest
Request message for UpdateWorkstationConfig.
Inherits from Protobuf::Message.
Accessors
$msg->workstation_config()/$msg->workstation_config($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::WorkstationConfig)Required. Workstation configuration to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. Mask specifying which fields in the workstation configuration should be updated.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validate the request and preview the result, but do not actually apply it.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set and the workstation configuration is not found, a new workstation configuration will be created. In this situation, update_mask is ignored.
Google::Cloud::Workstations::V1beta::Workstations::DeleteWorkstationConfigRequest
Message for deleting a workstation configuration.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the workstation configuration to delete.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validate the request and preview the result, but do not actually apply it.
$msg->etag()/$msg->etag($value)Type:
StringOptional. If set, the request is rejected if the latest version of the workstation configuration on the server does not have this ETag.
$msg->force()/$msg->force($value)Type:
BoolOptional. If set, any workstations in the workstation configuration are also deleted. Otherwise, the request works only if the workstation configuration has no workstations.
Google::Cloud::Workstations::V1beta::Workstations::GetWorkstationRequest
Request message for GetWorkstation.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the requested resource.
Google::Cloud::Workstations::V1beta::Workstations::ListWorkstationsRequest
Request message for ListWorkstations.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent resource name.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Maximum number of items to return.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. next_page_token value returned from a previous List request, if any.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filter the Workstations to be listed. Possible filters are described in https://google.aip.dev/160.
Google::Cloud::Workstations::V1beta::Workstations::ListWorkstationsResponse
Response message for ListWorkstations.
Inherits from Protobuf::Message.
Accessors
$msg->workstations()/$msg->workstations($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::Workstation)The requested workstations.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringOptional. Token to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringOptional. Unreachable resources.
Google::Cloud::Workstations::V1beta::Workstations::ListUsableWorkstationsRequest
Request message for ListUsableWorkstations.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent resource name.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Maximum number of items to return.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. next_page_token value returned from a previous List request, if any.
Google::Cloud::Workstations::V1beta::Workstations::ListUsableWorkstationsResponse
Response message for ListUsableWorkstations.
Inherits from Protobuf::Message.
Accessors
$msg->workstations()/$msg->workstations($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::Workstation)The requested workstations.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnreachable resources.
Google::Cloud::Workstations::V1beta::Workstations::CreateWorkstationRequest
Message for creating a CreateWorkstation.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent resource name.
$msg->workstation_id()/$msg->workstation_id($value)Type:
StringRequired. ID to use for the workstation.
$msg->workstation()/$msg->workstation($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::Workstation)Required. Workstation to create. If source_workstation is specified, the user must have `workstations.workstations.use` permission on the source workstation, and the Cloud Workstations Service Agent for the project where you are creating the new workstation must have compute.disks.createSnapshot and compute.snapshots.useReadOnly on the source project.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validate the request and preview the result, but do not actually apply it.
Google::Cloud::Workstations::V1beta::Workstations::UpdateWorkstationRequest
Request message for UpdateWorkstation.
Inherits from Protobuf::Message.
Accessors
$msg->workstation()/$msg->workstation($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::Workstation)Required. Workstation to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. Mask specifying which fields in the workstation should be updated.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validate the request and preview the result, but do not actually apply it.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set and the workstation is not found, a new workstation is created. In this situation, update_mask is ignored.
Google::Cloud::Workstations::V1beta::Workstations::DeleteWorkstationRequest
Request message for DeleteWorkstation.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the workstation to delete.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validate the request and preview the result, but do not actually apply it.
$msg->etag()/$msg->etag($value)Type:
StringOptional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag.
Google::Cloud::Workstations::V1beta::Workstations::StartWorkstationRequest
Request message for StartWorkstation.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the workstation to start.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validate the request and preview the result, but do not actually apply it.
$msg->etag()/$msg->etag($value)Type:
StringOptional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag.
$msg->boost_config()/$msg->boost_config($value)Type:
StringOptional. If set, the workstation starts using the boost configuration with the specified ID.
Google::Cloud::Workstations::V1beta::Workstations::StopWorkstationRequest
Request message for StopWorkstation.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the workstation to stop.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validate the request and preview the result, but do not actually apply it.
$msg->etag()/$msg->etag($value)Type:
StringOptional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag.
Google::Cloud::Workstations::V1beta::Workstations::GenerateAccessTokenRequest
Request message for GenerateAccessToken.
Inherits from Protobuf::Message.
Accessors
$msg->expire_time()/$msg->expire_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)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.
$msg->ttl()/$msg->ttl($value)Type:
Message(Google::Protobuf::Duration::Duration)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.
$msg->workstation()/$msg->workstation($value)Type:
StringRequired. Name of the workstation for which the access token should be generated.
$msg->port()/$msg->port($value)Type:
Int32Optional. Port for which the access token should be generated. If specified, the generated access token grants access only to the specified port of the workstation. If specified, values must be within the range [1 - 65535]. If not specified, the generated access token grants access to all ports of the workstation.
Google::Cloud::Workstations::V1beta::Workstations::GenerateAccessTokenResponse
Response message for GenerateAccessToken.
Inherits from Protobuf::Message.
Accessors
$msg->access_token()/$msg->access_token($value)Type:
StringThe 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>`.
$msg->expire_time()/$msg->expire_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Time at which the generated token will expire.
Google::Cloud::Workstations::V1beta::Workstations::PushCredentialsRequest
Request message for PushCredentials.
Inherits from Protobuf::Message.
Accessors
$msg->workstation()/$msg->workstation($value)Type:
StringRequired. Name of the workstation for which the credentials should be pushed.
$msg->application_default_credentials()/$msg->application_default_credentials($value)Type:
Message(Google::Cloud::Workstations::V1beta::Workstations::PushCredentialsRequest::OAuthToken)Optional. Credentials used by Cloud Client Libraries, Google API Client Libraries, and other tooling within the user conainer: https://cloud.google.com/docs/authentication/application-default-credentials
Google::Cloud::Workstations::V1beta::Workstations::PushCredentialsMetadata
Metadata message for PushCredentials.
Inherits from Protobuf::Message.
Google::Cloud::Workstations::V1beta::Workstations::OperationMetadata
Metadata for long-running operations.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time that the operation was created.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time that the operation finished running.
$msg->target()/$msg->target($value)Type:
StringOutput only. Server-defined resource path for the target of the operation.
$msg->verb()/$msg->verb($value)Type:
StringOutput only. Name of the verb executed by the operation.
$msg->status_message()/$msg->status_message($value)Type:
StringOutput only. Human-readable status of the operation, if any.
$msg->requested_cancellation()/$msg->requested_cancellation($value)Type:
BoolOutput only. Identifies whether the user has requested cancellation of the operation.
$msg->api_version()/$msg->api_version($value)Type:
StringOutput only. API version used to start the operation.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Workstations::V1beta::Workstations::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.