Class: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FilteringStats

Returns a new instance of FilteringStats



1791
1792
1793
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1791

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dateGoogle::Apis::Adexchangebuyer2V2beta1::Date

Represents a whole or partial calendar date, e.g. a birthday. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. This can represent:

  • A full date, with non-zero year, month and day values
  • A month and day value, with a zero year, e.g. an anniversary
  • A year on its own, with zero month and day values
  • A year and month value, with a zero day, e.g. a credit card expiration date Related types are google.type.TimeOfDay and google.protobuf.Timestamp. Corresponds to the JSON property date


1784
1785
1786
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1784

def date
  @date
end

#reasonsArray<Google::Apis::Adexchangebuyer2V2beta1::Reason>

The set of filtering reasons for this date. Corresponds to the JSON property reasons



1789
1790
1791
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1789

def reasons
  @reasons
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1796
1797
1798
1799
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1796

def update!(**args)
  @date = args[:date] if args.key?(:date)
  @reasons = args[:reasons] if args.key?(:reasons)
end