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