Cloud Composer v1 API - Class ImageVersions.ImageVersionsClient (2.4.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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ImageVersionsClient(ChannelBase)

public ImageVersionsClient(ChannelBase channel)

Creates a new client for ImageVersions

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

ImageVersionsClient(ClientBaseConfiguration)

protected ImageVersionsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

ListImageVersions(ListImageVersionsRequest, CallOptions)

public virtual ListImageVersionsResponse ListImageVersions(ListImageVersionsRequest request, CallOptions options)

List ImageVersions for provided location.

Parameters
NameDescription
requestListImageVersionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListImageVersionsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListImageVersionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListImageVersionsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListImageVersionsResponse

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
ImageVersionsImageVersionsClient
Overrides