V1Alpha1.SnapshotServiceClientImpl Class

Namespace: Improbable.SpatialOS.Snapshot

SnapshotService client wrapper implementation, for convenient use.

Inheritance

Improbable.SpatialOS.Snapshot.V1Alpha1.SnapshotServiceClient


Properties

GrpcClient
override SnapshotService.SnapshotServiceClient GrpcClient { get; }

The underlying gRPC SnapshotService client.

TakeSnapshotOperationsClient
override lro::OperationsClient TakeSnapshotOperationsClient { get; }

The long-running operations client for TakeSnapshot.


Constructors

SnapshotServiceClientImpl
SnapshotServiceClientImpl(SnapshotService.SnapshotServiceClient grpcClient, SnapshotServiceSettings settings)

Constructs a client wrapper for the SnapshotService service, with the specified gRPC client and settings.

Parameters


Overrides

ListSnapshotsAsync
override gax::PagedAsyncEnumerable<ListSnapshotsResponse, Snapshot> ListSnapshotsAsync(ListSnapshotsRequest request, gaxgrpc::CallSettings callSettings = null)

Returns:
A pageable asynchronous sequence of Snapshot resources.

Parameters
  • ListSnapshotsRequest request : The request object containing all of the parameters for the API call.
  • gaxgrpc::CallSettings callSettings : If not null, applies overrides to this RPC call.

ListSnapshots
override gax::PagedEnumerable<ListSnapshotsResponse, Snapshot> ListSnapshots(ListSnapshotsRequest request, gaxgrpc::CallSettings callSettings = null)

Returns:
A pageable sequence of Snapshot resources.

Parameters
  • ListSnapshotsRequest request : The request object containing all of the parameters for the API call.
  • gaxgrpc::CallSettings callSettings : If not null, applies overrides to this RPC call.

GetSnapshotAsync
override stt::Task<GetSnapshotResponse> GetSnapshotAsync(GetSnapshotRequest request, gaxgrpc::CallSettings callSettings = null)

Returns:
A Task containing the RPC response.

Parameters
  • GetSnapshotRequest request : The request object containing all of the parameters for the API call.
  • gaxgrpc::CallSettings callSettings : If not null, applies overrides to this RPC call.

GetSnapshot
override GetSnapshotResponse GetSnapshot(GetSnapshotRequest request, gaxgrpc::CallSettings callSettings = null)

Returns:
The RPC response.

Parameters
  • GetSnapshotRequest request : The request object containing all of the parameters for the API call.
  • gaxgrpc::CallSettings callSettings : If not null, applies overrides to this RPC call.

TakeSnapshotAsync
override async stt::Task<lro::Operation<Snapshot, TakeSnapshotMetadata>> TakeSnapshotAsync(TakeSnapshotRequest request, gaxgrpc::CallSettings callSettings = null)

Returns:
A Task containing the RPC response.

Parameters
  • TakeSnapshotRequest request : The request object containing all of the parameters for the API call.
  • gaxgrpc::CallSettings callSettings : If not null, applies overrides to this RPC call.

TakeSnapshot
override lro::Operation<Snapshot, TakeSnapshotMetadata> TakeSnapshot(TakeSnapshotRequest request, gaxgrpc::CallSettings callSettings = null)

Returns:
The RPC response.

Parameters
  • TakeSnapshotRequest request : The request object containing all of the parameters for the API call.
  • gaxgrpc::CallSettings callSettings : If not null, applies overrides to this RPC call.

UploadSnapshotAsync
override stt::Task<UploadSnapshotResponse> UploadSnapshotAsync(UploadSnapshotRequest request, gaxgrpc::CallSettings callSettings = null)

Returns:
A Task containing the RPC response.

Parameters
  • UploadSnapshotRequest request : The request object containing all of the parameters for the API call.
  • gaxgrpc::CallSettings callSettings : If not null, applies overrides to this RPC call.

UploadSnapshot
override UploadSnapshotResponse UploadSnapshot(UploadSnapshotRequest request, gaxgrpc::CallSettings callSettings = null)

Returns:
The RPC response.

Parameters
  • UploadSnapshotRequest request : The request object containing all of the parameters for the API call.
  • gaxgrpc::CallSettings callSettings : If not null, applies overrides to this RPC call.

ConfirmUploadAsync
override stt::Task<ConfirmUploadResponse> ConfirmUploadAsync(ConfirmUploadRequest request, gaxgrpc::CallSettings callSettings = null)

Returns:
A Task containing the RPC response.

Parameters
  • ConfirmUploadRequest request : The request object containing all of the parameters for the API call.
  • gaxgrpc::CallSettings callSettings : If not null, applies overrides to this RPC call.

ConfirmUpload
override ConfirmUploadResponse ConfirmUpload(ConfirmUploadRequest request, gaxgrpc::CallSettings callSettings = null)

Returns:
The RPC response.

Parameters
  • ConfirmUploadRequest request : The request object containing all of the parameters for the API call.
  • gaxgrpc::CallSettings callSettings : If not null, applies overrides to this RPC call.

Updated about a year ago


V1Alpha1.SnapshotServiceClientImpl Class


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.