Anthos Multi-Cloud V1 API - Module Google::Cloud::GkeMultiCloud::V1::AwsClusters::Paths (v0.1.0)

Reference documentation and code samples for the Anthos Multi-Cloud V1 API module Google::Cloud::GkeMultiCloud::V1::AwsClusters::Paths.

Path helper methods for the AwsClusters API.

Methods

#aws_cluster_path

def aws_cluster_path(project:, location:, aws_cluster:) -> ::String

Create a fully-qualified AwsCluster resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/awsClusters/{aws_cluster}

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

#aws_node_pool_path

def aws_node_pool_path(project:, location:, aws_cluster:, aws_node_pool:) -> ::String

Create a fully-qualified AwsNodePool resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/awsClusters/{aws_cluster}/awsNodePools/{aws_node_pool}

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

#aws_server_config_path

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

Create a fully-qualified AwsServerConfig resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/awsServerConfig

Parameters
  • project (String)
  • location (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)