Class OrgPolicyStub
java.lang.Object
com.google.cloud.orgpolicy.v2.stub.OrgPolicyStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
- Direct Known Subclasses:
GrpcOrgPolicyStub,HttpJsonOrgPolicyStub
@Generated("by gapic-generator-java")
public abstract class OrgPolicyStub
extends Object
implements BackgroundResource
Base stub class for the OrgPolicy service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidclose()UnaryCallable<DeleteCustomConstraintRequest,com.google.protobuf.Empty> UnaryCallable<DeletePolicyRequest,com.google.protobuf.Empty> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.api.gax.core.BackgroundResource
awaitTermination, isShutdown, isTerminated, shutdown, shutdownNow
-
Constructor Details
-
OrgPolicyStub
public OrgPolicyStub()
-
-
Method Details
-
listConstraintsPagedCallable
public UnaryCallable<ListConstraintsRequest,OrgPolicyClient.ListConstraintsPagedResponse> listConstraintsPagedCallable() -
listConstraintsCallable
-
listPoliciesPagedCallable
public UnaryCallable<ListPoliciesRequest,OrgPolicyClient.ListPoliciesPagedResponse> listPoliciesPagedCallable() -
listPoliciesCallable
-
getPolicyCallable
-
getEffectivePolicyCallable
-
createPolicyCallable
-
updatePolicyCallable
-
deletePolicyCallable
-
createCustomConstraintCallable
public UnaryCallable<CreateCustomConstraintRequest,CustomConstraint> createCustomConstraintCallable() -
updateCustomConstraintCallable
public UnaryCallable<UpdateCustomConstraintRequest,CustomConstraint> updateCustomConstraintCallable() -
getCustomConstraintCallable
-
listCustomConstraintsPagedCallable
public UnaryCallable<ListCustomConstraintsRequest,OrgPolicyClient.ListCustomConstraintsPagedResponse> listCustomConstraintsPagedCallable() -
listCustomConstraintsCallable
public UnaryCallable<ListCustomConstraintsRequest,ListCustomConstraintsResponse> listCustomConstraintsCallable() -
deleteCustomConstraintCallable
public UnaryCallable<DeleteCustomConstraintRequest,com.google.protobuf.Empty> deleteCustomConstraintCallable() -
close
public abstract void close()- Specified by:
closein interfaceAutoCloseable
-