Class: Google::Apis::AdexchangebuyerV1_4::DeliveryControlFrequencyCap
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AdexchangebuyerV1_4::DeliveryControlFrequencyCap
 
- 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
- 
  
    
      #max_impressions  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property maxImpressions.
- 
  
    
      #num_time_units  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property numTimeUnits.
- 
  
    
      #time_unit_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property timeUnitType.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DeliveryControlFrequencyCap 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of DeliveryControlFrequencyCap. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeliveryControlFrequencyCap
Returns a new instance of DeliveryControlFrequencyCap
| 1632 1633 1634 | # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1632 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#max_impressions ⇒ Fixnum
Corresponds to the JSON property maxImpressions
| 1620 1621 1622 | # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1620 def max_impressions @max_impressions end | 
#num_time_units ⇒ Fixnum
Corresponds to the JSON property numTimeUnits
| 1625 1626 1627 | # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1625 def num_time_units @num_time_units end | 
#time_unit_type ⇒ String
Corresponds to the JSON property timeUnitType
| 1630 1631 1632 | # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1630 def time_unit_type @time_unit_type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1637 1638 1639 1640 1641 | # File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1637 def update!(**args) @max_impressions = args[:max_impressions] if args.key?(:max_impressions) @num_time_units = args[:num_time_units] if args.key?(:num_time_units) @time_unit_type = args[:time_unit_type] if args.key?(:time_unit_type) end |