Module Google::Cloud::DataCatalog::V1::DataCatalog::Paths (v0.9.1)

Path helper methods for the DataCatalog API.

Methods

#entry_group_path

def entry_group_path(project:, location:, entry_group:) -> ::String

Create a fully-qualified EntryGroup resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/entryGroups/{entry_group}

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

#entry_path

def entry_path(project:, location:, entry_group:, entry:) -> ::String

Create a fully-qualified Entry resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}

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

#tag_path

def tag_path(project:, location:, entry_group:, entry:, tag:) -> ::String

Create a fully-qualified Tag resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}/tags/{tag}

Parameters
  • project (String)
  • location (String)
  • entry_group (String)
  • entry (String)
  • tag (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#tag_template_field_enum_value_path

def tag_template_field_enum_value_path(project:, location:, tag_template:, tag_template_field_id:, enum_value_display_name:) -> ::String

Create a fully-qualified TagTemplateFieldEnumValue resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}

Parameters
  • project (String)
  • location (String)
  • tag_template (String)
  • tag_template_field_id (String)
  • enum_value_display_name (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#tag_template_field_path

def tag_template_field_path(project:, location:, tag_template:, field:) -> ::String

Create a fully-qualified TagTemplateField resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{field}

Parameters
  • project (String)
  • location (String)
  • tag_template (String)
  • field (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#tag_template_path

def tag_template_path(project:, location:, tag_template:) -> ::String

Create a fully-qualified TagTemplate resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/tagTemplates/{tag_template}

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