Represents a FirewallPolicies
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.FirewallPoliciesPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new FirewallPolicies service.
| 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.IAddAssociationFirewallPolicyRequest, callback: google.cloud.compute.v1.FirewallPolicies.AddAssociationCallback): void;Calls AddAssociation.
| Name | Description |
| request |
google.cloud.compute.v1.IAddAssociationFirewallPolicyRequest
AddAssociationFirewallPolicyRequest message or plain object |
| callback |
google.cloud.compute.v1.FirewallPolicies.AddAssociationCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
addAssociation(request)
public addAssociation(request: google.cloud.compute.v1.IAddAssociationFirewallPolicyRequest): Promise<google.cloud.compute.v1.Operation>;Calls AddAssociation.
| Name | Description |
| request |
google.cloud.compute.v1.IAddAssociationFirewallPolicyRequest
AddAssociationFirewallPolicyRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
addRule(request, callback)
public addRule(request: google.cloud.compute.v1.IAddRuleFirewallPolicyRequest, callback: google.cloud.compute.v1.FirewallPolicies.AddRuleCallback): void;Calls AddRule.
| Name | Description |
| request |
google.cloud.compute.v1.IAddRuleFirewallPolicyRequest
AddRuleFirewallPolicyRequest message or plain object |
| callback |
google.cloud.compute.v1.FirewallPolicies.AddRuleCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
addRule(request)
public addRule(request: google.cloud.compute.v1.IAddRuleFirewallPolicyRequest): Promise<google.cloud.compute.v1.Operation>;Calls AddRule.
| Name | Description |
| request |
google.cloud.compute.v1.IAddRuleFirewallPolicyRequest
AddRuleFirewallPolicyRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
cloneRules(request, callback)
public cloneRules(request: google.cloud.compute.v1.ICloneRulesFirewallPolicyRequest, callback: google.cloud.compute.v1.FirewallPolicies.CloneRulesCallback): void;Calls CloneRules.
| Name | Description |
| request |
ICloneRulesFirewallPolicyRequest
CloneRulesFirewallPolicyRequest message or plain object |
| callback |
google.cloud.compute.v1.FirewallPolicies.CloneRulesCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
cloneRules(request)
public cloneRules(request: google.cloud.compute.v1.ICloneRulesFirewallPolicyRequest): Promise<google.cloud.compute.v1.Operation>;Calls CloneRules.
| Name | Description |
| request |
ICloneRulesFirewallPolicyRequest
CloneRulesFirewallPolicyRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): FirewallPolicies;Creates new FirewallPolicies service using the specified rpc implementation.
| Name | Description |
| rpcImpl |
$protobuf.RPCImpl
RPC implementation |
| requestDelimited |
boolean
Whether requests are length-delimited |
| responseDelimited |
boolean
Whether responses are length-delimited |
| Type | Description |
| FirewallPolicies | RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1.IDeleteFirewallPolicyRequest, callback: google.cloud.compute.v1.FirewallPolicies.DeleteCallback): void;Calls Delete.
| Name | Description |
| request |
IDeleteFirewallPolicyRequest
DeleteFirewallPolicyRequest message or plain object |
| callback |
google.cloud.compute.v1.FirewallPolicies.DeleteCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteFirewallPolicyRequest): Promise<google.cloud.compute.v1.Operation>;Calls Delete.
| Name | Description |
| request |
IDeleteFirewallPolicyRequest
DeleteFirewallPolicyRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetFirewallPolicyRequest, callback: google.cloud.compute.v1.FirewallPolicies.GetCallback): void;Calls Get.
| Name | Description |
| request |
IGetFirewallPolicyRequest
GetFirewallPolicyRequest message or plain object |
| callback |
google.cloud.compute.v1.FirewallPolicies.GetCallback
Node-style callback called with the error, if any, and FirewallPolicy |
| Type | Description |
| void |
get(request)
public get(request: google.cloud.compute.v1.IGetFirewallPolicyRequest): Promise<google.cloud.compute.v1.FirewallPolicy>;Calls Get.
| Name | Description |
| request |
IGetFirewallPolicyRequest
GetFirewallPolicyRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.FirewallPolicy> | Promise |
getAssociation(request, callback)
public getAssociation(request: google.cloud.compute.v1.IGetAssociationFirewallPolicyRequest, callback: google.cloud.compute.v1.FirewallPolicies.GetAssociationCallback): void;Calls GetAssociation.
| Name | Description |
| request |
google.cloud.compute.v1.IGetAssociationFirewallPolicyRequest
GetAssociationFirewallPolicyRequest message or plain object |
| callback |
google.cloud.compute.v1.FirewallPolicies.GetAssociationCallback
Node-style callback called with the error, if any, and FirewallPolicyAssociation |
| Type | Description |
| void |
getAssociation(request)
public getAssociation(request: google.cloud.compute.v1.IGetAssociationFirewallPolicyRequest): Promise<google.cloud.compute.v1.FirewallPolicyAssociation>;Calls GetAssociation.
| Name | Description |
| request |
google.cloud.compute.v1.IGetAssociationFirewallPolicyRequest
GetAssociationFirewallPolicyRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.FirewallPolicyAssociation> | Promise |
getIamPolicy(request, callback)
public getIamPolicy(request: google.cloud.compute.v1.IGetIamPolicyFirewallPolicyRequest, callback: google.cloud.compute.v1.FirewallPolicies.GetIamPolicyCallback): void;Calls GetIamPolicy.
| Name | Description |
| request |
google.cloud.compute.v1.IGetIamPolicyFirewallPolicyRequest
GetIamPolicyFirewallPolicyRequest message or plain object |
| callback |
google.cloud.compute.v1.FirewallPolicies.GetIamPolicyCallback
Node-style callback called with the error, if any, and Policy |
| Type | Description |
| void |
getIamPolicy(request)
public getIamPolicy(request: google.cloud.compute.v1.IGetIamPolicyFirewallPolicyRequest): Promise<google.cloud.compute.v1.Policy>;Calls GetIamPolicy.
| Name | Description |
| request |
google.cloud.compute.v1.IGetIamPolicyFirewallPolicyRequest
GetIamPolicyFirewallPolicyRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Policy> | Promise |
getRule(request, callback)
public getRule(request: google.cloud.compute.v1.IGetRuleFirewallPolicyRequest, callback: google.cloud.compute.v1.FirewallPolicies.GetRuleCallback): void;Calls GetRule.
| Name | Description |
| request |
IGetRuleFirewallPolicyRequest
GetRuleFirewallPolicyRequest message or plain object |
| callback |
google.cloud.compute.v1.FirewallPolicies.GetRuleCallback
Node-style callback called with the error, if any, and FirewallPolicyRule |
| Type | Description |
| void |
getRule(request)
public getRule(request: google.cloud.compute.v1.IGetRuleFirewallPolicyRequest): Promise<google.cloud.compute.v1.FirewallPolicyRule>;Calls GetRule.
| Name | Description |
| request |
IGetRuleFirewallPolicyRequest
GetRuleFirewallPolicyRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.FirewallPolicyRule> | Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertFirewallPolicyRequest, callback: google.cloud.compute.v1.FirewallPolicies.InsertCallback): void;Calls Insert.
| Name | Description |
| request |
google.cloud.compute.v1.IInsertFirewallPolicyRequest
InsertFirewallPolicyRequest message or plain object |
| callback |
google.cloud.compute.v1.FirewallPolicies.InsertCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertFirewallPolicyRequest): Promise<google.cloud.compute.v1.Operation>;Calls Insert.
| Name | Description |
| request |
google.cloud.compute.v1.IInsertFirewallPolicyRequest
InsertFirewallPolicyRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListFirewallPoliciesRequest, callback: google.cloud.compute.v1.FirewallPolicies.ListCallback): void;Calls List.
| Name | Description |
| request |
IListFirewallPoliciesRequest
ListFirewallPoliciesRequest message or plain object |
| callback |
google.cloud.compute.v1.FirewallPolicies.ListCallback
Node-style callback called with the error, if any, and FirewallPolicyList |
| Type | Description |
| void |
list(request)
public list(request: google.cloud.compute.v1.IListFirewallPoliciesRequest): Promise<google.cloud.compute.v1.FirewallPolicyList>;Calls List.
| Name | Description |
| request |
IListFirewallPoliciesRequest
ListFirewallPoliciesRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.FirewallPolicyList> | Promise |
listAssociations(request, callback)
public listAssociations(request: google.cloud.compute.v1.IListAssociationsFirewallPolicyRequest, callback: google.cloud.compute.v1.FirewallPolicies.ListAssociationsCallback): void;Calls ListAssociations.
| Name | Description |
| request |
google.cloud.compute.v1.IListAssociationsFirewallPolicyRequest
ListAssociationsFirewallPolicyRequest message or plain object |
| callback |
google.cloud.compute.v1.FirewallPolicies.ListAssociationsCallback
Node-style callback called with the error, if any, and FirewallPoliciesListAssociationsResponse |
| Type | Description |
| void |
listAssociations(request)
public listAssociations(request: google.cloud.compute.v1.IListAssociationsFirewallPolicyRequest): Promise<google.cloud.compute.v1.FirewallPoliciesListAssociationsResponse>;Calls ListAssociations.
| Name | Description |
| request |
google.cloud.compute.v1.IListAssociationsFirewallPolicyRequest
ListAssociationsFirewallPolicyRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.FirewallPoliciesListAssociationsResponse> | Promise |
move(request, callback)
public move(request: google.cloud.compute.v1.IMoveFirewallPolicyRequest, callback: google.cloud.compute.v1.FirewallPolicies.MoveCallback): void;Calls Move.
| Name | Description |
| request |
IMoveFirewallPolicyRequest
MoveFirewallPolicyRequest message or plain object |
| callback |
google.cloud.compute.v1.FirewallPolicies.MoveCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
move(request)
public move(request: google.cloud.compute.v1.IMoveFirewallPolicyRequest): Promise<google.cloud.compute.v1.Operation>;Calls Move.
| Name | Description |
| request |
IMoveFirewallPolicyRequest
MoveFirewallPolicyRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
patch(request, callback)
public patch(request: google.cloud.compute.v1.IPatchFirewallPolicyRequest, callback: google.cloud.compute.v1.FirewallPolicies.PatchCallback): void;Calls Patch.
| Name | Description |
| request |
IPatchFirewallPolicyRequest
PatchFirewallPolicyRequest message or plain object |
| callback |
google.cloud.compute.v1.FirewallPolicies.PatchCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
patch(request)
public patch(request: google.cloud.compute.v1.IPatchFirewallPolicyRequest): Promise<google.cloud.compute.v1.Operation>;Calls Patch.
| Name | Description |
| request |
IPatchFirewallPolicyRequest
PatchFirewallPolicyRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
patchRule(request, callback)
public patchRule(request: google.cloud.compute.v1.IPatchRuleFirewallPolicyRequest, callback: google.cloud.compute.v1.FirewallPolicies.PatchRuleCallback): void;Calls PatchRule.
| Name | Description |
| request |
IPatchRuleFirewallPolicyRequest
PatchRuleFirewallPolicyRequest message or plain object |
| callback |
google.cloud.compute.v1.FirewallPolicies.PatchRuleCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
patchRule(request)
public patchRule(request: google.cloud.compute.v1.IPatchRuleFirewallPolicyRequest): Promise<google.cloud.compute.v1.Operation>;Calls PatchRule.
| Name | Description |
| request |
IPatchRuleFirewallPolicyRequest
PatchRuleFirewallPolicyRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
removeAssociation(request, callback)
public removeAssociation(request: google.cloud.compute.v1.IRemoveAssociationFirewallPolicyRequest, callback: google.cloud.compute.v1.FirewallPolicies.RemoveAssociationCallback): void;Calls RemoveAssociation.
| Name | Description |
| request |
IRemoveAssociationFirewallPolicyRequest
RemoveAssociationFirewallPolicyRequest message or plain object |
| callback |
google.cloud.compute.v1.FirewallPolicies.RemoveAssociationCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
removeAssociation(request)
public removeAssociation(request: google.cloud.compute.v1.IRemoveAssociationFirewallPolicyRequest): Promise<google.cloud.compute.v1.Operation>;Calls RemoveAssociation.
| Name | Description |
| request |
IRemoveAssociationFirewallPolicyRequest
RemoveAssociationFirewallPolicyRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
removeRule(request, callback)
public removeRule(request: google.cloud.compute.v1.IRemoveRuleFirewallPolicyRequest, callback: google.cloud.compute.v1.FirewallPolicies.RemoveRuleCallback): void;Calls RemoveRule.
| Name | Description |
| request |
IRemoveRuleFirewallPolicyRequest
RemoveRuleFirewallPolicyRequest message or plain object |
| callback |
google.cloud.compute.v1.FirewallPolicies.RemoveRuleCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
removeRule(request)
public removeRule(request: google.cloud.compute.v1.IRemoveRuleFirewallPolicyRequest): Promise<google.cloud.compute.v1.Operation>;Calls RemoveRule.
| Name | Description |
| request |
IRemoveRuleFirewallPolicyRequest
RemoveRuleFirewallPolicyRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
setIamPolicy(request, callback)
public setIamPolicy(request: google.cloud.compute.v1.ISetIamPolicyFirewallPolicyRequest, callback: google.cloud.compute.v1.FirewallPolicies.SetIamPolicyCallback): void;Calls SetIamPolicy.
| Name | Description |
| request |
ISetIamPolicyFirewallPolicyRequest
SetIamPolicyFirewallPolicyRequest message or plain object |
| callback |
google.cloud.compute.v1.FirewallPolicies.SetIamPolicyCallback
Node-style callback called with the error, if any, and Policy |
| Type | Description |
| void |
setIamPolicy(request)
public setIamPolicy(request: google.cloud.compute.v1.ISetIamPolicyFirewallPolicyRequest): Promise<google.cloud.compute.v1.Policy>;Calls SetIamPolicy.
| Name | Description |
| request |
ISetIamPolicyFirewallPolicyRequest
SetIamPolicyFirewallPolicyRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Policy> | Promise |
testIamPermissions(request, callback)
public testIamPermissions(request: google.cloud.compute.v1.ITestIamPermissionsFirewallPolicyRequest, callback: google.cloud.compute.v1.FirewallPolicies.TestIamPermissionsCallback): void;Calls TestIamPermissions.
| Name | Description |
| request |
ITestIamPermissionsFirewallPolicyRequest
TestIamPermissionsFirewallPolicyRequest message or plain object |
| callback |
google.cloud.compute.v1.FirewallPolicies.TestIamPermissionsCallback
Node-style callback called with the error, if any, and TestPermissionsResponse |
| Type | Description |
| void |
testIamPermissions(request)
public testIamPermissions(request: google.cloud.compute.v1.ITestIamPermissionsFirewallPolicyRequest): Promise<google.cloud.compute.v1.TestPermissionsResponse>;Calls TestIamPermissions.
| Name | Description |
| request |
ITestIamPermissionsFirewallPolicyRequest
TestIamPermissionsFirewallPolicyRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.TestPermissionsResponse> | Promise |