Class: Google::Apis::AdsenseV1_4::Alerts
- Inherits:
-
Object
- Object
- Google::Apis::AdsenseV1_4::Alerts
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adsense_v1_4/classes.rb,
generated/google/apis/adsense_v1_4/representations.rb,
generated/google/apis/adsense_v1_4/representations.rb
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::AdsenseV1_4::Alert>
The alerts returned in this list response.
-
#kind ⇒ String
Kind of list this is, in this case adsense#alerts.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Alerts
constructor
A new instance of Alerts.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Alerts
Returns a new instance of Alerts.
768 769 770 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 768 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::AdsenseV1_4::Alert>
The alerts returned in this list response.
Corresponds to the JSON property items
761 762 763 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 761 def items @items end |
#kind ⇒ String
Kind of list this is, in this case adsense#alerts.
Corresponds to the JSON property kind
766 767 768 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 766 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
773 774 775 776 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 773 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |