Represents a ForwardingRules
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.ForwardingRulesPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new ForwardingRules service.
| Name | Description |
| rpcImpl |
$protobuf.RPCImpl
RPC implementation |
| requestDelimited |
boolean
Whether requests are length-delimited |
| responseDelimited |
boolean
Whether responses are length-delimited |
Methods
aggregatedList(request, callback)
public aggregatedList(request: google.cloud.compute.v1.IAggregatedListForwardingRulesRequest, callback: google.cloud.compute.v1.ForwardingRules.AggregatedListCallback): void;Calls AggregatedList.
| Name | Description |
| request |
IAggregatedListForwardingRulesRequest
AggregatedListForwardingRulesRequest message or plain object |
| callback |
google.cloud.compute.v1.ForwardingRules.AggregatedListCallback
Node-style callback called with the error, if any, and ForwardingRuleAggregatedList |
| Type | Description |
| void |
aggregatedList(request)
public aggregatedList(request: google.cloud.compute.v1.IAggregatedListForwardingRulesRequest): Promise<google.cloud.compute.v1.ForwardingRuleAggregatedList>;Calls AggregatedList.
| Name | Description |
| request |
IAggregatedListForwardingRulesRequest
AggregatedListForwardingRulesRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.ForwardingRuleAggregatedList> | Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ForwardingRules;Creates new ForwardingRules 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 |
| ForwardingRules | RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1.IDeleteForwardingRuleRequest, callback: google.cloud.compute.v1.ForwardingRules.DeleteCallback): void;Calls Delete.
| Name | Description |
| request |
IDeleteForwardingRuleRequest
DeleteForwardingRuleRequest message or plain object |
| callback |
google.cloud.compute.v1.ForwardingRules.DeleteCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteForwardingRuleRequest): Promise<google.cloud.compute.v1.Operation>;Calls Delete.
| Name | Description |
| request |
IDeleteForwardingRuleRequest
DeleteForwardingRuleRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetForwardingRuleRequest, callback: google.cloud.compute.v1.ForwardingRules.GetCallback): void;Calls Get.
| Name | Description |
| request |
IGetForwardingRuleRequest
GetForwardingRuleRequest message or plain object |
| callback |
google.cloud.compute.v1.ForwardingRules.GetCallback
Node-style callback called with the error, if any, and ForwardingRule |
| Type | Description |
| void |
get(request)
public get(request: google.cloud.compute.v1.IGetForwardingRuleRequest): Promise<google.cloud.compute.v1.ForwardingRule>;Calls Get.
| Name | Description |
| request |
IGetForwardingRuleRequest
GetForwardingRuleRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.ForwardingRule> | Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertForwardingRuleRequest, callback: google.cloud.compute.v1.ForwardingRules.InsertCallback): void;Calls Insert.
| Name | Description |
| request |
IInsertForwardingRuleRequest
InsertForwardingRuleRequest message or plain object |
| callback |
google.cloud.compute.v1.ForwardingRules.InsertCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertForwardingRuleRequest): Promise<google.cloud.compute.v1.Operation>;Calls Insert.
| Name | Description |
| request |
IInsertForwardingRuleRequest
InsertForwardingRuleRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListForwardingRulesRequest, callback: google.cloud.compute.v1.ForwardingRules.ListCallback): void;Calls List.
| Name | Description |
| request |
IListForwardingRulesRequest
ListForwardingRulesRequest message or plain object |
| callback |
google.cloud.compute.v1.ForwardingRules.ListCallback
Node-style callback called with the error, if any, and ForwardingRuleList |
| Type | Description |
| void |
list(request)
public list(request: google.cloud.compute.v1.IListForwardingRulesRequest): Promise<google.cloud.compute.v1.ForwardingRuleList>;Calls List.
| Name | Description |
| request |
IListForwardingRulesRequest
ListForwardingRulesRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.ForwardingRuleList> | Promise |
patch(request, callback)
public patch(request: google.cloud.compute.v1.IPatchForwardingRuleRequest, callback: google.cloud.compute.v1.ForwardingRules.PatchCallback): void;Calls Patch.
| Name | Description |
| request |
IPatchForwardingRuleRequest
PatchForwardingRuleRequest message or plain object |
| callback |
google.cloud.compute.v1.ForwardingRules.PatchCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
patch(request)
public patch(request: google.cloud.compute.v1.IPatchForwardingRuleRequest): Promise<google.cloud.compute.v1.Operation>;Calls Patch.
| Name | Description |
| request |
IPatchForwardingRuleRequest
PatchForwardingRuleRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
setLabels(request, callback)
public setLabels(request: google.cloud.compute.v1.ISetLabelsForwardingRuleRequest, callback: google.cloud.compute.v1.ForwardingRules.SetLabelsCallback): void;Calls SetLabels.
| Name | Description |
| request |
ISetLabelsForwardingRuleRequest
SetLabelsForwardingRuleRequest message or plain object |
| callback |
google.cloud.compute.v1.ForwardingRules.SetLabelsCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
setLabels(request)
public setLabels(request: google.cloud.compute.v1.ISetLabelsForwardingRuleRequest): Promise<google.cloud.compute.v1.Operation>;Calls SetLabels.
| Name | Description |
| request |
ISetLabelsForwardingRuleRequest
SetLabelsForwardingRuleRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
setTarget(request, callback)
public setTarget(request: google.cloud.compute.v1.ISetTargetForwardingRuleRequest, callback: google.cloud.compute.v1.ForwardingRules.SetTargetCallback): void;Calls SetTarget.
| Name | Description |
| request |
ISetTargetForwardingRuleRequest
SetTargetForwardingRuleRequest message or plain object |
| callback |
google.cloud.compute.v1.ForwardingRules.SetTargetCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
setTarget(request)
public setTarget(request: google.cloud.compute.v1.ISetTargetForwardingRuleRequest): Promise<google.cloud.compute.v1.Operation>;Calls SetTarget.
| Name | Description |
| request |
ISetTargetForwardingRuleRequest
SetTargetForwardingRuleRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |