class ProjectsLocations extends Resource (View source)

The "locations" collection of methods.

Typical usage is:

 $eventarcService = new Google\Service\Eventarc(...);
 $locations = $eventarcService->projects_locations;

Methods

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

Gets information about a location. (locations.get)

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

Get a GoogleChannelConfig (locations.getGoogleChannelConfig)

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

Lists information about the supported locations for this service.

updateGoogleChannelConfig(string $name, GoogleChannelConfig $postBody, array $optParams = [])

Update a single GoogleChannelConfig (locations.updateGoogleChannelConfig)

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

GoogleChannelConfig getGoogleChannelConfig(string $name, array $optParams = [])

Get a GoogleChannelConfig (locations.getGoogleChannelConfig)

Parameters

string $name

Required. The name of the config to get.

array $optParams

Optional parameters.

Return Value

GoogleChannelConfig

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

GoogleChannelConfig updateGoogleChannelConfig(string $name, GoogleChannelConfig $postBody, array $optParams = [])

Update a single GoogleChannelConfig (locations.updateGoogleChannelConfig)

Parameters

string $name

Required. The resource name of the config. Must be in the format of, projects/{project}/locations/{location}/googleChannelConfig.

GoogleChannelConfig $postBody
array $optParams

Optional parameters.

Return Value

GoogleChannelConfig

Exceptions

Exception