PoliciesResource class

Constructors

PoliciesResource(ApiRequester client)

Properties

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

Methods

createPolicy(GoogleIamV2Policy request, String parent, {String? policyId, String? $fields}) Future<GoogleLongrunningOperation>
Creates a policy.
delete(String name, {String? etag, String? $fields}) Future<GoogleLongrunningOperation>
Deletes a policy.
get(String name, {String? $fields}) Future<GoogleIamV2Policy>
Gets a policy.
listPolicies(String parent, {int? pageSize, String? pageToken, String? $fields}) Future<GoogleIamV2ListPoliciesResponse>
Retrieves the policies of the specified kind that are attached to a resource.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(GoogleIamV2Policy request, String name, {String? $fields}) Future<GoogleLongrunningOperation>
Updates the specified policy.

Operators

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