Represents an ImageVersions
Inheritance
$protobuf.rpc.Service > protos.google.cloud.orchestration.airflow.service.v1.ImageVersionsPackage
@google-cloud/orchestration-airflowConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ImageVersions service.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
google.cloud.orchestration.airflow.service.v1.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 | |
---|---|
Type | Description |
void |
listImageVersions(request)
public listImageVersions(request: google.cloud.orchestration.airflow.service.v1.IListImageVersionsRequest): Promise<google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse>;
Calls ListImageVersions.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.orchestration.airflow.service.v1.IListImageVersionsRequest
ListImageVersionsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse> | Promise |