Class: Google::Apis::AuthorizedbuyersmarketplaceV1::DayPartTargeting
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1::DayPartTargeting
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb
Overview
Represents Daypart targeting.
Instance Attribute Summary collapse
-
#day_parts ⇒ Array<Google::Apis::AuthorizedbuyersmarketplaceV1::DayPart>
The targeted weekdays and times Corresponds to the JSON property
dayParts
. -
#time_zone_type ⇒ String
The time zone type of the day parts Corresponds to the JSON property
timeZoneType
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DayPartTargeting
constructor
A new instance of DayPartTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DayPartTargeting
Returns a new instance of DayPartTargeting.
533 534 535 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 533 def initialize(**args) update!(**args) end |
Instance Attribute Details
#day_parts ⇒ Array<Google::Apis::AuthorizedbuyersmarketplaceV1::DayPart>
The targeted weekdays and times
Corresponds to the JSON property dayParts
526 527 528 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 526 def day_parts @day_parts end |
#time_zone_type ⇒ String
The time zone type of the day parts
Corresponds to the JSON property timeZoneType
531 532 533 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 531 def time_zone_type @time_zone_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
538 539 540 541 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 538 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 |