class Google::Apis::AuthorizedbuyersmarketplaceV1::DayPartTargeting

Represents Daypart targeting.

Attributes

day_parts[RW]

The targeted weekdays and times Corresponds to the JSON property ‘dayParts` @return [Array<Google::Apis::AuthorizedbuyersmarketplaceV1::DayPart>]

time_zone_type[RW]

The time zone type of the day parts Corresponds to the JSON property ‘timeZoneType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 508
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 513
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