Class: Google::Apis::AdexchangebuyerV1_4::DeliveryControl
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::DeliveryControl
- 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
-
#creative_blocking_level ⇒ String
Corresponds to the JSON property
creativeBlockingLevel
. -
#delivery_rate_type ⇒ String
Corresponds to the JSON property
deliveryRateType
. -
#frequency_caps ⇒ Array<Google::Apis::AdexchangebuyerV1_4::DeliveryControlFrequencyCap>
Corresponds to the JSON property
frequencyCaps
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeliveryControl
constructor
A new instance of DeliveryControl.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeliveryControl
Returns a new instance of DeliveryControl.
1554 1555 1556 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1554 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creative_blocking_level ⇒ String
Corresponds to the JSON property creativeBlockingLevel
1542 1543 1544 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1542 def creative_blocking_level @creative_blocking_level end |
#delivery_rate_type ⇒ String
Corresponds to the JSON property deliveryRateType
1547 1548 1549 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1547 def delivery_rate_type @delivery_rate_type end |
#frequency_caps ⇒ Array<Google::Apis::AdexchangebuyerV1_4::DeliveryControlFrequencyCap>
Corresponds to the JSON property frequencyCaps
1552 1553 1554 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1552 def frequency_caps @frequency_caps end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1559 1560 1561 1562 1563 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1559 def update!(**args) @creative_blocking_level = args[:creative_blocking_level] if args.key?(:creative_blocking_level) @delivery_rate_type = args[:delivery_rate_type] if args.key?(:delivery_rate_type) @frequency_caps = args[:frequency_caps] if args.key?(:frequency_caps) end |