Class: Google::Apis::AdexchangebuyerV1_2::Creative::FilteringReasons
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_2::Creative::FilteringReasons
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_2/classes.rb,
generated/google/apis/adexchangebuyer_v1_2/representations.rb,
generated/google/apis/adexchangebuyer_v1_2/representations.rb
Overview
The filtering reasons for the creative. Read-only. This field should not be set in requests.
Defined Under Namespace
Classes: Reason
Instance Attribute Summary collapse
-
#date ⇒ String
The date in ISO 8601 format for the data.
-
#reasons ⇒ Array<Google::Apis::AdexchangebuyerV1_2::Creative::FilteringReasons::Reason>
The filtering reasons.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FilteringReasons
constructor
A new instance of FilteringReasons.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FilteringReasons
Returns a new instance of FilteringReasons.
383 384 385 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 383 def initialize(**args) update!(**args) end |
Instance Attribute Details
#date ⇒ String
The date in ISO 8601 format for the data. The data is collected from 00:00:00
to 23:59:59 in PST.
Corresponds to the JSON property date
376 377 378 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 376 def date @date end |
#reasons ⇒ Array<Google::Apis::AdexchangebuyerV1_2::Creative::FilteringReasons::Reason>
The filtering reasons.
Corresponds to the JSON property reasons
381 382 383 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 381 def reasons @reasons end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
388 389 390 391 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 388 def update!(**args) @date = args[:date] if args.key?(:date) @reasons = args[:reasons] if args.key?(:reasons) end |