Class: Google::Apis::DisplayvideoV1::DeviceTypeTargetingOptionDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeviceTypeTargetingOptionDetails

Returns a new instance of DeviceTypeTargetingOptionDetails.



3388
3389
3390
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3388

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#device_typeString

Output only. The device type that is used to be targeted. Corresponds to the JSON property deviceType

Returns:

  • (String)


3386
3387
3388
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3386

def device_type
  @device_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3393
3394
3395
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3393

def update!(**args)
  @device_type = args[:device_type] if args.key?(:device_type)
end