Class: Google::Apis::AdexchangesellerV2_0::Alert
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangesellerV2_0::Alert
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangeseller_v2_0/classes.rb,
generated/google/apis/adexchangeseller_v2_0/representations.rb,
generated/google/apis/adexchangeseller_v2_0/representations.rb
Instance Attribute Summary collapse
-
#id ⇒ String
Unique identifier of this alert.
-
#kind ⇒ String
Kind of resource this is, in this case adexchangeseller#alert.
-
#message ⇒ String
The localized alert message.
-
#severity ⇒ String
Severity of this alert.
-
#type ⇒ String
Type of this alert.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Alert
constructor
A new instance of Alert.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Alert
Returns a new instance of Alert
210 211 212 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 210 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
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
186 187 188 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 186 def id @id end |
#kind ⇒ String
Kind of resource this is, in this case adexchangeseller#alert.
Corresponds to the JSON property kind
191 192 193 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 191 def kind @kind end |
#message ⇒ String
The localized alert message.
Corresponds to the JSON property message
196 197 198 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 196 def @message end |
#severity ⇒ String
Severity of this alert. Possible values: INFO, WARNING, SEVERE.
Corresponds to the JSON property severity
201 202 203 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 201 def severity @severity end |
#type ⇒ String
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
208 209 210 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 208 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
215 216 217 218 219 220 221 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 215 def update!(**args) @id = args[:id] if args.key?(:id) @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 |