Dataproc Metastore V1beta API - Module Google::Cloud::Metastore::V1beta::DataprocMetastore::Paths (v0.8.1)

Reference documentation and code samples for the Dataproc Metastore V1beta API module Google::Cloud::Metastore::V1beta::DataprocMetastore::Paths.

Path helper methods for the DataprocMetastore API.

Methods

#backup_path

def backup_path(project:, location:, service:, backup:) -> ::String

Create a fully-qualified Backup resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/services/{service}/backups/{backup}

Parameters
  • project (String)
  • location (String)
  • service (String)
  • backup (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#lake_path

def lake_path(project:, location:, lake:) -> ::String

Create a fully-qualified Lake resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/lakes/{lake}

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

#metadata_import_path

def metadata_import_path(project:, location:, service:, metadata_import:) -> ::String

Create a fully-qualified MetadataImport resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/services/{service}/metadataImports/{metadata_import}

Parameters
  • project (String)
  • location (String)
  • service (String)
  • metadata_import (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_path

def service_path(project:, location:, service:) -> ::String

Create a fully-qualified Service resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/services/{service}

Parameters
  • project (String)
  • location (String)
  • service (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#subnetwork_path

def subnetwork_path(project:, region:, subnetwork:) -> ::String

Create a fully-qualified Subnetwork resource string.

The resource will be in the following format:

projects/{project}/regions/{region}/subnetworks/{subnetwork}

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