VideosResource class

Constructors

VideosResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String id, {String? onBehalfOfContentOwner, String? $fields}) Future<void>
Deletes a resource.
getRating(List<String> id, {String? onBehalfOfContentOwner, String? $fields}) Future<VideoGetRatingResponse>
Retrieves the ratings that the authorized user gave to a list of specified videos.
insert(Video request, List<String> part, {bool? autoLevels, bool? notifySubscribers, String? onBehalfOfContentOwner, String? onBehalfOfContentOwnerChannel, bool? stabilize, String? $fields, UploadOptions uploadOptions = commons.UploadOptions.defaultOptions, Media? uploadMedia}) Future<Video>
Inserts a new resource into this collection.
list(List<String> part, {String? chart, String? hl, List<String>? id, String? locale, int? maxHeight, int? maxResults, int? maxWidth, String? myRating, String? onBehalfOfContentOwner, String? pageToken, String? regionCode, String? videoCategoryId, String? $fields}) Future<VideoListResponse>
Retrieves a list of resources, possibly filtered.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rate(String id, String rating, {String? $fields}) Future<void>
Adds a like or dislike rating to a video or removes a rating from a video.
reportAbuse(VideoAbuseReport request, {String? onBehalfOfContentOwner, String? $fields}) Future<void>
Report abuse for a video.
toString() String
A string representation of this object.
inherited
update(Video request, List<String> part, {String? onBehalfOfContentOwner, String? $fields}) Future<Video>
Updates an existing resource.

Operators

operator ==(Object other) bool
The equality operator.
inherited