Class IAMPolicyGrpc (1.23.0)

public final class IAMPolicyGrpc

API Overview Manages Identity and Access Management (IAM) policies. Any implementation of an API that offers access control features implements the google.iam.v1.IAMPolicy interface.

Data model

Access control is applied when a principal (user or service account), takes some action on a resource exposed by a service. Resources, identified by URI-like names, are the unit of access control specification. Service implementations can choose the granularity of access control and the supported permissions for their resources. For example one database service may allow access control to be specified only at the Table level, whereas another might allow access control to also be specified at the Column level.

Policy Structure

See google.iam.v1.Policy This is intentionally not a CRUD style API because access control policies are created and deleted implicitly with the resources to which they are attached.

Inheritance

java.lang.Object > IAMPolicyGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(IAMPolicyGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(IAMPolicyGrpc.AsyncService service)
Parameter
NameDescription
serviceIAMPolicyGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getGetIamPolicyMethod()

public static MethodDescriptor<GetIamPolicyRequest,Policy> getGetIamPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetIamPolicyRequest,Policy>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getSetIamPolicyMethod()

public static MethodDescriptor<SetIamPolicyRequest,Policy> getSetIamPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<SetIamPolicyRequest,Policy>

getTestIamPermissionsMethod()

public static MethodDescriptor<TestIamPermissionsRequest,TestIamPermissionsResponse> getTestIamPermissionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<TestIamPermissionsRequest,TestIamPermissionsResponse>

newBlockingStub(Channel channel)

public static IAMPolicyGrpc.IAMPolicyBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
IAMPolicyGrpc.IAMPolicyBlockingStub

newFutureStub(Channel channel)

public static IAMPolicyGrpc.IAMPolicyFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
IAMPolicyGrpc.IAMPolicyFutureStub

newStub(Channel channel)

public static IAMPolicyGrpc.IAMPolicyStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
IAMPolicyGrpc.IAMPolicyStub