Class: Google::Apis::DisplayvideoV2::CategoryTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::CategoryTargetingOptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/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
-
#display_name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CategoryTargetingOptionDetails
constructor
A new instance of CategoryTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CategoryTargetingOptionDetails
Returns a new instance of CategoryTargetingOptionDetails.
2813 2814 2815 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2813 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Output only. The display name of the category.
Corresponds to the JSON property displayName
2811 2812 2813 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2811 def display_name @display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2818 2819 2820 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2818 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) end |