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.ImageVersionsClientNamespace
Google.Cloud.Orchestration.Airflow.Service.V1Assembly
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 |
CallInvokerThe callInvoker to use to make remote calls. |
ImageVersionsClient(ChannelBase)
public ImageVersionsClient(ChannelBase channel)Creates a new client for ImageVersions
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe 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 |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
ListImageVersions(ListImageVersionsRequest, CallOptions)
public virtual ListImageVersionsResponse ListImageVersions(ListImageVersionsRequest request, CallOptions options)List ImageVersions for provided location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListImageVersionsRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
ListImageVersionsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
ListImageVersionsRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
ListImageVersionsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
|