Vision AI v1 API - Class StreamsService.StreamsServiceBase (1.0.0-beta01)

[BindServiceMethod(typeof(StreamsService), "BindService")]
public abstract class StreamsService.StreamsServiceBase

Reference documentation and code samples for the Vision AI v1 API class StreamsService.StreamsServiceBase.

Base class for server-side implementations of StreamsService

Inheritance

object > StreamsService.StreamsServiceBase

Namespace

Google.Cloud.VisionAI.V1

Assembly

Google.Cloud.VisionAI.V1.dll

Methods

CreateCluster(CreateClusterRequest, ServerCallContext)

public virtual Task<Operation> CreateCluster(CreateClusterRequest request, ServerCallContext context)

Creates a new Cluster in a given project and location.

Parameters
Name Description
request CreateClusterRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

CreateEvent(CreateEventRequest, ServerCallContext)

public virtual Task<Operation> CreateEvent(CreateEventRequest request, ServerCallContext context)

Creates a new Event in a given project and location.

Parameters
Name Description
request CreateEventRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

CreateSeries(CreateSeriesRequest, ServerCallContext)

public virtual Task<Operation> CreateSeries(CreateSeriesRequest request, ServerCallContext context)

Creates a new Series in a given project and location.

Parameters
Name Description
request CreateSeriesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

CreateStream(CreateStreamRequest, ServerCallContext)

public virtual Task<Operation> CreateStream(CreateStreamRequest request, ServerCallContext context)

Creates a new Stream in a given project and location.

Parameters
Name Description
request CreateStreamRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

DeleteCluster(DeleteClusterRequest, ServerCallContext)

public virtual Task<Operation> DeleteCluster(DeleteClusterRequest request, ServerCallContext context)

Deletes a single Cluster.

Parameters
Name Description
request DeleteClusterRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

DeleteEvent(DeleteEventRequest, ServerCallContext)

public virtual Task<Operation> DeleteEvent(DeleteEventRequest request, ServerCallContext context)

Deletes a single Event.

Parameters
Name Description
request DeleteEventRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

DeleteSeries(DeleteSeriesRequest, ServerCallContext)

public virtual Task<Operation> DeleteSeries(DeleteSeriesRequest request, ServerCallContext context)

Deletes a single Series.

Parameters
Name Description
request DeleteSeriesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

DeleteStream(DeleteStreamRequest, ServerCallContext)

public virtual Task<Operation> DeleteStream(DeleteStreamRequest request, ServerCallContext context)

Deletes a single Stream.

Parameters
Name Description
request DeleteStreamRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

GenerateStreamHlsToken(GenerateStreamHlsTokenRequest, ServerCallContext)

public virtual Task<GenerateStreamHlsTokenResponse> GenerateStreamHlsToken(GenerateStreamHlsTokenRequest request, ServerCallContext context)

Generate the JWT auth token required to get the stream HLS contents.

Parameters
Name Description
request GenerateStreamHlsTokenRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskGenerateStreamHlsTokenResponse

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

GetCluster(GetClusterRequest, ServerCallContext)

public virtual Task<Cluster> GetCluster(GetClusterRequest request, ServerCallContext context)

Gets details of a single Cluster.

Parameters
Name Description
request GetClusterRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskCluster

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

GetEvent(GetEventRequest, ServerCallContext)

public virtual Task<Event> GetEvent(GetEventRequest request, ServerCallContext context)

Gets details of a single Event.

Parameters
Name Description
request GetEventRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEvent

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

GetSeries(GetSeriesRequest, ServerCallContext)

public virtual Task<Series> GetSeries(GetSeriesRequest request, ServerCallContext context)

Gets details of a single Series.

Parameters
Name Description
request GetSeriesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskSeries

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

GetStream(GetStreamRequest, ServerCallContext)

public virtual Task<Stream> GetStream(GetStreamRequest request, ServerCallContext context)

Gets details of a single Stream.

Parameters
Name Description
request GetStreamRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskStream

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

GetStreamThumbnail(GetStreamThumbnailRequest, ServerCallContext)

public virtual Task<Operation> GetStreamThumbnail(GetStreamThumbnailRequest request, ServerCallContext context)

Gets the thumbnail (image snapshot) of a single Stream.

Parameters
Name Description
request GetStreamThumbnailRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

ListClusters(ListClustersRequest, ServerCallContext)

public virtual Task<ListClustersResponse> ListClusters(ListClustersRequest request, ServerCallContext context)

Lists Clusters in a given project and location.

Parameters
Name Description
request ListClustersRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListClustersResponse

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

ListEvents(ListEventsRequest, ServerCallContext)

public virtual Task<ListEventsResponse> ListEvents(ListEventsRequest request, ServerCallContext context)

Lists Events in a given project and location.

Parameters
Name Description
request ListEventsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListEventsResponse

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

ListSeries(ListSeriesRequest, ServerCallContext)

public virtual Task<ListSeriesResponse> ListSeries(ListSeriesRequest request, ServerCallContext context)

Lists Series in a given project and location.

Parameters
Name Description
request ListSeriesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListSeriesResponse

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

ListStreams(ListStreamsRequest, ServerCallContext)

public virtual Task<ListStreamsResponse> ListStreams(ListStreamsRequest request, ServerCallContext context)

Lists Streams in a given project and location.

Parameters
Name Description
request ListStreamsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListStreamsResponse

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

MaterializeChannel(MaterializeChannelRequest, ServerCallContext)

public virtual Task<Operation> MaterializeChannel(MaterializeChannelRequest request, ServerCallContext context)

Materialize a channel.

Parameters
Name Description
request MaterializeChannelRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

UpdateCluster(UpdateClusterRequest, ServerCallContext)

public virtual Task<Operation> UpdateCluster(UpdateClusterRequest request, ServerCallContext context)

Updates the parameters of a single Cluster.

Parameters
Name Description
request UpdateClusterRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

UpdateEvent(UpdateEventRequest, ServerCallContext)

public virtual Task<Operation> UpdateEvent(UpdateEventRequest request, ServerCallContext context)

Updates the parameters of a single Event.

Parameters
Name Description
request UpdateEventRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

UpdateSeries(UpdateSeriesRequest, ServerCallContext)

public virtual Task<Operation> UpdateSeries(UpdateSeriesRequest request, ServerCallContext context)

Updates the parameters of a single Event.

Parameters
Name Description
request UpdateSeriesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

UpdateStream(UpdateStreamRequest, ServerCallContext)

public virtual Task<Operation> UpdateStream(UpdateStreamRequest request, ServerCallContext context)

Updates the parameters of a single Stream.

Parameters
Name Description
request UpdateStreamRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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