com.google.cloud.datastream.v1
A client to Datastream API
The interfaces provided are listed below, along with usage samples.
DatastreamClient
Service Description: Datastream service
Sample for DatastreamClient:
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
try (DatastreamClient datastreamClient = DatastreamClient.create()) {
ConnectionProfileName name =
ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
ConnectionProfile response = datastreamClient.getConnectionProfile(name);
}
com.google.cloud.datastream.v1.stub
com.google.cloud.datastream.v1alpha1
The interfaces provided are listed below, along with usage samples.
DatastreamClient
Service Description: Datastream service
Sample for DatastreamClient:
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
try (DatastreamClient datastreamClient = DatastreamClient.create()) {
ConnectionProfileName name =
ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
ConnectionProfile response = datastreamClient.getConnectionProfile(name);
}