Class: Google::Apis::Adexchangebuyer2V2beta1::PlatformContext
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::Adexchangebuyer2V2beta1::PlatformContext
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
 generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
 generated/google/apis/adexchangebuyer2_v2beta1/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #platforms  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The platforms this restriction applies to. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PlatformContext 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of PlatformContext. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PlatformContext
Returns a new instance of PlatformContext
| 1869 1870 1871 | # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1869 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#platforms ⇒ Array<String>
The platforms this restriction applies to.
Corresponds to the JSON property platforms
| 1867 1868 1869 | # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1867 def platforms @platforms end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1874 1875 1876 | # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1874 def update!(**args) @platforms = args[:platforms] if args.key?(:platforms) end |