Class PoliciesStub (1.21.0)

public abstract class PoliciesStub implements BackgroundResource

Base stub class for the Policies service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > PoliciesStub

Implements

BackgroundResource

Constructors

PoliciesStub()

public PoliciesStub()

Methods

close()

public abstract void close()

createPolicyCallable()

public UnaryCallable<CreatePolicyRequest,Operation> createPolicyCallable()
Returns
TypeDescription
UnaryCallable<CreatePolicyRequest,Operation>

createPolicyOperationCallable()

public OperationCallable<CreatePolicyRequest,Policy,PolicyOperationMetadata> createPolicyOperationCallable()
Returns
TypeDescription
OperationCallable<CreatePolicyRequest,Policy,PolicyOperationMetadata>

deletePolicyCallable()

public UnaryCallable<DeletePolicyRequest,Operation> deletePolicyCallable()
Returns
TypeDescription
UnaryCallable<DeletePolicyRequest,Operation>

deletePolicyOperationCallable()

public OperationCallable<DeletePolicyRequest,Policy,PolicyOperationMetadata> deletePolicyOperationCallable()
Returns
TypeDescription
OperationCallable<DeletePolicyRequest,Policy,PolicyOperationMetadata>

getHttpJsonOperationsStub()

public OperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
OperationsStub

getOperationsStub()

public OperationsStub getOperationsStub()
Returns
TypeDescription
OperationsStub

getPolicyCallable()

public UnaryCallable<GetPolicyRequest,Policy> getPolicyCallable()
Returns
TypeDescription
UnaryCallable<GetPolicyRequest,Policy>

listPoliciesCallable()

public UnaryCallable<ListPoliciesRequest,ListPoliciesResponse> listPoliciesCallable()
Returns
TypeDescription
UnaryCallable<ListPoliciesRequest,ListPoliciesResponse>

listPoliciesPagedCallable()

public UnaryCallable<ListPoliciesRequest,PoliciesClient.ListPoliciesPagedResponse> listPoliciesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListPoliciesRequest,ListPoliciesPagedResponse>

updatePolicyCallable()

public UnaryCallable<UpdatePolicyRequest,Operation> updatePolicyCallable()
Returns
TypeDescription
UnaryCallable<UpdatePolicyRequest,Operation>

updatePolicyOperationCallable()

public OperationCallable<UpdatePolicyRequest,Policy,PolicyOperationMetadata> updatePolicyOperationCallable()
Returns
TypeDescription
OperationCallable<UpdatePolicyRequest,Policy,PolicyOperationMetadata>