class ProjectsLocationsGroundingConfigs extends Resource (View source)

The "groundingConfigs" collection of methods.

Typical usage is:

 $discoveryengineService = new Google\Service\DiscoveryEngine(...);
 $groundingConfigs = $discoveryengineService->projects_locations_groundingConfigs;

Methods

check(string $groundingConfig, GoogleCloudDiscoveryengineV1CheckGroundingRequest $postBody, array $optParams = [])

Performs a grounding check. (groundingConfigs.check)

Details

GoogleCloudDiscoveryengineV1CheckGroundingResponse check(string $groundingConfig, GoogleCloudDiscoveryengineV1CheckGroundingRequest $postBody, array $optParams = [])

Performs a grounding check. (groundingConfigs.check)

Parameters

string $groundingConfig

Required. The resource name of the grounding config, such as projects/locations/global/groundingConfigs/default_grounding_config.

GoogleCloudDiscoveryengineV1CheckGroundingRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudDiscoveryengineV1CheckGroundingResponse

Exceptions

Exception