Class: Google::Apis::AdexchangebuyerV1_4::TargetingValueDayPartTargeting

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TargetingValueDayPartTargeting

Returns a new instance of TargetingValueDayPartTargeting.



3397
3398
3399
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3397

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

Instance Attribute Details

#day_partsArray<Google::Apis::AdexchangebuyerV1_4::TargetingValueDayPartTargetingDayPart>

Corresponds to the JSON property dayParts



3390
3391
3392
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3390

def day_parts
  @day_parts
end

#time_zone_typeString

Corresponds to the JSON property timeZoneType

Returns:

  • (String)


3395
3396
3397
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3395

def time_zone_type
  @time_zone_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3402
3403
3404
3405
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3402

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