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

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

Path helper methods for the EvaluationService API.

Methods

#branch_path

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

Create a fully-qualified Branch resource string.

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

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

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

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

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

#evaluation_path

def evaluation_path(project:, location:, evaluation:) -> ::String

Create a fully-qualified Evaluation resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/evaluations/{evaluation}

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

#sample_query_set_path

def sample_query_set_path(project:, location:, sample_query_set:) -> ::String

Create a fully-qualified SampleQuerySet resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}

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

#serving_config_path

def serving_config_path(project:, location:, data_store:, serving_config:) -> ::String
def serving_config_path(project:, location:, collection:, data_store:, serving_config:) -> ::String
def serving_config_path(project:, location:, collection:, engine:, serving_config:) -> ::String

Create a fully-qualified ServingConfig resource string.

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

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

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

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

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

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

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

#session_path

def session_path(project:, location:, data_store:, session:) -> ::String
def session_path(project:, location:, collection:, data_store:, session:) -> ::String
def session_path(project:, location:, collection:, engine:, session:) -> ::String

Create a fully-qualified Session resource string.

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

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

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

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

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

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

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