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_v1alpha1.html">Datastream API</a> . <a href="datastream_v1alpha1.projects.html">projects</a> . <a href="datastream_v1alpha1.projects.locations.html">locations</a> . <a href="datastream_v1alpha1.projects.locations.streams.html">streams</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="datastream_v1alpha1.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="#fetchErrors">fetchErrors(stream, body=None, x__xgafv=None)</a></code></p>
93<p class="firstline">Use this method to fetch any errors associated with a stream.</p>
94<p class="toc_element">
95  <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
96<p class="firstline">Use this method to get details about a stream.</p>
97<p class="toc_element">
98  <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
99<p class="firstline">Use this method to list streams in a project and location.</p>
100<p class="toc_element">
101  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
102<p class="firstline">Retrieves the next page of results.</p>
103<p class="toc_element">
104  <code><a href="#patch">patch(name, body=None, force=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
105<p class="firstline">Use this method to update the configuration of a stream.</p>
106<h3>Method Details</h3>
107<div class="method">
108    <code class="details" id="close">close()</code>
109  <pre>Close httplib2 connections.</pre>
110</div>
111
112<div class="method">
113    <code class="details" id="create">create(parent, body=None, force=None, requestId=None, streamId=None, validateOnly=None, x__xgafv=None)</code>
114  <pre>Use this method to create a stream.
115
116Args:
117  parent: string, Required. The parent that owns the collection of streams. (required)
118  body: object, The request body.
119    The object takes the form of:
120
121{
122  &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.
123    &quot;mysqlExcludedObjects&quot;: { # MySQL database structure # MySQL data source objects to avoid backfilling.
124      &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
125        { # MySQL database.
126          &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
127          &quot;mysqlTables&quot;: [ # Tables in the database.
128            { # MySQL table.
129              &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
130                { # MySQL Column.
131                  &quot;collation&quot;: &quot;A String&quot;, # Column collation.
132                  &quot;columnName&quot;: &quot;A String&quot;, # Column name.
133                  &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
134                  &quot;length&quot;: 42, # Column length.
135                  &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
136                  &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
137                  &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
138                },
139              ],
140              &quot;tableName&quot;: &quot;A String&quot;, # Table name.
141            },
142          ],
143        },
144      ],
145    },
146    &quot;oracleExcludedObjects&quot;: { # Oracle database structure. # Oracle data source objects to avoid backfilling.
147      &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
148        { # Oracle schema.
149          &quot;oracleTables&quot;: [ # Tables in the schema.
150            { # Oracle table.
151              &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
152                { # Oracle Column.
153                  &quot;columnName&quot;: &quot;A String&quot;, # Column name.
154                  &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
155                  &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
156                  &quot;length&quot;: 42, # Column length.
157                  &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
158                  &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
159                  &quot;precision&quot;: 42, # Column precision.
160                  &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
161                  &quot;scale&quot;: 42, # Column scale.
162                },
163              ],
164              &quot;tableName&quot;: &quot;A String&quot;, # Table name.
165            },
166          ],
167          &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
168        },
169      ],
170    },
171  },
172  &quot;backfillNone&quot;: { # Backfill strategy to disable automatic backfill for the Stream&#x27;s objects. # Do not automatically backfill any objects.
173  },
174  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the stream.
175  &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.
176  &quot;destinationConfig&quot;: { # The configuration of the stream destination. # Required. Destination connection profile configuration.
177    &quot;destinationConnectionProfileName&quot;: &quot;A String&quot;, # Required. Destination connection profile identifier.
178    &quot;gcsDestinationConfig&quot;: { # Google Cloud Storage destination configuration
179      &quot;avroFileFormat&quot;: { # AVRO file format configuration. # AVRO file format configuration.
180      },
181      &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.
182      &quot;fileRotationMb&quot;: 42, # The maximum file size to be saved in the bucket.
183      &quot;gcsFileFormat&quot;: &quot;A String&quot;, # File format that data should be written in. Deprecated field (b/169501737) - use file_format instead.
184      &quot;jsonFileFormat&quot;: { # JSON file format configuration. # JSON file format configuration.
185        &quot;compression&quot;: &quot;A String&quot;, # Compression of the loaded JSON file.
186        &quot;schemaFileFormat&quot;: &quot;A String&quot;, # The schema file format along JSON data files.
187      },
188      &quot;path&quot;: &quot;A String&quot;, # Path inside the Cloud Storage bucket to write data to.
189    },
190  },
191  &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name.
192  &quot;errors&quot;: [ # Output only. Errors on the Stream.
193    { # Represent a user-facing Error.
194      &quot;details&quot;: { # Additional information about the error.
195        &quot;a_key&quot;: &quot;A String&quot;,
196      },
197      &quot;errorTime&quot;: &quot;A String&quot;, # The time when the error occurred.
198      &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.
199      &quot;message&quot;: &quot;A String&quot;, # A message containing more information about the error that occurred.
200      &quot;reason&quot;: &quot;A String&quot;, # A title that explains the reason for the error.
201    },
202  ],
203  &quot;labels&quot;: { # Labels.
204    &quot;a_key&quot;: &quot;A String&quot;,
205  },
206  &quot;name&quot;: &quot;A String&quot;, # Output only. The stream&#x27;s name.
207  &quot;sourceConfig&quot;: { # The configuration of the stream source. # Required. Source connection profile configuration.
208    &quot;mysqlSourceConfig&quot;: { # MySQL source configuration # MySQL data source configuration
209      &quot;allowlist&quot;: { # MySQL database structure # MySQL objects to retrieve from the source.
210        &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
211          { # MySQL database.
212            &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
213            &quot;mysqlTables&quot;: [ # Tables in the database.
214              { # MySQL table.
215                &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
216                  { # MySQL Column.
217                    &quot;collation&quot;: &quot;A String&quot;, # Column collation.
218                    &quot;columnName&quot;: &quot;A String&quot;, # Column name.
219                    &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
220                    &quot;length&quot;: 42, # Column length.
221                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
222                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
223                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
224                  },
225                ],
226                &quot;tableName&quot;: &quot;A String&quot;, # Table name.
227              },
228            ],
229          },
230        ],
231      },
232      &quot;rejectlist&quot;: { # MySQL database structure # MySQL objects to exclude from the stream.
233        &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
234          { # MySQL database.
235            &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
236            &quot;mysqlTables&quot;: [ # Tables in the database.
237              { # MySQL table.
238                &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
239                  { # MySQL Column.
240                    &quot;collation&quot;: &quot;A String&quot;, # Column collation.
241                    &quot;columnName&quot;: &quot;A String&quot;, # Column name.
242                    &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
243                    &quot;length&quot;: 42, # Column length.
244                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
245                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
246                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
247                  },
248                ],
249                &quot;tableName&quot;: &quot;A String&quot;, # Table name.
250              },
251            ],
252          },
253        ],
254      },
255    },
256    &quot;oracleSourceConfig&quot;: { # Oracle data source configuration # Oracle data source configuration
257      &quot;allowlist&quot;: { # Oracle database structure. # Oracle objects to include in the stream.
258        &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
259          { # Oracle schema.
260            &quot;oracleTables&quot;: [ # Tables in the schema.
261              { # Oracle table.
262                &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
263                  { # Oracle Column.
264                    &quot;columnName&quot;: &quot;A String&quot;, # Column name.
265                    &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
266                    &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
267                    &quot;length&quot;: 42, # Column length.
268                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
269                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
270                    &quot;precision&quot;: 42, # Column precision.
271                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
272                    &quot;scale&quot;: 42, # Column scale.
273                  },
274                ],
275                &quot;tableName&quot;: &quot;A String&quot;, # Table name.
276              },
277            ],
278            &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
279          },
280        ],
281      },
282      &quot;rejectlist&quot;: { # Oracle database structure. # Oracle objects to exclude from the stream.
283        &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
284          { # Oracle schema.
285            &quot;oracleTables&quot;: [ # Tables in the schema.
286              { # Oracle table.
287                &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
288                  { # Oracle Column.
289                    &quot;columnName&quot;: &quot;A String&quot;, # Column name.
290                    &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
291                    &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
292                    &quot;length&quot;: 42, # Column length.
293                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
294                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
295                    &quot;precision&quot;: 42, # Column precision.
296                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
297                    &quot;scale&quot;: 42, # Column scale.
298                  },
299                ],
300                &quot;tableName&quot;: &quot;A String&quot;, # Table name.
301              },
302            ],
303            &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
304          },
305        ],
306      },
307    },
308    &quot;sourceConnectionProfileName&quot;: &quot;A String&quot;, # Required. Source connection profile identifier.
309  },
310  &quot;state&quot;: &quot;A String&quot;, # The state of the stream.
311  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update time of the stream.
312}
313
314  force: boolean, Optional. Create the stream without validating it.
315  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).
316  streamId: string, Required. The stream identifier.
317  validateOnly: boolean, Optional. Only validate the stream, but do not create any resources. The default is false.
318  x__xgafv: string, V1 error format.
319    Allowed values
320      1 - v1 error format
321      2 - v2 error format
322
323Returns:
324  An object of the form:
325
326    { # This resource represents a long-running operation that is the result of a network API call.
327  &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.
328  &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.
329    &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
330    &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
331      {
332        &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
333      },
334    ],
335    &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.
336  },
337  &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.
338    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
339  },
340  &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}`.
341  &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`.
342    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
343  },
344}</pre>
345</div>
346
347<div class="method">
348    <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
349  <pre>Use this method to delete a stream.
350
351Args:
352  name: string, Required. The name of the stream resource to delete. (required)
353  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).
354  x__xgafv: string, V1 error format.
355    Allowed values
356      1 - v1 error format
357      2 - v2 error format
358
359Returns:
360  An object of the form:
361
362    { # This resource represents a long-running operation that is the result of a network API call.
363  &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.
364  &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.
365    &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
366    &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
367      {
368        &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
369      },
370    ],
371    &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.
372  },
373  &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.
374    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
375  },
376  &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}`.
377  &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`.
378    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
379  },
380}</pre>
381</div>
382
383<div class="method">
384    <code class="details" id="fetchErrors">fetchErrors(stream, body=None, x__xgafv=None)</code>
385  <pre>Use this method to fetch any errors associated with a stream.
386
387Args:
388  stream: string, Name of the Stream resource for which to fetch any errors. (required)
389  body: object, The request body.
390    The object takes the form of:
391
392{ # Request message for &#x27;FetchErrors&#x27; request.
393}
394
395  x__xgafv: string, V1 error format.
396    Allowed values
397      1 - v1 error format
398      2 - v2 error format
399
400Returns:
401  An object of the form:
402
403    { # This resource represents a long-running operation that is the result of a network API call.
404  &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.
405  &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.
406    &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
407    &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
408      {
409        &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
410      },
411    ],
412    &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.
413  },
414  &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.
415    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
416  },
417  &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}`.
418  &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`.
419    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
420  },
421}</pre>
422</div>
423
424<div class="method">
425    <code class="details" id="get">get(name, x__xgafv=None)</code>
426  <pre>Use this method to get details about a stream.
427
428Args:
429  name: string, Required. The name of the stream resource to get. (required)
430  x__xgafv: string, V1 error format.
431    Allowed values
432      1 - v1 error format
433      2 - v2 error format
434
435Returns:
436  An object of the form:
437
438    {
439  &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.
440    &quot;mysqlExcludedObjects&quot;: { # MySQL database structure # MySQL data source objects to avoid backfilling.
441      &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
442        { # MySQL database.
443          &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
444          &quot;mysqlTables&quot;: [ # Tables in the database.
445            { # MySQL table.
446              &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
447                { # MySQL Column.
448                  &quot;collation&quot;: &quot;A String&quot;, # Column collation.
449                  &quot;columnName&quot;: &quot;A String&quot;, # Column name.
450                  &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
451                  &quot;length&quot;: 42, # Column length.
452                  &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
453                  &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
454                  &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
455                },
456              ],
457              &quot;tableName&quot;: &quot;A String&quot;, # Table name.
458            },
459          ],
460        },
461      ],
462    },
463    &quot;oracleExcludedObjects&quot;: { # Oracle database structure. # Oracle data source objects to avoid backfilling.
464      &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
465        { # Oracle schema.
466          &quot;oracleTables&quot;: [ # Tables in the schema.
467            { # Oracle table.
468              &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
469                { # Oracle Column.
470                  &quot;columnName&quot;: &quot;A String&quot;, # Column name.
471                  &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
472                  &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
473                  &quot;length&quot;: 42, # Column length.
474                  &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
475                  &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
476                  &quot;precision&quot;: 42, # Column precision.
477                  &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
478                  &quot;scale&quot;: 42, # Column scale.
479                },
480              ],
481              &quot;tableName&quot;: &quot;A String&quot;, # Table name.
482            },
483          ],
484          &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
485        },
486      ],
487    },
488  },
489  &quot;backfillNone&quot;: { # Backfill strategy to disable automatic backfill for the Stream&#x27;s objects. # Do not automatically backfill any objects.
490  },
491  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the stream.
492  &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.
493  &quot;destinationConfig&quot;: { # The configuration of the stream destination. # Required. Destination connection profile configuration.
494    &quot;destinationConnectionProfileName&quot;: &quot;A String&quot;, # Required. Destination connection profile identifier.
495    &quot;gcsDestinationConfig&quot;: { # Google Cloud Storage destination configuration
496      &quot;avroFileFormat&quot;: { # AVRO file format configuration. # AVRO file format configuration.
497      },
498      &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.
499      &quot;fileRotationMb&quot;: 42, # The maximum file size to be saved in the bucket.
500      &quot;gcsFileFormat&quot;: &quot;A String&quot;, # File format that data should be written in. Deprecated field (b/169501737) - use file_format instead.
501      &quot;jsonFileFormat&quot;: { # JSON file format configuration. # JSON file format configuration.
502        &quot;compression&quot;: &quot;A String&quot;, # Compression of the loaded JSON file.
503        &quot;schemaFileFormat&quot;: &quot;A String&quot;, # The schema file format along JSON data files.
504      },
505      &quot;path&quot;: &quot;A String&quot;, # Path inside the Cloud Storage bucket to write data to.
506    },
507  },
508  &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name.
509  &quot;errors&quot;: [ # Output only. Errors on the Stream.
510    { # Represent a user-facing Error.
511      &quot;details&quot;: { # Additional information about the error.
512        &quot;a_key&quot;: &quot;A String&quot;,
513      },
514      &quot;errorTime&quot;: &quot;A String&quot;, # The time when the error occurred.
515      &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.
516      &quot;message&quot;: &quot;A String&quot;, # A message containing more information about the error that occurred.
517      &quot;reason&quot;: &quot;A String&quot;, # A title that explains the reason for the error.
518    },
519  ],
520  &quot;labels&quot;: { # Labels.
521    &quot;a_key&quot;: &quot;A String&quot;,
522  },
523  &quot;name&quot;: &quot;A String&quot;, # Output only. The stream&#x27;s name.
524  &quot;sourceConfig&quot;: { # The configuration of the stream source. # Required. Source connection profile configuration.
525    &quot;mysqlSourceConfig&quot;: { # MySQL source configuration # MySQL data source configuration
526      &quot;allowlist&quot;: { # MySQL database structure # MySQL objects to retrieve from the source.
527        &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
528          { # MySQL database.
529            &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
530            &quot;mysqlTables&quot;: [ # Tables in the database.
531              { # MySQL table.
532                &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
533                  { # MySQL Column.
534                    &quot;collation&quot;: &quot;A String&quot;, # Column collation.
535                    &quot;columnName&quot;: &quot;A String&quot;, # Column name.
536                    &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
537                    &quot;length&quot;: 42, # Column length.
538                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
539                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
540                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
541                  },
542                ],
543                &quot;tableName&quot;: &quot;A String&quot;, # Table name.
544              },
545            ],
546          },
547        ],
548      },
549      &quot;rejectlist&quot;: { # MySQL database structure # MySQL objects to exclude from the stream.
550        &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
551          { # MySQL database.
552            &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
553            &quot;mysqlTables&quot;: [ # Tables in the database.
554              { # MySQL table.
555                &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
556                  { # MySQL Column.
557                    &quot;collation&quot;: &quot;A String&quot;, # Column collation.
558                    &quot;columnName&quot;: &quot;A String&quot;, # Column name.
559                    &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
560                    &quot;length&quot;: 42, # Column length.
561                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
562                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
563                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
564                  },
565                ],
566                &quot;tableName&quot;: &quot;A String&quot;, # Table name.
567              },
568            ],
569          },
570        ],
571      },
572    },
573    &quot;oracleSourceConfig&quot;: { # Oracle data source configuration # Oracle data source configuration
574      &quot;allowlist&quot;: { # Oracle database structure. # Oracle objects to include in the stream.
575        &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
576          { # Oracle schema.
577            &quot;oracleTables&quot;: [ # Tables in the schema.
578              { # Oracle table.
579                &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
580                  { # Oracle Column.
581                    &quot;columnName&quot;: &quot;A String&quot;, # Column name.
582                    &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
583                    &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
584                    &quot;length&quot;: 42, # Column length.
585                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
586                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
587                    &quot;precision&quot;: 42, # Column precision.
588                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
589                    &quot;scale&quot;: 42, # Column scale.
590                  },
591                ],
592                &quot;tableName&quot;: &quot;A String&quot;, # Table name.
593              },
594            ],
595            &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
596          },
597        ],
598      },
599      &quot;rejectlist&quot;: { # Oracle database structure. # Oracle objects to exclude from the stream.
600        &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
601          { # Oracle schema.
602            &quot;oracleTables&quot;: [ # Tables in the schema.
603              { # Oracle table.
604                &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
605                  { # Oracle Column.
606                    &quot;columnName&quot;: &quot;A String&quot;, # Column name.
607                    &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
608                    &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
609                    &quot;length&quot;: 42, # Column length.
610                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
611                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
612                    &quot;precision&quot;: 42, # Column precision.
613                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
614                    &quot;scale&quot;: 42, # Column scale.
615                  },
616                ],
617                &quot;tableName&quot;: &quot;A String&quot;, # Table name.
618              },
619            ],
620            &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
621          },
622        ],
623      },
624    },
625    &quot;sourceConnectionProfileName&quot;: &quot;A String&quot;, # Required. Source connection profile identifier.
626  },
627  &quot;state&quot;: &quot;A String&quot;, # The state of the stream.
628  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update time of the stream.
629}</pre>
630</div>
631
632<div class="method">
633    <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
634  <pre>Use this method to list streams in a project and location.
635
636Args:
637  parent: string, Required. The parent that owns the collection of streams. (required)
638  filter: string, Filter request.
639  orderBy: string, Order by fields for the result.
640  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.
641  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.
642  x__xgafv: string, V1 error format.
643    Allowed values
644      1 - v1 error format
645      2 - v2 error format
646
647Returns:
648  An object of the form:
649
650    {
651  &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.
652  &quot;streams&quot;: [ # List of streams
653    {
654      &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.
655        &quot;mysqlExcludedObjects&quot;: { # MySQL database structure # MySQL data source objects to avoid backfilling.
656          &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
657            { # MySQL database.
658              &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
659              &quot;mysqlTables&quot;: [ # Tables in the database.
660                { # MySQL table.
661                  &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
662                    { # MySQL Column.
663                      &quot;collation&quot;: &quot;A String&quot;, # Column collation.
664                      &quot;columnName&quot;: &quot;A String&quot;, # Column name.
665                      &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
666                      &quot;length&quot;: 42, # Column length.
667                      &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
668                      &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
669                      &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
670                    },
671                  ],
672                  &quot;tableName&quot;: &quot;A String&quot;, # Table name.
673                },
674              ],
675            },
676          ],
677        },
678        &quot;oracleExcludedObjects&quot;: { # Oracle database structure. # Oracle data source objects to avoid backfilling.
679          &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
680            { # Oracle schema.
681              &quot;oracleTables&quot;: [ # Tables in the schema.
682                { # Oracle table.
683                  &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
684                    { # Oracle Column.
685                      &quot;columnName&quot;: &quot;A String&quot;, # Column name.
686                      &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
687                      &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
688                      &quot;length&quot;: 42, # Column length.
689                      &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
690                      &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
691                      &quot;precision&quot;: 42, # Column precision.
692                      &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
693                      &quot;scale&quot;: 42, # Column scale.
694                    },
695                  ],
696                  &quot;tableName&quot;: &quot;A String&quot;, # Table name.
697                },
698              ],
699              &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
700            },
701          ],
702        },
703      },
704      &quot;backfillNone&quot;: { # Backfill strategy to disable automatic backfill for the Stream&#x27;s objects. # Do not automatically backfill any objects.
705      },
706      &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the stream.
707      &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.
708      &quot;destinationConfig&quot;: { # The configuration of the stream destination. # Required. Destination connection profile configuration.
709        &quot;destinationConnectionProfileName&quot;: &quot;A String&quot;, # Required. Destination connection profile identifier.
710        &quot;gcsDestinationConfig&quot;: { # Google Cloud Storage destination configuration
711          &quot;avroFileFormat&quot;: { # AVRO file format configuration. # AVRO file format configuration.
712          },
713          &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.
714          &quot;fileRotationMb&quot;: 42, # The maximum file size to be saved in the bucket.
715          &quot;gcsFileFormat&quot;: &quot;A String&quot;, # File format that data should be written in. Deprecated field (b/169501737) - use file_format instead.
716          &quot;jsonFileFormat&quot;: { # JSON file format configuration. # JSON file format configuration.
717            &quot;compression&quot;: &quot;A String&quot;, # Compression of the loaded JSON file.
718            &quot;schemaFileFormat&quot;: &quot;A String&quot;, # The schema file format along JSON data files.
719          },
720          &quot;path&quot;: &quot;A String&quot;, # Path inside the Cloud Storage bucket to write data to.
721        },
722      },
723      &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name.
724      &quot;errors&quot;: [ # Output only. Errors on the Stream.
725        { # Represent a user-facing Error.
726          &quot;details&quot;: { # Additional information about the error.
727            &quot;a_key&quot;: &quot;A String&quot;,
728          },
729          &quot;errorTime&quot;: &quot;A String&quot;, # The time when the error occurred.
730          &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.
731          &quot;message&quot;: &quot;A String&quot;, # A message containing more information about the error that occurred.
732          &quot;reason&quot;: &quot;A String&quot;, # A title that explains the reason for the error.
733        },
734      ],
735      &quot;labels&quot;: { # Labels.
736        &quot;a_key&quot;: &quot;A String&quot;,
737      },
738      &quot;name&quot;: &quot;A String&quot;, # Output only. The stream&#x27;s name.
739      &quot;sourceConfig&quot;: { # The configuration of the stream source. # Required. Source connection profile configuration.
740        &quot;mysqlSourceConfig&quot;: { # MySQL source configuration # MySQL data source configuration
741          &quot;allowlist&quot;: { # MySQL database structure # MySQL objects to retrieve from the source.
742            &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
743              { # MySQL database.
744                &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
745                &quot;mysqlTables&quot;: [ # Tables in the database.
746                  { # MySQL table.
747                    &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
748                      { # MySQL Column.
749                        &quot;collation&quot;: &quot;A String&quot;, # Column collation.
750                        &quot;columnName&quot;: &quot;A String&quot;, # Column name.
751                        &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
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;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
756                      },
757                    ],
758                    &quot;tableName&quot;: &quot;A String&quot;, # Table name.
759                  },
760                ],
761              },
762            ],
763          },
764          &quot;rejectlist&quot;: { # MySQL database structure # MySQL objects to exclude from the stream.
765            &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
766              { # MySQL database.
767                &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
768                &quot;mysqlTables&quot;: [ # Tables in the database.
769                  { # MySQL table.
770                    &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
771                      { # MySQL Column.
772                        &quot;collation&quot;: &quot;A String&quot;, # Column collation.
773                        &quot;columnName&quot;: &quot;A String&quot;, # Column name.
774                        &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
775                        &quot;length&quot;: 42, # Column length.
776                        &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
777                        &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
778                        &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
779                      },
780                    ],
781                    &quot;tableName&quot;: &quot;A String&quot;, # Table name.
782                  },
783                ],
784              },
785            ],
786          },
787        },
788        &quot;oracleSourceConfig&quot;: { # Oracle data source configuration # Oracle data source configuration
789          &quot;allowlist&quot;: { # Oracle database structure. # Oracle objects to include in the stream.
790            &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
791              { # Oracle schema.
792                &quot;oracleTables&quot;: [ # Tables in the schema.
793                  { # Oracle table.
794                    &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
795                      { # Oracle Column.
796                        &quot;columnName&quot;: &quot;A String&quot;, # Column name.
797                        &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
798                        &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
799                        &quot;length&quot;: 42, # Column length.
800                        &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
801                        &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
802                        &quot;precision&quot;: 42, # Column precision.
803                        &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
804                        &quot;scale&quot;: 42, # Column scale.
805                      },
806                    ],
807                    &quot;tableName&quot;: &quot;A String&quot;, # Table name.
808                  },
809                ],
810                &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
811              },
812            ],
813          },
814          &quot;rejectlist&quot;: { # Oracle database structure. # Oracle objects to exclude from the stream.
815            &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
816              { # Oracle schema.
817                &quot;oracleTables&quot;: [ # Tables in the schema.
818                  { # Oracle table.
819                    &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
820                      { # Oracle Column.
821                        &quot;columnName&quot;: &quot;A String&quot;, # Column name.
822                        &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
823                        &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
824                        &quot;length&quot;: 42, # Column length.
825                        &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
826                        &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
827                        &quot;precision&quot;: 42, # Column precision.
828                        &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
829                        &quot;scale&quot;: 42, # Column scale.
830                      },
831                    ],
832                    &quot;tableName&quot;: &quot;A String&quot;, # Table name.
833                  },
834                ],
835                &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
836              },
837            ],
838          },
839        },
840        &quot;sourceConnectionProfileName&quot;: &quot;A String&quot;, # Required. Source connection profile identifier.
841      },
842      &quot;state&quot;: &quot;A String&quot;, # The state of the stream.
843      &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update time of the stream.
844    },
845  ],
846  &quot;unreachable&quot;: [ # Locations that could not be reached.
847    &quot;A String&quot;,
848  ],
849}</pre>
850</div>
851
852<div class="method">
853    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
854  <pre>Retrieves the next page of results.
855
856Args:
857  previous_request: The request for the previous page. (required)
858  previous_response: The response from the request for the previous page. (required)
859
860Returns:
861  A request object that you can call &#x27;execute()&#x27; on to request the next
862  page. Returns None if there are no more items in the collection.
863    </pre>
864</div>
865
866<div class="method">
867    <code class="details" id="patch">patch(name, body=None, force=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</code>
868  <pre>Use this method to update the configuration of a stream.
869
870Args:
871  name: string, Output only. The stream&#x27;s name. (required)
872  body: object, The request body.
873    The object takes the form of:
874
875{
876  &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.
877    &quot;mysqlExcludedObjects&quot;: { # MySQL database structure # MySQL data source objects to avoid backfilling.
878      &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
879        { # MySQL database.
880          &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
881          &quot;mysqlTables&quot;: [ # Tables in the database.
882            { # MySQL table.
883              &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
884                { # MySQL Column.
885                  &quot;collation&quot;: &quot;A String&quot;, # Column collation.
886                  &quot;columnName&quot;: &quot;A String&quot;, # Column name.
887                  &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
888                  &quot;length&quot;: 42, # Column length.
889                  &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
890                  &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
891                  &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
892                },
893              ],
894              &quot;tableName&quot;: &quot;A String&quot;, # Table name.
895            },
896          ],
897        },
898      ],
899    },
900    &quot;oracleExcludedObjects&quot;: { # Oracle database structure. # Oracle data source objects to avoid backfilling.
901      &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
902        { # Oracle schema.
903          &quot;oracleTables&quot;: [ # Tables in the schema.
904            { # Oracle table.
905              &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
906                { # Oracle Column.
907                  &quot;columnName&quot;: &quot;A String&quot;, # Column name.
908                  &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
909                  &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
910                  &quot;length&quot;: 42, # Column length.
911                  &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
912                  &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
913                  &quot;precision&quot;: 42, # Column precision.
914                  &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
915                  &quot;scale&quot;: 42, # Column scale.
916                },
917              ],
918              &quot;tableName&quot;: &quot;A String&quot;, # Table name.
919            },
920          ],
921          &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
922        },
923      ],
924    },
925  },
926  &quot;backfillNone&quot;: { # Backfill strategy to disable automatic backfill for the Stream&#x27;s objects. # Do not automatically backfill any objects.
927  },
928  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the stream.
929  &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.
930  &quot;destinationConfig&quot;: { # The configuration of the stream destination. # Required. Destination connection profile configuration.
931    &quot;destinationConnectionProfileName&quot;: &quot;A String&quot;, # Required. Destination connection profile identifier.
932    &quot;gcsDestinationConfig&quot;: { # Google Cloud Storage destination configuration
933      &quot;avroFileFormat&quot;: { # AVRO file format configuration. # AVRO file format configuration.
934      },
935      &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.
936      &quot;fileRotationMb&quot;: 42, # The maximum file size to be saved in the bucket.
937      &quot;gcsFileFormat&quot;: &quot;A String&quot;, # File format that data should be written in. Deprecated field (b/169501737) - use file_format instead.
938      &quot;jsonFileFormat&quot;: { # JSON file format configuration. # JSON file format configuration.
939        &quot;compression&quot;: &quot;A String&quot;, # Compression of the loaded JSON file.
940        &quot;schemaFileFormat&quot;: &quot;A String&quot;, # The schema file format along JSON data files.
941      },
942      &quot;path&quot;: &quot;A String&quot;, # Path inside the Cloud Storage bucket to write data to.
943    },
944  },
945  &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name.
946  &quot;errors&quot;: [ # Output only. Errors on the Stream.
947    { # Represent a user-facing Error.
948      &quot;details&quot;: { # Additional information about the error.
949        &quot;a_key&quot;: &quot;A String&quot;,
950      },
951      &quot;errorTime&quot;: &quot;A String&quot;, # The time when the error occurred.
952      &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.
953      &quot;message&quot;: &quot;A String&quot;, # A message containing more information about the error that occurred.
954      &quot;reason&quot;: &quot;A String&quot;, # A title that explains the reason for the error.
955    },
956  ],
957  &quot;labels&quot;: { # Labels.
958    &quot;a_key&quot;: &quot;A String&quot;,
959  },
960  &quot;name&quot;: &quot;A String&quot;, # Output only. The stream&#x27;s name.
961  &quot;sourceConfig&quot;: { # The configuration of the stream source. # Required. Source connection profile configuration.
962    &quot;mysqlSourceConfig&quot;: { # MySQL source configuration # MySQL data source configuration
963      &quot;allowlist&quot;: { # MySQL database structure # MySQL objects to retrieve from the source.
964        &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
965          { # MySQL database.
966            &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
967            &quot;mysqlTables&quot;: [ # Tables in the database.
968              { # MySQL table.
969                &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
970                  { # MySQL Column.
971                    &quot;collation&quot;: &quot;A String&quot;, # Column collation.
972                    &quot;columnName&quot;: &quot;A String&quot;, # Column name.
973                    &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
974                    &quot;length&quot;: 42, # Column length.
975                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
976                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
977                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
978                  },
979                ],
980                &quot;tableName&quot;: &quot;A String&quot;, # Table name.
981              },
982            ],
983          },
984        ],
985      },
986      &quot;rejectlist&quot;: { # MySQL database structure # MySQL objects to exclude from the stream.
987        &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
988          { # MySQL database.
989            &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
990            &quot;mysqlTables&quot;: [ # Tables in the database.
991              { # MySQL table.
992                &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
993                  { # MySQL Column.
994                    &quot;collation&quot;: &quot;A String&quot;, # Column collation.
995                    &quot;columnName&quot;: &quot;A String&quot;, # Column name.
996                    &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
997                    &quot;length&quot;: 42, # Column length.
998                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
999                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
1000                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
1001                  },
1002                ],
1003                &quot;tableName&quot;: &quot;A String&quot;, # Table name.
1004              },
1005            ],
1006          },
1007        ],
1008      },
1009    },
1010    &quot;oracleSourceConfig&quot;: { # Oracle data source configuration # Oracle data source configuration
1011      &quot;allowlist&quot;: { # Oracle database structure. # Oracle objects to include in the stream.
1012        &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
1013          { # Oracle schema.
1014            &quot;oracleTables&quot;: [ # Tables in the schema.
1015              { # Oracle table.
1016                &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
1017                  { # Oracle Column.
1018                    &quot;columnName&quot;: &quot;A String&quot;, # Column name.
1019                    &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
1020                    &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
1021                    &quot;length&quot;: 42, # Column length.
1022                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
1023                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
1024                    &quot;precision&quot;: 42, # Column precision.
1025                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
1026                    &quot;scale&quot;: 42, # Column scale.
1027                  },
1028                ],
1029                &quot;tableName&quot;: &quot;A String&quot;, # Table name.
1030              },
1031            ],
1032            &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
1033          },
1034        ],
1035      },
1036      &quot;rejectlist&quot;: { # Oracle database structure. # Oracle objects to exclude from the stream.
1037        &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
1038          { # Oracle schema.
1039            &quot;oracleTables&quot;: [ # Tables in the schema.
1040              { # Oracle table.
1041                &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
1042                  { # Oracle Column.
1043                    &quot;columnName&quot;: &quot;A String&quot;, # Column name.
1044                    &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
1045                    &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
1046                    &quot;length&quot;: 42, # Column length.
1047                    &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
1048                    &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
1049                    &quot;precision&quot;: 42, # Column precision.
1050                    &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
1051                    &quot;scale&quot;: 42, # Column scale.
1052                  },
1053                ],
1054                &quot;tableName&quot;: &quot;A String&quot;, # Table name.
1055              },
1056            ],
1057            &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
1058          },
1059        ],
1060      },
1061    },
1062    &quot;sourceConnectionProfileName&quot;: &quot;A String&quot;, # Required. Source connection profile identifier.
1063  },
1064  &quot;state&quot;: &quot;A String&quot;, # The state of the stream.
1065  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update time of the stream.
1066}
1067
1068  force: boolean, Optional. Execute the update without validating it.
1069  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).
1070  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.
1071  validateOnly: boolean, Optional. Only validate the stream with the changes, without actually updating it. The default is false.
1072  x__xgafv: string, V1 error format.
1073    Allowed values
1074      1 - v1 error format
1075      2 - v2 error format
1076
1077Returns:
1078  An object of the form:
1079
1080    { # This resource represents a long-running operation that is the result of a network API call.
1081  &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.
1082  &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.
1083    &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1084    &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1085      {
1086        &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1087      },
1088    ],
1089    &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.
1090  },
1091  &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.
1092    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1093  },
1094  &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}`.
1095  &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`.
1096    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1097  },
1098}</pre>
1099</div>
1100
1101</body></html>