V1ResourceApi class

Constructors

V1ResourceApi(ApiRequester client)

Properties

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

Methods

getIamPolicy(String resource, {String $fields}) → Future<GoogleIamV1Policy>
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. [...]
setIamPolicy(GoogleIamV1SetIamPolicyRequest request, String resource, {String $fields}) → Future<GoogleIamV1Policy>
Sets the access control policy on the specified resource. Replaces any existing policy. [...]
testIamPermissions(GoogleIamV1TestIamPermissionsRequest request, String resource, {String $fields}) → Future<GoogleIamV1TestIamPermissionsResponse>
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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