Cloud Workstations V1 API - Module Google::Cloud::Workstations::V1::Workstations::Paths (v0.1.3)

Reference documentation and code samples for the Cloud Workstations V1 API module Google::Cloud::Workstations::V1::Workstations::Paths.

Path helper methods for the Workstations API.

Methods

#location_path

def location_path(project:, location:) -> ::String

Create a fully-qualified Location resource string.

The resource will be in the following format:

projects/{project}/locations/{location}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#workstation_cluster_path

def workstation_cluster_path(project:, location:, workstation_cluster:) -> ::String

Create a fully-qualified WorkstationCluster resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/workstationClusters/{workstation_cluster}

Parameters
  • project (String)
  • location (String)
  • workstation_cluster (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#workstation_config_path

def workstation_config_path(project:, location:, workstation_cluster:, workstation_config:) -> ::String

Create a fully-qualified WorkstationConfig resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/workstationClusters/{workstation_cluster}/workstationConfigs/{workstation_config}

Parameters
  • project (String)
  • location (String)
  • workstation_cluster (String)
  • workstation_config (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#workstation_path

def workstation_path(project:, location:, workstation_cluster:, workstation_config:, workstation:) -> ::String

Create a fully-qualified Workstation resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/workstationClusters/{workstation_cluster}/workstationConfigs/{workstation_config}/workstations/{workstation}

Parameters
  • project (String)
  • location (String)
  • workstation_cluster (String)
  • workstation_config (String)
  • workstation (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)