Compute Engine v1 API - Class RegionInstantSnapshots.RegionInstantSnapshotsBase (2.15.0)

[BindServiceMethod(typeof(RegionInstantSnapshots), "BindService")]
public abstract class RegionInstantSnapshots.RegionInstantSnapshotsBase

Reference documentation and code samples for the Compute Engine v1 API class RegionInstantSnapshots.RegionInstantSnapshotsBase.

Base class for server-side implementations of RegionInstantSnapshots

Inheritance

object > RegionInstantSnapshots.RegionInstantSnapshotsBase

Namespace

Google.Cloud.Compute.V1

Assembly

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
NameDescription
requestDeleteRegionInstantSnapshotRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestGetRegionInstantSnapshotRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestGetIamPolicyRegionInstantSnapshotRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestInsertRegionInstantSnapshotRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestListRegionInstantSnapshotsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestSetIamPolicyRegionInstantSnapshotRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestSetLabelsRegionInstantSnapshotRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestTestIamPermissionsRegionInstantSnapshotRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskTestPermissionsResponse

The response to send back to the client (wrapped by a task).