class Google::Apis::AdsenseV1_4::Alert

Attributes

id[RW]

Unique identifier of this alert. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format. Corresponds to the JSON property `id` @return [String]

is_dismissible[RW]

Whether this alert can be dismissed. Corresponds to the JSON property `isDismissible` @return [Boolean]

is_dismissible?[RW]

Whether this alert can be dismissed. Corresponds to the JSON property `isDismissible` @return [Boolean]

kind[RW]

Kind of resource this is, in this case adsense#alert. Corresponds to the JSON property `kind` @return [String]

message[RW]

The localized alert message. Corresponds to the JSON property `message` @return [String]

severity[RW]

Severity of this alert. Possible values: INFO, WARNING, SEVERE. Corresponds to the JSON property `severity` @return [String]

type[RW]

Type of this alert. Possible values: SELF_HOLD, MIGRATED_TO_BILLING3, ADDRESS_PIN_VERIFICATION, PHONE_PIN_VERIFICATION, CORPORATE_ENTITY, GRAYLISTED_PUBLISHER, API_HOLD. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/adsense_v1_4/classes.rb, line 739
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/adsense_v1_4/classes.rb, line 744
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @is_dismissible = args[:is_dismissible] if args.key?(:is_dismissible)
  @kind = args[:kind] if args.key?(:kind)
  @message = args[:message] if args.key?(:message)
  @severity = args[:severity] if args.key?(:severity)
  @type = args[:type] if args.key?(:type)
end