Class OrgPolicyGrpc (2.9.0)

public final class OrgPolicyGrpc

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.

Inheritance

java.lang.Object > OrgPolicyGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getCreatePolicyMethod()

public static MethodDescriptor<CreatePolicyRequest,Policy> getCreatePolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreatePolicyRequest,Policy>

getDeletePolicyMethod()

public static MethodDescriptor<DeletePolicyRequest,Empty> getDeletePolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeletePolicyRequest,Empty>

getGetEffectivePolicyMethod()

public static MethodDescriptor<GetEffectivePolicyRequest,Policy> getGetEffectivePolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetEffectivePolicyRequest,Policy>

getGetPolicyMethod()

public static MethodDescriptor<GetPolicyRequest,Policy> getGetPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetPolicyRequest,Policy>

getListConstraintsMethod()

public static MethodDescriptor<ListConstraintsRequest,ListConstraintsResponse> getListConstraintsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListConstraintsRequest,ListConstraintsResponse>

getListPoliciesMethod()

public static MethodDescriptor<ListPoliciesRequest,ListPoliciesResponse> getListPoliciesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListPoliciesRequest,ListPoliciesResponse>

getServiceDescriptor()

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

getUpdatePolicyMethod()

public static MethodDescriptor<UpdatePolicyRequest,Policy> getUpdatePolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdatePolicyRequest,Policy>

newBlockingStub(Channel channel)

public static OrgPolicyGrpc.OrgPolicyBlockingStub 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
OrgPolicyGrpc.OrgPolicyBlockingStub

newFutureStub(Channel channel)

public static OrgPolicyGrpc.OrgPolicyFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
OrgPolicyGrpc.OrgPolicyFutureStub

newStub(Channel channel)

public static OrgPolicyGrpc.OrgPolicyStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
OrgPolicyGrpc.OrgPolicyStub