- Resource: Stream
- SourceConfig
- OracleSourceConfig
- OracleRdbms
- OracleSchema
- OracleTable
- OracleColumn
- DropLargeObjects
- MysqlSourceConfig
- MysqlRdbms
- MysqlDatabase
- MysqlTable
- MysqlColumn
- DestinationConfig
- GcsDestinationConfig
- GcsFileFormat
- AvroFileFormat
- JsonFileFormat
- SchemaFileFormat
- JsonCompression
- State
- BackfillAllStrategy
- BackfillNoneStrategy
- Methods
Resource: Stream
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "displayName": string, "sourceConfig": { object ( |
Fields | |
---|---|
name |
Output only. The stream's name. |
createTime |
Output only. The creation time of the stream. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The last update time of the stream. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
Labels. An object containing a list of |
displayName |
Required. Display name. |
sourceConfig |
Required. Source connection profile configuration. |
destinationConfig |
Required. Destination connection profile configuration. |
state |
The state of the stream. |
errors[] |
Output only. Errors on the Stream. |
Union field backfill_strategy . Stream backfill strategy. backfill_strategy can be only one of the following: |
|
backfillAll |
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded. |
backfillNone |
Do not automatically backfill any objects. |
customerManagedEncryptionKey |
Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS. |
SourceConfig
The configuration of the stream source.
JSON representation |
---|
{ "sourceConnectionProfileName": string, // Union field |
Fields | |
---|---|
sourceConnectionProfileName |
Required. Source connection profile identifier. |
Union field source_stream_config . Stream configuration that is specific to the data source type. source_stream_config can be only one of the following: |
|
oracleSourceConfig |
Oracle data source configuration |
mysqlSourceConfig |
MySQL data source configuration |
OracleSourceConfig
Oracle data source configuration
JSON representation |
---|
{ "allowlist": { object ( |
Fields | |
---|---|
allowlist |
Oracle objects to include in the stream. |
rejectlist |
Oracle objects to exclude from the stream. |
Union field large_objects_handling . The configuration for handle Oracle large objects. large_objects_handling can be only one of the following: |
|
dropLargeObjects |
Drop large object values. |
OracleRdbms
Oracle database structure.
JSON representation |
---|
{
"oracleSchemas": [
{
object ( |
Fields | |
---|---|
oracleSchemas[] |
Oracle schemas/databases in the database server. |
OracleSchema
Oracle schema.
JSON representation |
---|
{
"schemaName": string,
"oracleTables": [
{
object ( |
Fields | |
---|---|
schemaName |
Schema name. |
oracleTables[] |
Tables in the schema. |
OracleTable
Oracle table.
JSON representation |
---|
{
"tableName": string,
"oracleColumns": [
{
object ( |
Fields | |
---|---|
tableName |
Table name. |
oracleColumns[] |
Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything. |
OracleColumn
Oracle Column.
JSON representation |
---|
{ "columnName": string, "dataType": string, "length": integer, "precision": integer, "scale": integer, "encoding": string, "primaryKey": boolean, "nullable": boolean, "ordinalPosition": integer } |
Fields | |
---|---|
columnName |
Column name. |
dataType |
The Oracle data type. |
length |
Column length. |
precision |
Column precision. |
scale |
Column scale. |
encoding |
Column encoding. |
primaryKey |
Whether or not the column represents a primary key. |
nullable |
Whether or not the column can accept a null value. |
ordinalPosition |
The ordinal position of the column in the table. |
DropLargeObjects
Configuration to drop large object values.
MysqlSourceConfig
MySQL source configuration
JSON representation |
---|
{ "allowlist": { object ( |
Fields | |
---|---|
allowlist |
MySQL objects to retrieve from the source. |
rejectlist |
MySQL objects to exclude from the stream. |
MysqlRdbms
MySQL database structure
JSON representation |
---|
{
"mysqlDatabases": [
{
object ( |
Fields | |
---|---|
mysqlDatabases[] |
Mysql databases on the server |
MysqlDatabase
MySQL database.
JSON representation |
---|
{
"databaseName": string,
"mysqlTables": [
{
object ( |
Fields | |
---|---|
databaseName |
Database name. |
mysqlTables[] |
Tables in the database. |
MysqlTable
MySQL table.
JSON representation |
---|
{
"tableName": string,
"mysqlColumns": [
{
object ( |
Fields | |
---|---|
tableName |
Table name. |
mysqlColumns[] |
MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything. |
MysqlColumn
MySQL Column.
JSON representation |
---|
{ "columnName": string, "dataType": string, "length": integer, "collation": string, "primaryKey": boolean, "nullable": boolean, "ordinalPosition": integer } |
Fields | |
---|---|
columnName |
Column name. |
dataType |
The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html |
length |
Column length. |
collation |
Column collation. |
primaryKey |
Whether or not the column represents a primary key. |
nullable |
Whether or not the column can accept a null value. |
ordinalPosition |
The ordinal position of the column in the table. |
DestinationConfig
The configuration of the stream destination.
JSON representation |
---|
{ "destinationConnectionProfileName": string, // Union field |
Fields | |
---|---|
destinationConnectionProfileName |
Required. Destination connection profile identifier. |
Union field destination_stream_config . Stream configuration that is specific to the data destination type. destination_stream_config can be only one of the following: |
|
gcsDestinationConfig |
GCS destination configuration. |
GcsDestinationConfig
Google Cloud Storage destination configuration
JSON representation |
---|
{ "path": string, "gcsFileFormat": enum ( |
Fields | |
---|---|
path |
Path inside the Cloud Storage bucket to write data to. |
gcsFileFormat |
File format that data should be written in. Deprecated field (b/169501737) - use file_format instead. |
fileRotationMb |
The maximum file size to be saved in the bucket. |
fileRotationInterval |
The maximum duration for which new events are added before a file is closed and a new file is created. A duration in seconds with up to nine fractional digits, ending with ' |
Union field file_format . File Format that the data should be written in. file_format can be only one of the following: |
|
avroFileFormat |
AVRO file format configuration. |
jsonFileFormat |
JSON file format configuration. |
GcsFileFormat
File format in Cloud Storage.
Enums | |
---|---|
GCS_FILE_FORMAT_UNSPECIFIED |
Unspecified Cloud Storage file format. |
AVRO |
Avro file format |
AvroFileFormat
AVRO file format configuration.
JsonFileFormat
JSON file format configuration.
JSON representation |
---|
{ "schemaFileFormat": enum ( |
Fields | |
---|---|
schemaFileFormat |
The schema file format along JSON data files. |
compression |
Compression of the loaded JSON file. |
SchemaFileFormat
Schema file format.
Enums | |
---|---|
SCHEMA_FILE_FORMAT_UNSPECIFIED |
Unspecified schema file format. |
NO_SCHEMA_FILE |
Do not attach schema file. |
AVRO_SCHEMA_FILE |
Avro schema format. |
JsonCompression
Json file compression.
Enums | |
---|---|
JSON_COMPRESSION_UNSPECIFIED |
Unspecified json file compression. |
NO_COMPRESSION |
Do not compress JSON file. |
GZIP |
Gzip compression. |
State
Stream state.
Enums | |
---|---|
STATE_UNSPECIFIED |
Unspecified stream state. |
CREATED |
The stream has been created. |
RUNNING |
The stream is running. |
PAUSED |
The stream is paused. |
MAINTENANCE |
The stream is in maintenance mode. Updates are rejected on the resource in this state. |
FAILED |
The stream is experiencing an error that is preventing data from being streamed. |
FAILED_PERMANENTLY |
The stream has experienced a terminal failure. |
STARTING |
The stream is starting, but not yet running. |
DRAINING |
The Stream is no longer reading new events, but still writing events in the buffer. |
BackfillAllStrategy
Backfill strategy to automatically backfill the Stream's objects. Specific objects can be excluded.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field excluded_objects . List of objects to exclude. excluded_objects can be only one of the following: |
|
oracleExcludedObjects |
Oracle data source objects to avoid backfilling. |
mysqlExcludedObjects |
MySQL data source objects to avoid backfilling. |
BackfillNoneStrategy
Backfill strategy to disable automatic backfill for the Stream's objects.
Methods |
|
---|---|
(deprecated) |
Use this method to create a stream. |
(deprecated) |
Use this method to delete a stream. |
(deprecated) |
Use this method to fetch any errors associated with a stream. |
(deprecated) |
Use this method to get details about a stream. |
(deprecated) |
Use this method to list streams in a project and location. |
(deprecated) |
Use this method to update the configuration of a stream. |