Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
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)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonSecurityPoliciesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(SecurityPoliciesStubSettings settings)
public static final HttpJsonSecurityPoliciesStub create(SecurityPoliciesStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
addRuleCallable()
public UnaryCallable<AddRuleSecurityPolicyRequest,Operation> addRuleCallable()
Overrides
addRuleOperationCallable()
public OperationCallable<AddRuleSecurityPolicyRequest,Operation,Operation> addRuleOperationCallable()
Overrides
aggregatedListCallable()
public UnaryCallable<AggregatedListSecurityPoliciesRequest,SecurityPoliciesAggregatedList> aggregatedListCallable()
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListSecurityPoliciesRequest,SecurityPoliciesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteSecurityPolicyRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteSecurityPolicyRequest,Operation,Operation> deleteOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetSecurityPolicyRequest,SecurityPolicy> getCallable()
Overrides
getRuleCallable()
public UnaryCallable<GetRuleSecurityPolicyRequest,SecurityPolicyRule> getRuleCallable()
Overrides
insertCallable()
public UnaryCallable<InsertSecurityPolicyRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertSecurityPolicyRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListSecurityPoliciesRequest,SecurityPolicyList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListSecurityPoliciesRequest,SecurityPoliciesClient.ListPagedResponse> listPagedCallable()
Overrides
public UnaryCallable<ListPreconfiguredExpressionSetsSecurityPoliciesRequest,SecurityPoliciesListPreconfiguredExpressionSetsResponse> listPreconfiguredExpressionSetsCallable()
Overrides
patchCallable()
public UnaryCallable<PatchSecurityPolicyRequest,Operation> patchCallable()
Overrides
patchOperationCallable()
public OperationCallable<PatchSecurityPolicyRequest,Operation,Operation> patchOperationCallable()
Overrides
patchRuleCallable()
public UnaryCallable<PatchRuleSecurityPolicyRequest,Operation> patchRuleCallable()
Overrides
patchRuleOperationCallable()
public OperationCallable<PatchRuleSecurityPolicyRequest,Operation,Operation> patchRuleOperationCallable()
Overrides
removeRuleCallable()
public UnaryCallable<RemoveRuleSecurityPolicyRequest,Operation> removeRuleCallable()
Overrides
removeRuleOperationCallable()
public OperationCallable<RemoveRuleSecurityPolicyRequest,Operation,Operation> removeRuleOperationCallable()
Overrides
setLabelsCallable()
public UnaryCallable<SetLabelsSecurityPolicyRequest,Operation> setLabelsCallable()
Overrides
setLabelsOperationCallable()
public OperationCallable<SetLabelsSecurityPolicyRequest,Operation,Operation> setLabelsOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()