Class SnapshotsV1Beta3.SnapshotsV1Beta3Client (1.0.0-beta03)

public class SnapshotsV1Beta3Client : ClientBase<SnapshotsV1Beta3.SnapshotsV1Beta3Client>

Client for SnapshotsV1Beta3

Inheritance

Object > ClientBase > ClientBase<SnapshotsV1Beta3.SnapshotsV1Beta3Client> > SnapshotsV1Beta3.SnapshotsV1Beta3Client

Namespace

Google.Cloud.Dataflow.V1Beta3

Assembly

Google.Cloud.Dataflow.V1Beta3.dll

Constructors

SnapshotsV1Beta3Client()

protected SnapshotsV1Beta3Client()

Protected parameterless constructor to allow creation of test doubles.

SnapshotsV1Beta3Client(CallInvoker)

public SnapshotsV1Beta3Client(CallInvoker callInvoker)

Creates a new client for SnapshotsV1Beta3 that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

SnapshotsV1Beta3Client(ChannelBase)

public SnapshotsV1Beta3Client(ChannelBase channel)

Creates a new client for SnapshotsV1Beta3

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

SnapshotsV1Beta3Client(ClientBase.ClientBaseConfiguration)

protected SnapshotsV1Beta3Client(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

DeleteSnapshot(DeleteSnapshotRequest, CallOptions)

public virtual DeleteSnapshotResponse DeleteSnapshot(DeleteSnapshotRequest request, CallOptions options)

Deletes a snapshot.

Parameters
NameDescription
requestDeleteSnapshotRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DeleteSnapshotResponse

The response received from the server.

DeleteSnapshot(DeleteSnapshotRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual DeleteSnapshotResponse DeleteSnapshot(DeleteSnapshotRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a snapshot.

Parameters
NameDescription
requestDeleteSnapshotRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
DeleteSnapshotResponse

The response received from the server.

DeleteSnapshotAsync(DeleteSnapshotRequest, CallOptions)

public virtual AsyncUnaryCall<DeleteSnapshotResponse> DeleteSnapshotAsync(DeleteSnapshotRequest request, CallOptions options)

Deletes a snapshot.

Parameters
NameDescription
requestDeleteSnapshotRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<DeleteSnapshotResponse>

The call object.

DeleteSnapshotAsync(DeleteSnapshotRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<DeleteSnapshotResponse> DeleteSnapshotAsync(DeleteSnapshotRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a snapshot.

Parameters
NameDescription
requestDeleteSnapshotRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<DeleteSnapshotResponse>

The call object.

GetSnapshot(GetSnapshotRequest, CallOptions)

public virtual Snapshot GetSnapshot(GetSnapshotRequest request, CallOptions options)

Gets information about a snapshot.

Parameters
NameDescription
requestGetSnapshotRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Snapshot

The response received from the server.

GetSnapshot(GetSnapshotRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Snapshot GetSnapshot(GetSnapshotRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets information about a snapshot.

Parameters
NameDescription
requestGetSnapshotRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Snapshot

The response received from the server.

GetSnapshotAsync(GetSnapshotRequest, CallOptions)

public virtual AsyncUnaryCall<Snapshot> GetSnapshotAsync(GetSnapshotRequest request, CallOptions options)

Gets information about a snapshot.

Parameters
NameDescription
requestGetSnapshotRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Snapshot>

The call object.

GetSnapshotAsync(GetSnapshotRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Snapshot> GetSnapshotAsync(GetSnapshotRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets information about a snapshot.

Parameters
NameDescription
requestGetSnapshotRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Snapshot>

The call object.

ListSnapshots(ListSnapshotsRequest, CallOptions)

public virtual ListSnapshotsResponse ListSnapshots(ListSnapshotsRequest request, CallOptions options)

Lists snapshots.

Parameters
NameDescription
requestListSnapshotsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListSnapshotsResponse

The response received from the server.

ListSnapshots(ListSnapshotsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListSnapshotsResponse ListSnapshots(ListSnapshotsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists snapshots.

Parameters
NameDescription
requestListSnapshotsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListSnapshotsResponse

The response received from the server.

ListSnapshotsAsync(ListSnapshotsRequest, CallOptions)

public virtual AsyncUnaryCall<ListSnapshotsResponse> ListSnapshotsAsync(ListSnapshotsRequest request, CallOptions options)

Lists snapshots.

Parameters
NameDescription
requestListSnapshotsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListSnapshotsResponse>

The call object.

ListSnapshotsAsync(ListSnapshotsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListSnapshotsResponse> ListSnapshotsAsync(ListSnapshotsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists snapshots.

Parameters
NameDescription
requestListSnapshotsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListSnapshotsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override SnapshotsV1Beta3.SnapshotsV1Beta3Client NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
SnapshotsV1Beta3.SnapshotsV1Beta3Client
Overrides
Grpc.Core.ClientBase<Google.Cloud.Dataflow.V1Beta3.SnapshotsV1Beta3.SnapshotsV1Beta3Client>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)