ImagesResource class

Constructors

ImagesResource(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 project, String image, {String? requestId, String? $fields}) Future<Operation>
Deletes the specified image.
deprecate(DeprecationStatus request, String project, String image, {String? requestId, String? $fields}) Future<Operation>
Sets the deprecation status of an image.
get(String project, String image, {String? $fields}) Future<Image>
Returns the specified image.
getFromFamily(String project, String family, {String? $fields}) Future<Image>
Returns the latest image that is part of an image family and is not deprecated.
getIamPolicy(String project, String resource, {int? optionsRequestedPolicyVersion, String? $fields}) Future<Policy>
Gets the access control policy for a resource.
insert(Image request, String project, {bool? forceCreate, String? requestId, String? $fields}) Future<Operation>
Creates an image in the specified project using the data included in the request.
list(String project, {String? filter, int? maxResults, String? orderBy, String? pageToken, bool? returnPartialSuccess, String? $fields}) Future<ImageList>
Retrieves the list of custom images available to the specified project.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Image request, String project, String image, {String? requestId, String? $fields}) Future<Operation>
Patches the specified image with the data included in the request.
setIamPolicy(GlobalSetPolicyRequest request, String project, String resource, {String? $fields}) Future<Policy>
Sets the access control policy on the specified resource.
setLabels(GlobalSetLabelsRequest request, String project, String resource, {String? $fields}) Future<Operation>
Sets the labels on an image.
testIamPermissions(TestPermissionsRequest request, String project, String resource, {String? $fields}) Future<TestPermissionsResponse>
Returns permissions that a caller has on the specified resource.
toString() String
A string representation of this object.
inherited

Operators

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