Compute Engine v1 API - Class ImageViewsClientImpl (4.0.0)

public sealed class ImageViewsClientImpl : ImageViewsClient

Reference documentation and code samples for the Compute Engine v1 API class ImageViewsClientImpl.

ImageViews client wrapper implementation, for convenient use.

Inheritance

object > ImageViewsClient > ImageViewsClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

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 ImageViewsImageViewsClient

The underlying gRPC client.

settings ImageViewsSettings

The base ImageViewsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override ImageViews.ImageViewsClient GrpcClient { get; }

The underlying gRPC ImageViews client

Property Value
Type Description
ImageViewsImageViewsClient
Overrides

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 GetImageViewRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ImageView

The RPC response.

Overrides

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 GetImageViewRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskImageView

A Task containing the RPC response.

Overrides

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 ListImageViewsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableImageViewsListResponseImageView

A pageable sequence of ImageView resources.

Overrides

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 ListImageViewsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableImageViewsListResponseImageView

A pageable asynchronous sequence of ImageView resources.

Overrides