class Google::Apis::YoutubeV3::GetVideoRatingResponse
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 ratings that match the request criteria. Corresponds to the JSON property `items` @return [Array<Google::Apis::YoutubeV3::VideoRating>]
kind[RW]
Identifies what kind of resource this is. Value: the fixed string “youtube# videoGetRatingResponse”. 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 7415 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 7420 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