Discovery Engine V1 API - Module Google::Cloud::DiscoveryEngine::V1::ControlService::Paths (v1.1.0)

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

Path helper methods for the ControlService API.

Methods

#control_path

def control_path(project:, location:, data_store:, control:) -> ::String
def control_path(project:, location:, collection:, data_store:, control:) -> ::String
def control_path(project:, location:, collection:, engine:, control:) -> ::String

Create a fully-qualified Control resource string.

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

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

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

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

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

projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}

Parameters
  • project (String)
  • location (String)
  • collection (String)
  • engine (String)
  • control (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)

#engine_path

def engine_path(project:, location:, collection:, engine:) -> ::String

Create a fully-qualified Engine resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/collections/{collection}/engines/{engine}

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