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

public class TargetGrpcProxiesClient : ClientBase<TargetGrpcProxies.TargetGrpcProxiesClient>

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

Client for TargetGrpcProxies

Inheritance

Object > ClientBase > ClientBase<TargetGrpcProxies.TargetGrpcProxiesClient> > 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(ClientBase.ClientBaseConfiguration)

protected TargetGrpcProxiesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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
Operations.OperationsClient

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

DeleteAsync(DeleteTargetGrpcProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<TargetGrpcProxy>

The call object.

GetAsync(GetTargetGrpcProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<TargetGrpcProxy>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

InsertAsync(InsertTargetGrpcProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<TargetGrpcProxyList>

The call object.

ListAsync(ListTargetGrpcProxiesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<TargetGrpcProxyList>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
TargetGrpcProxies.TargetGrpcProxiesClient
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
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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

PatchAsync(PatchTargetGrpcProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.