class Google::Apis::YoutubeV3::I18nLanguageSnippet

Basic details about an i18n language, such as language code and human-readable name.

Attributes

hl[RW]

A short BCP-47 code that uniquely identifies a language. Corresponds to the JSON property `hl` @return [String]

name[RW]

The human-readable name of the language in the language itself. Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_v3/classes.rb, line 3160
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/youtube_v3/classes.rb, line 3165
def update!(**args)
  @hl = args[:hl] if args.key?(:hl)
  @name = args[:name] if args.key?(:name)
end