public class ImageVersionsClient : ClientBase<ImageVersions.ImageVersionsClient>
Reference documentation and code samples for the Cloud Composer v1 API class ImageVersions.ImageVersionsClient.
Client for ImageVersions
Inheritance
Object > ClientBase > ClientBase<ImageVersions.ImageVersionsClient> > 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 | 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(ClientBase.ClientBaseConfiguration)
protected ImageVersionsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration 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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
ImageVersions.ImageVersionsClient |