Class protos.google.cloud.compute.v1.TargetSslProxies (4.3.0)

Represents a TargetSslProxies

Inheritance

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

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new TargetSslProxies 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): TargetSslProxies;

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

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

delete(request, callback)

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

Calls Delete.

Parameters
NameDescription
request IDeleteTargetSslProxyRequest

DeleteTargetSslProxyRequest message or plain object

callback DeleteCallback

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

Returns
TypeDescription
void

delete(request)

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

Calls Delete.

Parameter
NameDescription
request IDeleteTargetSslProxyRequest

DeleteTargetSslProxyRequest message or plain object

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

Promise

get(request, callback)

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

Calls Get.

Parameters
NameDescription
request IGetTargetSslProxyRequest

GetTargetSslProxyRequest message or plain object

callback GetCallback

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

Returns
TypeDescription
void

get(request)

public get(request: google.cloud.compute.v1.IGetTargetSslProxyRequest): Promise<google.cloud.compute.v1.TargetSslProxy>;

Calls Get.

Parameter
NameDescription
request IGetTargetSslProxyRequest

GetTargetSslProxyRequest message or plain object

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

Promise

insert(request, callback)

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

Calls Insert.

Parameters
NameDescription
request IInsertTargetSslProxyRequest

InsertTargetSslProxyRequest message or plain object

callback InsertCallback

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

Returns
TypeDescription
void

insert(request)

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

Calls Insert.

Parameter
NameDescription
request IInsertTargetSslProxyRequest

InsertTargetSslProxyRequest message or plain object

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

Promise

list(request, callback)

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

Calls List.

Parameters
NameDescription
request IListTargetSslProxiesRequest

ListTargetSslProxiesRequest message or plain object

callback ListCallback

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

Returns
TypeDescription
void

list(request)

public list(request: google.cloud.compute.v1.IListTargetSslProxiesRequest): Promise<google.cloud.compute.v1.TargetSslProxyList>;

Calls List.

Parameter
NameDescription
request IListTargetSslProxiesRequest

ListTargetSslProxiesRequest message or plain object

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

Promise

setBackendService(request, callback)

public setBackendService(request: google.cloud.compute.v1.ISetBackendServiceTargetSslProxyRequest, callback: google.cloud.compute.v1.TargetSslProxies.SetBackendServiceCallback): void;

Calls SetBackendService.

Parameters
NameDescription
request ISetBackendServiceTargetSslProxyRequest

SetBackendServiceTargetSslProxyRequest message or plain object

callback SetBackendServiceCallback

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

Returns
TypeDescription
void

setBackendService(request)

public setBackendService(request: google.cloud.compute.v1.ISetBackendServiceTargetSslProxyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls SetBackendService.

Parameter
NameDescription
request ISetBackendServiceTargetSslProxyRequest

SetBackendServiceTargetSslProxyRequest message or plain object

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

Promise

setCertificateMap(request, callback)

public setCertificateMap(request: google.cloud.compute.v1.ISetCertificateMapTargetSslProxyRequest, callback: google.cloud.compute.v1.TargetSslProxies.SetCertificateMapCallback): void;

Calls SetCertificateMap.

Parameters
NameDescription
request ISetCertificateMapTargetSslProxyRequest

SetCertificateMapTargetSslProxyRequest message or plain object

callback SetCertificateMapCallback

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

Returns
TypeDescription
void

setCertificateMap(request)

public setCertificateMap(request: google.cloud.compute.v1.ISetCertificateMapTargetSslProxyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls SetCertificateMap.

Parameter
NameDescription
request ISetCertificateMapTargetSslProxyRequest

SetCertificateMapTargetSslProxyRequest message or plain object

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

Promise

setProxyHeader(request, callback)

public setProxyHeader(request: google.cloud.compute.v1.ISetProxyHeaderTargetSslProxyRequest, callback: google.cloud.compute.v1.TargetSslProxies.SetProxyHeaderCallback): void;

Calls SetProxyHeader.

Parameters
NameDescription
request ISetProxyHeaderTargetSslProxyRequest

SetProxyHeaderTargetSslProxyRequest message or plain object

callback SetProxyHeaderCallback

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

Returns
TypeDescription
void

setProxyHeader(request)

public setProxyHeader(request: google.cloud.compute.v1.ISetProxyHeaderTargetSslProxyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls SetProxyHeader.

Parameter
NameDescription
request ISetProxyHeaderTargetSslProxyRequest

SetProxyHeaderTargetSslProxyRequest message or plain object

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

Promise

setSslCertificates(request, callback)

public setSslCertificates(request: google.cloud.compute.v1.ISetSslCertificatesTargetSslProxyRequest, callback: google.cloud.compute.v1.TargetSslProxies.SetSslCertificatesCallback): void;

Calls SetSslCertificates.

Parameters
NameDescription
request ISetSslCertificatesTargetSslProxyRequest

SetSslCertificatesTargetSslProxyRequest message or plain object

callback SetSslCertificatesCallback

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

Returns
TypeDescription
void

setSslCertificates(request)

public setSslCertificates(request: google.cloud.compute.v1.ISetSslCertificatesTargetSslProxyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls SetSslCertificates.

Parameter
NameDescription
request ISetSslCertificatesTargetSslProxyRequest

SetSslCertificatesTargetSslProxyRequest message or plain object

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

Promise

setSslPolicy(request, callback)

public setSslPolicy(request: google.cloud.compute.v1.ISetSslPolicyTargetSslProxyRequest, callback: google.cloud.compute.v1.TargetSslProxies.SetSslPolicyCallback): void;

Calls SetSslPolicy.

Parameters
NameDescription
request ISetSslPolicyTargetSslProxyRequest

SetSslPolicyTargetSslProxyRequest message or plain object

callback SetSslPolicyCallback

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

Returns
TypeDescription
void

setSslPolicy(request)

public setSslPolicy(request: google.cloud.compute.v1.ISetSslPolicyTargetSslProxyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls SetSslPolicy.

Parameter
NameDescription
request ISetSslPolicyTargetSslProxyRequest

SetSslPolicyTargetSslProxyRequest message or plain object

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

Promise