Cloud Composer v1 API - Class ImageVersions.ImageVersionsClient (2.7.0)

public class ImageVersions.ImageVersionsClient : ClientBase<ImageVersions.ImageVersionsClient>

Reference documentation and code samples for the Cloud Composer v1 API class ImageVersions.ImageVersionsClient.

Client for ImageVersions

Inheritance

object > ClientBase > ClientBaseImageVersionsImageVersionsClient > ImageVersions.ImageVersionsClient

Namespace

Google.Cloud.Orchestration.Airflow.Service.V1

Assembly

Google.Cloud.Orchestration.Airflow.Service.V1.dll

Constructors

ImageVersionsClient()

protected ImageVersionsClient()

Protected parameterless constructor to allow creation of test doubles.

ImageVersionsClient(CallInvoker)

public ImageVersionsClient(CallInvoker callInvoker)

Creates a new client for ImageVersions that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

ImageVersionsClient(ChannelBase)

public ImageVersionsClient(ChannelBase channel)

Creates a new client for ImageVersions

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

ImageVersionsClient(ClientBaseConfiguration)

protected ImageVersionsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

ListImageVersions(ListImageVersionsRequest, CallOptions)

public virtual ListImageVersionsResponse ListImageVersions(ListImageVersionsRequest request, CallOptions options)

List ImageVersions for provided location.

Parameters
Name Description
request ListImageVersionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListImageVersionsResponse

The response received from the server.

ListImageVersions(ListImageVersionsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListImageVersionsResponse ListImageVersions(ListImageVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List ImageVersions for provided location.

Parameters
Name Description
request ListImageVersionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListImageVersionsResponse

The response received from the server.

ListImageVersionsAsync(ListImageVersionsRequest, CallOptions)

public virtual AsyncUnaryCall<ListImageVersionsResponse> ListImageVersionsAsync(ListImageVersionsRequest request, CallOptions options)

List ImageVersions for provided location.

Parameters
Name Description
request ListImageVersionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListImageVersionsResponse

The call object.

ListImageVersionsAsync(ListImageVersionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListImageVersionsResponse> ListImageVersionsAsync(ListImageVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List ImageVersions for provided location.

Parameters
Name Description
request ListImageVersionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListImageVersionsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override ImageVersions.ImageVersionsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
ImageVersionsImageVersionsClient
Overrides