Class: Google::Apis::Adexchangebuyer2V2beta1::DayPartTargeting
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::DayPartTargeting
- 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
Specifies the day part targeting criteria.
Instance Attribute Summary collapse
-
#day_parts ⇒ Array<Google::Apis::Adexchangebuyer2V2beta1::DayPart>
A list of day part targeting criterion.
-
#time_zone_type ⇒ String
The timezone to use for interpreting the day part targeting.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DayPartTargeting
constructor
A new instance of DayPartTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DayPartTargeting
Returns a new instance of DayPartTargeting
1133 1134 1135 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1133 def initialize(**args) update!(**args) end |
Instance Attribute Details
#day_parts ⇒ Array<Google::Apis::Adexchangebuyer2V2beta1::DayPart>
A list of day part targeting criterion.
Corresponds to the JSON property dayParts
1126 1127 1128 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1126 def day_parts @day_parts end |
#time_zone_type ⇒ String
The timezone to use for interpreting the day part targeting.
Corresponds to the JSON property timeZoneType
1131 1132 1133 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1131 def time_zone_type @time_zone_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1138 1139 1140 1141 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1138 def update!(**args) @day_parts = args[:day_parts] if args.key?(:day_parts) @time_zone_type = args[:time_zone_type] if args.key?(:time_zone_type) end |