[BindServiceMethod(typeof(ReservationSubBlocks), "BindService")]
public abstract class ReservationSubBlocks.ReservationSubBlocksBaseReference documentation and code samples for the Compute Engine v1 API class ReservationSubBlocks.ReservationSubBlocksBase.
Base class for server-side implementations of ReservationSubBlocks
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
Get(GetReservationSubBlockRequest, ServerCallContext)
public virtual Task<ReservationSubBlocksGetResponse> Get(GetReservationSubBlockRequest request, ServerCallContext context)Retrieves information about the specified reservation subBlock.
| Parameters | |
|---|---|
| Name | Description |
request |
GetReservationSubBlockRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskReservationSubBlocksGetResponse |
The response to send back to the client (wrapped by a task). |
GetIamPolicy(GetIamPolicyReservationSubBlockRequest, ServerCallContext)
public virtual Task<Policy> GetIamPolicy(GetIamPolicyReservationSubBlockRequest request, ServerCallContext context)Gets the access control policy for a resource. May be empty if no such policy or resource exists.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyReservationSubBlockRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
The response to send back to the client (wrapped by a task). |
GetVersion(GetVersionReservationSubBlockRequest, ServerCallContext)
public virtual Task<Operation> GetVersion(GetVersionReservationSubBlockRequest request, ServerCallContext context)Allows customers to get SBOM versions of a reservation subBlock.
| Parameters | |
|---|---|
| Name | Description |
request |
GetVersionReservationSubBlockRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
List(ListReservationSubBlocksRequest, ServerCallContext)
public virtual Task<ReservationSubBlocksListResponse> List(ListReservationSubBlocksRequest request, ServerCallContext context)Retrieves a list of reservation subBlocks under a single reservation.
| Parameters | |
|---|---|
| Name | Description |
request |
ListReservationSubBlocksRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskReservationSubBlocksListResponse |
The response to send back to the client (wrapped by a task). |
PerformMaintenance(PerformMaintenanceReservationSubBlockRequest, ServerCallContext)
public virtual Task<Operation> PerformMaintenance(PerformMaintenanceReservationSubBlockRequest request, ServerCallContext context)Allows customers to perform maintenance on a reservation subBlock
| Parameters | |
|---|---|
| Name | Description |
request |
PerformMaintenanceReservationSubBlockRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
ReportFaulty(ReportFaultyReservationSubBlockRequest, ServerCallContext)
public virtual Task<Operation> ReportFaulty(ReportFaultyReservationSubBlockRequest request, ServerCallContext context)Allows customers to report a faulty subBlock.
| Parameters | |
|---|---|
| Name | Description |
request |
ReportFaultyReservationSubBlockRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
SetIamPolicy(SetIamPolicyReservationSubBlockRequest, ServerCallContext)
public virtual Task<Policy> SetIamPolicy(SetIamPolicyReservationSubBlockRequest request, ServerCallContext context)Sets the access control policy on the specified resource. Replaces any existing policy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyReservationSubBlockRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
The response to send back to the client (wrapped by a task). |
TestIamPermissions(TestIamPermissionsReservationSubBlockRequest, ServerCallContext)
public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsReservationSubBlockRequest request, ServerCallContext context)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsReservationSubBlockRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTestPermissionsResponse |
The response to send back to the client (wrapped by a task). |