Class HttpJsonRegionNetworkFirewallPoliciesStub (1.28.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonRegionNetworkFirewallPoliciesStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonRegionNetworkFirewallPoliciesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonRegionNetworkFirewallPoliciesStub
Exceptions
TypeDescription
IOException

create(RegionNetworkFirewallPoliciesStubSettings settings)

public static final HttpJsonRegionNetworkFirewallPoliciesStub create(RegionNetworkFirewallPoliciesStubSettings settings)
Parameter
NameDescription
settingsRegionNetworkFirewallPoliciesStubSettings
Returns
TypeDescription
HttpJsonRegionNetworkFirewallPoliciesStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsRegionNetworkFirewallPoliciesStubSettings
clientContextClientContext

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
NameDescription
settingsRegionNetworkFirewallPoliciesStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

addAssociationCallable()

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

addAssociationOperationCallable()

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

addRuleCallable()

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

addRuleOperationCallable()

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

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

cloneRulesCallable()

public UnaryCallable<CloneRulesRegionNetworkFirewallPolicyRequest,Operation> cloneRulesCallable()
Returns
TypeDescription
UnaryCallable<CloneRulesRegionNetworkFirewallPolicyRequest,Operation>
Overrides

cloneRulesOperationCallable()

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

close()

public final void close()
Overrides

deleteCallable()

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

deleteOperationCallable()

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

getAssociationCallable()

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

getCallable()

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

getEffectiveFirewallsCallable()

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

getIamPolicyCallable()

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

getRuleCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

patchRuleCallable()

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

patchRuleOperationCallable()

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

removeAssociationCallable()

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

removeAssociationOperationCallable()

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

removeRuleCallable()

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

removeRuleOperationCallable()

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

setIamPolicyCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

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