Class HttpJsonRegionNetworkFirewallPoliciesStub (1.56.0)

public class HttpJsonRegionNetworkFirewallPoliciesStub extends RegionNetworkFirewallPoliciesStub

REST stub implementation for the RegionNetworkFirewallPolicies service API.

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

Inheritance

java.lang.Object > RegionNetworkFirewallPoliciesStub > HttpJsonRegionNetworkFirewallPoliciesStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonRegionNetworkFirewallPoliciesStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonRegionNetworkFirewallPoliciesStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonRegionNetworkFirewallPoliciesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonRegionNetworkFirewallPoliciesStub
Exceptions
Type Description
IOException

create(RegionNetworkFirewallPoliciesStubSettings settings)

public static final HttpJsonRegionNetworkFirewallPoliciesStub create(RegionNetworkFirewallPoliciesStubSettings settings)
Parameter
Name Description
settings RegionNetworkFirewallPoliciesStubSettings
Returns
Type Description
HttpJsonRegionNetworkFirewallPoliciesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonRegionNetworkFirewallPoliciesStub(RegionNetworkFirewallPoliciesStubSettings settings, ClientContext clientContext)

protected HttpJsonRegionNetworkFirewallPoliciesStub(RegionNetworkFirewallPoliciesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonRegionNetworkFirewallPoliciesStub, 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 RegionNetworkFirewallPoliciesStubSettings
clientContext ClientContext

HttpJsonRegionNetworkFirewallPoliciesStub(RegionNetworkFirewallPoliciesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonRegionNetworkFirewallPoliciesStub(RegionNetworkFirewallPoliciesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonRegionNetworkFirewallPoliciesStub, 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 RegionNetworkFirewallPoliciesStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

addAssociationCallable()

public UnaryCallable<AddAssociationRegionNetworkFirewallPolicyRequest,Operation> addAssociationCallable()
Returns
Type Description
UnaryCallable<AddAssociationRegionNetworkFirewallPolicyRequest,Operation>
Overrides

addAssociationOperationCallable()

public OperationCallable<AddAssociationRegionNetworkFirewallPolicyRequest,Operation,Operation> addAssociationOperationCallable()
Returns
Type Description
OperationCallable<AddAssociationRegionNetworkFirewallPolicyRequest,Operation,Operation>
Overrides

addRuleCallable()

public UnaryCallable<AddRuleRegionNetworkFirewallPolicyRequest,Operation> addRuleCallable()
Returns
Type Description
UnaryCallable<AddRuleRegionNetworkFirewallPolicyRequest,Operation>
Overrides

addRuleOperationCallable()

public OperationCallable<AddRuleRegionNetworkFirewallPolicyRequest,Operation,Operation> addRuleOperationCallable()
Returns
Type Description
OperationCallable<AddRuleRegionNetworkFirewallPolicyRequest,Operation,Operation>
Overrides

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<CloneRulesRegionNetworkFirewallPolicyRequest,Operation> cloneRulesCallable()
Returns
Type Description
UnaryCallable<CloneRulesRegionNetworkFirewallPolicyRequest,Operation>
Overrides

cloneRulesOperationCallable()

public OperationCallable<CloneRulesRegionNetworkFirewallPolicyRequest,Operation,Operation> cloneRulesOperationCallable()
Returns
Type Description
OperationCallable<CloneRulesRegionNetworkFirewallPolicyRequest,Operation,Operation>
Overrides

close()

public final void close()
Overrides

deleteCallable()

public UnaryCallable<DeleteRegionNetworkFirewallPolicyRequest,Operation> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteRegionNetworkFirewallPolicyRequest,Operation>
Overrides

deleteOperationCallable()

public OperationCallable<DeleteRegionNetworkFirewallPolicyRequest,Operation,Operation> deleteOperationCallable()
Returns
Type Description
OperationCallable<DeleteRegionNetworkFirewallPolicyRequest,Operation,Operation>
Overrides

getAssociationCallable()

public UnaryCallable<GetAssociationRegionNetworkFirewallPolicyRequest,FirewallPolicyAssociation> getAssociationCallable()
Returns
Type Description
UnaryCallable<GetAssociationRegionNetworkFirewallPolicyRequest,FirewallPolicyAssociation>
Overrides

getCallable()

public UnaryCallable<GetRegionNetworkFirewallPolicyRequest,FirewallPolicy> getCallable()
Returns
Type Description
UnaryCallable<GetRegionNetworkFirewallPolicyRequest,FirewallPolicy>
Overrides

getEffectiveFirewallsCallable()

public UnaryCallable<GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest,RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> getEffectiveFirewallsCallable()
Returns
Type Description
UnaryCallable<GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest,RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRegionNetworkFirewallPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<GetIamPolicyRegionNetworkFirewallPolicyRequest,Policy>
Overrides

getRuleCallable()

public UnaryCallable<GetRuleRegionNetworkFirewallPolicyRequest,FirewallPolicyRule> getRuleCallable()
Returns
Type Description
UnaryCallable<GetRuleRegionNetworkFirewallPolicyRequest,FirewallPolicyRule>
Overrides

insertCallable()

public UnaryCallable<InsertRegionNetworkFirewallPolicyRequest,Operation> insertCallable()
Returns
Type Description
UnaryCallable<InsertRegionNetworkFirewallPolicyRequest,Operation>
Overrides

insertOperationCallable()

public OperationCallable<InsertRegionNetworkFirewallPolicyRequest,Operation,Operation> insertOperationCallable()
Returns
Type Description
OperationCallable<InsertRegionNetworkFirewallPolicyRequest,Operation,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListRegionNetworkFirewallPoliciesRequest,FirewallPolicyList> listCallable()
Returns
Type Description
UnaryCallable<ListRegionNetworkFirewallPoliciesRequest,FirewallPolicyList>
Overrides

listPagedCallable()

public UnaryCallable<ListRegionNetworkFirewallPoliciesRequest,RegionNetworkFirewallPoliciesClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListRegionNetworkFirewallPoliciesRequest,ListPagedResponse>
Overrides

patchCallable()

public UnaryCallable<PatchRegionNetworkFirewallPolicyRequest,Operation> patchCallable()
Returns
Type Description
UnaryCallable<PatchRegionNetworkFirewallPolicyRequest,Operation>
Overrides

patchOperationCallable()

public OperationCallable<PatchRegionNetworkFirewallPolicyRequest,Operation,Operation> patchOperationCallable()
Returns
Type Description
OperationCallable<PatchRegionNetworkFirewallPolicyRequest,Operation,Operation>
Overrides

patchRuleCallable()

public UnaryCallable<PatchRuleRegionNetworkFirewallPolicyRequest,Operation> patchRuleCallable()
Returns
Type Description
UnaryCallable<PatchRuleRegionNetworkFirewallPolicyRequest,Operation>
Overrides

patchRuleOperationCallable()

public OperationCallable<PatchRuleRegionNetworkFirewallPolicyRequest,Operation,Operation> patchRuleOperationCallable()
Returns
Type Description
OperationCallable<PatchRuleRegionNetworkFirewallPolicyRequest,Operation,Operation>
Overrides

removeAssociationCallable()

public UnaryCallable<RemoveAssociationRegionNetworkFirewallPolicyRequest,Operation> removeAssociationCallable()
Returns
Type Description
UnaryCallable<RemoveAssociationRegionNetworkFirewallPolicyRequest,Operation>
Overrides

removeAssociationOperationCallable()

public OperationCallable<RemoveAssociationRegionNetworkFirewallPolicyRequest,Operation,Operation> removeAssociationOperationCallable()
Returns
Type Description
OperationCallable<RemoveAssociationRegionNetworkFirewallPolicyRequest,Operation,Operation>
Overrides

removeRuleCallable()

public UnaryCallable<RemoveRuleRegionNetworkFirewallPolicyRequest,Operation> removeRuleCallable()
Returns
Type Description
UnaryCallable<RemoveRuleRegionNetworkFirewallPolicyRequest,Operation>
Overrides

removeRuleOperationCallable()

public OperationCallable<RemoveRuleRegionNetworkFirewallPolicyRequest,Operation,Operation> removeRuleOperationCallable()
Returns
Type Description
OperationCallable<RemoveRuleRegionNetworkFirewallPolicyRequest,Operation,Operation>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRegionNetworkFirewallPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<SetIamPolicyRegionNetworkFirewallPolicyRequest,Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRegionNetworkFirewallPolicyRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<TestIamPermissionsRegionNetworkFirewallPolicyRequest,TestPermissionsResponse>
Overrides