Compute Engine v1 API - Class TargetGrpcProxiesClientImpl (2.11.0)

public sealed class TargetGrpcProxiesClientImpl : TargetGrpcProxiesClient

Reference documentation and code samples for the Compute Engine v1 API class TargetGrpcProxiesClientImpl.

TargetGrpcProxies client wrapper implementation, for convenient use.

Inheritance

object > TargetGrpcProxiesClient > TargetGrpcProxiesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The TargetGrpcProxies API.

Constructors

TargetGrpcProxiesClientImpl(TargetGrpcProxiesClient, TargetGrpcProxiesSettings, ILogger)

public TargetGrpcProxiesClientImpl(TargetGrpcProxies.TargetGrpcProxiesClient grpcClient, TargetGrpcProxiesSettings settings, ILogger logger)

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

Parameters
NameDescription
grpcClientTargetGrpcProxiesTargetGrpcProxiesClient

The underlying gRPC client.

settingsTargetGrpcProxiesSettings

The base TargetGrpcProxiesSettings used within this client.

loggerILogger

Optional ILogger to use 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 TargetGrpcProxies.TargetGrpcProxiesClient GrpcClient { get; }

The underlying gRPC TargetGrpcProxies client

Property Value
TypeDescription
TargetGrpcProxiesTargetGrpcProxiesClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

Delete(DeleteTargetGrpcProxyRequest, CallSettings)

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

Deletes the specified TargetGrpcProxy in the given scope

Parameters
NameDescription
requestDeleteTargetGrpcProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Overrides

DeleteAsync(DeleteTargetGrpcProxyRequest, CallSettings)

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

Deletes the specified TargetGrpcProxy in the given scope

Parameters
NameDescription
requestDeleteTargetGrpcProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Get(GetTargetGrpcProxyRequest, CallSettings)

public override TargetGrpcProxy Get(GetTargetGrpcProxyRequest request, CallSettings callSettings = null)

Returns the specified TargetGrpcProxy resource in the given scope.

Parameters
NameDescription
requestGetTargetGrpcProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TargetGrpcProxy

The RPC response.

Overrides

GetAsync(GetTargetGrpcProxyRequest, CallSettings)

public override Task<TargetGrpcProxy> GetAsync(GetTargetGrpcProxyRequest request, CallSettings callSettings = null)

Returns the specified TargetGrpcProxy resource in the given scope.

Parameters
NameDescription
requestGetTargetGrpcProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskTargetGrpcProxy

A Task containing the RPC response.

Overrides

Insert(InsertTargetGrpcProxyRequest, CallSettings)

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

Creates a TargetGrpcProxy in the specified project in the given scope using the parameters that are included in the request.

Parameters
NameDescription
requestInsertTargetGrpcProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Overrides

InsertAsync(InsertTargetGrpcProxyRequest, CallSettings)

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

Creates a TargetGrpcProxy in the specified project in the given scope using the parameters that are included in the request.

Parameters
NameDescription
requestInsertTargetGrpcProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

List(ListTargetGrpcProxiesRequest, CallSettings)

public override PagedEnumerable<TargetGrpcProxyList, TargetGrpcProxy> List(ListTargetGrpcProxiesRequest request, CallSettings callSettings = null)

Lists the TargetGrpcProxies for a project in the given scope.

Parameters
NameDescription
requestListTargetGrpcProxiesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableTargetGrpcProxyListTargetGrpcProxy

A pageable sequence of TargetGrpcProxy resources.

Overrides

ListAsync(ListTargetGrpcProxiesRequest, CallSettings)

public override PagedAsyncEnumerable<TargetGrpcProxyList, TargetGrpcProxy> ListAsync(ListTargetGrpcProxiesRequest request, CallSettings callSettings = null)

Lists the TargetGrpcProxies for a project in the given scope.

Parameters
NameDescription
requestListTargetGrpcProxiesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableTargetGrpcProxyListTargetGrpcProxy

A pageable asynchronous sequence of TargetGrpcProxy resources.

Overrides

Patch(PatchTargetGrpcProxyRequest, CallSettings)

public override Operation<Operation, Operation> Patch(PatchTargetGrpcProxyRequest request, CallSettings callSettings = null)

Patches the specified TargetGrpcProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchTargetGrpcProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Overrides

PatchAsync(PatchTargetGrpcProxyRequest, CallSettings)

public override Task<Operation<Operation, Operation>> PatchAsync(PatchTargetGrpcProxyRequest request, CallSettings callSettings = null)

Patches the specified TargetGrpcProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchTargetGrpcProxyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides