Class: Google::Apis::DisplayvideoV3::CategoryTargetingOptionDetails

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 category. This will be populated in the category_details field of a TargetingOption when targeting_type is TARGETING_TYPE_CATEGORY.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CategoryTargetingOptionDetails

Returns a new instance of CategoryTargetingOptionDetails.



3369
3370
3371
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3369

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

Instance Attribute Details

#display_nameString

Output only. The display name of the category. Corresponds to the JSON property displayName

Returns:

  • (String)


3367
3368
3369
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3367

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3374
3375
3376
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3374

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