LicensesResourceApi class


LicensesResourceApi(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 license, {String requestId, String $fields}) → Future<Operation>
Deletes the specified license. [...]
get(String project, String license, {String $fields}) → Future<License>
Returns the specified License resource. [...]
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(License request, String project, {String requestId, String $fields}) → Future<Operation>
Create a License resource in the specified project. [...]
list(String project, {String filter, int maxResults, String orderBy, String pageToken, String $fields}) → Future<LicensesListResponse>
Retrieves the list of licenses available in the specified project. This method does not get any licenses that belong to other projects, including licenses attached to publicly-available images, like Debian 9. If you want to get a list of publicly-available licenses, 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. [...]
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.