Class: Google::Apis::AdexchangebuyerV1_4::DeliveryControl

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

Constructor Details

#initialize(**args) ⇒ DeliveryControl

Returns a new instance of DeliveryControl.



1653
1654
1655
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1653

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

Instance Attribute Details

#creative_blocking_levelString

Corresponds to the JSON property creativeBlockingLevel

Returns:

  • (String)


1641
1642
1643
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1641

def creative_blocking_level
  @creative_blocking_level
end

#delivery_rate_typeString

Corresponds to the JSON property deliveryRateType

Returns:

  • (String)


1646
1647
1648
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1646

def delivery_rate_type
  @delivery_rate_type
end

#frequency_capsArray<Google::Apis::AdexchangebuyerV1_4::DeliveryControlFrequencyCap>

Corresponds to the JSON property frequencyCaps



1651
1652
1653
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1651

def frequency_caps
  @frequency_caps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1658
1659
1660
1661
1662
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1658

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