Class: Google::Apis::YoutubeV3::I18nLanguage
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::I18nLanguage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_v3/classes.rb,
generated/google/apis/youtube_v3/representations.rb,
generated/google/apis/youtube_v3/representations.rb
Overview
An i18nLanguage resource identifies a UI language currently supported by YouTube.
Instance Attribute Summary collapse
-
#etag ⇒ String
Etag of this resource.
-
#id ⇒ String
The ID that YouTube uses to uniquely identify the i18n language.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#snippet ⇒ Google::Apis::YoutubeV3::I18nLanguageSnippet
Basic details about an i18n language, such as language code and human-readable name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ I18nLanguage
constructor
A new instance of I18nLanguage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ I18nLanguage
Returns a new instance of I18nLanguage
2942 2943 2944 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 2942 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
Etag of this resource.
Corresponds to the JSON property etag
2923 2924 2925 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 2923 def etag @etag end |
#id ⇒ String
The ID that YouTube uses to uniquely identify the i18n language.
Corresponds to the JSON property id
2928 2929 2930 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 2928 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "youtube#
i18nLanguage".
Corresponds to the JSON property kind
2934 2935 2936 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 2934 def kind @kind end |
#snippet ⇒ Google::Apis::YoutubeV3::I18nLanguageSnippet
Basic details about an i18n language, such as language code and human-readable
name.
Corresponds to the JSON property snippet
2940 2941 2942 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 2940 def snippet @snippet end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2947 2948 2949 2950 2951 2952 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 2947 def update!(**args) @etag = args[:etag] if args.key?(:etag) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @snippet = args[:snippet] if args.key?(:snippet) end |