- 3.22.0 (latest)
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
public class ReservationSubBlocks.ReservationSubBlocksClient : ClientBase<ReservationSubBlocks.ReservationSubBlocksClient>Reference documentation and code samples for the Compute Engine v1 API class ReservationSubBlocks.ReservationSubBlocksClient.
Client for ReservationSubBlocks
Inheritance
object > ClientBase > ClientBaseReservationSubBlocksReservationSubBlocksClient > ReservationSubBlocks.ReservationSubBlocksClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
ReservationSubBlocksClient()
protected ReservationSubBlocksClient()Protected parameterless constructor to allow creation of test doubles.
ReservationSubBlocksClient(CallInvoker)
public ReservationSubBlocksClient(CallInvoker callInvoker)Creates a new client for ReservationSubBlocks that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
ReservationSubBlocksClient(ChannelBase)
public ReservationSubBlocksClient(ChannelBase channel)Creates a new client for ReservationSubBlocks
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
ReservationSubBlocksClient(ClientBaseConfiguration)
protected ReservationSubBlocksClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
CreateOperationsClientForZoneOperations()
public virtual Operations.OperationsClient CreateOperationsClientForZoneOperations()Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to ZoneOperations.
| Returns | |
|---|---|
| Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
Get(GetReservationSubBlockRequest, CallOptions)
public virtual ReservationSubBlocksGetResponse Get(GetReservationSubBlockRequest request, CallOptions options)Retrieves information about the specified reservation subBlock.
| Parameters | |
|---|---|
| Name | Description |
request |
GetReservationSubBlockRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ReservationSubBlocksGetResponse |
The response received from the server. |
Get(GetReservationSubBlockRequest, Metadata, DateTime?, CancellationToken)
public virtual ReservationSubBlocksGetResponse Get(GetReservationSubBlockRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves information about the specified reservation subBlock.
| Parameters | |
|---|---|
| Name | Description |
request |
GetReservationSubBlockRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ReservationSubBlocksGetResponse |
The response received from the server. |
GetAsync(GetReservationSubBlockRequest, CallOptions)
public virtual AsyncUnaryCall<ReservationSubBlocksGetResponse> GetAsync(GetReservationSubBlockRequest request, CallOptions options)Retrieves information about the specified reservation subBlock.
| Parameters | |
|---|---|
| Name | Description |
request |
GetReservationSubBlockRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallReservationSubBlocksGetResponse |
The call object. |
GetAsync(GetReservationSubBlockRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ReservationSubBlocksGetResponse> GetAsync(GetReservationSubBlockRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves information about the specified reservation subBlock.
| Parameters | |
|---|---|
| Name | Description |
request |
GetReservationSubBlockRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallReservationSubBlocksGetResponse |
The call object. |
GetIamPolicy(GetIamPolicyReservationSubBlockRequest, CallOptions)
public virtual Policy GetIamPolicy(GetIamPolicyReservationSubBlockRequest request, CallOptions options)Gets the access control policy for a resource. May be empty if no such policy or resource exists.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyReservationSubBlockRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The response received from the server. |
GetIamPolicy(GetIamPolicyReservationSubBlockRequest, Metadata, DateTime?, CancellationToken)
public virtual Policy GetIamPolicy(GetIamPolicyReservationSubBlockRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets the access control policy for a resource. May be empty if no such policy or resource exists.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyReservationSubBlockRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The response received from the server. |
GetIamPolicyAsync(GetIamPolicyReservationSubBlockRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyReservationSubBlockRequest request, CallOptions options)Gets the access control policy for a resource. May be empty if no such policy or resource exists.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyReservationSubBlockRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallPolicy |
The call object. |
GetIamPolicyAsync(GetIamPolicyReservationSubBlockRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyReservationSubBlockRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets the access control policy for a resource. May be empty if no such policy or resource exists.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyReservationSubBlockRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallPolicy |
The call object. |
List(ListReservationSubBlocksRequest, CallOptions)
public virtual ReservationSubBlocksListResponse List(ListReservationSubBlocksRequest request, CallOptions options)Retrieves a list of reservation subBlocks under a single reservation.
| Parameters | |
|---|---|
| Name | Description |
request |
ListReservationSubBlocksRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ReservationSubBlocksListResponse |
The response received from the server. |
List(ListReservationSubBlocksRequest, Metadata, DateTime?, CancellationToken)
public virtual ReservationSubBlocksListResponse List(ListReservationSubBlocksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves a list of reservation subBlocks under a single reservation.
| Parameters | |
|---|---|
| Name | Description |
request |
ListReservationSubBlocksRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ReservationSubBlocksListResponse |
The response received from the server. |
ListAsync(ListReservationSubBlocksRequest, CallOptions)
public virtual AsyncUnaryCall<ReservationSubBlocksListResponse> ListAsync(ListReservationSubBlocksRequest request, CallOptions options)Retrieves a list of reservation subBlocks under a single reservation.
| Parameters | |
|---|---|
| Name | Description |
request |
ListReservationSubBlocksRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallReservationSubBlocksListResponse |
The call object. |
ListAsync(ListReservationSubBlocksRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ReservationSubBlocksListResponse> ListAsync(ListReservationSubBlocksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves a list of reservation subBlocks under a single reservation.
| Parameters | |
|---|---|
| Name | Description |
request |
ListReservationSubBlocksRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallReservationSubBlocksListResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override ReservationSubBlocks.ReservationSubBlocksClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
ReservationSubBlocksReservationSubBlocksClient |
|
PerformMaintenance(PerformMaintenanceReservationSubBlockRequest, CallOptions)
public virtual Operation PerformMaintenance(PerformMaintenanceReservationSubBlockRequest request, CallOptions options)Allows customers to perform maintenance on a reservation subBlock
| Parameters | |
|---|---|
| Name | Description |
request |
PerformMaintenanceReservationSubBlockRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
PerformMaintenance(PerformMaintenanceReservationSubBlockRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation PerformMaintenance(PerformMaintenanceReservationSubBlockRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Allows customers to perform maintenance on a reservation subBlock
| Parameters | |
|---|---|
| Name | Description |
request |
PerformMaintenanceReservationSubBlockRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
PerformMaintenanceAsync(PerformMaintenanceReservationSubBlockRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PerformMaintenanceAsync(PerformMaintenanceReservationSubBlockRequest request, CallOptions options)Allows customers to perform maintenance on a reservation subBlock
| Parameters | |
|---|---|
| Name | Description |
request |
PerformMaintenanceReservationSubBlockRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
PerformMaintenanceAsync(PerformMaintenanceReservationSubBlockRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> PerformMaintenanceAsync(PerformMaintenanceReservationSubBlockRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Allows customers to perform maintenance on a reservation subBlock
| Parameters | |
|---|---|
| Name | Description |
request |
PerformMaintenanceReservationSubBlockRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
ReportFaulty(ReportFaultyReservationSubBlockRequest, CallOptions)
public virtual Operation ReportFaulty(ReportFaultyReservationSubBlockRequest request, CallOptions options)Allows customers to report a faulty subBlock.
| Parameters | |
|---|---|
| Name | Description |
request |
ReportFaultyReservationSubBlockRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
ReportFaulty(ReportFaultyReservationSubBlockRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation ReportFaulty(ReportFaultyReservationSubBlockRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Allows customers to report a faulty subBlock.
| Parameters | |
|---|---|
| Name | Description |
request |
ReportFaultyReservationSubBlockRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
ReportFaultyAsync(ReportFaultyReservationSubBlockRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> ReportFaultyAsync(ReportFaultyReservationSubBlockRequest request, CallOptions options)Allows customers to report a faulty subBlock.
| Parameters | |
|---|---|
| Name | Description |
request |
ReportFaultyReservationSubBlockRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
ReportFaultyAsync(ReportFaultyReservationSubBlockRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> ReportFaultyAsync(ReportFaultyReservationSubBlockRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Allows customers to report a faulty subBlock.
| Parameters | |
|---|---|
| Name | Description |
request |
ReportFaultyReservationSubBlockRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
SetIamPolicy(SetIamPolicyReservationSubBlockRequest, CallOptions)
public virtual Policy SetIamPolicy(SetIamPolicyReservationSubBlockRequest request, CallOptions options)Sets the access control policy on the specified resource. Replaces any existing policy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyReservationSubBlockRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The response received from the server. |
SetIamPolicy(SetIamPolicyReservationSubBlockRequest, Metadata, DateTime?, CancellationToken)
public virtual Policy SetIamPolicy(SetIamPolicyReservationSubBlockRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Sets the access control policy on the specified resource. Replaces any existing policy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyReservationSubBlockRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The response received from the server. |
SetIamPolicyAsync(SetIamPolicyReservationSubBlockRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyReservationSubBlockRequest request, CallOptions options)Sets the access control policy on the specified resource. Replaces any existing policy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyReservationSubBlockRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallPolicy |
The call object. |
SetIamPolicyAsync(SetIamPolicyReservationSubBlockRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyReservationSubBlockRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Sets the access control policy on the specified resource. Replaces any existing policy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyReservationSubBlockRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallPolicy |
The call object. |
TestIamPermissions(TestIamPermissionsReservationSubBlockRequest, CallOptions)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsReservationSubBlockRequest request, CallOptions options)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsReservationSubBlockRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
TestPermissionsResponse |
The response received from the server. |
TestIamPermissions(TestIamPermissionsReservationSubBlockRequest, Metadata, DateTime?, CancellationToken)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsReservationSubBlockRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsReservationSubBlockRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
TestPermissionsResponse |
The response received from the server. |
TestIamPermissionsAsync(TestIamPermissionsReservationSubBlockRequest, CallOptions)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsReservationSubBlockRequest request, CallOptions options)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsReservationSubBlockRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallTestPermissionsResponse |
The call object. |
TestIamPermissionsAsync(TestIamPermissionsReservationSubBlockRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsReservationSubBlockRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsReservationSubBlockRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallTestPermissionsResponse |
The call object. |