class ProjectsLocations extends Resource (View source)

The "locations" collection of methods.

Typical usage is:

 $apimService = new Google\Service\APIManagement(...);
 $locations = $apimService->projects_locations;

Methods

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.

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

ListApiObservationTags lists all extant tags on any observation in the given project. (locations.listApiObservationTags)

Details

Location 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

Location

Exceptions

Exception

ListLocationsResponse 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

ListLocationsResponse

Exceptions

Exception

ListApiObservationTagsResponse listApiObservationTags(string $parent, array $optParams = [])

ListApiObservationTags lists all extant tags on any observation in the given project. (locations.listApiObservationTags)

Parameters

string $parent

Required. The parent, which owns this collection of tags. Format: projects/{project}/locations/{location}

array $optParams

Optional parameters.

Return Value

ListApiObservationTagsResponse

Exceptions

Exception