[BindServiceMethod(typeof(RegionInstantSnapshots), "BindService")]
public abstract class RegionInstantSnapshots.RegionInstantSnapshotsBaseReference documentation and code samples for the Compute Engine v1 API class RegionInstantSnapshots.RegionInstantSnapshotsBase.
Base class for server-side implementations of RegionInstantSnapshots
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
Delete(DeleteRegionInstantSnapshotRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteRegionInstantSnapshotRequest request, ServerCallContext context)Deletes the specified InstantSnapshot resource. Keep in mind that deleting a single instantSnapshot might not necessarily delete all the data on that instantSnapshot. If any data on the instantSnapshot that is marked for deletion is needed for subsequent instantSnapshots, the data will be moved to the next corresponding instantSnapshot. For more information, see Deleting instantSnapshots.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRegionInstantSnapshotRequestThe 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). |
Get(GetRegionInstantSnapshotRequest, ServerCallContext)
public virtual Task<InstantSnapshot> Get(GetRegionInstantSnapshotRequest request, ServerCallContext context)Returns the specified InstantSnapshot resource in the specified region.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionInstantSnapshotRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskInstantSnapshot |
The response to send back to the client (wrapped by a task). |
GetIamPolicy(GetIamPolicyRegionInstantSnapshotRequest, ServerCallContext)
public virtual Task<Policy> GetIamPolicy(GetIamPolicyRegionInstantSnapshotRequest 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 |
GetIamPolicyRegionInstantSnapshotRequestThe 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). |
Insert(InsertRegionInstantSnapshotRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertRegionInstantSnapshotRequest request, ServerCallContext context)Creates an instant snapshot in the specified region.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertRegionInstantSnapshotRequestThe 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(ListRegionInstantSnapshotsRequest, ServerCallContext)
public virtual Task<InstantSnapshotList> List(ListRegionInstantSnapshotsRequest request, ServerCallContext context)Retrieves the list of InstantSnapshot resources contained within the specified region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionInstantSnapshotsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskInstantSnapshotList |
The response to send back to the client (wrapped by a task). |
SetIamPolicy(SetIamPolicyRegionInstantSnapshotRequest, ServerCallContext)
public virtual Task<Policy> SetIamPolicy(SetIamPolicyRegionInstantSnapshotRequest request, ServerCallContext context)Sets the access control policy on the specified resource. Replaces any existing policy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyRegionInstantSnapshotRequestThe 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). |
SetLabels(SetLabelsRegionInstantSnapshotRequest, ServerCallContext)
public virtual Task<Operation> SetLabels(SetLabelsRegionInstantSnapshotRequest request, ServerCallContext context)Sets the labels on a instantSnapshot in the given region. To learn more about labels, read the Labeling Resources documentation.
| Parameters | |
|---|---|
| Name | Description |
request |
SetLabelsRegionInstantSnapshotRequestThe 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). |
TestIamPermissions(TestIamPermissionsRegionInstantSnapshotRequest, ServerCallContext)
public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsRegionInstantSnapshotRequest request, ServerCallContext context)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRegionInstantSnapshotRequestThe 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). |