Class: Google::Apis::DisplayvideoV3::DeviceTypeTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::DeviceTypeTargetingOptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
Represents a targetable device type. This will be populated in the
device_type_details field of a TargetingOption when targeting_type is
TARGETING_TYPE_DEVICE_TYPE.
Instance Attribute Summary collapse
-
#device_type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeviceTypeTargetingOptionDetails
constructor
A new instance of DeviceTypeTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeviceTypeTargetingOptionDetails
Returns a new instance of DeviceTypeTargetingOptionDetails.
6765 6766 6767 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6765 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_type ⇒ String
Output only. The device type that is used to be targeted.
Corresponds to the JSON property deviceType
6763 6764 6765 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6763 def device_type @device_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6770 6771 6772 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6770 def update!(**args) @device_type = args[:device_type] if args.key?(:device_type) end |