Class: Google::Apis::DisplayvideoV3::ContentGenreTargetingOptionDetails

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 content genre. This will be populated in the content_genre_details field when targeting_type is TARGETING_TYPE_CONTENT_GENRE.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContentGenreTargetingOptionDetails

Returns a new instance of ContentGenreTargetingOptionDetails.



3802
3803
3804
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3802

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

Instance Attribute Details

#display_nameString

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

Returns:

  • (String)


3800
3801
3802
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3800

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3807
3808
3809
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3807

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