Class: Google::Cloud::AdvisoryNotifications::V1::Settings

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/advisorynotifications/v1/service.rb

Overview

Settings for Advisory Notifications.

Defined Under Namespace

Classes: NotificationSettingsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#etag::String

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



221
222
223
224
225
226
227
228
229
230
231
232
233
# File 'proto_docs/google/cloud/advisorynotifications/v1/service.rb', line 221

class Settings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::AdvisoryNotifications::V1::NotificationSettings]
  class NotificationSettingsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#name::String (readonly)

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

Returns:

  • (::String)

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



221
222
223
224
225
226
227
228
229
230
231
232
233
# File 'proto_docs/google/cloud/advisorynotifications/v1/service.rb', line 221

class Settings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::AdvisoryNotifications::V1::NotificationSettings]
  class NotificationSettingsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#notification_settings::Google::Protobuf::Map{::String => ::Google::Cloud::AdvisoryNotifications::V1::NotificationSettings}

Returns 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:



221
222
223
224
225
226
227
228
229
230
231
232
233
# File 'proto_docs/google/cloud/advisorynotifications/v1/service.rb', line 221

class Settings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::AdvisoryNotifications::V1::NotificationSettings]
  class NotificationSettingsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end