Class Datastream.DatastreamClient (2.0.0-alpha01)

public class DatastreamClient : ClientBase<Datastream.DatastreamClient>

Client for Datastream

Inheritance

Object > ClientBase > ClientBase<Datastream.DatastreamClient> > Datastream.DatastreamClient

Namespace

Google.Cloud.Datastream.V1Alpha1

Assembly

Google.Cloud.Datastream.V1Alpha1.dll

Constructors

DatastreamClient()

protected DatastreamClient()

Protected parameterless constructor to allow creation of test doubles.

DatastreamClient(CallInvoker)

public DatastreamClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

DatastreamClient(ChannelBase)

public DatastreamClient(ChannelBase channel)

Creates a new client for Datastream

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

DatastreamClient(ClientBase.ClientBaseConfiguration)

protected DatastreamClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateConnectionProfile(CreateConnectionProfileRequest, CallOptions)

public virtual Operation CreateConnectionProfile(CreateConnectionProfileRequest request, CallOptions options)

Use this method to create a connection profile in a project and location.

Parameters
NameDescription
requestCreateConnectionProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateConnectionProfile(CreateConnectionProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation CreateConnectionProfile(CreateConnectionProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to create a connection profile in a project and location.

Parameters
NameDescription
requestCreateConnectionProfileRequest

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
Operation

The response received from the server.

CreateConnectionProfileAsync(CreateConnectionProfileRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateConnectionProfileAsync(CreateConnectionProfileRequest request, CallOptions options)

Use this method to create a connection profile in a project and location.

Parameters
NameDescription
requestCreateConnectionProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateConnectionProfileAsync(CreateConnectionProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateConnectionProfileAsync(CreateConnectionProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to create a connection profile in a project and location.

Parameters
NameDescription
requestCreateConnectionProfileRequest

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<Operation>

The call object.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
TypeDescription
Operations.OperationsClient

A new Operations client for the same target as this client.

CreatePrivateConnection(CreatePrivateConnectionRequest, CallOptions)

public virtual Operation CreatePrivateConnection(CreatePrivateConnectionRequest request, CallOptions options)

Use this method to create a private connectivity configuration.

Parameters
NameDescription
requestCreatePrivateConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreatePrivateConnection(CreatePrivateConnectionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation CreatePrivateConnection(CreatePrivateConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to create a private connectivity configuration.

Parameters
NameDescription
requestCreatePrivateConnectionRequest

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
Operation

The response received from the server.

CreatePrivateConnectionAsync(CreatePrivateConnectionRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreatePrivateConnectionAsync(CreatePrivateConnectionRequest request, CallOptions options)

Use this method to create a private connectivity configuration.

Parameters
NameDescription
requestCreatePrivateConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreatePrivateConnectionAsync(CreatePrivateConnectionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreatePrivateConnectionAsync(CreatePrivateConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to create a private connectivity configuration.

Parameters
NameDescription
requestCreatePrivateConnectionRequest

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<Operation>

The call object.

CreateRoute(CreateRouteRequest, CallOptions)

public virtual Operation CreateRoute(CreateRouteRequest request, CallOptions options)

Use this method to create a route for a private connectivity in a project and location.

Parameters
NameDescription
requestCreateRouteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateRoute(CreateRouteRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation CreateRoute(CreateRouteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to create a route for a private connectivity in a project and location.

Parameters
NameDescription
requestCreateRouteRequest

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
Operation

The response received from the server.

CreateRouteAsync(CreateRouteRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateRouteAsync(CreateRouteRequest request, CallOptions options)

Use this method to create a route for a private connectivity in a project and location.

Parameters
NameDescription
requestCreateRouteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateRouteAsync(CreateRouteRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateRouteAsync(CreateRouteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to create a route for a private connectivity in a project and location.

Parameters
NameDescription
requestCreateRouteRequest

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<Operation>

The call object.

CreateStream(CreateStreamRequest, CallOptions)

public virtual Operation CreateStream(CreateStreamRequest request, CallOptions options)

Use this method to create a stream.

Parameters
NameDescription
requestCreateStreamRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateStream(CreateStreamRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation CreateStream(CreateStreamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to create a stream.

Parameters
NameDescription
requestCreateStreamRequest

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
Operation

The response received from the server.

CreateStreamAsync(CreateStreamRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateStreamAsync(CreateStreamRequest request, CallOptions options)

Use this method to create a stream.

Parameters
NameDescription
requestCreateStreamRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateStreamAsync(CreateStreamRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateStreamAsync(CreateStreamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to create a stream.

Parameters
NameDescription
requestCreateStreamRequest

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<Operation>

The call object.

DeleteConnectionProfile(DeleteConnectionProfileRequest, CallOptions)

public virtual Operation DeleteConnectionProfile(DeleteConnectionProfileRequest request, CallOptions options)

Use this method to delete a connection profile..

Parameters
NameDescription
requestDeleteConnectionProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteConnectionProfile(DeleteConnectionProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation DeleteConnectionProfile(DeleteConnectionProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to delete a connection profile..

Parameters
NameDescription
requestDeleteConnectionProfileRequest

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
Operation

The response received from the server.

DeleteConnectionProfileAsync(DeleteConnectionProfileRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteConnectionProfileAsync(DeleteConnectionProfileRequest request, CallOptions options)

Use this method to delete a connection profile..

Parameters
NameDescription
requestDeleteConnectionProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteConnectionProfileAsync(DeleteConnectionProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteConnectionProfileAsync(DeleteConnectionProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to delete a connection profile..

Parameters
NameDescription
requestDeleteConnectionProfileRequest

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<Operation>

The call object.

DeletePrivateConnection(DeletePrivateConnectionRequest, CallOptions)

public virtual Operation DeletePrivateConnection(DeletePrivateConnectionRequest request, CallOptions options)

Use this method to delete a private connectivity configuration.

Parameters
NameDescription
requestDeletePrivateConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeletePrivateConnection(DeletePrivateConnectionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation DeletePrivateConnection(DeletePrivateConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to delete a private connectivity configuration.

Parameters
NameDescription
requestDeletePrivateConnectionRequest

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
Operation

The response received from the server.

DeletePrivateConnectionAsync(DeletePrivateConnectionRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeletePrivateConnectionAsync(DeletePrivateConnectionRequest request, CallOptions options)

Use this method to delete a private connectivity configuration.

Parameters
NameDescription
requestDeletePrivateConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeletePrivateConnectionAsync(DeletePrivateConnectionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeletePrivateConnectionAsync(DeletePrivateConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to delete a private connectivity configuration.

Parameters
NameDescription
requestDeletePrivateConnectionRequest

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<Operation>

The call object.

DeleteRoute(DeleteRouteRequest, CallOptions)

public virtual Operation DeleteRoute(DeleteRouteRequest request, CallOptions options)

Use this method to delete a route.

Parameters
NameDescription
requestDeleteRouteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteRoute(DeleteRouteRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation DeleteRoute(DeleteRouteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to delete a route.

Parameters
NameDescription
requestDeleteRouteRequest

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
Operation

The response received from the server.

DeleteRouteAsync(DeleteRouteRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteRouteAsync(DeleteRouteRequest request, CallOptions options)

Use this method to delete a route.

Parameters
NameDescription
requestDeleteRouteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteRouteAsync(DeleteRouteRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteRouteAsync(DeleteRouteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to delete a route.

Parameters
NameDescription
requestDeleteRouteRequest

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<Operation>

The call object.

DeleteStream(DeleteStreamRequest, CallOptions)

public virtual Operation DeleteStream(DeleteStreamRequest request, CallOptions options)

Use this method to delete a stream.

Parameters
NameDescription
requestDeleteStreamRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteStream(DeleteStreamRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation DeleteStream(DeleteStreamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to delete a stream.

Parameters
NameDescription
requestDeleteStreamRequest

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
Operation

The response received from the server.

DeleteStreamAsync(DeleteStreamRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteStreamAsync(DeleteStreamRequest request, CallOptions options)

Use this method to delete a stream.

Parameters
NameDescription
requestDeleteStreamRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteStreamAsync(DeleteStreamRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteStreamAsync(DeleteStreamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to delete a stream.

Parameters
NameDescription
requestDeleteStreamRequest

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<Operation>

The call object.

DiscoverConnectionProfile(DiscoverConnectionProfileRequest, CallOptions)

public virtual DiscoverConnectionProfileResponse DiscoverConnectionProfile(DiscoverConnectionProfileRequest request, CallOptions options)

Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects under a parent data object that's optionally supplied in the request.

Parameters
NameDescription
requestDiscoverConnectionProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DiscoverConnectionProfileResponse

The response received from the server.

DiscoverConnectionProfile(DiscoverConnectionProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual DiscoverConnectionProfileResponse DiscoverConnectionProfile(DiscoverConnectionProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects under a parent data object that's optionally supplied in the request.

Parameters
NameDescription
requestDiscoverConnectionProfileRequest

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
DiscoverConnectionProfileResponse

The response received from the server.

DiscoverConnectionProfileAsync(DiscoverConnectionProfileRequest, CallOptions)

public virtual AsyncUnaryCall<DiscoverConnectionProfileResponse> DiscoverConnectionProfileAsync(DiscoverConnectionProfileRequest request, CallOptions options)

Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects under a parent data object that's optionally supplied in the request.

Parameters
NameDescription
requestDiscoverConnectionProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<DiscoverConnectionProfileResponse>

The call object.

DiscoverConnectionProfileAsync(DiscoverConnectionProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<DiscoverConnectionProfileResponse> DiscoverConnectionProfileAsync(DiscoverConnectionProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects under a parent data object that's optionally supplied in the request.

Parameters
NameDescription
requestDiscoverConnectionProfileRequest

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<DiscoverConnectionProfileResponse>

The call object.

FetchErrors(FetchErrorsRequest, CallOptions)

public virtual Operation FetchErrors(FetchErrorsRequest request, CallOptions options)

Use this method to fetch any errors associated with a stream.

Parameters
NameDescription
requestFetchErrorsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

FetchErrors(FetchErrorsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation FetchErrors(FetchErrorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to fetch any errors associated with a stream.

Parameters
NameDescription
requestFetchErrorsRequest

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
Operation

The response received from the server.

FetchErrorsAsync(FetchErrorsRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> FetchErrorsAsync(FetchErrorsRequest request, CallOptions options)

Use this method to fetch any errors associated with a stream.

Parameters
NameDescription
requestFetchErrorsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

FetchErrorsAsync(FetchErrorsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> FetchErrorsAsync(FetchErrorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to fetch any errors associated with a stream.

Parameters
NameDescription
requestFetchErrorsRequest

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<Operation>

The call object.

FetchStaticIps(FetchStaticIpsRequest, CallOptions)

public virtual FetchStaticIpsResponse FetchStaticIps(FetchStaticIpsRequest request, CallOptions options)

The FetchStaticIps API call exposes the static ips used by Datastream. Typically, a request returns children data objects under a parent data object that's optionally supplied in the request.

Parameters
NameDescription
requestFetchStaticIpsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
FetchStaticIpsResponse

The response received from the server.

FetchStaticIps(FetchStaticIpsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual FetchStaticIpsResponse FetchStaticIps(FetchStaticIpsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

The FetchStaticIps API call exposes the static ips used by Datastream. Typically, a request returns children data objects under a parent data object that's optionally supplied in the request.

Parameters
NameDescription
requestFetchStaticIpsRequest

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
FetchStaticIpsResponse

The response received from the server.

FetchStaticIpsAsync(FetchStaticIpsRequest, CallOptions)

public virtual AsyncUnaryCall<FetchStaticIpsResponse> FetchStaticIpsAsync(FetchStaticIpsRequest request, CallOptions options)

The FetchStaticIps API call exposes the static ips used by Datastream. Typically, a request returns children data objects under a parent data object that's optionally supplied in the request.

Parameters
NameDescription
requestFetchStaticIpsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<FetchStaticIpsResponse>

The call object.

FetchStaticIpsAsync(FetchStaticIpsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<FetchStaticIpsResponse> FetchStaticIpsAsync(FetchStaticIpsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

The FetchStaticIps API call exposes the static ips used by Datastream. Typically, a request returns children data objects under a parent data object that's optionally supplied in the request.

Parameters
NameDescription
requestFetchStaticIpsRequest

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<FetchStaticIpsResponse>

The call object.

GetConnectionProfile(GetConnectionProfileRequest, CallOptions)

public virtual ConnectionProfile GetConnectionProfile(GetConnectionProfileRequest request, CallOptions options)

Use this method to get details about a connection profile.

Parameters
NameDescription
requestGetConnectionProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ConnectionProfile

The response received from the server.

GetConnectionProfile(GetConnectionProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ConnectionProfile GetConnectionProfile(GetConnectionProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to get details about a connection profile.

Parameters
NameDescription
requestGetConnectionProfileRequest

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
ConnectionProfile

The response received from the server.

GetConnectionProfileAsync(GetConnectionProfileRequest, CallOptions)

public virtual AsyncUnaryCall<ConnectionProfile> GetConnectionProfileAsync(GetConnectionProfileRequest request, CallOptions options)

Use this method to get details about a connection profile.

Parameters
NameDescription
requestGetConnectionProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ConnectionProfile>

The call object.

GetConnectionProfileAsync(GetConnectionProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ConnectionProfile> GetConnectionProfileAsync(GetConnectionProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to get details about a connection profile.

Parameters
NameDescription
requestGetConnectionProfileRequest

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<ConnectionProfile>

The call object.

GetPrivateConnection(GetPrivateConnectionRequest, CallOptions)

public virtual PrivateConnection GetPrivateConnection(GetPrivateConnectionRequest request, CallOptions options)

Use this method to get details about a private connectivity configuration.

Parameters
NameDescription
requestGetPrivateConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
PrivateConnection

The response received from the server.

GetPrivateConnection(GetPrivateConnectionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual PrivateConnection GetPrivateConnection(GetPrivateConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to get details about a private connectivity configuration.

Parameters
NameDescription
requestGetPrivateConnectionRequest

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
PrivateConnection

The response received from the server.

GetPrivateConnectionAsync(GetPrivateConnectionRequest, CallOptions)

public virtual AsyncUnaryCall<PrivateConnection> GetPrivateConnectionAsync(GetPrivateConnectionRequest request, CallOptions options)

Use this method to get details about a private connectivity configuration.

Parameters
NameDescription
requestGetPrivateConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<PrivateConnection>

The call object.

GetPrivateConnectionAsync(GetPrivateConnectionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<PrivateConnection> GetPrivateConnectionAsync(GetPrivateConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to get details about a private connectivity configuration.

Parameters
NameDescription
requestGetPrivateConnectionRequest

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<PrivateConnection>

The call object.

GetRoute(GetRouteRequest, CallOptions)

public virtual Route GetRoute(GetRouteRequest request, CallOptions options)

Use this method to get details about a route.

Parameters
NameDescription
requestGetRouteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Route

The response received from the server.

GetRoute(GetRouteRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Route GetRoute(GetRouteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to get details about a route.

Parameters
NameDescription
requestGetRouteRequest

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
Route

The response received from the server.

GetRouteAsync(GetRouteRequest, CallOptions)

public virtual AsyncUnaryCall<Route> GetRouteAsync(GetRouteRequest request, CallOptions options)

Use this method to get details about a route.

Parameters
NameDescription
requestGetRouteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Route>

The call object.

GetRouteAsync(GetRouteRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Route> GetRouteAsync(GetRouteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to get details about a route.

Parameters
NameDescription
requestGetRouteRequest

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<Route>

The call object.

GetStream(GetStreamRequest, CallOptions)

public virtual Stream GetStream(GetStreamRequest request, CallOptions options)

Use this method to get details about a stream.

Parameters
NameDescription
requestGetStreamRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Stream

The response received from the server.

GetStream(GetStreamRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Stream GetStream(GetStreamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to get details about a stream.

Parameters
NameDescription
requestGetStreamRequest

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
Stream

The response received from the server.

GetStreamAsync(GetStreamRequest, CallOptions)

public virtual AsyncUnaryCall<Stream> GetStreamAsync(GetStreamRequest request, CallOptions options)

Use this method to get details about a stream.

Parameters
NameDescription
requestGetStreamRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Stream>

The call object.

GetStreamAsync(GetStreamRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Stream> GetStreamAsync(GetStreamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to get details about a stream.

Parameters
NameDescription
requestGetStreamRequest

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<Stream>

The call object.

ListConnectionProfiles(ListConnectionProfilesRequest, CallOptions)

public virtual ListConnectionProfilesResponse ListConnectionProfiles(ListConnectionProfilesRequest request, CallOptions options)

Use this method to list connection profiles created in a project and location.

Parameters
NameDescription
requestListConnectionProfilesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListConnectionProfilesResponse

The response received from the server.

ListConnectionProfiles(ListConnectionProfilesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListConnectionProfilesResponse ListConnectionProfiles(ListConnectionProfilesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to list connection profiles created in a project and location.

Parameters
NameDescription
requestListConnectionProfilesRequest

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
ListConnectionProfilesResponse

The response received from the server.

ListConnectionProfilesAsync(ListConnectionProfilesRequest, CallOptions)

public virtual AsyncUnaryCall<ListConnectionProfilesResponse> ListConnectionProfilesAsync(ListConnectionProfilesRequest request, CallOptions options)

Use this method to list connection profiles created in a project and location.

Parameters
NameDescription
requestListConnectionProfilesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListConnectionProfilesResponse>

The call object.

ListConnectionProfilesAsync(ListConnectionProfilesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListConnectionProfilesResponse> ListConnectionProfilesAsync(ListConnectionProfilesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to list connection profiles created in a project and location.

Parameters
NameDescription
requestListConnectionProfilesRequest

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<ListConnectionProfilesResponse>

The call object.

ListPrivateConnections(ListPrivateConnectionsRequest, CallOptions)

public virtual ListPrivateConnectionsResponse ListPrivateConnections(ListPrivateConnectionsRequest request, CallOptions options)

Use this method to list private connectivity configurations in a project and location.

Parameters
NameDescription
requestListPrivateConnectionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListPrivateConnectionsResponse

The response received from the server.

ListPrivateConnections(ListPrivateConnectionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListPrivateConnectionsResponse ListPrivateConnections(ListPrivateConnectionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to list private connectivity configurations in a project and location.

Parameters
NameDescription
requestListPrivateConnectionsRequest

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
ListPrivateConnectionsResponse

The response received from the server.

ListPrivateConnectionsAsync(ListPrivateConnectionsRequest, CallOptions)

public virtual AsyncUnaryCall<ListPrivateConnectionsResponse> ListPrivateConnectionsAsync(ListPrivateConnectionsRequest request, CallOptions options)

Use this method to list private connectivity configurations in a project and location.

Parameters
NameDescription
requestListPrivateConnectionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListPrivateConnectionsResponse>

The call object.

ListPrivateConnectionsAsync(ListPrivateConnectionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListPrivateConnectionsResponse> ListPrivateConnectionsAsync(ListPrivateConnectionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to list private connectivity configurations in a project and location.

Parameters
NameDescription
requestListPrivateConnectionsRequest

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<ListPrivateConnectionsResponse>

The call object.

ListRoutes(ListRoutesRequest, CallOptions)

public virtual ListRoutesResponse ListRoutes(ListRoutesRequest request, CallOptions options)

Use this method to list routes created for a private connectivity in a project and location.

Parameters
NameDescription
requestListRoutesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListRoutesResponse

The response received from the server.

ListRoutes(ListRoutesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListRoutesResponse ListRoutes(ListRoutesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to list routes created for a private connectivity in a project and location.

Parameters
NameDescription
requestListRoutesRequest

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
ListRoutesResponse

The response received from the server.

ListRoutesAsync(ListRoutesRequest, CallOptions)

public virtual AsyncUnaryCall<ListRoutesResponse> ListRoutesAsync(ListRoutesRequest request, CallOptions options)

Use this method to list routes created for a private connectivity in a project and location.

Parameters
NameDescription
requestListRoutesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListRoutesResponse>

The call object.

ListRoutesAsync(ListRoutesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListRoutesResponse> ListRoutesAsync(ListRoutesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to list routes created for a private connectivity in a project and location.

Parameters
NameDescription
requestListRoutesRequest

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<ListRoutesResponse>

The call object.

ListStreams(ListStreamsRequest, CallOptions)

public virtual ListStreamsResponse ListStreams(ListStreamsRequest request, CallOptions options)

Use this method to list streams in a project and location.

Parameters
NameDescription
requestListStreamsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListStreamsResponse

The response received from the server.

ListStreams(ListStreamsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListStreamsResponse ListStreams(ListStreamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to list streams in a project and location.

Parameters
NameDescription
requestListStreamsRequest

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
ListStreamsResponse

The response received from the server.

ListStreamsAsync(ListStreamsRequest, CallOptions)

public virtual AsyncUnaryCall<ListStreamsResponse> ListStreamsAsync(ListStreamsRequest request, CallOptions options)

Use this method to list streams in a project and location.

Parameters
NameDescription
requestListStreamsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListStreamsResponse>

The call object.

ListStreamsAsync(ListStreamsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListStreamsResponse> ListStreamsAsync(ListStreamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to list streams in a project and location.

Parameters
NameDescription
requestListStreamsRequest

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<ListStreamsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override Datastream.DatastreamClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
Datastream.DatastreamClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Datastream.V1Alpha1.Datastream.DatastreamClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateConnectionProfile(UpdateConnectionProfileRequest, CallOptions)

public virtual Operation UpdateConnectionProfile(UpdateConnectionProfileRequest request, CallOptions options)

Use this method to update the parameters of a connection profile.

Parameters
NameDescription
requestUpdateConnectionProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateConnectionProfile(UpdateConnectionProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation UpdateConnectionProfile(UpdateConnectionProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to update the parameters of a connection profile.

Parameters
NameDescription
requestUpdateConnectionProfileRequest

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
Operation

The response received from the server.

UpdateConnectionProfileAsync(UpdateConnectionProfileRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateConnectionProfileAsync(UpdateConnectionProfileRequest request, CallOptions options)

Use this method to update the parameters of a connection profile.

Parameters
NameDescription
requestUpdateConnectionProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

UpdateConnectionProfileAsync(UpdateConnectionProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateConnectionProfileAsync(UpdateConnectionProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to update the parameters of a connection profile.

Parameters
NameDescription
requestUpdateConnectionProfileRequest

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<Operation>

The call object.

UpdateStream(UpdateStreamRequest, CallOptions)

public virtual Operation UpdateStream(UpdateStreamRequest request, CallOptions options)

Use this method to update the configuration of a stream.

Parameters
NameDescription
requestUpdateStreamRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateStream(UpdateStreamRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation UpdateStream(UpdateStreamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to update the configuration of a stream.

Parameters
NameDescription
requestUpdateStreamRequest

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
Operation

The response received from the server.

UpdateStreamAsync(UpdateStreamRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateStreamAsync(UpdateStreamRequest request, CallOptions options)

Use this method to update the configuration of a stream.

Parameters
NameDescription
requestUpdateStreamRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

UpdateStreamAsync(UpdateStreamRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateStreamAsync(UpdateStreamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Use this method to update the configuration of a stream.

Parameters
NameDescription
requestUpdateStreamRequest

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<Operation>

The call object.