Cloud Bigtable Admin V2 API - Module Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Paths (v0.22.0)

Reference documentation and code samples for the Cloud Bigtable Admin V2 API module Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Paths.

Path helper methods for the BigtableInstanceAdmin API.

Methods

#app_profile_path

def app_profile_path(project:, instance:, app_profile:) -> ::String

Create a fully-qualified AppProfile resource string.

The resource will be in the following format:

projects/{project}/instances/{instance}/appProfiles/{app_profile}

Parameters
  • project (String)
  • instance (String)
  • app_profile (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#cluster_path

def cluster_path(project:, instance:, cluster:) -> ::String

Create a fully-qualified Cluster resource string.

The resource will be in the following format:

projects/{project}/instances/{instance}/clusters/{cluster}

Parameters
  • project (String)
  • instance (String)
  • cluster (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

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

#instance_path

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

Create a fully-qualified Instance resource string.

The resource will be in the following format:

projects/{project}/instances/{instance}

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

#project_path

def project_path(project:) -> ::String

Create a fully-qualified Project resource string.

The resource will be in the following format:

projects/{project}

Parameter
  • project (String)
Returns
  • (::String)