Package com.google.cloud.orgpolicy.v2
Class OrgPolicyGrpc
- java.lang.Object
-
- com.google.cloud.orgpolicy.v2.OrgPolicyGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: google/cloud/orgpolicy/v2/orgpolicy.proto") public final class OrgPolicyGrpc extends Object
An interface for managing organization policies. The Cloud Org Policy service provides a simple mechanism for organizations to restrict the allowed configurations across their entire Cloud Resource hierarchy. You can use a `policy` to configure restrictions in Cloud resources. For example, you can enforce a `policy` that restricts which Google Cloud Platform APIs can be activated in a certain part of your resource hierarchy, or prevents serial port access to VM instances in a particular folder. `Policies` are inherited down through the resource hierarchy. A `policy` applied to a parent resource automatically applies to all its child resources unless overridden with a `policy` lower in the hierarchy. A `constraint` defines an aspect of a resource's configuration that can be controlled by an organization's policy administrator. `Policies` are a collection of `constraints` that defines their allowable configuration on a particular resource and its child resources.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
OrgPolicyGrpc.AsyncService
An interface for managing organization policies.static class
OrgPolicyGrpc.OrgPolicyBlockingStub
A stub to allow clients to do synchronous rpc calls to service OrgPolicy.static class
OrgPolicyGrpc.OrgPolicyFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service OrgPolicy.static class
OrgPolicyGrpc.OrgPolicyImplBase
Base class for the server implementation of the service OrgPolicy.static class
OrgPolicyGrpc.OrgPolicyStub
A stub to allow clients to do asynchronous rpc calls to service OrgPolicy.
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinition
bindService(OrgPolicyGrpc.AsyncService service)
static io.grpc.MethodDescriptor<CreatePolicyRequest,Policy>
getCreatePolicyMethod()
static io.grpc.MethodDescriptor<DeletePolicyRequest,com.google.protobuf.Empty>
getDeletePolicyMethod()
static io.grpc.MethodDescriptor<GetEffectivePolicyRequest,Policy>
getGetEffectivePolicyMethod()
static io.grpc.MethodDescriptor<GetPolicyRequest,Policy>
getGetPolicyMethod()
static io.grpc.MethodDescriptor<ListConstraintsRequest,ListConstraintsResponse>
getListConstraintsMethod()
static io.grpc.MethodDescriptor<ListPoliciesRequest,ListPoliciesResponse>
getListPoliciesMethod()
static io.grpc.ServiceDescriptor
getServiceDescriptor()
static io.grpc.MethodDescriptor<UpdatePolicyRequest,Policy>
getUpdatePolicyMethod()
static OrgPolicyGrpc.OrgPolicyBlockingStub
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic OrgPolicyGrpc.OrgPolicyFutureStub
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic OrgPolicyGrpc.OrgPolicyStub
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getListConstraintsMethod
public static io.grpc.MethodDescriptor<ListConstraintsRequest,ListConstraintsResponse> getListConstraintsMethod()
-
getListPoliciesMethod
public static io.grpc.MethodDescriptor<ListPoliciesRequest,ListPoliciesResponse> getListPoliciesMethod()
-
getGetPolicyMethod
public static io.grpc.MethodDescriptor<GetPolicyRequest,Policy> getGetPolicyMethod()
-
getGetEffectivePolicyMethod
public static io.grpc.MethodDescriptor<GetEffectivePolicyRequest,Policy> getGetEffectivePolicyMethod()
-
getCreatePolicyMethod
public static io.grpc.MethodDescriptor<CreatePolicyRequest,Policy> getCreatePolicyMethod()
-
getUpdatePolicyMethod
public static io.grpc.MethodDescriptor<UpdatePolicyRequest,Policy> getUpdatePolicyMethod()
-
getDeletePolicyMethod
public static io.grpc.MethodDescriptor<DeletePolicyRequest,com.google.protobuf.Empty> getDeletePolicyMethod()
-
newStub
public static OrgPolicyGrpc.OrgPolicyStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static OrgPolicyGrpc.OrgPolicyBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static OrgPolicyGrpc.OrgPolicyFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final io.grpc.ServerServiceDefinition bindService(OrgPolicyGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-