class ProjectsLocationsDataStoresSessionsAnswers extends Resource (View source)

The "answers" collection of methods.

Typical usage is:

 $discoveryengineService = new Google\Service\DiscoveryEngine(...);
 $answers = $discoveryengineService->projects_locations_dataStores_sessions_answers;

Methods

get(string $name, array $optParams = [])

Gets a Answer. (answers.get)

Details

GoogleCloudDiscoveryengineV1Answer get(string $name, array $optParams = [])

Gets a Answer. (answers.get)

Parameters

string $name

Required. The resource name of the Answer to get. Format: projects/{project_number}/locations/{location_id}/collections/{collection}/e ngines/{engine_id}/sessions/{session_id}/answers/{answer_id}

array $optParams

Optional parameters.

Return Value

GoogleCloudDiscoveryengineV1Answer

Exceptions

Exception