class Google::Apis::YoutubeV3::I18nRegionSnippet

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

Attributes

gl[RW]

The region code as a 2-letter ISO country code. Corresponds to the JSON property `gl` @return [String]

name[RW]

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

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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