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

Represents a SslCertificates

Inheritance

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

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new SslCertificates service.

Parameters
NameDescription
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.IAggregatedListSslCertificatesRequest, callback: google.cloud.compute.v1.SslCertificates.AggregatedListCallback): void;

Calls AggregatedList.

Parameters
NameDescription
request IAggregatedListSslCertificatesRequest

AggregatedListSslCertificatesRequest message or plain object

callback google.cloud.compute.v1.SslCertificates.AggregatedListCallback

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

Returns
TypeDescription
void

aggregatedList(request)

public aggregatedList(request: google.cloud.compute.v1.IAggregatedListSslCertificatesRequest): Promise<google.cloud.compute.v1.SslCertificateAggregatedList>;

Calls AggregatedList.

Parameter
NameDescription
request IAggregatedListSslCertificatesRequest

AggregatedListSslCertificatesRequest message or plain object

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

Promise

create(rpcImpl, requestDelimited, responseDelimited)

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

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

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

delete(request, callback)

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

Calls Delete.

Parameters
NameDescription
request IDeleteSslCertificateRequest

DeleteSslCertificateRequest message or plain object

callback google.cloud.compute.v1.SslCertificates.DeleteCallback

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

Returns
TypeDescription
void

delete(request)

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

Calls Delete.

Parameter
NameDescription
request IDeleteSslCertificateRequest

DeleteSslCertificateRequest message or plain object

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

Promise

get(request, callback)

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

Calls Get.

Parameters
NameDescription
request IGetSslCertificateRequest

GetSslCertificateRequest message or plain object

callback google.cloud.compute.v1.SslCertificates.GetCallback

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

Returns
TypeDescription
void

get(request)

public get(request: google.cloud.compute.v1.IGetSslCertificateRequest): Promise<google.cloud.compute.v1.SslCertificate>;

Calls Get.

Parameter
NameDescription
request IGetSslCertificateRequest

GetSslCertificateRequest message or plain object

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

Promise

insert(request, callback)

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

Calls Insert.

Parameters
NameDescription
request IInsertSslCertificateRequest

InsertSslCertificateRequest message or plain object

callback google.cloud.compute.v1.SslCertificates.InsertCallback

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

Returns
TypeDescription
void

insert(request)

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

Calls Insert.

Parameter
NameDescription
request IInsertSslCertificateRequest

InsertSslCertificateRequest message or plain object

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

Promise

list(request, callback)

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

Calls List.

Parameters
NameDescription
request IListSslCertificatesRequest

ListSslCertificatesRequest message or plain object

callback google.cloud.compute.v1.SslCertificates.ListCallback

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

Returns
TypeDescription
void

list(request)

public list(request: google.cloud.compute.v1.IListSslCertificatesRequest): Promise<google.cloud.compute.v1.SslCertificateList>;

Calls List.

Parameter
NameDescription
request IListSslCertificatesRequest

ListSslCertificatesRequest message or plain object

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

Promise