Class protos.google.appengine.v1.Firewall (2.2.2)

Represents a Firewall

Inheritance

$protobuf.rpc.Service > protos.google.appengine.v1.Firewall

Package

@google-cloud/appengine-admin

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new Firewall service.

Parameters
NameDescription
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
NameDescription
request google.appengine.v1.IBatchUpdateIngressRulesRequest

BatchUpdateIngressRulesRequest message or plain object

callback google.appengine.v1.Firewall.BatchUpdateIngressRulesCallback

Node-style callback called with the error, if any, and BatchUpdateIngressRulesResponse

Returns
TypeDescription
void

batchUpdateIngressRules(request)

public batchUpdateIngressRules(request: google.appengine.v1.IBatchUpdateIngressRulesRequest): Promise<google.appengine.v1.BatchUpdateIngressRulesResponse>;

Calls BatchUpdateIngressRules.

Parameter
NameDescription
request google.appengine.v1.IBatchUpdateIngressRulesRequest

BatchUpdateIngressRulesRequest message or plain object

Returns
TypeDescription
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
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
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
NameDescription
request ICreateIngressRuleRequest

CreateIngressRuleRequest message or plain object

callback google.appengine.v1.Firewall.CreateIngressRuleCallback

Node-style callback called with the error, if any, and FirewallRule

Returns
TypeDescription
void

createIngressRule(request)

public createIngressRule(request: google.appengine.v1.ICreateIngressRuleRequest): Promise<google.appengine.v1.FirewallRule>;

Calls CreateIngressRule.

Parameter
NameDescription
request ICreateIngressRuleRequest

CreateIngressRuleRequest message or plain object

Returns
TypeDescription
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
NameDescription
request google.appengine.v1.IDeleteIngressRuleRequest

DeleteIngressRuleRequest message or plain object

callback google.appengine.v1.Firewall.DeleteIngressRuleCallback

Node-style callback called with the error, if any, and Empty

Returns
TypeDescription
void

deleteIngressRule(request)

public deleteIngressRule(request: google.appengine.v1.IDeleteIngressRuleRequest): Promise<google.protobuf.Empty>;

Calls DeleteIngressRule.

Parameter
NameDescription
request google.appengine.v1.IDeleteIngressRuleRequest

DeleteIngressRuleRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IGetIngressRuleRequest

GetIngressRuleRequest message or plain object

callback google.appengine.v1.Firewall.GetIngressRuleCallback

Node-style callback called with the error, if any, and FirewallRule

Returns
TypeDescription
void

getIngressRule(request)

public getIngressRule(request: google.appengine.v1.IGetIngressRuleRequest): Promise<google.appengine.v1.FirewallRule>;

Calls GetIngressRule.

Parameter
NameDescription
request IGetIngressRuleRequest

GetIngressRuleRequest message or plain object

Returns
TypeDescription
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
NameDescription
request google.appengine.v1.IListIngressRulesRequest

ListIngressRulesRequest message or plain object

callback google.appengine.v1.Firewall.ListIngressRulesCallback

Node-style callback called with the error, if any, and ListIngressRulesResponse

Returns
TypeDescription
void

listIngressRules(request)

public listIngressRules(request: google.appengine.v1.IListIngressRulesRequest): Promise<google.appengine.v1.ListIngressRulesResponse>;

Calls ListIngressRules.

Parameter
NameDescription
request google.appengine.v1.IListIngressRulesRequest

ListIngressRulesRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IUpdateIngressRuleRequest

UpdateIngressRuleRequest message or plain object

callback google.appengine.v1.Firewall.UpdateIngressRuleCallback

Node-style callback called with the error, if any, and FirewallRule

Returns
TypeDescription
void

updateIngressRule(request)

public updateIngressRule(request: google.appengine.v1.IUpdateIngressRuleRequest): Promise<google.appengine.v1.FirewallRule>;

Calls UpdateIngressRule.

Parameter
NameDescription
request IUpdateIngressRuleRequest

UpdateIngressRuleRequest message or plain object

Returns
TypeDescription
Promise<google.appengine.v1.FirewallRule>

Promise