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



1045
1046
1047
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1045

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

Instance Attribute Details

#dateGoogle::Apis::Adexchangebuyer2V2beta1::Date

Represents a whole calendar date, e.g. 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 may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are google.type.TimeOfDay and google.protobuf.Timestamp. Corresponds to the JSON property date



1038
1039
1040
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1038

def date
  @date
end

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

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



1043
1044
1045
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1043

def reasons
  @reasons
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1050
1051
1052
1053
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1050

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