ProjectsLocationsAuthorizationPoliciesResource class

Constructors

ProjectsLocationsAuthorizationPoliciesResource(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

create(AuthorizationPolicy request, String parent, {String? authorizationPolicyId, String? $fields}) Future<Operation>
Creates a new AuthorizationPolicy in a given project and location.
delete(String name, {String? $fields}) Future<Operation>
Deletes a single AuthorizationPolicy.
get(String name, {String? $fields}) Future<AuthorizationPolicy>
Gets details of a single AuthorizationPolicy.
getIamPolicy(String resource, {int? options_requestedPolicyVersion, String? $fields}) Future<GoogleIamV1Policy>
Gets the access control policy for a resource.
list(String parent, {int? pageSize, String? pageToken, String? $fields}) Future<ListAuthorizationPoliciesResponse>
Lists AuthorizationPolicies in a given project and location.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(AuthorizationPolicy request, String name, {String? updateMask, String? $fields}) Future<Operation>
Updates the parameters of a single AuthorizationPolicy.
setIamPolicy(GoogleIamV1SetIamPolicyRequest request, String resource, {String? $fields}) Future<GoogleIamV1Policy>
Sets the access control policy on the specified resource.
testIamPermissions(GoogleIamV1TestIamPermissionsRequest request, String resource, {String? $fields}) Future<GoogleIamV1TestIamPermissionsResponse>
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