public sealed class ImageViewsClientImpl : ImageViewsClientReference documentation and code samples for the Compute Engine v1 API class ImageViewsClientImpl.
ImageViews client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The ImageViews API.
Constructors
ImageViewsClientImpl(ImageViewsClient, ImageViewsSettings, ILogger)
public ImageViewsClientImpl(ImageViews.ImageViewsClient grpcClient, ImageViewsSettings settings, ILogger logger)Constructs a client wrapper for the ImageViews service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
ImageViewsImageViewsClientThe underlying gRPC client. |
settings |
ImageViewsSettingsThe base ImageViewsSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override ImageViews.ImageViewsClient GrpcClient { get; }The underlying gRPC ImageViews client
| Property Value | |
|---|---|
| Type | Description |
ImageViewsImageViewsClient |
|
Methods
Get(GetImageViewRequest, CallSettings)
public override ImageView Get(GetImageViewRequest request, CallSettings callSettings = null)Returns the specified global ImageView resource, with a regional context.
| Parameters | |
|---|---|
| Name | Description |
request |
GetImageViewRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ImageView |
The RPC response. |
GetAsync(GetImageViewRequest, CallSettings)
public override Task<ImageView> GetAsync(GetImageViewRequest request, CallSettings callSettings = null)Returns the specified global ImageView resource, with a regional context.
| Parameters | |
|---|---|
| Name | Description |
request |
GetImageViewRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskImageView |
A Task containing the RPC response. |
List(ListImageViewsRequest, CallSettings)
public override PagedEnumerable<ImageViewsListResponse, ImageView> List(ListImageViewsRequest request, CallSettings callSettings = null)Returns a list of global ImageView resources, with a regional context.
| Parameters | |
|---|---|
| Name | Description |
request |
ListImageViewsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableImageViewsListResponseImageView |
A pageable sequence of ImageView resources. |
ListAsync(ListImageViewsRequest, CallSettings)
public override PagedAsyncEnumerable<ImageViewsListResponse, ImageView> ListAsync(ListImageViewsRequest request, CallSettings callSettings = null)Returns a list of global ImageView resources, with a regional context.
| Parameters | |
|---|---|
| Name | Description |
request |
ListImageViewsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableImageViewsListResponseImageView |
A pageable asynchronous sequence of ImageView resources. |