ImagesResourceApi class


ImagesResourceApi(ApiRequester client)


hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


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. Gets a list of available images by making a list() request. [...]
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, { String $fields }) → Future<Policy>
Gets the access control policy for a resource. May be empty if no such policy or resource exists. [...]
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 String $fields }) → Future<ImageList>
Retrieves the list of custom images available to the specified project. Custom images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly-available images, like Debian 8. If you want to get a list of publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud. [...]
setIamPolicy(GlobalSetPolicyRequest request, String project, { String resource, { String $fields }) → Future<Policy>
Sets the access control policy on the specified resource. Replaces any existing policy. [...]
setLabels(GlobalSetLabelsRequest request, String project, { String resource, { String $fields }) → Future<Operation>
Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation. [...]
testIamPermissions(TestPermissionsRequest request, String project, { String resource, { String $fields }) → Future<TestPermissionsResponse>
Returns permissions that a caller has on the specified resource. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() → String
Returns a string representation of this object.


operator ==(dynamic other) → bool
The equality operator.