Module Google::Cloud::Dataplex::V1::MetadataService::Paths (v0.1.0)

Path helper methods for the MetadataService API.

Methods

#entity_path

def entity_path(project:, location:, lake:, zone:, entity:) -> ::String

Create a fully-qualified Entity resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity}

Parameters
  • project (String)
  • location (String)
  • lake (String)
  • zone (String)
  • entity (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#partition_path

def partition_path(project:, location:, lake:, zone:, entity:, partition:) -> ::String

Create a fully-qualified Partition resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity}/partitions/{partition}

Parameters
  • project (String)
  • location (String)
  • lake (String)
  • zone (String)
  • entity (String)
  • partition (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#zone_path

def zone_path(project:, location:, lake:, zone:) -> ::String

Create a fully-qualified Zone resource string.

The resource will be in the following format:

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

Parameters
  • project (String)
  • location (String)
  • lake (String)
  • zone (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)