class Google::Apis::YoutubeV3::ListI18nRegionsResponse

Attributes

etag[RW]

Etag of this resource. Corresponds to the JSON property `etag` @return [String]

event_id[RW]

Serialized EventId of the request which produced this response. Corresponds to the JSON property `eventId` @return [String]

items[RW]

A list of regions where YouTube is available. In this map, the i18n region ID is the map key, and its value is the corresponding i18nRegion resource. Corresponds to the JSON property `items` @return [Array<Google::Apis::YoutubeV3::I18nRegion>]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “youtube# i18nRegionListResponse”. Corresponds to the JSON property `kind` @return [String]

visitor_id[RW]

The visitorId identifies the visitor. Corresponds to the JSON property `visitorId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_v3/classes.rb, line 3241
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 3246
def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
  @event_id = args[:event_id] if args.key?(:event_id)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
  @visitor_id = args[:visitor_id] if args.key?(:visitor_id)
end