Compute Engine v1 API - Class TargetGrpcProxiesClientImpl (2.15.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
Name Description
grpcClient TargetGrpcProxiesTargetGrpcProxiesClient

The underlying gRPC client.

settings TargetGrpcProxiesSettings

The base TargetGrpcProxiesSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override TargetGrpcProxies.TargetGrpcProxiesClient GrpcClient { get; }

The underlying gRPC TargetGrpcProxies client

Property Value
Type Description
TargetGrpcProxiesTargetGrpcProxiesClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
Type Description
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
Name Description
request DeleteTargetGrpcProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request DeleteTargetGrpcProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request GetTargetGrpcProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request GetTargetGrpcProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request InsertTargetGrpcProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request InsertTargetGrpcProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request ListTargetGrpcProxiesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request ListTargetGrpcProxiesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request PatchTargetGrpcProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request PatchTargetGrpcProxyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides