1<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5  margin: 0;
6  padding: 0;
7  border: 0;
8  font-weight: inherit;
9  font-style: inherit;
10  font-size: 100%;
11  font-family: inherit;
12  vertical-align: baseline;
13}
14
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50  border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54  margin-top: 0.5em;
55}
56
57.firstline {
58  margin-left: 2 em;
59}
60
61.method  {
62  margin-top: 1em;
63  border: solid 1px #CCC;
64  padding: 1em;
65  background: #EEE;
66}
67
68.details {
69  font-weight: bold;
70  font-size: 14px;
71}
72
73</style>
74
75<h1><a href="datastream_v1.html">Datastream API</a> . <a href="datastream_v1.projects.html">projects</a> . <a href="datastream_v1.projects.locations.html">locations</a> . <a href="datastream_v1.projects.locations.streams.html">streams</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="datastream_v1.projects.locations.streams.objects.html">objects()</a></code>
79</p>
80<p class="firstline">Returns the objects Resource.</p>
81
82<p class="toc_element">
83  <code><a href="#close">close()</a></code></p>
84<p class="firstline">Close httplib2 connections.</p>
85<p class="toc_element">
86  <code><a href="#create">create(parent, body=None, force=None, requestId=None, streamId=None, validateOnly=None, x__xgafv=None)</a></code></p>
87<p class="firstline">Use this method to create a stream.</p>
88<p class="toc_element">
89  <code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
90<p class="firstline">Use this method to delete a stream.</p>
91<p class="toc_element">
92  <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93<p class="firstline">Use this method to get details about a stream.</p>
94<p class="toc_element">
95  <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96<p class="firstline">Use this method to list streams in a project and location.</p>
97<p class="toc_element">
98  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
99<p class="firstline">Retrieves the next page of results.</p>
100<p class="toc_element">
101  <code><a href="#patch">patch(name, body=None, force=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
102<p class="firstline">Use this method to update the configuration of a stream.</p>
103<h3>Method Details</h3>
104<div class="method">
105    <code class="details" id="close">close()</code>
106  <pre>Close httplib2 connections.</pre>
107</div>
108
109<div class="method">
110    <code class="details" id="create">create(parent, body=None, force=None, requestId=None, streamId=None, validateOnly=None, x__xgafv=None)</code>
111  <pre>Use this method to create a stream.
112
113Args:
114  parent: string, Required. The parent that owns the collection of streams. (required)
115  body: object, The request body.
116    The object takes the form of:
117
118{ # A resource representing streaming data from a source to a destination.
119  &quot;backfillAll&quot;: { # Backfill strategy to automatically backfill the Stream&#x27;s objects. Specific objects can be excluded. # Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
120    &quot;mysqlExcludedObjects&quot;: { # MySQL database structure # MySQL data source objects to avoid backfilling.
121      &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
122        { # MySQL database.
123          &quot;database&quot;: &quot;A String&quot;, # Database name.
124          &quot;mysqlTables&quot;: [ # Tables in the database.
125            { # MySQL table.
126              &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
127                { # MySQL Column.
128                  &quot;collation&quot;: &quot;A String&quot;, # Column collation.
129                  &quot;column&quot;: &quot;A String&quot;, # Column name.
130                  &quot;dataType&quot;: &quot;A String&quot;, # The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
131                  &quot;length&quot;: 42, # Column length.
132                  &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
133                  &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
134                  &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
135                },
136              ],
137              &quot;table&quot;: &quot;A String&quot;, # Table name.
138            },
139          ],
140        },
141      ],
142    },
143    &quot;oracleExcludedObjects&quot;: { # Oracle database structure. # Oracle data source objects to avoid backfilling.
144      &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
145        { # Oracle schema.
146          &quot;oracleTables&quot;: [ # Tables in the schema.
147            { # Oracle table.
148              &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
149                { # Oracle Column.
150                  &quot;column&quot;: &quot;A String&quot;, # Column name.
151                  &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
152                  &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
153                  &quot;length&quot;: 42, # Column length.
154                  &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
155                  &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
156                  &quot;precision&quot;: 42, # Column precision.
157                  &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
158                  &quot;scale&quot;: 42, # Column scale.
159                },
160              ],
161              &quot;table&quot;: &quot;A String&quot;, # Table name.
162            },
163          ],
164          &quot;schema&quot;: &quot;A String&quot;, # Schema name.
165        },
166      ],
167    },
168  },
169  &quot;backfillNone&quot;: { # Backfill strategy to disable automatic backfill for the Stream&#x27;s objects. # Do not automatically backfill any objects.
170  },
171  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the stream.
172  &quot;customerManagedEncryptionKey&quot;: &quot;A String&quot;, # 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.
173  &quot;destinationConfig&quot;: { # The configuration of the stream destination. # Required. Destination connection profile configuration.
174    &quot;destinationConnectionProfile&quot;: &quot;A String&quot;, # Required. Destination connection profile resource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
175    &quot;gcsDestinationConfig&quot;: { # Google Cloud Storage destination configuration # A configuration for how data should be loaded to Cloud Storage.
176      &quot;avroFileFormat&quot;: { # AVRO file format configuration. # AVRO file format configuration.
177      },
178      &quot;fileRotationInterval&quot;: &quot;A String&quot;, # The maximum duration for which new events are added before a file is closed and a new file is created.
179      &quot;fileRotationMb&quot;: 42, # The maximum file size to be saved in the bucket.
180      &quot;jsonFileFormat&quot;: { # JSON file format configuration. # JSON file format configuration.
181        &quot;compression&quot;: &quot;A String&quot;, # Compression of the loaded JSON file.
182        &quot;schemaFileFormat&quot;: &quot;A String&quot;, # The schema file format along JSON data files.
183      },
184      &quot;path&quot;: &quot;A String&quot;, # Path inside the Cloud Storage bucket to write data to.
185    },
186  },
187  &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name.
188  &quot;errors&quot;: [ # Output only. Errors on the Stream.
189    { # Represent a user-facing Error.
190      &quot;details&quot;: { # Additional information about the error.
191        &quot;a_key&quot;: &quot;A String&quot;,
192      },
193      &quot;errorTime&quot;: &quot;A String&quot;, # The time when the error occurred.
194      &quot;errorUuid&quot;: &quot;A String&quot;, # A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
195      &quot;message&quot;: &quot;A String&quot;, # A message containing more information about the error that occurred.
196      &quot;reason&quot;: &quot;A String&quot;, # A title that explains the reason for the error.
197    },
198  ],
199  &quot;labels&quot;: { # Labels.
200    &quot;a_key&quot;: &quot;A String&quot;,
201  },
202  &quot;name&quot;: &quot;A String&quot;, # Output only. The stream&#x27;s name.
203  &quot;sourceConfig&quot;: { # The configuration of the stream source. # Required. Source connection profile configuration.
204    &quot;mysqlSourceConfig&quot;: { # MySQL source configuration # MySQL data source configuration
205      &quot;excludeObjects&quot;: { # MySQL database structure # MySQL objects to exclude from the stream.
206        &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
207          { # MySQL database.
208            &quot;database&quot;: &quot;A String&quot;, # Database name.
209            &quot;mysqlTables&quot;: [ # Tables in the database.
210              { # MySQL table.
211                &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
212                  { # MySQL Column.
213                    &quot;collation&quot;: &quot;A String&quot;, # Column collation.
214                    &quot;column&quot;: &quot;A String&quot;, # Column name.
215                    &quot;dataType&quot;: &quot;A String&quot;, # The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
216                    &quot;length&quot;: 42, # Column length.
217                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
218                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
219                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
220                  },
221                ],
222                &quot;table&quot;: &quot;A String&quot;, # Table name.
223              },
224            ],
225          },
226        ],
227      },
228      &quot;includeObjects&quot;: { # MySQL database structure # MySQL objects to retrieve from the source.
229        &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
230          { # MySQL database.
231            &quot;database&quot;: &quot;A String&quot;, # Database name.
232            &quot;mysqlTables&quot;: [ # Tables in the database.
233              { # MySQL table.
234                &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
235                  { # MySQL Column.
236                    &quot;collation&quot;: &quot;A String&quot;, # Column collation.
237                    &quot;column&quot;: &quot;A String&quot;, # Column name.
238                    &quot;dataType&quot;: &quot;A String&quot;, # The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
239                    &quot;length&quot;: 42, # Column length.
240                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
241                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
242                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
243                  },
244                ],
245                &quot;table&quot;: &quot;A String&quot;, # Table name.
246              },
247            ],
248          },
249        ],
250      },
251    },
252    &quot;oracleSourceConfig&quot;: { # Oracle data source configuration # Oracle data source configuration
253      &quot;excludeObjects&quot;: { # Oracle database structure. # Oracle objects to exclude from the stream.
254        &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
255          { # Oracle schema.
256            &quot;oracleTables&quot;: [ # Tables in the schema.
257              { # Oracle table.
258                &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
259                  { # Oracle Column.
260                    &quot;column&quot;: &quot;A String&quot;, # Column name.
261                    &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
262                    &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
263                    &quot;length&quot;: 42, # Column length.
264                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
265                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
266                    &quot;precision&quot;: 42, # Column precision.
267                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
268                    &quot;scale&quot;: 42, # Column scale.
269                  },
270                ],
271                &quot;table&quot;: &quot;A String&quot;, # Table name.
272              },
273            ],
274            &quot;schema&quot;: &quot;A String&quot;, # Schema name.
275          },
276        ],
277      },
278      &quot;includeObjects&quot;: { # Oracle database structure. # Oracle objects to include in the stream.
279        &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
280          { # Oracle schema.
281            &quot;oracleTables&quot;: [ # Tables in the schema.
282              { # Oracle table.
283                &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
284                  { # Oracle Column.
285                    &quot;column&quot;: &quot;A String&quot;, # Column name.
286                    &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
287                    &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
288                    &quot;length&quot;: 42, # Column length.
289                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
290                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
291                    &quot;precision&quot;: 42, # Column precision.
292                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
293                    &quot;scale&quot;: 42, # Column scale.
294                  },
295                ],
296                &quot;table&quot;: &quot;A String&quot;, # Table name.
297              },
298            ],
299            &quot;schema&quot;: &quot;A String&quot;, # Schema name.
300          },
301        ],
302      },
303    },
304    &quot;sourceConnectionProfile&quot;: &quot;A String&quot;, # Required. Source connection profile resoource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
305  },
306  &quot;state&quot;: &quot;A String&quot;, # The state of the stream.
307  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update time of the stream.
308}
309
310  force: boolean, Optional. Create the stream without validating it.
311  requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
312  streamId: string, Required. The stream identifier.
313  validateOnly: boolean, Optional. Only validate the stream, but do not create any resources. The default is false.
314  x__xgafv: string, V1 error format.
315    Allowed values
316      1 - v1 error format
317      2 - v2 error format
318
319Returns:
320  An object of the form:
321
322    { # This resource represents a long-running operation that is the result of a network API call.
323  &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
324  &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
325    &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
326    &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
327      {
328        &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
329      },
330    ],
331    &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
332  },
333  &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
334    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
335  },
336  &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
337  &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
338    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
339  },
340}</pre>
341</div>
342
343<div class="method">
344    <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
345  <pre>Use this method to delete a stream.
346
347Args:
348  name: string, Required. The name of the stream resource to delete. (required)
349  requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
350  x__xgafv: string, V1 error format.
351    Allowed values
352      1 - v1 error format
353      2 - v2 error format
354
355Returns:
356  An object of the form:
357
358    { # This resource represents a long-running operation that is the result of a network API call.
359  &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
360  &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
361    &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
362    &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
363      {
364        &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
365      },
366    ],
367    &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
368  },
369  &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
370    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
371  },
372  &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
373  &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
374    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
375  },
376}</pre>
377</div>
378
379<div class="method">
380    <code class="details" id="get">get(name, x__xgafv=None)</code>
381  <pre>Use this method to get details about a stream.
382
383Args:
384  name: string, Required. The name of the stream resource to get. (required)
385  x__xgafv: string, V1 error format.
386    Allowed values
387      1 - v1 error format
388      2 - v2 error format
389
390Returns:
391  An object of the form:
392
393    { # A resource representing streaming data from a source to a destination.
394  &quot;backfillAll&quot;: { # Backfill strategy to automatically backfill the Stream&#x27;s objects. Specific objects can be excluded. # Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
395    &quot;mysqlExcludedObjects&quot;: { # MySQL database structure # MySQL data source objects to avoid backfilling.
396      &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
397        { # MySQL database.
398          &quot;database&quot;: &quot;A String&quot;, # Database name.
399          &quot;mysqlTables&quot;: [ # Tables in the database.
400            { # MySQL table.
401              &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
402                { # MySQL Column.
403                  &quot;collation&quot;: &quot;A String&quot;, # Column collation.
404                  &quot;column&quot;: &quot;A String&quot;, # Column name.
405                  &quot;dataType&quot;: &quot;A String&quot;, # The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
406                  &quot;length&quot;: 42, # Column length.
407                  &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
408                  &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
409                  &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
410                },
411              ],
412              &quot;table&quot;: &quot;A String&quot;, # Table name.
413            },
414          ],
415        },
416      ],
417    },
418    &quot;oracleExcludedObjects&quot;: { # Oracle database structure. # Oracle data source objects to avoid backfilling.
419      &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
420        { # Oracle schema.
421          &quot;oracleTables&quot;: [ # Tables in the schema.
422            { # Oracle table.
423              &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
424                { # Oracle Column.
425                  &quot;column&quot;: &quot;A String&quot;, # Column name.
426                  &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
427                  &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
428                  &quot;length&quot;: 42, # Column length.
429                  &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
430                  &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
431                  &quot;precision&quot;: 42, # Column precision.
432                  &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
433                  &quot;scale&quot;: 42, # Column scale.
434                },
435              ],
436              &quot;table&quot;: &quot;A String&quot;, # Table name.
437            },
438          ],
439          &quot;schema&quot;: &quot;A String&quot;, # Schema name.
440        },
441      ],
442    },
443  },
444  &quot;backfillNone&quot;: { # Backfill strategy to disable automatic backfill for the Stream&#x27;s objects. # Do not automatically backfill any objects.
445  },
446  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the stream.
447  &quot;customerManagedEncryptionKey&quot;: &quot;A String&quot;, # 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.
448  &quot;destinationConfig&quot;: { # The configuration of the stream destination. # Required. Destination connection profile configuration.
449    &quot;destinationConnectionProfile&quot;: &quot;A String&quot;, # Required. Destination connection profile resource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
450    &quot;gcsDestinationConfig&quot;: { # Google Cloud Storage destination configuration # A configuration for how data should be loaded to Cloud Storage.
451      &quot;avroFileFormat&quot;: { # AVRO file format configuration. # AVRO file format configuration.
452      },
453      &quot;fileRotationInterval&quot;: &quot;A String&quot;, # The maximum duration for which new events are added before a file is closed and a new file is created.
454      &quot;fileRotationMb&quot;: 42, # The maximum file size to be saved in the bucket.
455      &quot;jsonFileFormat&quot;: { # JSON file format configuration. # JSON file format configuration.
456        &quot;compression&quot;: &quot;A String&quot;, # Compression of the loaded JSON file.
457        &quot;schemaFileFormat&quot;: &quot;A String&quot;, # The schema file format along JSON data files.
458      },
459      &quot;path&quot;: &quot;A String&quot;, # Path inside the Cloud Storage bucket to write data to.
460    },
461  },
462  &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name.
463  &quot;errors&quot;: [ # Output only. Errors on the Stream.
464    { # Represent a user-facing Error.
465      &quot;details&quot;: { # Additional information about the error.
466        &quot;a_key&quot;: &quot;A String&quot;,
467      },
468      &quot;errorTime&quot;: &quot;A String&quot;, # The time when the error occurred.
469      &quot;errorUuid&quot;: &quot;A String&quot;, # A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
470      &quot;message&quot;: &quot;A String&quot;, # A message containing more information about the error that occurred.
471      &quot;reason&quot;: &quot;A String&quot;, # A title that explains the reason for the error.
472    },
473  ],
474  &quot;labels&quot;: { # Labels.
475    &quot;a_key&quot;: &quot;A String&quot;,
476  },
477  &quot;name&quot;: &quot;A String&quot;, # Output only. The stream&#x27;s name.
478  &quot;sourceConfig&quot;: { # The configuration of the stream source. # Required. Source connection profile configuration.
479    &quot;mysqlSourceConfig&quot;: { # MySQL source configuration # MySQL data source configuration
480      &quot;excludeObjects&quot;: { # MySQL database structure # MySQL objects to exclude from the stream.
481        &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
482          { # MySQL database.
483            &quot;database&quot;: &quot;A String&quot;, # Database name.
484            &quot;mysqlTables&quot;: [ # Tables in the database.
485              { # MySQL table.
486                &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
487                  { # MySQL Column.
488                    &quot;collation&quot;: &quot;A String&quot;, # Column collation.
489                    &quot;column&quot;: &quot;A String&quot;, # Column name.
490                    &quot;dataType&quot;: &quot;A String&quot;, # The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
491                    &quot;length&quot;: 42, # Column length.
492                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
493                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
494                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
495                  },
496                ],
497                &quot;table&quot;: &quot;A String&quot;, # Table name.
498              },
499            ],
500          },
501        ],
502      },
503      &quot;includeObjects&quot;: { # MySQL database structure # MySQL objects to retrieve from the source.
504        &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
505          { # MySQL database.
506            &quot;database&quot;: &quot;A String&quot;, # Database name.
507            &quot;mysqlTables&quot;: [ # Tables in the database.
508              { # MySQL table.
509                &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
510                  { # MySQL Column.
511                    &quot;collation&quot;: &quot;A String&quot;, # Column collation.
512                    &quot;column&quot;: &quot;A String&quot;, # Column name.
513                    &quot;dataType&quot;: &quot;A String&quot;, # The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
514                    &quot;length&quot;: 42, # Column length.
515                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
516                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
517                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
518                  },
519                ],
520                &quot;table&quot;: &quot;A String&quot;, # Table name.
521              },
522            ],
523          },
524        ],
525      },
526    },
527    &quot;oracleSourceConfig&quot;: { # Oracle data source configuration # Oracle data source configuration
528      &quot;excludeObjects&quot;: { # Oracle database structure. # Oracle objects to exclude from the stream.
529        &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
530          { # Oracle schema.
531            &quot;oracleTables&quot;: [ # Tables in the schema.
532              { # Oracle table.
533                &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
534                  { # Oracle Column.
535                    &quot;column&quot;: &quot;A String&quot;, # Column name.
536                    &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
537                    &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
538                    &quot;length&quot;: 42, # Column length.
539                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
540                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
541                    &quot;precision&quot;: 42, # Column precision.
542                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
543                    &quot;scale&quot;: 42, # Column scale.
544                  },
545                ],
546                &quot;table&quot;: &quot;A String&quot;, # Table name.
547              },
548            ],
549            &quot;schema&quot;: &quot;A String&quot;, # Schema name.
550          },
551        ],
552      },
553      &quot;includeObjects&quot;: { # Oracle database structure. # Oracle objects to include in the stream.
554        &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
555          { # Oracle schema.
556            &quot;oracleTables&quot;: [ # Tables in the schema.
557              { # Oracle table.
558                &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
559                  { # Oracle Column.
560                    &quot;column&quot;: &quot;A String&quot;, # Column name.
561                    &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
562                    &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
563                    &quot;length&quot;: 42, # Column length.
564                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
565                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
566                    &quot;precision&quot;: 42, # Column precision.
567                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
568                    &quot;scale&quot;: 42, # Column scale.
569                  },
570                ],
571                &quot;table&quot;: &quot;A String&quot;, # Table name.
572              },
573            ],
574            &quot;schema&quot;: &quot;A String&quot;, # Schema name.
575          },
576        ],
577      },
578    },
579    &quot;sourceConnectionProfile&quot;: &quot;A String&quot;, # Required. Source connection profile resoource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
580  },
581  &quot;state&quot;: &quot;A String&quot;, # The state of the stream.
582  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update time of the stream.
583}</pre>
584</div>
585
586<div class="method">
587    <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
588  <pre>Use this method to list streams in a project and location.
589
590Args:
591  parent: string, Required. The parent that owns the collection of streams. (required)
592  filter: string, Filter request.
593  orderBy: string, Order by fields for the result.
594  pageSize: integer, Maximum number of streams to return. If unspecified, at most 50 streams will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
595  pageToken: string, Page token received from a previous `ListStreams` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListStreams` must match the call that provided the page token.
596  x__xgafv: string, V1 error format.
597    Allowed values
598      1 - v1 error format
599      2 - v2 error format
600
601Returns:
602  An object of the form:
603
604    { # Response message for listing streams.
605  &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
606  &quot;streams&quot;: [ # List of streams
607    { # A resource representing streaming data from a source to a destination.
608      &quot;backfillAll&quot;: { # Backfill strategy to automatically backfill the Stream&#x27;s objects. Specific objects can be excluded. # Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
609        &quot;mysqlExcludedObjects&quot;: { # MySQL database structure # MySQL data source objects to avoid backfilling.
610          &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
611            { # MySQL database.
612              &quot;database&quot;: &quot;A String&quot;, # Database name.
613              &quot;mysqlTables&quot;: [ # Tables in the database.
614                { # MySQL table.
615                  &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
616                    { # MySQL Column.
617                      &quot;collation&quot;: &quot;A String&quot;, # Column collation.
618                      &quot;column&quot;: &quot;A String&quot;, # Column name.
619                      &quot;dataType&quot;: &quot;A String&quot;, # The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
620                      &quot;length&quot;: 42, # Column length.
621                      &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
622                      &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
623                      &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
624                    },
625                  ],
626                  &quot;table&quot;: &quot;A String&quot;, # Table name.
627                },
628              ],
629            },
630          ],
631        },
632        &quot;oracleExcludedObjects&quot;: { # Oracle database structure. # Oracle data source objects to avoid backfilling.
633          &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
634            { # Oracle schema.
635              &quot;oracleTables&quot;: [ # Tables in the schema.
636                { # Oracle table.
637                  &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
638                    { # Oracle Column.
639                      &quot;column&quot;: &quot;A String&quot;, # Column name.
640                      &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
641                      &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
642                      &quot;length&quot;: 42, # Column length.
643                      &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
644                      &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
645                      &quot;precision&quot;: 42, # Column precision.
646                      &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
647                      &quot;scale&quot;: 42, # Column scale.
648                    },
649                  ],
650                  &quot;table&quot;: &quot;A String&quot;, # Table name.
651                },
652              ],
653              &quot;schema&quot;: &quot;A String&quot;, # Schema name.
654            },
655          ],
656        },
657      },
658      &quot;backfillNone&quot;: { # Backfill strategy to disable automatic backfill for the Stream&#x27;s objects. # Do not automatically backfill any objects.
659      },
660      &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the stream.
661      &quot;customerManagedEncryptionKey&quot;: &quot;A String&quot;, # 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.
662      &quot;destinationConfig&quot;: { # The configuration of the stream destination. # Required. Destination connection profile configuration.
663        &quot;destinationConnectionProfile&quot;: &quot;A String&quot;, # Required. Destination connection profile resource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
664        &quot;gcsDestinationConfig&quot;: { # Google Cloud Storage destination configuration # A configuration for how data should be loaded to Cloud Storage.
665          &quot;avroFileFormat&quot;: { # AVRO file format configuration. # AVRO file format configuration.
666          },
667          &quot;fileRotationInterval&quot;: &quot;A String&quot;, # The maximum duration for which new events are added before a file is closed and a new file is created.
668          &quot;fileRotationMb&quot;: 42, # The maximum file size to be saved in the bucket.
669          &quot;jsonFileFormat&quot;: { # JSON file format configuration. # JSON file format configuration.
670            &quot;compression&quot;: &quot;A String&quot;, # Compression of the loaded JSON file.
671            &quot;schemaFileFormat&quot;: &quot;A String&quot;, # The schema file format along JSON data files.
672          },
673          &quot;path&quot;: &quot;A String&quot;, # Path inside the Cloud Storage bucket to write data to.
674        },
675      },
676      &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name.
677      &quot;errors&quot;: [ # Output only. Errors on the Stream.
678        { # Represent a user-facing Error.
679          &quot;details&quot;: { # Additional information about the error.
680            &quot;a_key&quot;: &quot;A String&quot;,
681          },
682          &quot;errorTime&quot;: &quot;A String&quot;, # The time when the error occurred.
683          &quot;errorUuid&quot;: &quot;A String&quot;, # A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
684          &quot;message&quot;: &quot;A String&quot;, # A message containing more information about the error that occurred.
685          &quot;reason&quot;: &quot;A String&quot;, # A title that explains the reason for the error.
686        },
687      ],
688      &quot;labels&quot;: { # Labels.
689        &quot;a_key&quot;: &quot;A String&quot;,
690      },
691      &quot;name&quot;: &quot;A String&quot;, # Output only. The stream&#x27;s name.
692      &quot;sourceConfig&quot;: { # The configuration of the stream source. # Required. Source connection profile configuration.
693        &quot;mysqlSourceConfig&quot;: { # MySQL source configuration # MySQL data source configuration
694          &quot;excludeObjects&quot;: { # MySQL database structure # MySQL objects to exclude from the stream.
695            &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
696              { # MySQL database.
697                &quot;database&quot;: &quot;A String&quot;, # Database name.
698                &quot;mysqlTables&quot;: [ # Tables in the database.
699                  { # MySQL table.
700                    &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
701                      { # MySQL Column.
702                        &quot;collation&quot;: &quot;A String&quot;, # Column collation.
703                        &quot;column&quot;: &quot;A String&quot;, # Column name.
704                        &quot;dataType&quot;: &quot;A String&quot;, # The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
705                        &quot;length&quot;: 42, # Column length.
706                        &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
707                        &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
708                        &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
709                      },
710                    ],
711                    &quot;table&quot;: &quot;A String&quot;, # Table name.
712                  },
713                ],
714              },
715            ],
716          },
717          &quot;includeObjects&quot;: { # MySQL database structure # MySQL objects to retrieve from the source.
718            &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
719              { # MySQL database.
720                &quot;database&quot;: &quot;A String&quot;, # Database name.
721                &quot;mysqlTables&quot;: [ # Tables in the database.
722                  { # MySQL table.
723                    &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
724                      { # MySQL Column.
725                        &quot;collation&quot;: &quot;A String&quot;, # Column collation.
726                        &quot;column&quot;: &quot;A String&quot;, # Column name.
727                        &quot;dataType&quot;: &quot;A String&quot;, # The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
728                        &quot;length&quot;: 42, # Column length.
729                        &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
730                        &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
731                        &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
732                      },
733                    ],
734                    &quot;table&quot;: &quot;A String&quot;, # Table name.
735                  },
736                ],
737              },
738            ],
739          },
740        },
741        &quot;oracleSourceConfig&quot;: { # Oracle data source configuration # Oracle data source configuration
742          &quot;excludeObjects&quot;: { # Oracle database structure. # Oracle objects to exclude from the stream.
743            &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
744              { # Oracle schema.
745                &quot;oracleTables&quot;: [ # Tables in the schema.
746                  { # Oracle table.
747                    &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
748                      { # Oracle Column.
749                        &quot;column&quot;: &quot;A String&quot;, # Column name.
750                        &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
751                        &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
752                        &quot;length&quot;: 42, # Column length.
753                        &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
754                        &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
755                        &quot;precision&quot;: 42, # Column precision.
756                        &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
757                        &quot;scale&quot;: 42, # Column scale.
758                      },
759                    ],
760                    &quot;table&quot;: &quot;A String&quot;, # Table name.
761                  },
762                ],
763                &quot;schema&quot;: &quot;A String&quot;, # Schema name.
764              },
765            ],
766          },
767          &quot;includeObjects&quot;: { # Oracle database structure. # Oracle objects to include in the stream.
768            &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
769              { # Oracle schema.
770                &quot;oracleTables&quot;: [ # Tables in the schema.
771                  { # Oracle table.
772                    &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
773                      { # Oracle Column.
774                        &quot;column&quot;: &quot;A String&quot;, # Column name.
775                        &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
776                        &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
777                        &quot;length&quot;: 42, # Column length.
778                        &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
779                        &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
780                        &quot;precision&quot;: 42, # Column precision.
781                        &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
782                        &quot;scale&quot;: 42, # Column scale.
783                      },
784                    ],
785                    &quot;table&quot;: &quot;A String&quot;, # Table name.
786                  },
787                ],
788                &quot;schema&quot;: &quot;A String&quot;, # Schema name.
789              },
790            ],
791          },
792        },
793        &quot;sourceConnectionProfile&quot;: &quot;A String&quot;, # Required. Source connection profile resoource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
794      },
795      &quot;state&quot;: &quot;A String&quot;, # The state of the stream.
796      &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update time of the stream.
797    },
798  ],
799  &quot;unreachable&quot;: [ # Locations that could not be reached.
800    &quot;A String&quot;,
801  ],
802}</pre>
803</div>
804
805<div class="method">
806    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
807  <pre>Retrieves the next page of results.
808
809Args:
810  previous_request: The request for the previous page. (required)
811  previous_response: The response from the request for the previous page. (required)
812
813Returns:
814  A request object that you can call &#x27;execute()&#x27; on to request the next
815  page. Returns None if there are no more items in the collection.
816    </pre>
817</div>
818
819<div class="method">
820    <code class="details" id="patch">patch(name, body=None, force=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</code>
821  <pre>Use this method to update the configuration of a stream.
822
823Args:
824  name: string, Output only. The stream&#x27;s name. (required)
825  body: object, The request body.
826    The object takes the form of:
827
828{ # A resource representing streaming data from a source to a destination.
829  &quot;backfillAll&quot;: { # Backfill strategy to automatically backfill the Stream&#x27;s objects. Specific objects can be excluded. # Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
830    &quot;mysqlExcludedObjects&quot;: { # MySQL database structure # MySQL data source objects to avoid backfilling.
831      &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
832        { # MySQL database.
833          &quot;database&quot;: &quot;A String&quot;, # Database name.
834          &quot;mysqlTables&quot;: [ # Tables in the database.
835            { # MySQL table.
836              &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
837                { # MySQL Column.
838                  &quot;collation&quot;: &quot;A String&quot;, # Column collation.
839                  &quot;column&quot;: &quot;A String&quot;, # Column name.
840                  &quot;dataType&quot;: &quot;A String&quot;, # The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
841                  &quot;length&quot;: 42, # Column length.
842                  &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
843                  &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
844                  &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
845                },
846              ],
847              &quot;table&quot;: &quot;A String&quot;, # Table name.
848            },
849          ],
850        },
851      ],
852    },
853    &quot;oracleExcludedObjects&quot;: { # Oracle database structure. # Oracle data source objects to avoid backfilling.
854      &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
855        { # Oracle schema.
856          &quot;oracleTables&quot;: [ # Tables in the schema.
857            { # Oracle table.
858              &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
859                { # Oracle Column.
860                  &quot;column&quot;: &quot;A String&quot;, # Column name.
861                  &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
862                  &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
863                  &quot;length&quot;: 42, # Column length.
864                  &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
865                  &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
866                  &quot;precision&quot;: 42, # Column precision.
867                  &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
868                  &quot;scale&quot;: 42, # Column scale.
869                },
870              ],
871              &quot;table&quot;: &quot;A String&quot;, # Table name.
872            },
873          ],
874          &quot;schema&quot;: &quot;A String&quot;, # Schema name.
875        },
876      ],
877    },
878  },
879  &quot;backfillNone&quot;: { # Backfill strategy to disable automatic backfill for the Stream&#x27;s objects. # Do not automatically backfill any objects.
880  },
881  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the stream.
882  &quot;customerManagedEncryptionKey&quot;: &quot;A String&quot;, # 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.
883  &quot;destinationConfig&quot;: { # The configuration of the stream destination. # Required. Destination connection profile configuration.
884    &quot;destinationConnectionProfile&quot;: &quot;A String&quot;, # Required. Destination connection profile resource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
885    &quot;gcsDestinationConfig&quot;: { # Google Cloud Storage destination configuration # A configuration for how data should be loaded to Cloud Storage.
886      &quot;avroFileFormat&quot;: { # AVRO file format configuration. # AVRO file format configuration.
887      },
888      &quot;fileRotationInterval&quot;: &quot;A String&quot;, # The maximum duration for which new events are added before a file is closed and a new file is created.
889      &quot;fileRotationMb&quot;: 42, # The maximum file size to be saved in the bucket.
890      &quot;jsonFileFormat&quot;: { # JSON file format configuration. # JSON file format configuration.
891        &quot;compression&quot;: &quot;A String&quot;, # Compression of the loaded JSON file.
892        &quot;schemaFileFormat&quot;: &quot;A String&quot;, # The schema file format along JSON data files.
893      },
894      &quot;path&quot;: &quot;A String&quot;, # Path inside the Cloud Storage bucket to write data to.
895    },
896  },
897  &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name.
898  &quot;errors&quot;: [ # Output only. Errors on the Stream.
899    { # Represent a user-facing Error.
900      &quot;details&quot;: { # Additional information about the error.
901        &quot;a_key&quot;: &quot;A String&quot;,
902      },
903      &quot;errorTime&quot;: &quot;A String&quot;, # The time when the error occurred.
904      &quot;errorUuid&quot;: &quot;A String&quot;, # A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
905      &quot;message&quot;: &quot;A String&quot;, # A message containing more information about the error that occurred.
906      &quot;reason&quot;: &quot;A String&quot;, # A title that explains the reason for the error.
907    },
908  ],
909  &quot;labels&quot;: { # Labels.
910    &quot;a_key&quot;: &quot;A String&quot;,
911  },
912  &quot;name&quot;: &quot;A String&quot;, # Output only. The stream&#x27;s name.
913  &quot;sourceConfig&quot;: { # The configuration of the stream source. # Required. Source connection profile configuration.
914    &quot;mysqlSourceConfig&quot;: { # MySQL source configuration # MySQL data source configuration
915      &quot;excludeObjects&quot;: { # MySQL database structure # MySQL objects to exclude from the stream.
916        &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
917          { # MySQL database.
918            &quot;database&quot;: &quot;A String&quot;, # Database name.
919            &quot;mysqlTables&quot;: [ # Tables in the database.
920              { # MySQL table.
921                &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
922                  { # MySQL Column.
923                    &quot;collation&quot;: &quot;A String&quot;, # Column collation.
924                    &quot;column&quot;: &quot;A String&quot;, # Column name.
925                    &quot;dataType&quot;: &quot;A String&quot;, # The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
926                    &quot;length&quot;: 42, # Column length.
927                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
928                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
929                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
930                  },
931                ],
932                &quot;table&quot;: &quot;A String&quot;, # Table name.
933              },
934            ],
935          },
936        ],
937      },
938      &quot;includeObjects&quot;: { # MySQL database structure # MySQL objects to retrieve from the source.
939        &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
940          { # MySQL database.
941            &quot;database&quot;: &quot;A String&quot;, # Database name.
942            &quot;mysqlTables&quot;: [ # Tables in the database.
943              { # MySQL table.
944                &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
945                  { # MySQL Column.
946                    &quot;collation&quot;: &quot;A String&quot;, # Column collation.
947                    &quot;column&quot;: &quot;A String&quot;, # Column name.
948                    &quot;dataType&quot;: &quot;A String&quot;, # The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
949                    &quot;length&quot;: 42, # Column length.
950                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
951                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
952                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
953                  },
954                ],
955                &quot;table&quot;: &quot;A String&quot;, # Table name.
956              },
957            ],
958          },
959        ],
960      },
961    },
962    &quot;oracleSourceConfig&quot;: { # Oracle data source configuration # Oracle data source configuration
963      &quot;excludeObjects&quot;: { # Oracle database structure. # Oracle objects to exclude from the stream.
964        &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
965          { # Oracle schema.
966            &quot;oracleTables&quot;: [ # Tables in the schema.
967              { # Oracle table.
968                &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
969                  { # Oracle Column.
970                    &quot;column&quot;: &quot;A String&quot;, # Column name.
971                    &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
972                    &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
973                    &quot;length&quot;: 42, # Column length.
974                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
975                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
976                    &quot;precision&quot;: 42, # Column precision.
977                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
978                    &quot;scale&quot;: 42, # Column scale.
979                  },
980                ],
981                &quot;table&quot;: &quot;A String&quot;, # Table name.
982              },
983            ],
984            &quot;schema&quot;: &quot;A String&quot;, # Schema name.
985          },
986        ],
987      },
988      &quot;includeObjects&quot;: { # Oracle database structure. # Oracle objects to include in the stream.
989        &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
990          { # Oracle schema.
991            &quot;oracleTables&quot;: [ # Tables in the schema.
992              { # Oracle table.
993                &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
994                  { # Oracle Column.
995                    &quot;column&quot;: &quot;A String&quot;, # Column name.
996                    &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
997                    &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
998                    &quot;length&quot;: 42, # Column length.
999                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
1000                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
1001                    &quot;precision&quot;: 42, # Column precision.
1002                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
1003                    &quot;scale&quot;: 42, # Column scale.
1004                  },
1005                ],
1006                &quot;table&quot;: &quot;A String&quot;, # Table name.
1007              },
1008            ],
1009            &quot;schema&quot;: &quot;A String&quot;, # Schema name.
1010          },
1011        ],
1012      },
1013    },
1014    &quot;sourceConnectionProfile&quot;: &quot;A String&quot;, # Required. Source connection profile resoource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
1015  },
1016  &quot;state&quot;: &quot;A String&quot;, # The state of the stream.
1017  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update time of the stream.
1018}
1019
1020  force: boolean, Optional. Create the stream without validating it.
1021  requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1022  updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the stream resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
1023  validateOnly: boolean, Optional. Only validate the stream with the changes, without actually updating it. The default is false.
1024  x__xgafv: string, V1 error format.
1025    Allowed values
1026      1 - v1 error format
1027      2 - v2 error format
1028
1029Returns:
1030  An object of the form:
1031
1032    { # This resource represents a long-running operation that is the result of a network API call.
1033  &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
1034  &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
1035    &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1036    &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1037      {
1038        &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1039      },
1040    ],
1041    &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1042  },
1043  &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
1044    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1045  },
1046  &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
1047  &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1048    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1049  },
1050}</pre>
1051</div>
1052
1053</body></html>