Discovery Engine V1BETA API - Module Google::Cloud::DiscoveryEngine::V1beta::SchemaService::Paths (v0.15.0)

Reference documentation and code samples for the Discovery Engine V1BETA API module Google::Cloud::DiscoveryEngine::V1beta::SchemaService::Paths.

Path helper methods for the SchemaService API.

Methods

#data_store_path

def data_store_path(project:, location:, data_store:) -> ::String
def data_store_path(project:, location:, collection:, data_store:) -> ::String

Create a fully-qualified DataStore resource string.

Overloads
def data_store_path(project:, location:, data_store:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/dataStores/{data_store}

Parameters
  • project (String)
  • location (String)
  • data_store (String)
def data_store_path(project:, location:, collection:, data_store:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}

Parameters
  • project (String)
  • location (String)
  • collection (String)
  • data_store (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#schema_path

def schema_path(project:, location:, data_store:, schema:) -> ::String
def schema_path(project:, location:, collection:, data_store:, schema:) -> ::String

Create a fully-qualified Schema resource string.

Overloads
def schema_path(project:, location:, data_store:, schema:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}

Parameters
  • project (String)
  • location (String)
  • data_store (String)
  • schema (String)
def schema_path(project:, location:, collection:, data_store:, schema:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}

Parameters
  • project (String)
  • location (String)
  • collection (String)
  • data_store (String)
  • schema (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)