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

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)

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