public class ImageViews.ImageViewsClient : ClientBase<ImageViews.ImageViewsClient>Reference documentation and code samples for the Compute Engine v1 API class ImageViews.ImageViewsClient.
Client for ImageViews
Inheritance
object > ClientBase > ClientBaseImageViewsImageViewsClient > ImageViews.ImageViewsClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
ImageViewsClient()
protected ImageViewsClient()Protected parameterless constructor to allow creation of test doubles.
ImageViewsClient(CallInvoker)
public ImageViewsClient(CallInvoker callInvoker)Creates a new client for ImageViews that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
ImageViewsClient(ChannelBase)
public ImageViewsClient(ChannelBase channel)Creates a new client for ImageViews
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
ImageViewsClient(ClientBaseConfiguration)
protected ImageViewsClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
Get(GetImageViewRequest, CallOptions)
public virtual ImageView Get(GetImageViewRequest request, CallOptions options)Returns the specified global ImageView resource, with a regional context.
| Parameters | |
|---|---|
| Name | Description |
request |
GetImageViewRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ImageView |
The response received from the server. |
Get(GetImageViewRequest, Metadata, DateTime?, CancellationToken)
public virtual ImageView Get(GetImageViewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns the specified global ImageView resource, with a regional context.
| Parameters | |
|---|---|
| Name | Description |
request |
GetImageViewRequestThe 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 |
ImageView |
The response received from the server. |
GetAsync(GetImageViewRequest, CallOptions)
public virtual AsyncUnaryCall<ImageView> GetAsync(GetImageViewRequest request, CallOptions options)Returns the specified global ImageView resource, with a regional context.
| Parameters | |
|---|---|
| Name | Description |
request |
GetImageViewRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallImageView |
The call object. |
GetAsync(GetImageViewRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ImageView> GetAsync(GetImageViewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns the specified global ImageView resource, with a regional context.
| Parameters | |
|---|---|
| Name | Description |
request |
GetImageViewRequestThe 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 |
AsyncUnaryCallImageView |
The call object. |
List(ListImageViewsRequest, CallOptions)
public virtual ImageViewsListResponse List(ListImageViewsRequest request, CallOptions options)Returns a list of global ImageView resources, with a regional context.
| Parameters | |
|---|---|
| Name | Description |
request |
ListImageViewsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ImageViewsListResponse |
The response received from the server. |
List(ListImageViewsRequest, Metadata, DateTime?, CancellationToken)
public virtual ImageViewsListResponse List(ListImageViewsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns a list of global ImageView resources, with a regional context.
| Parameters | |
|---|---|
| Name | Description |
request |
ListImageViewsRequestThe 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 |
ImageViewsListResponse |
The response received from the server. |
ListAsync(ListImageViewsRequest, CallOptions)
public virtual AsyncUnaryCall<ImageViewsListResponse> ListAsync(ListImageViewsRequest request, CallOptions options)Returns a list of global ImageView resources, with a regional context.
| Parameters | |
|---|---|
| Name | Description |
request |
ListImageViewsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallImageViewsListResponse |
The call object. |
ListAsync(ListImageViewsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ImageViewsListResponse> ListAsync(ListImageViewsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns a list of global ImageView resources, with a regional context.
| Parameters | |
|---|---|
| Name | Description |
request |
ListImageViewsRequestThe 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 |
AsyncUnaryCallImageViewsListResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override ImageViews.ImageViewsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
ImageViewsImageViewsClient |
|