Class: Google::Apis::AdexchangebuyerV1_4::TargetingValueDayPartTargeting
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::TargetingValueDayPartTargeting
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_4/classes.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb
Instance Attribute Summary collapse
-
#day_parts ⇒ Array<Google::Apis::AdexchangebuyerV1_4::TargetingValueDayPartTargetingDayPart>
Corresponds to the JSON property
dayParts
. -
#time_zone_type ⇒ String
Corresponds to the JSON property
timeZoneType
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TargetingValueDayPartTargeting
constructor
A new instance of TargetingValueDayPartTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TargetingValueDayPartTargeting
Returns a new instance of TargetingValueDayPartTargeting
3537 3538 3539 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3537 def initialize(**args) update!(**args) end |
Instance Attribute Details
#day_parts ⇒ Array<Google::Apis::AdexchangebuyerV1_4::TargetingValueDayPartTargetingDayPart>
Corresponds to the JSON property dayParts
3530 3531 3532 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3530 def day_parts @day_parts end |
#time_zone_type ⇒ String
Corresponds to the JSON property timeZoneType
3535 3536 3537 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3535 def time_zone_type @time_zone_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3542 3543 3544 3545 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3542 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 |