public class RegionHealthCheckServicesClient : ClientBase<RegionHealthCheckServices.RegionHealthCheckServicesClient>
Client for RegionHealthCheckServices
Inheritance
Object > ClientBase > ClientBase<RegionHealthCheckServices.RegionHealthCheckServicesClient> > RegionHealthCheckServices.RegionHealthCheckServicesClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
RegionHealthCheckServicesClient()
protected RegionHealthCheckServicesClient()
Protected parameterless constructor to allow creation of test doubles.
RegionHealthCheckServicesClient(CallInvoker)
public RegionHealthCheckServicesClient(CallInvoker callInvoker)
Creates a new client for RegionHealthCheckServices that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
RegionHealthCheckServicesClient(ChannelBase)
public RegionHealthCheckServicesClient(ChannelBase channel)
Creates a new client for RegionHealthCheckServices
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
RegionHealthCheckServicesClient(ClientBase.ClientBaseConfiguration)
protected RegionHealthCheckServicesClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CreateOperationsClientForRegionOperations()
public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.
Returns | |
---|---|
Type | Description |
Operations.OperationsClient | A new Operations client for the same target as this client. |
Delete(DeleteRegionHealthCheckServiceRequest, CallOptions)
public virtual Operation Delete(DeleteRegionHealthCheckServiceRequest request, CallOptions options)
Deletes the specified regional HealthCheckService.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionHealthCheckServiceRequest 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(DeleteRegionHealthCheckServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Delete(DeleteRegionHealthCheckServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified regional HealthCheckService.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionHealthCheckServiceRequest 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(DeleteRegionHealthCheckServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionHealthCheckServiceRequest request, CallOptions options)
Deletes the specified regional HealthCheckService.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionHealthCheckServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeleteAsync(DeleteRegionHealthCheckServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionHealthCheckServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified regional HealthCheckService.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionHealthCheckServiceRequest 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(GetRegionHealthCheckServiceRequest, CallOptions)
public virtual HealthCheckService Get(GetRegionHealthCheckServiceRequest request, CallOptions options)
Returns the specified regional HealthCheckService resource.
Parameters | |
---|---|
Name | Description |
request | GetRegionHealthCheckServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
HealthCheckService | The response received from the server. |
Get(GetRegionHealthCheckServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual HealthCheckService Get(GetRegionHealthCheckServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns the specified regional HealthCheckService resource.
Parameters | |
---|---|
Name | Description |
request | GetRegionHealthCheckServiceRequest 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 |
HealthCheckService | The response received from the server. |
GetAsync(GetRegionHealthCheckServiceRequest, CallOptions)
public virtual AsyncUnaryCall<HealthCheckService> GetAsync(GetRegionHealthCheckServiceRequest request, CallOptions options)
Returns the specified regional HealthCheckService resource.
Parameters | |
---|---|
Name | Description |
request | GetRegionHealthCheckServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<HealthCheckService> | The call object. |
GetAsync(GetRegionHealthCheckServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<HealthCheckService> GetAsync(GetRegionHealthCheckServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns the specified regional HealthCheckService resource.
Parameters | |
---|---|
Name | Description |
request | GetRegionHealthCheckServiceRequest 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<HealthCheckService> | The call object. |
Insert(InsertRegionHealthCheckServiceRequest, CallOptions)
public virtual Operation Insert(InsertRegionHealthCheckServiceRequest request, CallOptions options)
Creates a regional HealthCheckService resource in the specified project and region using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertRegionHealthCheckServiceRequest 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(InsertRegionHealthCheckServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Insert(InsertRegionHealthCheckServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a regional HealthCheckService resource in the specified project and region using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertRegionHealthCheckServiceRequest 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(InsertRegionHealthCheckServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionHealthCheckServiceRequest request, CallOptions options)
Creates a regional HealthCheckService resource in the specified project and region using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertRegionHealthCheckServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
InsertAsync(InsertRegionHealthCheckServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionHealthCheckServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a regional HealthCheckService resource in the specified project and region using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertRegionHealthCheckServiceRequest 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(ListRegionHealthCheckServicesRequest, CallOptions)
public virtual HealthCheckServicesList List(ListRegionHealthCheckServicesRequest request, CallOptions options)
Lists all the HealthCheckService resources that have been configured for the specified project in the given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionHealthCheckServicesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
HealthCheckServicesList | The response received from the server. |
List(ListRegionHealthCheckServicesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual HealthCheckServicesList List(ListRegionHealthCheckServicesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists all the HealthCheckService resources that have been configured for the specified project in the given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionHealthCheckServicesRequest 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 |
HealthCheckServicesList | The response received from the server. |
ListAsync(ListRegionHealthCheckServicesRequest, CallOptions)
public virtual AsyncUnaryCall<HealthCheckServicesList> ListAsync(ListRegionHealthCheckServicesRequest request, CallOptions options)
Lists all the HealthCheckService resources that have been configured for the specified project in the given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionHealthCheckServicesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<HealthCheckServicesList> | The call object. |
ListAsync(ListRegionHealthCheckServicesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<HealthCheckServicesList> ListAsync(ListRegionHealthCheckServicesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists all the HealthCheckService resources that have been configured for the specified project in the given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionHealthCheckServicesRequest 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<HealthCheckServicesList> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override RegionHealthCheckServices.RegionHealthCheckServicesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
RegionHealthCheckServices.RegionHealthCheckServicesClient |
Patch(PatchRegionHealthCheckServiceRequest, CallOptions)
public virtual Operation Patch(PatchRegionHealthCheckServiceRequest request, CallOptions options)
Updates the specified regional HealthCheckService resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchRegionHealthCheckServiceRequest 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(PatchRegionHealthCheckServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Patch(PatchRegionHealthCheckServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates the specified regional HealthCheckService resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchRegionHealthCheckServiceRequest 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(PatchRegionHealthCheckServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchRegionHealthCheckServiceRequest request, CallOptions options)
Updates the specified regional HealthCheckService resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchRegionHealthCheckServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
PatchAsync(PatchRegionHealthCheckServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchRegionHealthCheckServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates the specified regional HealthCheckService resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchRegionHealthCheckServiceRequest 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. |