ResourcePoliciesResource class

Constructors

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

aggregatedList(String project, {String? filter, bool? includeAllScopes, int? maxResults, String? orderBy, String? pageToken, bool? returnPartialSuccess, String? serviceProjectNumber, String? $fields}) Future<ResourcePolicyAggregatedList>
Retrieves an aggregated list of resource policies.
delete(String project, String region, String resourcePolicy, {String? requestId, String? $fields}) Future<Operation>
Deletes the specified resource policy.
get(String project, String region, String resourcePolicy, {String? $fields}) Future<ResourcePolicy>
Retrieves all information of the specified resource policy.
getIamPolicy(String project, String region, String resource, {int? optionsRequestedPolicyVersion, String? $fields}) Future<Policy>
Gets the access control policy for a resource.
insert(ResourcePolicy request, String project, String region, {String? requestId, String? $fields}) Future<Operation>
Creates a new resource policy.
list(String project, String region, {String? filter, int? maxResults, String? orderBy, String? pageToken, bool? returnPartialSuccess, String? $fields}) Future<ResourcePolicyList>
A list all the resource policies that have been configured for the specified project in specified region.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(ResourcePolicy request, String project, String region, String resourcePolicy, {String? requestId, String? updateMask, String? $fields}) Future<Operation>
Modify the specified resource policy.
setIamPolicy(RegionSetPolicyRequest request, String project, String region, String resource, {String? $fields}) Future<Policy>
Sets the access control policy on the specified resource.
testIamPermissions(TestPermissionsRequest request, String project, String region, String resource, {String? $fields}) Future<TestPermissionsResponse>
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