Interface DatastreamGrpc.AsyncService (1.46.0)

public static interface DatastreamGrpc.AsyncService

Datastream service

Methods

createConnectionProfile(CreateConnectionProfileRequest request, StreamObserver<Operation> responseObserver)

public default void createConnectionProfile(CreateConnectionProfileRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request CreateConnectionProfileRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createPrivateConnection(CreatePrivateConnectionRequest request, StreamObserver<Operation> responseObserver)

public default void createPrivateConnection(CreatePrivateConnectionRequest request, StreamObserver<Operation> responseObserver)

Use this method to create a private connectivity configuration.

Parameters
Name Description
request CreatePrivateConnectionRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createRoute(CreateRouteRequest request, StreamObserver<Operation> responseObserver)

public default void createRoute(CreateRouteRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request CreateRouteRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createStream(CreateStreamRequest request, StreamObserver<Operation> responseObserver)

public default void createStream(CreateStreamRequest request, StreamObserver<Operation> responseObserver)

Use this method to create a stream.

Parameters
Name Description
request CreateStreamRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteConnectionProfile(DeleteConnectionProfileRequest request, StreamObserver<Operation> responseObserver)

public default void deleteConnectionProfile(DeleteConnectionProfileRequest request, StreamObserver<Operation> responseObserver)

Use this method to delete a connection profile.

Parameters
Name Description
request DeleteConnectionProfileRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deletePrivateConnection(DeletePrivateConnectionRequest request, StreamObserver<Operation> responseObserver)

public default void deletePrivateConnection(DeletePrivateConnectionRequest request, StreamObserver<Operation> responseObserver)

Use this method to delete a private connectivity configuration.

Parameters
Name Description
request DeletePrivateConnectionRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteRoute(DeleteRouteRequest request, StreamObserver<Operation> responseObserver)

public default void deleteRoute(DeleteRouteRequest request, StreamObserver<Operation> responseObserver)

Use this method to delete a route.

Parameters
Name Description
request DeleteRouteRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteStream(DeleteStreamRequest request, StreamObserver<Operation> responseObserver)

public default void deleteStream(DeleteStreamRequest request, StreamObserver<Operation> responseObserver)

Use this method to delete a stream.

Parameters
Name Description
request DeleteStreamRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

discoverConnectionProfile(DiscoverConnectionProfileRequest request, StreamObserver<DiscoverConnectionProfileResponse> responseObserver)

public default void discoverConnectionProfile(DiscoverConnectionProfileRequest request, StreamObserver<DiscoverConnectionProfileResponse> responseObserver)

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 of a parent data object that's optionally supplied in the request.

Parameters
Name Description
request DiscoverConnectionProfileRequest
responseObserver io.grpc.stub.StreamObserver<DiscoverConnectionProfileResponse>

fetchStaticIps(FetchStaticIpsRequest request, StreamObserver<FetchStaticIpsResponse> responseObserver)

public default void fetchStaticIps(FetchStaticIpsRequest request, StreamObserver<FetchStaticIpsResponse> responseObserver)

The FetchStaticIps API call exposes the static IP addresses used by Datastream.

Parameters
Name Description
request FetchStaticIpsRequest
responseObserver io.grpc.stub.StreamObserver<FetchStaticIpsResponse>

getConnectionProfile(GetConnectionProfileRequest request, StreamObserver<ConnectionProfile> responseObserver)

public default void getConnectionProfile(GetConnectionProfileRequest request, StreamObserver<ConnectionProfile> responseObserver)

Use this method to get details about a connection profile.

Parameters
Name Description
request GetConnectionProfileRequest
responseObserver io.grpc.stub.StreamObserver<ConnectionProfile>

getPrivateConnection(GetPrivateConnectionRequest request, StreamObserver<PrivateConnection> responseObserver)

public default void getPrivateConnection(GetPrivateConnectionRequest request, StreamObserver<PrivateConnection> responseObserver)

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

Parameters
Name Description
request GetPrivateConnectionRequest
responseObserver io.grpc.stub.StreamObserver<PrivateConnection>

getRoute(GetRouteRequest request, StreamObserver<Route> responseObserver)

public default void getRoute(GetRouteRequest request, StreamObserver<Route> responseObserver)

Use this method to get details about a route.

Parameters
Name Description
request GetRouteRequest
responseObserver io.grpc.stub.StreamObserver<Route>

getStream(GetStreamRequest request, StreamObserver<Stream> responseObserver)

public default void getStream(GetStreamRequest request, StreamObserver<Stream> responseObserver)

Use this method to get details about a stream.

Parameters
Name Description
request GetStreamRequest
responseObserver io.grpc.stub.StreamObserver<Stream>

getStreamObject(GetStreamObjectRequest request, StreamObserver<StreamObject> responseObserver)

public default void getStreamObject(GetStreamObjectRequest request, StreamObserver<StreamObject> responseObserver)

Use this method to get details about a stream object.

Parameters
Name Description
request GetStreamObjectRequest
responseObserver io.grpc.stub.StreamObserver<StreamObject>

listConnectionProfiles(ListConnectionProfilesRequest request, StreamObserver<ListConnectionProfilesResponse> responseObserver)

public default void listConnectionProfiles(ListConnectionProfilesRequest request, StreamObserver<ListConnectionProfilesResponse> responseObserver)

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

Parameters
Name Description
request ListConnectionProfilesRequest
responseObserver io.grpc.stub.StreamObserver<ListConnectionProfilesResponse>

listPrivateConnections(ListPrivateConnectionsRequest request, StreamObserver<ListPrivateConnectionsResponse> responseObserver)

public default void listPrivateConnections(ListPrivateConnectionsRequest request, StreamObserver<ListPrivateConnectionsResponse> responseObserver)

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

Parameters
Name Description
request ListPrivateConnectionsRequest
responseObserver io.grpc.stub.StreamObserver<ListPrivateConnectionsResponse>

listRoutes(ListRoutesRequest request, StreamObserver<ListRoutesResponse> responseObserver)

public default void listRoutes(ListRoutesRequest request, StreamObserver<ListRoutesResponse> responseObserver)

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

Parameters
Name Description
request ListRoutesRequest
responseObserver io.grpc.stub.StreamObserver<ListRoutesResponse>

listStreamObjects(ListStreamObjectsRequest request, StreamObserver<ListStreamObjectsResponse> responseObserver)

public default void listStreamObjects(ListStreamObjectsRequest request, StreamObserver<ListStreamObjectsResponse> responseObserver)

Use this method to list the objects of a specific stream.

Parameters
Name Description
request ListStreamObjectsRequest
responseObserver io.grpc.stub.StreamObserver<ListStreamObjectsResponse>

listStreams(ListStreamsRequest request, StreamObserver<ListStreamsResponse> responseObserver)

public default void listStreams(ListStreamsRequest request, StreamObserver<ListStreamsResponse> responseObserver)

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

Parameters
Name Description
request ListStreamsRequest
responseObserver io.grpc.stub.StreamObserver<ListStreamsResponse>

lookupStreamObject(LookupStreamObjectRequest request, StreamObserver<StreamObject> responseObserver)

public default void lookupStreamObject(LookupStreamObjectRequest request, StreamObserver<StreamObject> responseObserver)

Use this method to look up a stream object by its source object identifier.

Parameters
Name Description
request LookupStreamObjectRequest
responseObserver io.grpc.stub.StreamObserver<StreamObject>

startBackfillJob(StartBackfillJobRequest request, StreamObserver<StartBackfillJobResponse> responseObserver)

public default void startBackfillJob(StartBackfillJobRequest request, StreamObserver<StartBackfillJobResponse> responseObserver)

Use this method to start a backfill job for the specified stream object.

Parameters
Name Description
request StartBackfillJobRequest
responseObserver io.grpc.stub.StreamObserver<StartBackfillJobResponse>

stopBackfillJob(StopBackfillJobRequest request, StreamObserver<StopBackfillJobResponse> responseObserver)

public default void stopBackfillJob(StopBackfillJobRequest request, StreamObserver<StopBackfillJobResponse> responseObserver)

Use this method to stop a backfill job for the specified stream object.

Parameters
Name Description
request StopBackfillJobRequest
responseObserver io.grpc.stub.StreamObserver<StopBackfillJobResponse>

updateConnectionProfile(UpdateConnectionProfileRequest request, StreamObserver<Operation> responseObserver)

public default void updateConnectionProfile(UpdateConnectionProfileRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request UpdateConnectionProfileRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateStream(UpdateStreamRequest request, StreamObserver<Operation> responseObserver)

public default void updateStream(UpdateStreamRequest request, StreamObserver<Operation> responseObserver)

Use this method to update the configuration of a stream.

Parameters
Name Description
request UpdateStreamRequest
responseObserver io.grpc.stub.StreamObserver<Operation>