class Google::Apis::YoutubeV3::ListVideoAbuseReportReasonResponse

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 valid abuse reasons that are used with `video.ReportAbuse`. Corresponds to the JSON property `items` @return [Array<Google::Apis::YoutubeV3::VideoAbuseReportReason>]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string `ā€œyoutube# videoAbuseReportReasonListResponseā€`. 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 7370
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 7375
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