@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 Organization Policy Service provides a simple mechanism for organizations to restrict the allowed configurations across their entire resource hierarchy. You can use a policy to configure restrictions on resources. For example, you can enforce a policy that restricts which Google Cloud 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.
| Modifier and Type | Class and 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.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static io.grpc.ServerServiceDefinition |
bindService(OrgPolicyGrpc.AsyncService service) |
static io.grpc.MethodDescriptor<CreateCustomConstraintRequest,CustomConstraint> |
getCreateCustomConstraintMethod() |
static io.grpc.MethodDescriptor<CreatePolicyRequest,Policy> |
getCreatePolicyMethod() |
static io.grpc.MethodDescriptor<DeleteCustomConstraintRequest,com.google.protobuf.Empty> |
getDeleteCustomConstraintMethod() |
static io.grpc.MethodDescriptor<DeletePolicyRequest,com.google.protobuf.Empty> |
getDeletePolicyMethod() |
static io.grpc.MethodDescriptor<GetCustomConstraintRequest,CustomConstraint> |
getGetCustomConstraintMethod() |
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<ListCustomConstraintsRequest,ListCustomConstraintsResponse> |
getListCustomConstraintsMethod() |
static io.grpc.MethodDescriptor<ListPoliciesRequest,ListPoliciesResponse> |
getListPoliciesMethod() |
static io.grpc.ServiceDescriptor |
getServiceDescriptor() |
static io.grpc.MethodDescriptor<UpdateCustomConstraintRequest,CustomConstraint> |
getUpdateCustomConstraintMethod() |
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 service
|
static OrgPolicyGrpc.OrgPolicyFutureStub |
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
|
static OrgPolicyGrpc.OrgPolicyStub |
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
|
public static final String SERVICE_NAME
public static io.grpc.MethodDescriptor<ListConstraintsRequest,ListConstraintsResponse> getListConstraintsMethod()
public static io.grpc.MethodDescriptor<ListPoliciesRequest,ListPoliciesResponse> getListPoliciesMethod()
public static io.grpc.MethodDescriptor<GetPolicyRequest,Policy> getGetPolicyMethod()
public static io.grpc.MethodDescriptor<GetEffectivePolicyRequest,Policy> getGetEffectivePolicyMethod()
public static io.grpc.MethodDescriptor<CreatePolicyRequest,Policy> getCreatePolicyMethod()
public static io.grpc.MethodDescriptor<UpdatePolicyRequest,Policy> getUpdatePolicyMethod()
public static io.grpc.MethodDescriptor<DeletePolicyRequest,com.google.protobuf.Empty> getDeletePolicyMethod()
public static io.grpc.MethodDescriptor<CreateCustomConstraintRequest,CustomConstraint> getCreateCustomConstraintMethod()
public static io.grpc.MethodDescriptor<UpdateCustomConstraintRequest,CustomConstraint> getUpdateCustomConstraintMethod()
public static io.grpc.MethodDescriptor<GetCustomConstraintRequest,CustomConstraint> getGetCustomConstraintMethod()
public static io.grpc.MethodDescriptor<ListCustomConstraintsRequest,ListCustomConstraintsResponse> getListCustomConstraintsMethod()
public static io.grpc.MethodDescriptor<DeleteCustomConstraintRequest,com.google.protobuf.Empty> getDeleteCustomConstraintMethod()
public static OrgPolicyGrpc.OrgPolicyStub newStub(io.grpc.Channel channel)
public static OrgPolicyGrpc.OrgPolicyBlockingStub newBlockingStub(io.grpc.Channel channel)
public static OrgPolicyGrpc.OrgPolicyFutureStub newFutureStub(io.grpc.Channel channel)
public static final io.grpc.ServerServiceDefinition bindService(OrgPolicyGrpc.AsyncService service)
public static io.grpc.ServiceDescriptor getServiceDescriptor()
Copyright © 2024 Google LLC. All rights reserved.