Compute Engine v1 API - Class TargetGrpcProxies.TargetGrpcProxiesClient (3.0.0)

public class TargetGrpcProxies.TargetGrpcProxiesClient : ClientBase<TargetGrpcProxies.TargetGrpcProxiesClient>

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

Client for TargetGrpcProxies

Inheritance

object > ClientBase > ClientBaseTargetGrpcProxiesTargetGrpcProxiesClient > TargetGrpcProxies.TargetGrpcProxiesClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

TargetGrpcProxiesClient()

protected TargetGrpcProxiesClient()

Protected parameterless constructor to allow creation of test doubles.

TargetGrpcProxiesClient(CallInvoker)

public TargetGrpcProxiesClient(CallInvoker callInvoker)

Creates a new client for TargetGrpcProxies that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

TargetGrpcProxiesClient(ChannelBase)

public TargetGrpcProxiesClient(ChannelBase channel)

Creates a new client for TargetGrpcProxies

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

TargetGrpcProxiesClient(ClientBaseConfiguration)

protected TargetGrpcProxiesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateOperationsClientForGlobalOperations()

public virtual Operations.OperationsClient CreateOperationsClientForGlobalOperations()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to GlobalOperations.

Returns
Type Description
OperationsOperationsClient

A new Operations client for the same target as this client.

Delete(DeleteTargetGrpcProxyRequest, CallOptions)

public virtual Operation Delete(DeleteTargetGrpcProxyRequest request, CallOptions options)

Deletes the specified TargetGrpcProxy in the given scope

Parameters
Name Description
request DeleteTargetGrpcProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

Delete(DeleteTargetGrpcProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Delete(DeleteTargetGrpcProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified TargetGrpcProxy in the given scope

Parameters
Name Description
request DeleteTargetGrpcProxyRequest

The request to send to the server.

headers Metadata

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

deadline System.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
Operation

The response received from the server.

DeleteAsync(DeleteTargetGrpcProxyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteTargetGrpcProxyRequest request, CallOptions options)

Deletes the specified TargetGrpcProxy in the given scope

Parameters
Name Description
request DeleteTargetGrpcProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteAsync(DeleteTargetGrpcProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteTargetGrpcProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified TargetGrpcProxy in the given scope

Parameters
Name Description
request DeleteTargetGrpcProxyRequest

The request to send to the server.

headers Metadata

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

deadline System.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
AsyncUnaryCallOperation

The call object.

Get(GetTargetGrpcProxyRequest, CallOptions)

public virtual TargetGrpcProxy Get(GetTargetGrpcProxyRequest request, CallOptions options)

Returns the specified TargetGrpcProxy resource in the given scope.

Parameters
Name Description
request GetTargetGrpcProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
TargetGrpcProxy

The response received from the server.

Get(GetTargetGrpcProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual TargetGrpcProxy Get(GetTargetGrpcProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified TargetGrpcProxy resource in the given scope.

Parameters
Name Description
request GetTargetGrpcProxyRequest

The request to send to the server.

headers Metadata

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

deadline System.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
TargetGrpcProxy

The response received from the server.

GetAsync(GetTargetGrpcProxyRequest, CallOptions)

public virtual AsyncUnaryCall<TargetGrpcProxy> GetAsync(GetTargetGrpcProxyRequest request, CallOptions options)

Returns the specified TargetGrpcProxy resource in the given scope.

Parameters
Name Description
request GetTargetGrpcProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallTargetGrpcProxy

The call object.

GetAsync(GetTargetGrpcProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TargetGrpcProxy> GetAsync(GetTargetGrpcProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified TargetGrpcProxy resource in the given scope.

Parameters
Name Description
request GetTargetGrpcProxyRequest

The request to send to the server.

headers Metadata

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

deadline System.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
AsyncUnaryCallTargetGrpcProxy

The call object.

Insert(InsertTargetGrpcProxyRequest, CallOptions)

public virtual Operation Insert(InsertTargetGrpcProxyRequest request, CallOptions options)

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 to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

Insert(InsertTargetGrpcProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Insert(InsertTargetGrpcProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headers Metadata

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

deadline System.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
Operation

The response received from the server.

InsertAsync(InsertTargetGrpcProxyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertTargetGrpcProxyRequest request, CallOptions options)

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 to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

InsertAsync(InsertTargetGrpcProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertTargetGrpcProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headers Metadata

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

deadline System.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
AsyncUnaryCallOperation

The call object.

List(ListTargetGrpcProxiesRequest, CallOptions)

public virtual TargetGrpcProxyList List(ListTargetGrpcProxiesRequest request, CallOptions options)

Lists the TargetGrpcProxies for a project in the given scope.

Parameters
Name Description
request ListTargetGrpcProxiesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
TargetGrpcProxyList

The response received from the server.

List(ListTargetGrpcProxiesRequest, Metadata, DateTime?, CancellationToken)

public virtual TargetGrpcProxyList List(ListTargetGrpcProxiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the TargetGrpcProxies for a project in the given scope.

Parameters
Name Description
request ListTargetGrpcProxiesRequest

The request to send to the server.

headers Metadata

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

deadline System.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
TargetGrpcProxyList

The response received from the server.

ListAsync(ListTargetGrpcProxiesRequest, CallOptions)

public virtual AsyncUnaryCall<TargetGrpcProxyList> ListAsync(ListTargetGrpcProxiesRequest request, CallOptions options)

Lists the TargetGrpcProxies for a project in the given scope.

Parameters
Name Description
request ListTargetGrpcProxiesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallTargetGrpcProxyList

The call object.

ListAsync(ListTargetGrpcProxiesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TargetGrpcProxyList> ListAsync(ListTargetGrpcProxiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the TargetGrpcProxies for a project in the given scope.

Parameters
Name Description
request ListTargetGrpcProxiesRequest

The request to send to the server.

headers Metadata

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

deadline System.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
AsyncUnaryCallTargetGrpcProxyList

The call object.

NewInstance(ClientBaseConfiguration)

protected override TargetGrpcProxies.TargetGrpcProxiesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
TargetGrpcProxiesTargetGrpcProxiesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.TargetGrpcProxies.TargetGrpcProxiesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

Patch(PatchTargetGrpcProxyRequest, CallOptions)

public virtual Operation Patch(PatchTargetGrpcProxyRequest request, CallOptions options)

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 to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

Patch(PatchTargetGrpcProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Patch(PatchTargetGrpcProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headers Metadata

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

deadline System.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
Operation

The response received from the server.

PatchAsync(PatchTargetGrpcProxyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> PatchAsync(PatchTargetGrpcProxyRequest request, CallOptions options)

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 to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

PatchAsync(PatchTargetGrpcProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> PatchAsync(PatchTargetGrpcProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headers Metadata

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

deadline System.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
AsyncUnaryCallOperation

The call object.