public class ImageFamilyViewsClient : ClientBase<ImageFamilyViews.ImageFamilyViewsClient>
Reference documentation and code samples for the Compute Engine v1 API class ImageFamilyViews.ImageFamilyViewsClient.
Client for ImageFamilyViews
Inheritance
Object > ClientBase > ClientBase<ImageFamilyViews.ImageFamilyViewsClient> > ImageFamilyViews.ImageFamilyViewsClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
ImageFamilyViewsClient()
protected ImageFamilyViewsClient()
Protected parameterless constructor to allow creation of test doubles.
ImageFamilyViewsClient(CallInvoker)
public ImageFamilyViewsClient(CallInvoker callInvoker)
Creates a new client for ImageFamilyViews that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
ImageFamilyViewsClient(ChannelBase)
public ImageFamilyViewsClient(ChannelBase channel)
Creates a new client for ImageFamilyViews
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
ImageFamilyViewsClient(ClientBase.ClientBaseConfiguration)
protected ImageFamilyViewsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
Get(GetImageFamilyViewRequest, CallOptions)
public virtual ImageFamilyView Get(GetImageFamilyViewRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ImageFamilyView | The response received from the server. |
Get(GetImageFamilyViewRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ImageFamilyView Get(GetImageFamilyViewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ImageFamilyView | The response received from the server. |
GetAsync(GetImageFamilyViewRequest, CallOptions)
public virtual AsyncUnaryCall<ImageFamilyView> GetAsync(GetImageFamilyViewRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ImageFamilyView> | The call object. |
GetAsync(GetImageFamilyViewRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ImageFamilyView> GetAsync(GetImageFamilyViewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ImageFamilyView> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override ImageFamilyViews.ImageFamilyViewsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
ImageFamilyViews.ImageFamilyViewsClient |