- 1.58.0 (latest)
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public class HttpJsonFirewallPoliciesStub extends FirewallPoliciesStub
REST stub implementation for the FirewallPolicies service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonFirewallPoliciesStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonFirewallPoliciesStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonFirewallPoliciesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonFirewallPoliciesStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(FirewallPoliciesStubSettings settings)
public static final HttpJsonFirewallPoliciesStub create(FirewallPoliciesStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
FirewallPoliciesStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonFirewallPoliciesStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonFirewallPoliciesStub(FirewallPoliciesStubSettings settings, ClientContext clientContext)
protected HttpJsonFirewallPoliciesStub(FirewallPoliciesStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonFirewallPoliciesStub, 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 | |
---|---|
Name | Description |
settings |
FirewallPoliciesStubSettings |
clientContext |
ClientContext |
HttpJsonFirewallPoliciesStub(FirewallPoliciesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonFirewallPoliciesStub(FirewallPoliciesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonFirewallPoliciesStub, 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 | |
---|---|
Name | Description |
settings |
FirewallPoliciesStubSettings |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Methods
addAssociationCallable()
public UnaryCallable<AddAssociationFirewallPolicyRequest,Operation> addAssociationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<AddAssociationFirewallPolicyRequest,Operation> |
addAssociationOperationCallable()
public OperationCallable<AddAssociationFirewallPolicyRequest,Operation,Operation> addAssociationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<AddAssociationFirewallPolicyRequest,Operation,Operation> |
addRuleCallable()
public UnaryCallable<AddRuleFirewallPolicyRequest,Operation> addRuleCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<AddRuleFirewallPolicyRequest,Operation> |
addRuleOperationCallable()
public OperationCallable<AddRuleFirewallPolicyRequest,Operation,Operation> addRuleOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<AddRuleFirewallPolicyRequest,Operation,Operation> |
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration |
long |
unit |
TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
cloneRulesCallable()
public UnaryCallable<CloneRulesFirewallPolicyRequest,Operation> cloneRulesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CloneRulesFirewallPolicyRequest,Operation> |
cloneRulesOperationCallable()
public OperationCallable<CloneRulesFirewallPolicyRequest,Operation,Operation> cloneRulesOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CloneRulesFirewallPolicyRequest,Operation,Operation> |
close()
public final void close()
deleteCallable()
public UnaryCallable<DeleteFirewallPolicyRequest,Operation> deleteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteFirewallPolicyRequest,Operation> |
deleteOperationCallable()
public OperationCallable<DeleteFirewallPolicyRequest,Operation,Operation> deleteOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteFirewallPolicyRequest,Operation,Operation> |
getAssociationCallable()
public UnaryCallable<GetAssociationFirewallPolicyRequest,FirewallPolicyAssociation> getAssociationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetAssociationFirewallPolicyRequest,FirewallPolicyAssociation> |
getCallable()
public UnaryCallable<GetFirewallPolicyRequest,FirewallPolicy> getCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetFirewallPolicyRequest,FirewallPolicy> |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyFirewallPolicyRequest,Policy> getIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetIamPolicyFirewallPolicyRequest,Policy> |
getRuleCallable()
public UnaryCallable<GetRuleFirewallPolicyRequest,FirewallPolicyRule> getRuleCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetRuleFirewallPolicyRequest,FirewallPolicyRule> |
insertCallable()
public UnaryCallable<InsertFirewallPolicyRequest,Operation> insertCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<InsertFirewallPolicyRequest,Operation> |
insertOperationCallable()
public OperationCallable<InsertFirewallPolicyRequest,Operation,Operation> insertOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<InsertFirewallPolicyRequest,Operation,Operation> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listAssociationsCallable()
public UnaryCallable<ListAssociationsFirewallPolicyRequest,FirewallPoliciesListAssociationsResponse> listAssociationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListAssociationsFirewallPolicyRequest,FirewallPoliciesListAssociationsResponse> |
listCallable()
public UnaryCallable<ListFirewallPoliciesRequest,FirewallPolicyList> listCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListFirewallPoliciesRequest,FirewallPolicyList> |
listPagedCallable()
public UnaryCallable<ListFirewallPoliciesRequest,FirewallPoliciesClient.ListPagedResponse> listPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListFirewallPoliciesRequest,ListPagedResponse> |
moveCallable()
public UnaryCallable<MoveFirewallPolicyRequest,Operation> moveCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<MoveFirewallPolicyRequest,Operation> |
moveOperationCallable()
public OperationCallable<MoveFirewallPolicyRequest,Operation,Operation> moveOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<MoveFirewallPolicyRequest,Operation,Operation> |
patchCallable()
public UnaryCallable<PatchFirewallPolicyRequest,Operation> patchCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<PatchFirewallPolicyRequest,Operation> |
patchOperationCallable()
public OperationCallable<PatchFirewallPolicyRequest,Operation,Operation> patchOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<PatchFirewallPolicyRequest,Operation,Operation> |
patchRuleCallable()
public UnaryCallable<PatchRuleFirewallPolicyRequest,Operation> patchRuleCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<PatchRuleFirewallPolicyRequest,Operation> |
patchRuleOperationCallable()
public OperationCallable<PatchRuleFirewallPolicyRequest,Operation,Operation> patchRuleOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<PatchRuleFirewallPolicyRequest,Operation,Operation> |
removeAssociationCallable()
public UnaryCallable<RemoveAssociationFirewallPolicyRequest,Operation> removeAssociationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RemoveAssociationFirewallPolicyRequest,Operation> |
removeAssociationOperationCallable()
public OperationCallable<RemoveAssociationFirewallPolicyRequest,Operation,Operation> removeAssociationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<RemoveAssociationFirewallPolicyRequest,Operation,Operation> |
removeRuleCallable()
public UnaryCallable<RemoveRuleFirewallPolicyRequest,Operation> removeRuleCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RemoveRuleFirewallPolicyRequest,Operation> |
removeRuleOperationCallable()
public OperationCallable<RemoveRuleFirewallPolicyRequest,Operation,Operation> removeRuleOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<RemoveRuleFirewallPolicyRequest,Operation,Operation> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyFirewallPolicyRequest,Policy> setIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SetIamPolicyFirewallPolicyRequest,Policy> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsFirewallPolicyRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<TestIamPermissionsFirewallPolicyRequest,TestPermissionsResponse> |