class Google::Apis::YoutubeV3::ListCaptionsResponse

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 captions that match the request criteria. Corresponds to the JSON property `items` @return [Array<Google::Apis::YoutubeV3::Caption>]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “youtube# captionListResponse”. 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 lib/google/apis/youtube_v3/classes.rb, line 769
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 774
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