Class: Google::Apis::Adexchangebuyer2V2beta1::PlatformContext
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::PlatformContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/adexchangebuyer2_v2beta1/classes.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb
Overview
Output only. The type of platform the restriction applies to.
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.
Constructor Details
#initialize(**args) ⇒ PlatformContext
Returns a new instance of PlatformContext.
3060 3061 3062 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3060 def initialize(**args) update!(**args) end |
Instance Attribute Details
#platforms ⇒ Array<String>
The platforms this restriction applies to.
Corresponds to the JSON property platforms
3058 3059 3060 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3058 def platforms @platforms end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3065 3066 3067 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3065 def update!(**args) @platforms = args[:platforms] if args.key?(:platforms) end |