Class: Google::Apis::AdexchangesellerV1_1::Alert
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangesellerV1_1::Alert
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangeseller_v1_1/classes.rb,
generated/google/apis/adexchangeseller_v1_1/representations.rb,
generated/google/apis/adexchangeseller_v1_1/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
260 261 262 |
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 260 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
236 237 238 |
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 236 def id @id end |
#kind ⇒ String
Kind of resource this is, in this case adexchangeseller#alert.
Corresponds to the JSON property kind
241 242 243 |
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 241 def kind @kind end |
#message ⇒ String
The localized alert message.
Corresponds to the JSON property message
246 247 248 |
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 246 def @message end |
#severity ⇒ String
Severity of this alert. Possible values: INFO, WARNING, SEVERE.
Corresponds to the JSON property severity
251 252 253 |
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 251 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
258 259 260 |
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 258 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
265 266 267 268 269 270 271 |
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 265 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 |