class ProjectsLocations extends Resource (View source)

The "locations" collection of methods.

Typical usage is:

 $aiplatformService = new Google\Service\Aiplatform(...);
 $locations = $aiplatformService->projects_locations;

Methods

evaluateInstances(string $location, GoogleCloudAiplatformV1EvaluateInstancesRequest $postBody, array $optParams = [])

Evaluates instances based on a given metric. (locations.evaluateInstances)

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

Gets information about a location. (locations.get)

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

Lists information about the supported locations for this service.

Details

GoogleCloudAiplatformV1EvaluateInstancesResponse evaluateInstances(string $location, GoogleCloudAiplatformV1EvaluateInstancesRequest $postBody, array $optParams = [])

Evaluates instances based on a given metric. (locations.evaluateInstances)

Parameters

string $location

Required. The resource name of the Location to evaluate the instances. Format: projects/{project}/locations/{location}

GoogleCloudAiplatformV1EvaluateInstancesRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1EvaluateInstancesResponse

Exceptions

Exception

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

Gets information about a location. (locations.get)

Parameters

string $name

Resource name for the location.

array $optParams

Optional parameters.

Return Value

GoogleCloudLocationLocation

Exceptions

Exception

GoogleCloudLocationListLocationsResponse listProjectsLocations(string $name, array $optParams = [])

Lists information about the supported locations for this service.

(locations.listProjectsLocations)

Parameters

string $name

The resource that owns the locations collection, if applicable.

array $optParams

Optional parameters.

Return Value

GoogleCloudLocationListLocationsResponse

Exceptions

Exception