Class ImageFamilyViews.ImageFamilyViewsClient (1.3.0)

public class ImageFamilyViewsClient : ClientBase<ImageFamilyViews.ImageFamilyViewsClient>

Client for ImageFamilyViews

Inheritance

Object > ClientBase > ClientBase<ImageFamilyViews.ImageFamilyViewsClient> > ImageFamilyViews.ImageFamilyViewsClient

Namespace

Google.Cloud.Compute.V1

Assembly

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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ImageFamilyViewsClient(ChannelBase)

public ImageFamilyViewsClient(ChannelBase channel)

Creates a new client for ImageFamilyViews

Parameter
NameDescription
channelChannelBase

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
NameDescription
configurationClientBase.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
NameDescription
requestGetImageFamilyViewRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ImageFamilyView

The response received from the server.

Get(GetImageFamilyViewRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ImageFamilyView Get(GetImageFamilyViewRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
NameDescription
requestGetImageFamilyViewRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ImageFamilyView>

The call object.

GetAsync(GetImageFamilyViewRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ImageFamilyView> GetAsync(GetImageFamilyViewRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
NameDescription
requestGetImageFamilyViewRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
ImageFamilyViews.ImageFamilyViewsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.ImageFamilyViews.ImageFamilyViewsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)