Gemini Enterprise for Customer Experience V1BETA API - Module Google::Cloud::Ces::V1beta::EvaluationService::Paths (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API module Google::Cloud::Ces::V1beta::EvaluationService::Paths.

Path helper methods for the EvaluationService API.

Methods

#agent_path

def agent_path(project:, location:, app:, agent:) -> ::String

Create a fully-qualified Agent resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apps/{app}/agents/{agent}

Parameters
  • project (String)
  • location (String)
  • app (String)
  • agent (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#app_path

def app_path(project:, location:, app:) -> ::String

Create a fully-qualified App resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apps/{app}

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

#app_version_path

def app_version_path(project:, location:, app:, version:) -> ::String

Create a fully-qualified AppVersion resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apps/{app}/versions/{version}

Parameters
  • project (String)
  • location (String)
  • app (String)
  • version (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#changelog_path

def changelog_path(project:, location:, app:, changelog:) -> ::String

Create a fully-qualified Changelog resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apps/{app}/changelogs/{changelog}

Parameters
  • project (String)
  • location (String)
  • app (String)
  • changelog (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#conversation_path

def conversation_path(project:, location:, app:, conversation:) -> ::String

Create a fully-qualified Conversation resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apps/{app}/conversations/{conversation}

Parameters
  • project (String)
  • location (String)
  • app (String)
  • conversation (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#evaluation_dataset_path

def evaluation_dataset_path(project:, location:, app:, evaluation_dataset:) -> ::String

Create a fully-qualified EvaluationDataset resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apps/{app}/evaluationDatasets/{evaluation_dataset}

Parameters
  • project (String)
  • location (String)
  • app (String)
  • evaluation_dataset (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#evaluation_expectation_path

def evaluation_expectation_path(project:, location:, app:, evaluation_expectation:) -> ::String

Create a fully-qualified EvaluationExpectation resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apps/{app}/evaluationExpectations/{evaluation_expectation}

Parameters
  • project (String)
  • location (String)
  • app (String)
  • evaluation_expectation (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#evaluation_path

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

Create a fully-qualified Evaluation resource string.

The resource will be in the following format:

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

Parameters
  • project (String)
  • location (String)
  • app (String)
  • evaluation (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#evaluation_result_path

def evaluation_result_path(project:, location:, app:, evaluation:, evaluation_result:) -> ::String

Create a fully-qualified EvaluationResult resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}/results/{evaluation_result}

Parameters
  • project (String)
  • location (String)
  • app (String)
  • evaluation (String)
  • evaluation_result (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#evaluation_run_path

def evaluation_run_path(project:, location:, app:, evaluation_run:) -> ::String

Create a fully-qualified EvaluationRun resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apps/{app}/evaluationRuns/{evaluation_run}

Parameters
  • project (String)
  • location (String)
  • app (String)
  • evaluation_run (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#scheduled_evaluation_run_path

def scheduled_evaluation_run_path(project:, location:, app:, scheduled_evaluation_run:) -> ::String

Create a fully-qualified ScheduledEvaluationRun resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apps/{app}/scheduledEvaluationRuns/{scheduled_evaluation_run}

Parameters
  • project (String)
  • location (String)
  • app (String)
  • scheduled_evaluation_run (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#tool_path

def tool_path(project:, location:, app:, tool:) -> ::String

Create a fully-qualified Tool resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apps/{app}/tools/{tool}

Parameters
  • project (String)
  • location (String)
  • app (String)
  • tool (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#toolset_path

def toolset_path(project:, location:, app:, toolset:) -> ::String

Create a fully-qualified Toolset resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}

Parameters
  • project (String)
  • location (String)
  • app (String)
  • toolset (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)