Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonDeviceInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonDeviceInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb
Overview
A device criterion.
Instance Attribute Summary collapse
-
#type ⇒ String
Type of the device.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonDeviceInfo
constructor
A new instance of GoogleAdsSearchads360V0CommonDeviceInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonDeviceInfo
Returns a new instance of GoogleAdsSearchads360V0CommonDeviceInfo.
276 277 278 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 276 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
Type of the device.
Corresponds to the JSON property type
274 275 276 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 274 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
281 282 283 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 281 def update!(**args) @type = args[:type] if args.key?(:type) end |