Class: Google::Apis::YoutubeV3::I18nRegion
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::YoutubeV3::I18nRegion
 
 
- 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 
Overview
A i18nRegion resource identifies a region where YouTube is available.
Instance Attribute Summary collapse
- 
  
    
      #etag  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Etag of this resource.
 - 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID that YouTube uses to uniquely identify the i18n region.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Identifies what kind of resource this is.
 - 
  
    
      #snippet  ⇒ Google::Apis::YoutubeV3::I18nRegionSnippet 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Basic details about an i18n region, such as region code and human-readable name.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ I18nRegion 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of I18nRegion.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ I18nRegion
Returns a new instance of I18nRegion.
      3181 3182 3183  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 3181 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#etag ⇒ String
Etag of this resource.
Corresponds to the JSON property etag
      3162 3163 3164  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 3162 def etag @etag end  | 
  
#id ⇒ String
The ID that YouTube uses to uniquely identify the i18n region.
Corresponds to the JSON property id
      3167 3168 3169  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 3167 def id @id end  | 
  
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "youtube#
i18nRegion".
Corresponds to the JSON property kind
      3173 3174 3175  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 3173 def kind @kind end  | 
  
#snippet ⇒ Google::Apis::YoutubeV3::I18nRegionSnippet
Basic details about an i18n region, such as region code and human-readable
name.
Corresponds to the JSON property snippet
      3179 3180 3181  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 3179 def snippet @snippet end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3186 3187 3188 3189 3190 3191  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 3186 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  |