ProjectsSitesVersionsResource class


ProjectsSitesVersionsResource(ApiRequester client)


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


clone(CloneVersionRequest request, String parent, {String? $fields}) Future<Operation>
Creates a new version on the specified target site using the content of the specified version.
create(Version request, String parent, {String? sizeBytes, String? versionId, String? $fields}) Future<Version>
Creates a new version for the specified site.
delete(String name, {String? $fields}) Future<Empty>
Deletes the specified version.
get(String name, {String? $fields}) Future<Version>
Get the specified version that has been created for the specified site.
list(String parent, {String? filter, int? pageSize, String? pageToken, String? $fields}) Future<ListVersionsResponse>
Lists the versions that have been created for the specified site.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
patch(Version request, String name, {String? updateMask, String? $fields}) Future<Version>
Updates the specified metadata for the specified version.
populateFiles(PopulateVersionFilesRequest request, String parent, {String? $fields}) Future<PopulateVersionFilesResponse>
Adds content files to the specified version.
toString() String
A string representation of this object.


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