[BindServiceMethod(typeof(Datastream), "BindService")]
public abstract class DatastreamBase
Base class for server-side implementations of Datastream
Namespace
Google.Cloud.Datastream.V1Alpha1Assembly
Google.Cloud.Datastream.V1Alpha1.dll
Methods
CreateConnectionProfile(CreateConnectionProfileRequest, ServerCallContext)
public virtual Task<Operation> CreateConnectionProfile(CreateConnectionProfileRequest request, ServerCallContext context)
Use this method to create a connection profile in a project and location.
Parameters | |
---|---|
Name | Description |
request | CreateConnectionProfileRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
CreatePrivateConnection(CreatePrivateConnectionRequest, ServerCallContext)
public virtual Task<Operation> CreatePrivateConnection(CreatePrivateConnectionRequest request, ServerCallContext context)
Use this method to create a private connectivity configuration.
Parameters | |
---|---|
Name | Description |
request | CreatePrivateConnectionRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
CreateRoute(CreateRouteRequest, ServerCallContext)
public virtual Task<Operation> CreateRoute(CreateRouteRequest request, ServerCallContext context)
Use this method to create a route for a private connectivity in a project and location.
Parameters | |
---|---|
Name | Description |
request | CreateRouteRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
CreateStream(CreateStreamRequest, ServerCallContext)
public virtual Task<Operation> CreateStream(CreateStreamRequest request, ServerCallContext context)
Use this method to create a stream.
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 |
Task<Operation> | The response to send back to the client (wrapped by a task). |
DeleteConnectionProfile(DeleteConnectionProfileRequest, ServerCallContext)
public virtual Task<Operation> DeleteConnectionProfile(DeleteConnectionProfileRequest request, ServerCallContext context)
Use this method to delete a connection profile..
Parameters | |
---|---|
Name | Description |
request | DeleteConnectionProfileRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
DeletePrivateConnection(DeletePrivateConnectionRequest, ServerCallContext)
public virtual Task<Operation> DeletePrivateConnection(DeletePrivateConnectionRequest request, ServerCallContext context)
Use this method to delete a private connectivity configuration.
Parameters | |
---|---|
Name | Description |
request | DeletePrivateConnectionRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
DeleteRoute(DeleteRouteRequest, ServerCallContext)
public virtual Task<Operation> DeleteRoute(DeleteRouteRequest request, ServerCallContext context)
Use this method to delete a route.
Parameters | |
---|---|
Name | Description |
request | DeleteRouteRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
DeleteStream(DeleteStreamRequest, ServerCallContext)
public virtual Task<Operation> DeleteStream(DeleteStreamRequest request, ServerCallContext context)
Use this method to delete a 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 |
Task<Operation> | The response to send back to the client (wrapped by a task). |
DiscoverConnectionProfile(DiscoverConnectionProfileRequest, ServerCallContext)
public virtual Task<DiscoverConnectionProfileResponse> DiscoverConnectionProfile(DiscoverConnectionProfileRequest request, ServerCallContext context)
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 | |
---|---|
Name | Description |
request | DiscoverConnectionProfileRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<DiscoverConnectionProfileResponse> | The response to send back to the client (wrapped by a task). |
FetchErrors(FetchErrorsRequest, ServerCallContext)
public virtual Task<Operation> FetchErrors(FetchErrorsRequest request, ServerCallContext context)
Use this method to fetch any errors associated with a stream.
Parameters | |
---|---|
Name | Description |
request | FetchErrorsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
FetchStaticIps(FetchStaticIpsRequest, ServerCallContext)
public virtual Task<FetchStaticIpsResponse> FetchStaticIps(FetchStaticIpsRequest request, ServerCallContext context)
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 | |
---|---|
Name | Description |
request | FetchStaticIpsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<FetchStaticIpsResponse> | The response to send back to the client (wrapped by a task). |
GetConnectionProfile(GetConnectionProfileRequest, ServerCallContext)
public virtual Task<ConnectionProfile> GetConnectionProfile(GetConnectionProfileRequest request, ServerCallContext context)
Use this method to get details about a connection profile.
Parameters | |
---|---|
Name | Description |
request | GetConnectionProfileRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ConnectionProfile> | The response to send back to the client (wrapped by a task). |
GetPrivateConnection(GetPrivateConnectionRequest, ServerCallContext)
public virtual Task<PrivateConnection> GetPrivateConnection(GetPrivateConnectionRequest request, ServerCallContext context)
Use this method to get details about a private connectivity configuration.
Parameters | |
---|---|
Name | Description |
request | GetPrivateConnectionRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<PrivateConnection> | The response to send back to the client (wrapped by a task). |
GetRoute(GetRouteRequest, ServerCallContext)
public virtual Task<Route> GetRoute(GetRouteRequest request, ServerCallContext context)
Use this method to get details about a route.
Parameters | |
---|---|
Name | Description |
request | GetRouteRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Route> | The response to send back to the client (wrapped by a task). |
GetStream(GetStreamRequest, ServerCallContext)
public virtual Task<Stream> GetStream(GetStreamRequest request, ServerCallContext context)
Use this method to get details about a 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 |
Task<Stream> | The response to send back to the client (wrapped by a task). |
ListConnectionProfiles(ListConnectionProfilesRequest, ServerCallContext)
public virtual Task<ListConnectionProfilesResponse> ListConnectionProfiles(ListConnectionProfilesRequest request, ServerCallContext context)
Use this method to list connection profiles created in a project and location.
Parameters | |
---|---|
Name | Description |
request | ListConnectionProfilesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListConnectionProfilesResponse> | The response to send back to the client (wrapped by a task). |
ListPrivateConnections(ListPrivateConnectionsRequest, ServerCallContext)
public virtual Task<ListPrivateConnectionsResponse> ListPrivateConnections(ListPrivateConnectionsRequest request, ServerCallContext context)
Use this method to list private connectivity configurations in a project and location.
Parameters | |
---|---|
Name | Description |
request | ListPrivateConnectionsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListPrivateConnectionsResponse> | The response to send back to the client (wrapped by a task). |
ListRoutes(ListRoutesRequest, ServerCallContext)
public virtual Task<ListRoutesResponse> ListRoutes(ListRoutesRequest request, ServerCallContext context)
Use this method to list routes created for a private connectivity in a project and location.
Parameters | |
---|---|
Name | Description |
request | ListRoutesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListRoutesResponse> | The response to send back to the client (wrapped by a task). |
ListStreams(ListStreamsRequest, ServerCallContext)
public virtual Task<ListStreamsResponse> ListStreams(ListStreamsRequest request, ServerCallContext context)
Use this method to list streams in a 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 |
Task<ListStreamsResponse> | The response to send back to the client (wrapped by a task). |
UpdateConnectionProfile(UpdateConnectionProfileRequest, ServerCallContext)
public virtual Task<Operation> UpdateConnectionProfile(UpdateConnectionProfileRequest request, ServerCallContext context)
Use this method to update the parameters of a connection profile.
Parameters | |
---|---|
Name | Description |
request | UpdateConnectionProfileRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
UpdateStream(UpdateStreamRequest, ServerCallContext)
public virtual Task<Operation> UpdateStream(UpdateStreamRequest request, ServerCallContext context)
Use this method to update the configuration of a 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 |
Task<Operation> | The response to send back to the client (wrapped by a task). |