Compute Engine v1 API - Class InstantSnapshots.InstantSnapshotsBase (2.15.0)

[BindServiceMethod(typeof(InstantSnapshots), "BindService")]
public abstract class InstantSnapshots.InstantSnapshotsBase

Reference documentation and code samples for the Compute Engine v1 API class InstantSnapshots.InstantSnapshotsBase.

Base class for server-side implementations of InstantSnapshots

Inheritance

object > InstantSnapshots.InstantSnapshotsBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

AggregatedList(AggregatedListInstantSnapshotsRequest, ServerCallContext)

public virtual Task<InstantSnapshotAggregatedList> AggregatedList(AggregatedListInstantSnapshotsRequest request, ServerCallContext context)

Retrieves an aggregated list of instantSnapshots. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
NameDescription
requestAggregatedListInstantSnapshotsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskInstantSnapshotAggregatedList

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

Delete(DeleteInstantSnapshotRequest, ServerCallContext)

public virtual Task<Operation> Delete(DeleteInstantSnapshotRequest 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
requestDeleteInstantSnapshotRequest

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(GetInstantSnapshotRequest, ServerCallContext)

public virtual Task<InstantSnapshot> Get(GetInstantSnapshotRequest request, ServerCallContext context)

Returns the specified InstantSnapshot resource in the specified zone.

Parameters
NameDescription
requestGetInstantSnapshotRequest

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(GetIamPolicyInstantSnapshotRequest, ServerCallContext)

public virtual Task<Policy> GetIamPolicy(GetIamPolicyInstantSnapshotRequest request, ServerCallContext context)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Parameters
NameDescription
requestGetIamPolicyInstantSnapshotRequest

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(InsertInstantSnapshotRequest, ServerCallContext)

public virtual Task<Operation> Insert(InsertInstantSnapshotRequest request, ServerCallContext context)

Creates an instant snapshot in the specified zone.

Parameters
NameDescription
requestInsertInstantSnapshotRequest

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(ListInstantSnapshotsRequest, ServerCallContext)

public virtual Task<InstantSnapshotList> List(ListInstantSnapshotsRequest request, ServerCallContext context)

Retrieves the list of InstantSnapshot resources contained within the specified zone.

Parameters
NameDescription
requestListInstantSnapshotsRequest

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(SetIamPolicyInstantSnapshotRequest, ServerCallContext)

public virtual Task<Policy> SetIamPolicy(SetIamPolicyInstantSnapshotRequest request, ServerCallContext context)

Sets the access control policy on the specified resource. Replaces any existing policy.

Parameters
NameDescription
requestSetIamPolicyInstantSnapshotRequest

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(SetLabelsInstantSnapshotRequest, ServerCallContext)

public virtual Task<Operation> SetLabels(SetLabelsInstantSnapshotRequest request, ServerCallContext context)

Sets the labels on a instantSnapshot in the given zone. To learn more about labels, read the Labeling Resources documentation.

Parameters
NameDescription
requestSetLabelsInstantSnapshotRequest

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(TestIamPermissionsInstantSnapshotRequest, ServerCallContext)

public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsInstantSnapshotRequest request, ServerCallContext context)

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsInstantSnapshotRequest

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).