Compute Engine v1 API - Class ImageFamilyViewsClientImpl (3.1.0)

public sealed class ImageFamilyViewsClientImpl : ImageFamilyViewsClient

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

ImageFamilyViews client wrapper implementation, for convenient use.

Inheritance

object > ImageFamilyViewsClient > ImageFamilyViewsClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The ImageFamilyViews API.

Constructors

ImageFamilyViewsClientImpl(ImageFamilyViewsClient, ImageFamilyViewsSettings, ILogger)

public ImageFamilyViewsClientImpl(ImageFamilyViews.ImageFamilyViewsClient grpcClient, ImageFamilyViewsSettings settings, ILogger logger)

Constructs a client wrapper for the ImageFamilyViews service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient ImageFamilyViewsImageFamilyViewsClient

The underlying gRPC client.

settings ImageFamilyViewsSettings

The base ImageFamilyViewsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override ImageFamilyViews.ImageFamilyViewsClient GrpcClient { get; }

The underlying gRPC ImageFamilyViews client

Property Value
Type Description
ImageFamilyViewsImageFamilyViewsClient
Overrides

Methods

Get(GetImageFamilyViewRequest, CallSettings)

public override ImageFamilyView Get(GetImageFamilyViewRequest request, CallSettings callSettings = null)

Returns the latest image that is part of an image family, is not deprecated and is rolled out in the specified zone.

Parameters
Name Description
request GetImageFamilyViewRequest

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
ImageFamilyView

The RPC response.

Overrides

GetAsync(GetImageFamilyViewRequest, CallSettings)

public override Task<ImageFamilyView> GetAsync(GetImageFamilyViewRequest request, CallSettings callSettings = null)

Returns the latest image that is part of an image family, is not deprecated and is rolled out in the specified zone.

Parameters
Name Description
request GetImageFamilyViewRequest

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
TaskImageFamilyView

A Task containing the RPC response.

Overrides