Advisory Notifications V1 API - Class Google::Cloud::AdvisoryNotifications::V1::Settings (v0.10.2)

Reference documentation and code samples for the Advisory Notifications V1 API class Google::Cloud::AdvisoryNotifications::V1::Settings.

Settings for Advisory Notifications.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#etag

def etag() -> ::String
Returns
  • (::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.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::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.
Returns
  • (::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.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.
Returns
  • (::String) — Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.

#notification_settings

def notification_settings() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::AdvisoryNotifications::V1::NotificationSettings}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::AdvisoryNotifications::V1::NotificationSettings}) — 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.

#notification_settings=

def notification_settings=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::AdvisoryNotifications::V1::NotificationSettings}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Cloud::AdvisoryNotifications::V1::NotificationSettings}) — 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
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::AdvisoryNotifications::V1::NotificationSettings}) — 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.