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

Reference documentation and code samples for the Dataproc Metastore V1 API module Google::Cloud::Metastore::V1::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)

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