Discovery Engine V1 API - Module Google::Cloud::DiscoveryEngine::V1::DataConnectorService::Paths (v2.14.0)

Reference documentation and code samples for the Discovery Engine V1 API module Google::Cloud::DiscoveryEngine::V1::DataConnectorService::Paths.

Path helper methods for the DataConnectorService API.

Methods

#content_policy_path

def content_policy_path(organization:, location:, content_policy:) -> ::String
def content_policy_path(project:, location:, content_policy:) -> ::String

Create a fully-qualified ContentPolicy resource string.

Overloads
def content_policy_path(organization:, location:, content_policy:) -> ::String
The resource will be in the following format:

organizations/{organization}/locations/{location}/contentPolicies/{content_policy}

Parameters
  • organization (String)
  • location (String)
  • content_policy (String)
def content_policy_path(project:, location:, content_policy:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/contentPolicies/{content_policy}

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

#data_connector_path

def data_connector_path(project:, location:, collection:) -> ::String

Create a fully-qualified DataConnector resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/collections/{collection}/dataConnector

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

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

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

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

#service_path

def service_path(project:, location:, namespace:, service:) -> ::String

Create a fully-qualified Service resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}

Parameters
  • project (String)
  • location (String)
  • namespace (String)
  • service (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)