Class PoliciesStub (1.52.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
Type Description
UnaryCallable<CreatePolicyRequest,Operation>

createPolicyOperationCallable()

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

deletePolicyCallable()

public UnaryCallable<DeletePolicyRequest,Operation> deletePolicyCallable()
Returns
Type Description
UnaryCallable<DeletePolicyRequest,Operation>

deletePolicyOperationCallable()

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

getHttpJsonOperationsStub()

public OperationsStub getHttpJsonOperationsStub()
Returns
Type Description
OperationsStub

getOperationsStub()

public OperationsStub getOperationsStub()
Returns
Type Description
OperationsStub

getPolicyCallable()

public UnaryCallable<GetPolicyRequest,Policy> getPolicyCallable()
Returns
Type Description
UnaryCallable<GetPolicyRequest,Policy>

listPoliciesCallable()

public UnaryCallable<ListPoliciesRequest,ListPoliciesResponse> listPoliciesCallable()
Returns
Type Description
UnaryCallable<ListPoliciesRequest,ListPoliciesResponse>

listPoliciesPagedCallable()

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

updatePolicyCallable()

public UnaryCallable<UpdatePolicyRequest,Operation> updatePolicyCallable()
Returns
Type Description
UnaryCallable<UpdatePolicyRequest,Operation>

updatePolicyOperationCallable()

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