Class: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::FilteringStats
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb
Overview
day (from midnight to midnight Pacific).
Instance Attribute Summary collapse
-
#date ⇒ Google::Apis::Adexchangebuyer2V2beta1::Date
Represents a whole calendar date, for example date of birth.
-
#reasons ⇒ Array<Google::Apis::Adexchangebuyer2V2beta1::Reason>
The set of filtering reasons for this date.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FilteringStats
constructor
A new instance of FilteringStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FilteringStats
Returns a new instance of FilteringStats
1782 1783 1784 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1782 def initialize(**args) update!(**args) end |
Instance Attribute Details
#date ⇒ Google::Apis::Adexchangebuyer2V2beta1::Date
Represents a whole calendar date, for example date of birth. The time of day
and time zone are either specified elsewhere or are not significant. The date
is relative to the Proleptic Gregorian Calendar. The day can be 0 to
represent a year and month where the day is not significant, for example
credit card expiration date. The year can be 0 to represent a month and day
independent of year, for example anniversary date. Related types are
google.type.TimeOfDay and google.protobuf.Timestamp
.
Corresponds to the JSON property date
1775 1776 1777 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1775 def date @date end |
#reasons ⇒ Array<Google::Apis::Adexchangebuyer2V2beta1::Reason>
The set of filtering reasons for this date.
Corresponds to the JSON property reasons
1780 1781 1782 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1780 def reasons @reasons end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1787 1788 1789 1790 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1787 def update!(**args) @date = args[:date] if args.key?(:date) @reasons = args[:reasons] if args.key?(:reasons) end |