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

Constructor Details

#initialize(**args) ⇒ CategoryTargetingOptionDetails

Returns a new instance of CategoryTargetingOptionDetails.



2049
2050
2051
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2049

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)


2047
2048
2049
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2047

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2054
2055
2056
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2054

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