Google Cloud Advisory Notifications V1 Client - Class Settings (0.7.0)

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.

↳ notification_settings array|Google\Protobuf\Internal\MapField

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

Output only. The resource name of the settings to retrieve.

Format: organizations/{organization}/locations/{location}/settings.

Returns
TypeDescription
string

setName

Output only. The resource name of the settings to retrieve.

Format: organizations/{organization}/locations/{location}/settings.

Parameter
NameDescription
var string
Returns
TypeDescription
$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.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setNotificationSettings

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.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getEtag

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
TypeDescription
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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this