@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.
Modifier and Type | Class and Description |
---|---|
static class |
OrgPolicyGrpc.OrgPolicyBlockingStub
An interface for managing organization policies.
|
static class |
OrgPolicyGrpc.OrgPolicyFutureStub
An interface for managing organization policies.
|
static class |
OrgPolicyGrpc.OrgPolicyImplBase
An interface for managing organization policies.
|
static class |
OrgPolicyGrpc.OrgPolicyStub
An interface for managing organization policies.
|
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
public static final String SERVICE_NAME
public static MethodDescriptor<ListConstraintsRequest,ListConstraintsResponse> getListConstraintsMethod()
public static MethodDescriptor<ListPoliciesRequest,ListPoliciesResponse> getListPoliciesMethod()
public static MethodDescriptor<GetPolicyRequest,Policy> getGetPolicyMethod()
public static MethodDescriptor<GetEffectivePolicyRequest,Policy> getGetEffectivePolicyMethod()
public static MethodDescriptor<CreatePolicyRequest,Policy> getCreatePolicyMethod()
public static MethodDescriptor<UpdatePolicyRequest,Policy> getUpdatePolicyMethod()
public static MethodDescriptor<DeletePolicyRequest,Empty> getDeletePolicyMethod()
public static OrgPolicyGrpc.OrgPolicyStub newStub(Channel channel)
public static OrgPolicyGrpc.OrgPolicyBlockingStub newBlockingStub(Channel channel)
public static OrgPolicyGrpc.OrgPolicyFutureStub newFutureStub(Channel channel)
public static ServiceDescriptor getServiceDescriptor()
Copyright © 2021 Google LLC. All rights reserved.