public class HttpJsonSecurityPoliciesStub extends SecurityPoliciesStub
REST stub implementation for the SecurityPolicies service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonSecurityPoliciesStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonSecurityPoliciesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(SecurityPoliciesStubSettings settings)
public static final HttpJsonSecurityPoliciesStub create(SecurityPoliciesStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonSecurityPoliciesStub(SecurityPoliciesStubSettings settings, ClientContext clientContext)
protected HttpJsonSecurityPoliciesStub(SecurityPoliciesStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonSecurityPoliciesStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Parameters
HttpJsonSecurityPoliciesStub(SecurityPoliciesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonSecurityPoliciesStub(SecurityPoliciesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonSecurityPoliciesStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Parameters
Methods
addRuleCallable()
public UnaryCallable<AddRuleSecurityPolicyRequest,Operation> addRuleCallable()
Returns
Overrides
addRuleOperationCallable()
public OperationCallable<AddRuleSecurityPolicyRequest,Operation,Operation> addRuleOperationCallable()
Returns
Overrides
aggregatedListCallable()
public UnaryCallable<AggregatedListSecurityPoliciesRequest,SecurityPoliciesAggregatedList> aggregatedListCallable()
Returns
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListSecurityPoliciesRequest,SecurityPoliciesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteSecurityPolicyRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteSecurityPolicyRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetSecurityPolicyRequest,SecurityPolicy> getCallable()
Returns
Overrides
getRuleCallable()
public UnaryCallable<GetRuleSecurityPolicyRequest,SecurityPolicyRule> getRuleCallable()
Returns
Overrides
insertCallable()
public UnaryCallable<InsertSecurityPolicyRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertSecurityPolicyRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListSecurityPoliciesRequest,SecurityPolicyList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListSecurityPoliciesRequest,SecurityPoliciesClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
public UnaryCallable<ListPreconfiguredExpressionSetsSecurityPoliciesRequest,SecurityPoliciesListPreconfiguredExpressionSetsResponse> listPreconfiguredExpressionSetsCallable()
Returns
Overrides
patchCallable()
public UnaryCallable<PatchSecurityPolicyRequest,Operation> patchCallable()
Returns
Overrides
patchOperationCallable()
public OperationCallable<PatchSecurityPolicyRequest,Operation,Operation> patchOperationCallable()
Returns
Overrides
patchRuleCallable()
public UnaryCallable<PatchRuleSecurityPolicyRequest,Operation> patchRuleCallable()
Returns
Overrides
patchRuleOperationCallable()
public OperationCallable<PatchRuleSecurityPolicyRequest,Operation,Operation> patchRuleOperationCallable()
Returns
Overrides
removeRuleCallable()
public UnaryCallable<RemoveRuleSecurityPolicyRequest,Operation> removeRuleCallable()
Returns
Overrides
removeRuleOperationCallable()
public OperationCallable<RemoveRuleSecurityPolicyRequest,Operation,Operation> removeRuleOperationCallable()
Returns
Overrides
setLabelsCallable()
public UnaryCallable<SetLabelsSecurityPolicyRequest,Operation> setLabelsCallable()
Returns
Overrides
setLabelsOperationCallable()
public OperationCallable<SetLabelsSecurityPolicyRequest,Operation,Operation> setLabelsOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()