class OrganizationsLocations extends Resource (View source)

The "locations" collection of methods.

Typical usage is:

 $advisorynotificationsService = new Google\Service\Advisorynotifications(...);
 $locations = $advisorynotificationsService->organizations_locations;

Methods

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

Get notification settings. (locations.getSettings)

updateSettings(string $name, GoogleCloudAdvisorynotificationsV1Settings $postBody, array $optParams = [])

Update notification settings. (locations.updateSettings)

Details

GoogleCloudAdvisorynotificationsV1Settings getSettings(string $name, array $optParams = [])

Get notification settings. (locations.getSettings)

Parameters

string $name

Required. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.

array $optParams

Optional parameters.

Return Value

GoogleCloudAdvisorynotificationsV1Settings

Exceptions

Exception

GoogleCloudAdvisorynotificationsV1Settings updateSettings(string $name, GoogleCloudAdvisorynotificationsV1Settings $postBody, array $optParams = [])

Update notification settings. (locations.updateSettings)

Parameters

string $name

Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.

GoogleCloudAdvisorynotificationsV1Settings $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudAdvisorynotificationsV1Settings

Exceptions

Exception