Compute Engine v1 API - Class TargetGrpcProxies.TargetGrpcProxiesClient (2.13.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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

TargetGrpcProxiesClient(ChannelBase)

public TargetGrpcProxiesClient(ChannelBase channel)

Creates a new client for TargetGrpcProxies

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

TargetGrpcProxiesClient(ClientBaseConfiguration)

protected TargetGrpcProxiesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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
TypeDescription
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
NameDescription
requestDeleteTargetGrpcProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallTargetGrpcProxyList

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
TargetGrpcProxiesTargetGrpcProxiesClient
Overrides

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.