Parallelstore V1 API - Module Google::Cloud::Parallelstore::V1::Parallelstore::Paths (v0.1.0)

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

Path helper methods for the Parallelstore API.

Methods

#address_path

def address_path(project:, region:, address:) -> ::String

Create a fully-qualified Address resource string.

The resource will be in the following format:

projects/{project}/regions/{region}/addresses/{address}

Parameters
  • project (String)
  • region (String)
  • address (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#instance_path

def instance_path(project:, location:, instance:) -> ::String

Create a fully-qualified Instance resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/instances/{instance}

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

#service_account_path

def service_account_path(project:, service_account:) -> ::String

Create a fully-qualified ServiceAccount resource string.

The resource will be in the following format:

projects/{project}/serviceAccounts/{service_account}

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