Google Cloud Managed Lustre V1 API - Module Google::Cloud::Lustre::V1::Lustre::Paths (v1.1.0)

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

Path helper methods for the Lustre API.

Methods

#crypto_key_path

def crypto_key_path(project:, location:, key_ring:, crypto_key:) -> ::String

Create a fully-qualified CryptoKey resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}

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

#directory_policy_path

def directory_policy_path(project:, location:, instance:, directory_policy:) -> ::String

Create a fully-qualified DirectoryPolicy resource string.

The resource will be in the following format:

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

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

#mirror_path

def mirror_path(project:, location:, instance:, mirror:) -> ::String

Create a fully-qualified Mirror resource string.

The resource will be in the following format:

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

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

#resource_policy_path

def resource_policy_path(project:, region:, resource_policy:) -> ::String
def resource_policy_path(project:, location:, resource_policy:) -> ::String

Create a fully-qualified ResourcePolicy resource string.

Overloads
def resource_policy_path(project:, region:, resource_policy:) -> ::String
The resource will be in the following format:

projects/{project}/regions/{region}/resourcePolicies/{resource_policy}

Parameters
  • project (String)
  • region (String)
  • resource_policy (String)
def resource_policy_path(project:, location:, resource_policy:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/resourcePolicies/{resource_policy}

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