Class protos.google.cloud.orchestration.airflow.service.v1.ImageVersions (1.0.0)

Represents an ImageVersions

Inheritance

$protobuf.rpc.Service > protos.google.cloud.orchestration.airflow.service.v1.ImageVersions

Package

@google-cloud/orchestration-airflow

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

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

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

listImageVersions(request, callback)

public listImageVersions(request: google.cloud.orchestration.airflow.service.v1.IListImageVersionsRequest, callback: google.cloud.orchestration.airflow.service.v1.ImageVersions.ListImageVersionsCallback): void;

Calls ListImageVersions.

Parameters
NameDescription
request IListImageVersionsRequest

ListImageVersionsRequest message or plain object

callback google.cloud.orchestration.airflow.service.v1.ImageVersions.ListImageVersionsCallback

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

Returns
TypeDescription
void

listImageVersions(request)

public listImageVersions(request: google.cloud.orchestration.airflow.service.v1.IListImageVersionsRequest): Promise<google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse>;

Calls ListImageVersions.

Parameter
NameDescription
request IListImageVersionsRequest

ListImageVersionsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse>

Promise