public sealed class ImageFamilyViewsClientImpl : ImageFamilyViewsClientReference documentation and code samples for the Compute Engine v1 API class ImageFamilyViewsClientImpl.
ImageFamilyViews client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
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 |
ImageFamilyViewsImageFamilyViewsClientThe underlying gRPC client. |
settings |
ImageFamilyViewsSettingsThe base ImageFamilyViewsSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override ImageFamilyViews.ImageFamilyViewsClient GrpcClient { get; }The underlying gRPC ImageFamilyViews client
| Property Value | |
|---|---|
| Type | Description |
ImageFamilyViewsImageFamilyViewsClient |
|
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 |
GetImageFamilyViewRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ImageFamilyView |
The RPC response. |
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 |
GetImageFamilyViewRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskImageFamilyView |
A Task containing the RPC response. |