PoliciesClient class
An interface for managing Identity and Access Management (IAM) policies.
- Annotations
-
- @GrpcServiceName.new('google.iam.v2.Policies')
Constructors
-
PoliciesClient(ClientChannel channel, {CallOptions? options, Iterable<
ClientInterceptor> ? interceptors})
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
-
$createCall<
Q, R> (ClientMethod< Q, R> method, Stream<Q> requests, {CallOptions? options}) → ClientCall<Q, R> -
inherited
-
$createStreamingCall<
Q, R> (ClientMethod< Q, R> method, Stream<Q> requests, {CallOptions? options}) → ResponseStream<R> -
inherited
-
$createUnaryCall<
Q, R> (ClientMethod< Q, R> method, Q request, {CallOptions? options}) → ResponseFuture<R> -
inherited
-
createPolicy(
CreatePolicyRequest request, {CallOptions? options}) → ResponseFuture< Operation> - Creates a policy.
-
deletePolicy(
DeletePolicyRequest request, {CallOptions? options}) → ResponseFuture< Operation> - Deletes a policy. This action is permanent.
-
getPolicy(
GetPolicyRequest request, {CallOptions? options}) → ResponseFuture< Policy> - Gets a policy.
-
listPolicies(
ListPoliciesRequest request, {CallOptions? options}) → ResponseFuture< ListPoliciesResponse> - 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
-
updatePolicy(
UpdatePolicyRequest request, {CallOptions? options}) → ResponseFuture< Operation> - Updates the specified policy.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultHost → const String
- The hostname for this service.
-
oauthScopes
→ const List<
String> - OAuth scopes needed for the client.