Sites

Menu

SnapshotServiceClientImpl Class

Namespace: Improbable.SpatialOS.Snapshot.V1Alpha1

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 .


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.

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums