Reference documentation and code samples for the Google Cloud Advisory Notifications V1 Client class Settings.
Settings for Advisory Notifications.
Generated from protobuf message google.cloud.advisorynotifications.v1.Settings
Namespace
Google \ Cloud \ AdvisoryNotifications \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.
Required. Map of each notification type and its settings to get/set all settings at once. The server will validate the value for each notification type.
↳ etag
string
Required. Fingerprint for optimistic concurrency returned in Get requests. Must be provided for Update requests. If the value provided does not match the value known to the server, ABORTED will be thrown, and the client should retry the read-modify-write cycle.
getName
Identifier. The resource name of the settings to retrieve.
Format:
organizations/{organization}/locations/{location}/settings or
projects/{projects}/locations/{location}/settings.
Returns
Type
Description
string
setName
Identifier. The resource name of the settings to retrieve.
Format:
organizations/{organization}/locations/{location}/settings or
projects/{projects}/locations/{location}/settings.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getNotificationSettings
Required. Map of each notification type and its settings to get/set all
settings at once. The server will validate the value for each notification
type.
Required. Map of each notification type and its settings to get/set all
settings at once. The server will validate the value for each notification
type.
Required. Fingerprint for optimistic concurrency returned in Get requests.
Must be provided for Update requests. If the value provided does not match
the value known to the server, ABORTED will be thrown, and the client
should retry the read-modify-write cycle.
Returns
Type
Description
string
setEtag
Required. Fingerprint for optimistic concurrency returned in Get requests.
Must be provided for Update requests. If the value provided does not match
the value known to the server, ABORTED will be thrown, and the client
should retry the read-modify-write cycle.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Advisory Notifications V1 Client - Class Settings (1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/php/docs/reference/cloud-advisorynotifications/latest/V1.Settings)\n- [1.1.0](/php/docs/reference/cloud-advisorynotifications/1.1.0/V1.Settings)\n- [1.0.3](/php/docs/reference/cloud-advisorynotifications/1.0.3/V1.Settings)\n- [0.8.3](/php/docs/reference/cloud-advisorynotifications/0.8.3/V1.Settings)\n- [0.7.0](/php/docs/reference/cloud-advisorynotifications/0.7.0/V1.Settings)\n- [0.6.0](/php/docs/reference/cloud-advisorynotifications/0.6.0/V1.Settings)\n- [0.5.1](/php/docs/reference/cloud-advisorynotifications/0.5.1/V1.Settings)\n- [0.4.0](/php/docs/reference/cloud-advisorynotifications/0.4.0/V1.Settings)\n- [0.3.2](/php/docs/reference/cloud-advisorynotifications/0.3.2/V1.Settings)\n- [0.2.1](/php/docs/reference/cloud-advisorynotifications/0.2.1/V1.Settings)\n- [0.1.0](/php/docs/reference/cloud-advisorynotifications/0.1.0/V1.Settings) \nReference documentation and code samples for the Google Cloud Advisory Notifications V1 Client class Settings.\n\nSettings for Advisory Notifications.\n\nGenerated from protobuf message `google.cloud.advisorynotifications.v1.Settings`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AdvisoryNotifications \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nIdentifier. The resource name of the settings to retrieve.\n\nFormat:\norganizations/{organization}/locations/{location}/settings or\nprojects/{projects}/locations/{location}/settings.\n\n### setName\n\nIdentifier. The resource name of the settings to retrieve.\n\nFormat:\norganizations/{organization}/locations/{location}/settings or\nprojects/{projects}/locations/{location}/settings.\n\n### getNotificationSettings\n\nRequired. Map of each notification type and its settings to get/set all\nsettings at once. The server will validate the value for each notification\ntype.\n\n### setNotificationSettings\n\nRequired. Map of each notification type and its settings to get/set all\nsettings at once. The server will validate the value for each notification\ntype.\n\n### getEtag\n\nRequired. Fingerprint for optimistic concurrency returned in Get requests.\n\nMust be provided for Update requests. If the value provided does not match\nthe value known to the server, ABORTED will be thrown, and the client\nshould retry the read-modify-write cycle.\n\n### setEtag\n\nRequired. Fingerprint for optimistic concurrency returned in Get requests.\n\nMust be provided for Update requests. If the value provided does not match\nthe value known to the server, ABORTED will be thrown, and the client\nshould retry the read-modify-write cycle."]]