Cloud Bigtable Admin V2 API - Module Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Paths (v0.24.0)

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

Path helper methods for the BigtableTableAdmin API.

Methods

#authorized_view_path

def authorized_view_path(project:, instance:, table:, authorized_view:) -> ::String

Create a fully-qualified AuthorizedView resource string.

The resource will be in the following format:

projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}

Parameters
  • project (String)
  • instance (String)
  • table (String)
  • authorized_view (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#backup_path

def backup_path(project:, instance:, cluster:, backup:) -> ::String

Create a fully-qualified Backup resource string.

The resource will be in the following format:

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

Parameters
  • project (String)
  • instance (String)
  • cluster (String)
  • backup (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_version_path

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

Create a fully-qualified CryptoKeyVersion resource string.

The resource will be in the following format:

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

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

#snapshot_path

def snapshot_path(project:, instance:, cluster:, snapshot:) -> ::String

Create a fully-qualified Snapshot resource string.

The resource will be in the following format:

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

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

#table_path

def table_path(project:, instance:, table:) -> ::String

Create a fully-qualified Table resource string.

The resource will be in the following format:

projects/{project}/instances/{instance}/tables/{table}

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