Serverless VPC Access V1 API - Module Google::Cloud::VpcAccess::V1::VpcAccessService::Paths (v0.7.2)

Reference documentation and code samples for the Serverless VPC Access V1 API module Google::Cloud::VpcAccess::V1::VpcAccessService::Paths.

Path helper methods for the VpcAccessService API.

Methods

#connector_path

def connector_path(project:, location:, connector:) -> ::String

Create a fully-qualified Connector resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/connectors/{connector}

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