Class: Google::Apis::DisplayvideoV2::LanguageTargetingOptionDetails

Inherits:
Object
  • Object
show all
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 language. This will be populated in the language_details field when targeting_type is TARGETING_TYPE_LANGUAGE.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LanguageTargetingOptionDetails

Returns a new instance of LanguageTargetingOptionDetails.



7425
7426
7427
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 7425

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

Instance Attribute Details

#display_nameString

Output only. The display name of the language (e.g., "French"). Corresponds to the JSON property displayName

Returns:

  • (String)


7423
7424
7425
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 7423

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7430
7431
7432
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 7430

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