Compute Engine v1 API - Class ImageFamilyViewsClientImpl (2.10.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
NameDescription
grpcClientImageFamilyViewsImageFamilyViewsClient

The underlying gRPC client.

settingsImageFamilyViewsSettings

The base ImageFamilyViewsSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override ImageFamilyViews.ImageFamilyViewsClient GrpcClient { get; }

The underlying gRPC ImageFamilyViews client

Property Value
TypeDescription
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
NameDescription
requestGetImageFamilyViewRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetImageFamilyViewRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskImageFamilyView

A Task containing the RPC response.

Overrides