Class: Google::Apis::DisplayvideoV1::DeviceMakeModelTargetingOptionDetails

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 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.



3340
3341
3342
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3340

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)


3338
3339
3340
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3338

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3345
3346
3347
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3345

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