Class ImageVersions.ImageVersionsClient (2.0.0)

public class ImageVersionsClient : ClientBase<ImageVersions.ImageVersionsClient>

Client for ImageVersions

Inheritance

Object > ClientBase > ClientBase<ImageVersions.ImageVersionsClient> > 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(ClientBase.ClientBaseConfiguration)

protected ImageVersionsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListImageVersionsResponse>

The call object.

ListImageVersionsAsync(ListImageVersionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListImageVersionsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
ImageVersions.ImageVersionsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Orchestration.Airflow.Service.V1.ImageVersions.ImageVersionsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)