Class protos.google.cloud.compute.v1.TargetGrpcProxies (3.8.1)

Represents a TargetGrpcProxies

Inheritance

$protobuf.rpc.Service > protos.google.cloud.compute.v1.TargetGrpcProxies

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new TargetGrpcProxies service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): TargetGrpcProxies;

Creates new TargetGrpcProxies 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
TargetGrpcProxies

RPC service. Useful where requests and/or responses are streamed.

delete(request, callback)

public delete(request: google.cloud.compute.v1.IDeleteTargetGrpcProxyRequest, callback: google.cloud.compute.v1.TargetGrpcProxies.DeleteCallback): void;

Calls Delete.

Parameters
NameDescription
request google.cloud.compute.v1.IDeleteTargetGrpcProxyRequest

DeleteTargetGrpcProxyRequest message or plain object

callback google.cloud.compute.v1.TargetGrpcProxies.DeleteCallback

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

Returns
TypeDescription
void

delete(request)

public delete(request: google.cloud.compute.v1.IDeleteTargetGrpcProxyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Delete.

Parameter
NameDescription
request google.cloud.compute.v1.IDeleteTargetGrpcProxyRequest

DeleteTargetGrpcProxyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise

get(request, callback)

public get(request: google.cloud.compute.v1.IGetTargetGrpcProxyRequest, callback: google.cloud.compute.v1.TargetGrpcProxies.GetCallback): void;

Calls Get.

Parameters
NameDescription
request IGetTargetGrpcProxyRequest

GetTargetGrpcProxyRequest message or plain object

callback google.cloud.compute.v1.TargetGrpcProxies.GetCallback

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

Returns
TypeDescription
void

get(request)

public get(request: google.cloud.compute.v1.IGetTargetGrpcProxyRequest): Promise<google.cloud.compute.v1.TargetGrpcProxy>;

Calls Get.

Parameter
NameDescription
request IGetTargetGrpcProxyRequest

GetTargetGrpcProxyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.TargetGrpcProxy>

Promise

insert(request, callback)

public insert(request: google.cloud.compute.v1.IInsertTargetGrpcProxyRequest, callback: google.cloud.compute.v1.TargetGrpcProxies.InsertCallback): void;

Calls Insert.

Parameters
NameDescription
request google.cloud.compute.v1.IInsertTargetGrpcProxyRequest

InsertTargetGrpcProxyRequest message or plain object

callback google.cloud.compute.v1.TargetGrpcProxies.InsertCallback

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

Returns
TypeDescription
void

insert(request)

public insert(request: google.cloud.compute.v1.IInsertTargetGrpcProxyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Insert.

Parameter
NameDescription
request google.cloud.compute.v1.IInsertTargetGrpcProxyRequest

InsertTargetGrpcProxyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise

list(request, callback)

public list(request: google.cloud.compute.v1.IListTargetGrpcProxiesRequest, callback: google.cloud.compute.v1.TargetGrpcProxies.ListCallback): void;

Calls List.

Parameters
NameDescription
request google.cloud.compute.v1.IListTargetGrpcProxiesRequest

ListTargetGrpcProxiesRequest message or plain object

callback google.cloud.compute.v1.TargetGrpcProxies.ListCallback

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

Returns
TypeDescription
void

list(request)

public list(request: google.cloud.compute.v1.IListTargetGrpcProxiesRequest): Promise<google.cloud.compute.v1.TargetGrpcProxyList>;

Calls List.

Parameter
NameDescription
request google.cloud.compute.v1.IListTargetGrpcProxiesRequest

ListTargetGrpcProxiesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.TargetGrpcProxyList>

Promise

patch(request, callback)

public patch(request: google.cloud.compute.v1.IPatchTargetGrpcProxyRequest, callback: google.cloud.compute.v1.TargetGrpcProxies.PatchCallback): void;

Calls Patch.

Parameters
NameDescription
request google.cloud.compute.v1.IPatchTargetGrpcProxyRequest

PatchTargetGrpcProxyRequest message or plain object

callback google.cloud.compute.v1.TargetGrpcProxies.PatchCallback

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

Returns
TypeDescription
void

patch(request)

public patch(request: google.cloud.compute.v1.IPatchTargetGrpcProxyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Patch.

Parameter
NameDescription
request google.cloud.compute.v1.IPatchTargetGrpcProxyRequest

PatchTargetGrpcProxyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise