Class TargetInstancesClientImpl (1.0.0)

public sealed class TargetInstancesClientImpl : TargetInstancesClient

TargetInstances client wrapper implementation, for convenient use.

Inheritance

Object > TargetInstancesClient > TargetInstancesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The TargetInstances API.

Constructors

TargetInstancesClientImpl(TargetInstances.TargetInstancesClient, TargetInstancesSettings)

public TargetInstancesClientImpl(TargetInstances.TargetInstancesClient grpcClient, TargetInstancesSettings settings)

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

Parameters
NameDescription
grpcClientTargetInstances.TargetInstancesClient

The underlying gRPC client.

settingsTargetInstancesSettings

The base TargetInstancesSettings used within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override TargetInstances.TargetInstancesClient GrpcClient { get; }

The underlying gRPC TargetInstances client

Property Value
TypeDescription
TargetInstances.TargetInstancesClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

AggregatedList(AggregatedListTargetInstancesRequest, CallSettings)

public override PagedEnumerable<TargetInstanceAggregatedList, KeyValuePair<string, TargetInstancesScopedList>> AggregatedList(AggregatedListTargetInstancesRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of target instances.

Parameters
NameDescription
requestAggregatedListTargetInstancesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<TargetInstanceAggregatedList, KeyValuePair<String, TargetInstancesScopedList>>

A pageable sequence of KeyValuePair<TKey,TValue> resources.

Overrides

AggregatedListAsync(AggregatedListTargetInstancesRequest, CallSettings)

public override PagedAsyncEnumerable<TargetInstanceAggregatedList, KeyValuePair<string, TargetInstancesScopedList>> AggregatedListAsync(AggregatedListTargetInstancesRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of target instances.

Parameters
NameDescription
requestAggregatedListTargetInstancesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<TargetInstanceAggregatedList, KeyValuePair<String, TargetInstancesScopedList>>

A pageable asynchronous sequence of KeyValuePair<TKey,TValue> resources.

Overrides

Delete(DeleteTargetInstanceRequest, CallSettings)

public override Operation<Operation, Operation> Delete(DeleteTargetInstanceRequest request, CallSettings callSettings = null)

Deletes the specified TargetInstance resource.

Parameters
NameDescription
requestDeleteTargetInstanceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

DeleteAsync(DeleteTargetInstanceRequest, CallSettings)

public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteTargetInstanceRequest request, CallSettings callSettings = null)

Deletes the specified TargetInstance resource.

Parameters
NameDescription
requestDeleteTargetInstanceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

Get(GetTargetInstanceRequest, CallSettings)

public override TargetInstance Get(GetTargetInstanceRequest request, CallSettings callSettings = null)

Returns the specified TargetInstance resource. Gets a list of available target instances by making a list() request.

Parameters
NameDescription
requestGetTargetInstanceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TargetInstance

The RPC response.

Overrides

GetAsync(GetTargetInstanceRequest, CallSettings)

public override Task<TargetInstance> GetAsync(GetTargetInstanceRequest request, CallSettings callSettings = null)

Returns the specified TargetInstance resource. Gets a list of available target instances by making a list() request.

Parameters
NameDescription
requestGetTargetInstanceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<TargetInstance>

A Task containing the RPC response.

Overrides

Insert(InsertTargetInstanceRequest, CallSettings)

public override Operation<Operation, Operation> Insert(InsertTargetInstanceRequest request, CallSettings callSettings = null)

Creates a TargetInstance resource in the specified project and zone using the data included in the request.

Parameters
NameDescription
requestInsertTargetInstanceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

InsertAsync(InsertTargetInstanceRequest, CallSettings)

public override Task<Operation<Operation, Operation>> InsertAsync(InsertTargetInstanceRequest request, CallSettings callSettings = null)

Creates a TargetInstance resource in the specified project and zone using the data included in the request.

Parameters
NameDescription
requestInsertTargetInstanceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

List(ListTargetInstancesRequest, CallSettings)

public override PagedEnumerable<TargetInstanceList, TargetInstance> List(ListTargetInstancesRequest request, CallSettings callSettings = null)

Retrieves a list of TargetInstance resources available to the specified project and zone.

Parameters
NameDescription
requestListTargetInstancesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<TargetInstanceList, TargetInstance>

A pageable sequence of TargetInstance resources.

Overrides

ListAsync(ListTargetInstancesRequest, CallSettings)

public override PagedAsyncEnumerable<TargetInstanceList, TargetInstance> ListAsync(ListTargetInstancesRequest request, CallSettings callSettings = null)

Retrieves a list of TargetInstance resources available to the specified project and zone.

Parameters
NameDescription
requestListTargetInstancesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<TargetInstanceList, TargetInstance>

A pageable asynchronous sequence of TargetInstance resources.

Overrides