Constructor
new RegionNetworkFirewallPolicies(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new RegionNetworkFirewallPolicies service.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Extends
- $protobuf.rpc.Service
Methods
addAssociation(request, callback) → {undefined}
Calls AddAssociation.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IAddAssociationRegionNetworkFirewallPolicyRequest |
AddAssociationRegionNetworkFirewallPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkFirewallPolicies.AddAssociationCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
addAssociation(request) → {Promise.<google.cloud.compute.v1.Operation>}
Calls AddAssociation.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IAddAssociationRegionNetworkFirewallPolicyRequest |
AddAssociationRegionNetworkFirewallPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.compute.v1.Operation> |
Promise |
addRule(request, callback) → {undefined}
Calls AddRule.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IAddRuleRegionNetworkFirewallPolicyRequest |
AddRuleRegionNetworkFirewallPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkFirewallPolicies.AddRuleCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
addRule(request) → {Promise.<google.cloud.compute.v1.Operation>}
Calls AddRule.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IAddRuleRegionNetworkFirewallPolicyRequest |
AddRuleRegionNetworkFirewallPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.compute.v1.Operation> |
Promise |
cloneRules(request, callback) → {undefined}
Calls CloneRules.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.ICloneRulesRegionNetworkFirewallPolicyRequest |
CloneRulesRegionNetworkFirewallPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkFirewallPolicies.CloneRulesCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
cloneRules(request) → {Promise.<google.cloud.compute.v1.Operation>}
Calls CloneRules.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.ICloneRulesRegionNetworkFirewallPolicyRequest |
CloneRulesRegionNetworkFirewallPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.compute.v1.Operation> |
Promise |
delete(request, callback) → {undefined}
Calls Delete.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IDeleteRegionNetworkFirewallPolicyRequest |
DeleteRegionNetworkFirewallPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkFirewallPolicies.DeleteCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
delete(request) → {Promise.<google.cloud.compute.v1.Operation>}
Calls Delete.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IDeleteRegionNetworkFirewallPolicyRequest |
DeleteRegionNetworkFirewallPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.compute.v1.Operation> |
Promise |
get(request, callback) → {undefined}
Calls Get.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IGetRegionNetworkFirewallPolicyRequest |
GetRegionNetworkFirewallPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkFirewallPolicies.GetCallback |
Node-style callback called with the error, if any, and FirewallPolicy |
Returns:
Type | Description |
---|---|
undefined |
get(request) → {Promise.<google.cloud.compute.v1.FirewallPolicy>}
Calls Get.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IGetRegionNetworkFirewallPolicyRequest |
GetRegionNetworkFirewallPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.compute.v1.FirewallPolicy> |
Promise |
getAssociation(request, callback) → {undefined}
Calls GetAssociation.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IGetAssociationRegionNetworkFirewallPolicyRequest |
GetAssociationRegionNetworkFirewallPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkFirewallPolicies.GetAssociationCallback |
Node-style callback called with the error, if any, and FirewallPolicyAssociation |
Returns:
Type | Description |
---|---|
undefined |
getAssociation(request) → {Promise.<google.cloud.compute.v1.FirewallPolicyAssociation>}
Calls GetAssociation.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IGetAssociationRegionNetworkFirewallPolicyRequest |
GetAssociationRegionNetworkFirewallPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.compute.v1.FirewallPolicyAssociation> |
Promise |
getEffectiveFirewalls(request, callback) → {undefined}
Calls GetEffectiveFirewalls.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IGetEffectiveFirewallsRegionNetworkFirewallPolicyRequest |
GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkFirewallPolicies.GetEffectiveFirewallsCallback |
Node-style callback called with the error, if any, and RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse |
Returns:
Type | Description |
---|---|
undefined |
getEffectiveFirewalls(request) → {Promise.<google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse>}
Calls GetEffectiveFirewalls.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IGetEffectiveFirewallsRegionNetworkFirewallPolicyRequest |
GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> |
Promise |
getIamPolicy(request, callback) → {undefined}
Calls GetIamPolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IGetIamPolicyRegionNetworkFirewallPolicyRequest |
GetIamPolicyRegionNetworkFirewallPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkFirewallPolicies.GetIamPolicyCallback |
Node-style callback called with the error, if any, and Policy |
Returns:
Type | Description |
---|---|
undefined |
getIamPolicy(request) → {Promise.<google.cloud.compute.v1.Policy>}
Calls GetIamPolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IGetIamPolicyRegionNetworkFirewallPolicyRequest |
GetIamPolicyRegionNetworkFirewallPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.compute.v1.Policy> |
Promise |
getRule(request, callback) → {undefined}
Calls GetRule.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IGetRuleRegionNetworkFirewallPolicyRequest |
GetRuleRegionNetworkFirewallPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkFirewallPolicies.GetRuleCallback |
Node-style callback called with the error, if any, and FirewallPolicyRule |
Returns:
Type | Description |
---|---|
undefined |
getRule(request) → {Promise.<google.cloud.compute.v1.FirewallPolicyRule>}
Calls GetRule.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IGetRuleRegionNetworkFirewallPolicyRequest |
GetRuleRegionNetworkFirewallPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.compute.v1.FirewallPolicyRule> |
Promise |
insert(request, callback) → {undefined}
Calls Insert.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IInsertRegionNetworkFirewallPolicyRequest |
InsertRegionNetworkFirewallPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkFirewallPolicies.InsertCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
insert(request) → {Promise.<google.cloud.compute.v1.Operation>}
Calls Insert.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IInsertRegionNetworkFirewallPolicyRequest |
InsertRegionNetworkFirewallPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.compute.v1.Operation> |
Promise |
list(request, callback) → {undefined}
Calls List.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IListRegionNetworkFirewallPoliciesRequest |
ListRegionNetworkFirewallPoliciesRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkFirewallPolicies.ListCallback |
Node-style callback called with the error, if any, and FirewallPolicyList |
Returns:
Type | Description |
---|---|
undefined |
list(request) → {Promise.<google.cloud.compute.v1.FirewallPolicyList>}
Calls List.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IListRegionNetworkFirewallPoliciesRequest |
ListRegionNetworkFirewallPoliciesRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.compute.v1.FirewallPolicyList> |
Promise |
patch(request, callback) → {undefined}
Calls Patch.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IPatchRegionNetworkFirewallPolicyRequest |
PatchRegionNetworkFirewallPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkFirewallPolicies.PatchCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
patch(request) → {Promise.<google.cloud.compute.v1.Operation>}
Calls Patch.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IPatchRegionNetworkFirewallPolicyRequest |
PatchRegionNetworkFirewallPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.compute.v1.Operation> |
Promise |
patchRule(request, callback) → {undefined}
Calls PatchRule.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IPatchRuleRegionNetworkFirewallPolicyRequest |
PatchRuleRegionNetworkFirewallPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkFirewallPolicies.PatchRuleCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
patchRule(request) → {Promise.<google.cloud.compute.v1.Operation>}
Calls PatchRule.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IPatchRuleRegionNetworkFirewallPolicyRequest |
PatchRuleRegionNetworkFirewallPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.compute.v1.Operation> |
Promise |
removeAssociation(request, callback) → {undefined}
Calls RemoveAssociation.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IRemoveAssociationRegionNetworkFirewallPolicyRequest |
RemoveAssociationRegionNetworkFirewallPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkFirewallPolicies.RemoveAssociationCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
removeAssociation(request) → {Promise.<google.cloud.compute.v1.Operation>}
Calls RemoveAssociation.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IRemoveAssociationRegionNetworkFirewallPolicyRequest |
RemoveAssociationRegionNetworkFirewallPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.compute.v1.Operation> |
Promise |
removeRule(request, callback) → {undefined}
Calls RemoveRule.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IRemoveRuleRegionNetworkFirewallPolicyRequest |
RemoveRuleRegionNetworkFirewallPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkFirewallPolicies.RemoveRuleCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
removeRule(request) → {Promise.<google.cloud.compute.v1.Operation>}
Calls RemoveRule.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.IRemoveRuleRegionNetworkFirewallPolicyRequest |
RemoveRuleRegionNetworkFirewallPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.compute.v1.Operation> |
Promise |
setIamPolicy(request, callback) → {undefined}
Calls SetIamPolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.ISetIamPolicyRegionNetworkFirewallPolicyRequest |
SetIamPolicyRegionNetworkFirewallPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkFirewallPolicies.SetIamPolicyCallback |
Node-style callback called with the error, if any, and Policy |
Returns:
Type | Description |
---|---|
undefined |
setIamPolicy(request) → {Promise.<google.cloud.compute.v1.Policy>}
Calls SetIamPolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.ISetIamPolicyRegionNetworkFirewallPolicyRequest |
SetIamPolicyRegionNetworkFirewallPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.compute.v1.Policy> |
Promise |
testIamPermissions(request, callback) → {undefined}
Calls TestIamPermissions.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.ITestIamPermissionsRegionNetworkFirewallPolicyRequest |
TestIamPermissionsRegionNetworkFirewallPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionNetworkFirewallPolicies.TestIamPermissionsCallback |
Node-style callback called with the error, if any, and TestPermissionsResponse |
Returns:
Type | Description |
---|---|
undefined |
testIamPermissions(request) → {Promise.<google.cloud.compute.v1.TestPermissionsResponse>}
Calls TestIamPermissions.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.compute.v1.ITestIamPermissionsRegionNetworkFirewallPolicyRequest |
TestIamPermissionsRegionNetworkFirewallPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.compute.v1.TestPermissionsResponse> |
Promise |
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {RegionNetworkFirewallPolicies}
Creates new RegionNetworkFirewallPolicies service using the specified rpc implementation.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Returns:
Type | Description |
---|---|
RegionNetworkFirewallPolicies |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
AddAssociationCallback(error, responseopt)
Callback as used by addAssociation.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.compute.v1.Operation |
<optional> |
Operation |
AddRuleCallback(error, responseopt)
Callback as used by addRule.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.compute.v1.Operation |
<optional> |
Operation |
CloneRulesCallback(error, responseopt)
Callback as used by cloneRules.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.compute.v1.Operation |
<optional> |
Operation |
DeleteCallback(error, responseopt)
Callback as used by delete_.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.compute.v1.Operation |
<optional> |
Operation |
GetAssociationCallback(error, responseopt)
Callback as used by getAssociation.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.compute.v1.FirewallPolicyAssociation |
<optional> |
FirewallPolicyAssociation |
GetCallback(error, responseopt)
Callback as used by get.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.compute.v1.FirewallPolicy |
<optional> |
FirewallPolicy |
GetEffectiveFirewallsCallback(error, responseopt)
Callback as used by getEffectiveFirewalls.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse |
<optional> |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse |
GetIamPolicyCallback(error, responseopt)
Callback as used by getIamPolicy.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.compute.v1.Policy |
<optional> |
Policy |
GetRuleCallback(error, responseopt)
Callback as used by getRule.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.compute.v1.FirewallPolicyRule |
<optional> |
FirewallPolicyRule |
InsertCallback(error, responseopt)
Callback as used by insert.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.compute.v1.Operation |
<optional> |
Operation |
ListCallback(error, responseopt)
Callback as used by list.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.compute.v1.FirewallPolicyList |
<optional> |
FirewallPolicyList |
PatchCallback(error, responseopt)
Callback as used by patch.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.compute.v1.Operation |
<optional> |
Operation |
PatchRuleCallback(error, responseopt)
Callback as used by patchRule.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.compute.v1.Operation |
<optional> |
Operation |
RemoveAssociationCallback(error, responseopt)
Callback as used by removeAssociation.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.compute.v1.Operation |
<optional> |
Operation |
RemoveRuleCallback(error, responseopt)
Callback as used by removeRule.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.compute.v1.Operation |
<optional> |
Operation |
SetIamPolicyCallback(error, responseopt)
Callback as used by setIamPolicy.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.compute.v1.Policy |
<optional> |
Policy |
TestIamPermissionsCallback(error, responseopt)
Callback as used by testIamPermissions.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.compute.v1.TestPermissionsResponse |
<optional> |
TestPermissionsResponse |