public class TargetGrpcProxiesClient : ClientBase<TargetGrpcProxies.TargetGrpcProxiesClient>
Client for TargetGrpcProxies
Inheritance
Object > ClientBase > ClientBase<TargetGrpcProxies.TargetGrpcProxiesClient> > TargetGrpcProxies.TargetGrpcProxiesClientNamespace
Google.Cloud.Compute.V1Assembly
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(ClientBase.ClientBaseConfiguration)
protected TargetGrpcProxiesClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.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 | |
---|---|
Type | Description |
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 | |
---|---|
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, Nullable<DateTime>, CancellationToken)
public virtual Operation Delete(DeleteTargetGrpcProxyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
DeleteAsync(DeleteTargetGrpcProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteTargetGrpcProxyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
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 | |
---|---|
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, Nullable<DateTime>, CancellationToken)
public virtual TargetGrpcProxy Get(GetTargetGrpcProxyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<TargetGrpcProxy> | The call object. |
GetAsync(GetTargetGrpcProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TargetGrpcProxy> GetAsync(GetTargetGrpcProxyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
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 | |
---|---|
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, Nullable<DateTime>, CancellationToken)
public virtual Operation Insert(InsertTargetGrpcProxyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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 | |
---|---|
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
InsertAsync(InsertTargetGrpcProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertTargetGrpcProxyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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, Nullable<DateTime>, CancellationToken)
public virtual TargetGrpcProxyList List(ListTargetGrpcProxiesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<TargetGrpcProxyList> | The call object. |
ListAsync(ListTargetGrpcProxiesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TargetGrpcProxyList> ListAsync(ListTargetGrpcProxiesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
TargetGrpcProxies.TargetGrpcProxiesClient |
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, Nullable<DateTime>, CancellationToken)
public virtual Operation Patch(PatchTargetGrpcProxyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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 | |
---|---|
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
PatchAsync(PatchTargetGrpcProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchTargetGrpcProxyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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 | |
---|---|
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |