Google Cloud VMware Engine V1 API - Module Google::Cloud::VmwareEngine::V1::VmwareEngine::Paths (v0.6.1)

Reference documentation and code samples for the Google Cloud VMware Engine V1 API module Google::Cloud::VmwareEngine::V1::VmwareEngine::Paths.

Path helper methods for the VmwareEngine API.

Methods

#cluster_path

def cluster_path(project:, location:, private_cloud:, cluster:) -> ::String

Create a fully-qualified Cluster resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/privateClouds/{private_cloud}/clusters/{cluster}

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

#hcx_activation_key_path

def hcx_activation_key_path(project:, location:, private_cloud:, hcx_activation_key:) -> ::String

Create a fully-qualified HcxActivationKey resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/privateClouds/{private_cloud}/hcxActivationKeys/{hcx_activation_key}

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

#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)

#network_path

def network_path(project:, network:) -> ::String

Create a fully-qualified Network resource string.

The resource will be in the following format:

projects/{project}/global/networks/{network}

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

#network_policy_path

def network_policy_path(project:, location:, network_policy:) -> ::String

Create a fully-qualified NetworkPolicy resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/networkPolicies/{network_policy}

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

#node_type_path

def node_type_path(project:, location:, node_type:) -> ::String

Create a fully-qualified NodeType resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/nodeTypes/{node_type}

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

#private_cloud_path

def private_cloud_path(project:, location:, private_cloud:) -> ::String

Create a fully-qualified PrivateCloud resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/privateClouds/{private_cloud}

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

#private_connection_path

def private_connection_path(project:, location:, private_connection:) -> ::String

Create a fully-qualified PrivateConnection resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/privateConnections/{private_connection}

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

#subnet_path

def subnet_path(project:, location:, private_cloud:, subnet:) -> ::String

Create a fully-qualified Subnet resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/privateClouds/{private_cloud}/subnets/{subnet}

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

#vmware_engine_network_path

def vmware_engine_network_path(project:, location:, vmware_engine_network:) -> ::String

Create a fully-qualified VmwareEngineNetwork resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network}

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