Class: Google::Apis::DisplayvideoV3::DeviceMakeModelTargetingOptionDetails

Inherits:
Object
  • Object
show all
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 make and model. This will be populated in the device_make_model_details field of a TargetingOption when targeting_type is TARGETING_TYPE_DEVICE_MAKE_MODEL.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeviceMakeModelTargetingOptionDetails

Returns a new instance of DeviceMakeModelTargetingOptionDetails.



5170
5171
5172
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5170

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

Instance Attribute Details

#display_nameString

Output only. The display name of the device make and model. Corresponds to the JSON property displayName

Returns:

  • (String)


5168
5169
5170
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5168

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5175
5176
5177
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5175

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