class ProjectsLocations extends Resource (View source)

The "locations" collection of methods.

Typical usage is:

 $mlService = new Google\Service\CloudMachineLearningEngine(...);
 $locations = $mlService->projects_locations;

Methods

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

Get the complete list of CMLE capabilities in a location, along with their location-specific properties. (locations.get)

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

List all locations that provides at least one type of CMLE capability.

Details

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

Get the complete list of CMLE capabilities in a location, along with their location-specific properties. (locations.get)

Parameters

string $name

Required. The name of the location.

array $optParams

Optional parameters.

Return Value

GoogleCloudMlV1Location

Exceptions

Exception

GoogleCloudMlV1ListLocationsResponse listProjectsLocations(string $parent, array $optParams = [])

List all locations that provides at least one type of CMLE capability.

(locations.listProjectsLocations)

Parameters

string $parent

Required. The name of the project for which available locations are to be listed (since some locations might be whitelisted for specific projects).

array $optParams

Optional parameters.

Return Value

GoogleCloudMlV1ListLocationsResponse

Exceptions

Exception