Represents a Firewall
Inheritance
$protobuf.rpc.Service > protos.google.appengine.v1.FirewallPackage
@google-cloud/appengine-adminConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new Firewall service.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
batchUpdateIngressRules(request, callback)
public batchUpdateIngressRules(request: google.appengine.v1.IBatchUpdateIngressRulesRequest, callback: google.appengine.v1.Firewall.BatchUpdateIngressRulesCallback): void;
Calls BatchUpdateIngressRules.
Parameters | |
---|---|
Name | Description |
request |
IBatchUpdateIngressRulesRequest
BatchUpdateIngressRulesRequest message or plain object |
callback |
BatchUpdateIngressRulesCallback
Node-style callback called with the error, if any, and BatchUpdateIngressRulesResponse |
Returns | |
---|---|
Type | Description |
void |
batchUpdateIngressRules(request)
public batchUpdateIngressRules(request: google.appengine.v1.IBatchUpdateIngressRulesRequest): Promise<google.appengine.v1.BatchUpdateIngressRulesResponse>;
Calls BatchUpdateIngressRules.
Parameter | |
---|---|
Name | Description |
request |
IBatchUpdateIngressRulesRequest
BatchUpdateIngressRulesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.appengine.v1.BatchUpdateIngressRulesResponse> | Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Firewall;
Creates new Firewall 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 |
Firewall | RPC service. Useful where requests and/or responses are streamed. |
createIngressRule(request, callback)
public createIngressRule(request: google.appengine.v1.ICreateIngressRuleRequest, callback: google.appengine.v1.Firewall.CreateIngressRuleCallback): void;
Calls CreateIngressRule.
Parameters | |
---|---|
Name | Description |
request |
ICreateIngressRuleRequest
CreateIngressRuleRequest message or plain object |
callback |
CreateIngressRuleCallback
Node-style callback called with the error, if any, and FirewallRule |
Returns | |
---|---|
Type | Description |
void |
createIngressRule(request)
public createIngressRule(request: google.appengine.v1.ICreateIngressRuleRequest): Promise<google.appengine.v1.FirewallRule>;
Calls CreateIngressRule.
Parameter | |
---|---|
Name | Description |
request |
ICreateIngressRuleRequest
CreateIngressRuleRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.appengine.v1.FirewallRule> | Promise |
deleteIngressRule(request, callback)
public deleteIngressRule(request: google.appengine.v1.IDeleteIngressRuleRequest, callback: google.appengine.v1.Firewall.DeleteIngressRuleCallback): void;
Calls DeleteIngressRule.
Parameters | |
---|---|
Name | Description |
request |
IDeleteIngressRuleRequest
DeleteIngressRuleRequest message or plain object |
callback |
DeleteIngressRuleCallback
Node-style callback called with the error, if any, and Empty |
Returns | |
---|---|
Type | Description |
void |
deleteIngressRule(request)
public deleteIngressRule(request: google.appengine.v1.IDeleteIngressRuleRequest): Promise<google.protobuf.Empty>;
Calls DeleteIngressRule.
Parameter | |
---|---|
Name | Description |
request |
IDeleteIngressRuleRequest
DeleteIngressRuleRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.protobuf.Empty> | Promise |
getIngressRule(request, callback)
public getIngressRule(request: google.appengine.v1.IGetIngressRuleRequest, callback: google.appengine.v1.Firewall.GetIngressRuleCallback): void;
Calls GetIngressRule.
Parameters | |
---|---|
Name | Description |
request |
IGetIngressRuleRequest
GetIngressRuleRequest message or plain object |
callback |
GetIngressRuleCallback
Node-style callback called with the error, if any, and FirewallRule |
Returns | |
---|---|
Type | Description |
void |
getIngressRule(request)
public getIngressRule(request: google.appengine.v1.IGetIngressRuleRequest): Promise<google.appengine.v1.FirewallRule>;
Calls GetIngressRule.
Parameter | |
---|---|
Name | Description |
request |
IGetIngressRuleRequest
GetIngressRuleRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.appengine.v1.FirewallRule> | Promise |
listIngressRules(request, callback)
public listIngressRules(request: google.appengine.v1.IListIngressRulesRequest, callback: google.appengine.v1.Firewall.ListIngressRulesCallback): void;
Calls ListIngressRules.
Parameters | |
---|---|
Name | Description |
request |
IListIngressRulesRequest
ListIngressRulesRequest message or plain object |
callback |
ListIngressRulesCallback
Node-style callback called with the error, if any, and ListIngressRulesResponse |
Returns | |
---|---|
Type | Description |
void |
listIngressRules(request)
public listIngressRules(request: google.appengine.v1.IListIngressRulesRequest): Promise<google.appengine.v1.ListIngressRulesResponse>;
Calls ListIngressRules.
Parameter | |
---|---|
Name | Description |
request |
IListIngressRulesRequest
ListIngressRulesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.appengine.v1.ListIngressRulesResponse> | Promise |
updateIngressRule(request, callback)
public updateIngressRule(request: google.appengine.v1.IUpdateIngressRuleRequest, callback: google.appengine.v1.Firewall.UpdateIngressRuleCallback): void;
Calls UpdateIngressRule.
Parameters | |
---|---|
Name | Description |
request |
IUpdateIngressRuleRequest
UpdateIngressRuleRequest message or plain object |
callback |
UpdateIngressRuleCallback
Node-style callback called with the error, if any, and FirewallRule |
Returns | |
---|---|
Type | Description |
void |
updateIngressRule(request)
public updateIngressRule(request: google.appengine.v1.IUpdateIngressRuleRequest): Promise<google.appengine.v1.FirewallRule>;
Calls UpdateIngressRule.
Parameter | |
---|---|
Name | Description |
request |
IUpdateIngressRuleRequest
UpdateIngressRuleRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.appengine.v1.FirewallRule> | Promise |