Class: Google::Apis::DisplayvideoV1::LanguageTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::LanguageTargetingOptionDetails
- 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 language. This will be populated in the
language_details field when targeting_type is TARGETING_TYPE_LANGUAGE
.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LanguageTargetingOptionDetails
constructor
A new instance of LanguageTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LanguageTargetingOptionDetails
Returns a new instance of LanguageTargetingOptionDetails.
5251 5252 5253 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5251 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Output only. The display name of the language (e.g., "French").
Corresponds to the JSON property displayName
5249 5250 5251 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5249 def display_name @display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5256 5257 5258 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5256 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) end |