Class: Google::Apis::DisplayvideoV1::CategoryTargetingOptionDetails

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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CategoryTargetingOptionDetails

Returns a new instance of CategoryTargetingOptionDetails.



1568
1569
1570
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1568

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)


1566
1567
1568
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1566

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1573
1574
1575
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1573

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