Class: Google::Apis::YoutubeV3::LocalizedProperty
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::LocalizedProperty
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb
Instance Attribute Summary collapse
-
#default ⇒ String
Corresponds to the JSON property
default
. -
#default_language ⇒ Google::Apis::YoutubeV3::LanguageTag
The language of the default property.
-
#localized ⇒ Array<Google::Apis::YoutubeV3::LocalizedString>
Corresponds to the JSON property
localized
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LocalizedProperty
constructor
A new instance of LocalizedProperty.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LocalizedProperty
Returns a new instance of LocalizedProperty.
5382 5383 5384 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 5382 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default ⇒ String
Corresponds to the JSON property default
5370 5371 5372 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 5370 def default @default end |
#default_language ⇒ Google::Apis::YoutubeV3::LanguageTag
The language of the default property.
Corresponds to the JSON property defaultLanguage
5375 5376 5377 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 5375 def default_language @default_language end |
#localized ⇒ Array<Google::Apis::YoutubeV3::LocalizedString>
Corresponds to the JSON property localized
5380 5381 5382 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 5380 def localized @localized end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5387 5388 5389 5390 5391 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 5387 def update!(**args) @default = args[:default] if args.key?(:default) @default_language = args[:default_language] if args.key?(:default_language) @localized = args[:localized] if args.key?(:localized) end |