[BindServiceMethod(typeof(StreamsService), "BindService")]
public abstract class StreamsService.StreamsServiceBaseReference documentation and code samples for the Vision AI v1 API class StreamsService.StreamsServiceBase.
Base class for server-side implementations of StreamsService
Namespace
Google.Cloud.VisionAI.V1Assembly
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 |
CreateClusterRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
CreateEventRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
CreateSeriesRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
CreateStreamRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteClusterRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteEventRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteSeriesRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteStreamRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GenerateStreamHlsTokenRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetClusterRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetEventRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetSeriesRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetStreamRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetStreamThumbnailRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListClustersRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListEventsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListSeriesRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListStreamsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
MaterializeChannelRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UpdateClusterRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UpdateEventRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UpdateSeriesRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UpdateStreamRequestThe request received from the client. |
context |
ServerCallContextThe 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). |