@Generated(value="by gapic-generator-java") public class GrpcOrgPolicyStub extends OrgPolicyStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcOrgPolicyStub(OrgPolicyStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcOrgPolicyStub, using the given settings.
|
protected |
GrpcOrgPolicyStub(OrgPolicyStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcOrgPolicyStub, using the given settings.
|
protected GrpcOrgPolicyStub(OrgPolicyStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcOrgPolicyStub(OrgPolicyStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcOrgPolicyStub create(OrgPolicyStubSettings settings) throws IOException
IOException
public static final GrpcOrgPolicyStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcOrgPolicyStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
public UnaryCallable<ListConstraintsRequest,ListConstraintsResponse> listConstraintsCallable()
listConstraintsCallable
in class OrgPolicyStub
public UnaryCallable<ListConstraintsRequest,OrgPolicyClient.ListConstraintsPagedResponse> listConstraintsPagedCallable()
listConstraintsPagedCallable
in class OrgPolicyStub
public UnaryCallable<ListPoliciesRequest,ListPoliciesResponse> listPoliciesCallable()
listPoliciesCallable
in class OrgPolicyStub
public UnaryCallable<ListPoliciesRequest,OrgPolicyClient.ListPoliciesPagedResponse> listPoliciesPagedCallable()
listPoliciesPagedCallable
in class OrgPolicyStub
public UnaryCallable<GetPolicyRequest,Policy> getPolicyCallable()
getPolicyCallable
in class OrgPolicyStub
public UnaryCallable<GetEffectivePolicyRequest,Policy> getEffectivePolicyCallable()
getEffectivePolicyCallable
in class OrgPolicyStub
public UnaryCallable<CreatePolicyRequest,Policy> createPolicyCallable()
createPolicyCallable
in class OrgPolicyStub
public UnaryCallable<UpdatePolicyRequest,Policy> updatePolicyCallable()
updatePolicyCallable
in class OrgPolicyStub
public UnaryCallable<DeletePolicyRequest,Empty> deletePolicyCallable()
deletePolicyCallable
in class OrgPolicyStub
public final void close()
close
in interface AutoCloseable
close
in class OrgPolicyStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2021 Google LLC. All rights reserved.