Debian Codegraph @

docs/dyn/datastream_v1alpha1.projects.locations.streams.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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()</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
116 Args:
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 # GCS 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;dropLargeObjects&quot;: { # Configuration to drop large object values. # Drop large object values.
283 },
284 &quot;rejectlist&quot;: { # Oracle database structure. # Oracle objects to exclude from the stream.
285 &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
286 { # Oracle schema.
287 &quot;oracleTables&quot;: [ # Tables in the schema.
288 { # Oracle table.
289 &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
290 { # Oracle Column.
291 &quot;columnName&quot;: &quot;A String&quot;, # Column name.
292 &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
293 &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
294 &quot;length&quot;: 42, # Column length.
295 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
296 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
297 &quot;precision&quot;: 42, # Column precision.
298 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
299 &quot;scale&quot;: 42, # Column scale.
300 },
301 ],
302 &quot;tableName&quot;: &quot;A String&quot;, # Table name.
303 },
304 ],
305 &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
306 },
307 ],
308 },
309 },
310 &quot;sourceConnectionProfileName&quot;: &quot;A String&quot;, # Required. Source connection profile identifier.
311 },
312 &quot;state&quot;: &quot;A String&quot;, # The state of the stream.
313 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update time of the stream.
314 }
315
316 force: boolean, Optional. Create the stream without validating it.
317 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).
318 streamId: string, Required. The stream identifier.
319 validateOnly: boolean, Optional. Only validate the stream, but do not create any resources. The default is false.
320 x__xgafv: string, V1 error format.
321 Allowed values
322 1 - v1 error format
323 2 - v2 error format
324
325 Returns:
326 An object of the form:
327
328 { # This resource represents a long-running operation that is the result of a network API call.
329 &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.
330 &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.
331 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
332 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
333 {
334 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
335 },
336 ],
337 &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.
338 },
339 &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.
340 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
341 },
342 &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}`.
343 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
344 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
345 },
346 }</pre>
347 </div>
348
349 <div class="method">
350 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
351 <pre>Use this method to delete a stream.
352
353 Args:
354 name: string, Required. The name of the stream resource to delete. (required)
355 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).
356 x__xgafv: string, V1 error format.
357 Allowed values
358 1 - v1 error format
359 2 - v2 error format
360
361 Returns:
362 An object of the form:
363
364 { # This resource represents a long-running operation that is the result of a network API call.
365 &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.
366 &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.
367 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
368 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
369 {
370 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
371 },
372 ],
373 &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.
374 },
375 &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.
376 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
377 },
378 &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}`.
379 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
380 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
381 },
382 }</pre>
383 </div>
384
385 <div class="method">
386 <code class="details" id="fetchErrors">fetchErrors(stream, body=None, x__xgafv=None)</code>
387 <pre>Use this method to fetch any errors associated with a stream.
388
389 Args:
390 stream: string, Name of the Stream resource for which to fetch any errors. (required)
391 body: object, The request body.
392 The object takes the form of:
393
394 { # Request message for &#x27;FetchErrors&#x27; request.
395 }
396
397 x__xgafv: string, V1 error format.
398 Allowed values
399 1 - v1 error format
400 2 - v2 error format
401
402 Returns:
403 An object of the form:
404
405 { # This resource represents a long-running operation that is the result of a network API call.
406 &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.
407 &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.
408 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
409 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
410 {
411 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
412 },
413 ],
414 &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.
415 },
416 &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.
417 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
418 },
419 &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}`.
420 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
421 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
422 },
423 }</pre>
424 </div>
425
426 <div class="method">
427 <code class="details" id="get">get(name, x__xgafv=None)</code>
428 <pre>Use this method to get details about a stream.
429
430 Args:
431 name: string, Required. The name of the stream resource to get. (required)
432 x__xgafv: string, V1 error format.
433 Allowed values
434 1 - v1 error format
435 2 - v2 error format
436
437 Returns:
438 An object of the form:
439
440 {
441 &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.
442 &quot;mysqlExcludedObjects&quot;: { # MySQL database structure # MySQL data source objects to avoid backfilling.
443 &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
444 { # MySQL database.
445 &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
446 &quot;mysqlTables&quot;: [ # Tables in the database.
447 { # MySQL table.
448 &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
449 { # MySQL Column.
450 &quot;collation&quot;: &quot;A String&quot;, # Column collation.
451 &quot;columnName&quot;: &quot;A String&quot;, # Column name.
452 &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
453 &quot;length&quot;: 42, # Column length.
454 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
455 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
456 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
457 },
458 ],
459 &quot;tableName&quot;: &quot;A String&quot;, # Table name.
460 },
461 ],
462 },
463 ],
464 },
465 &quot;oracleExcludedObjects&quot;: { # Oracle database structure. # Oracle data source objects to avoid backfilling.
466 &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
467 { # Oracle schema.
468 &quot;oracleTables&quot;: [ # Tables in the schema.
469 { # Oracle table.
470 &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
471 { # Oracle Column.
472 &quot;columnName&quot;: &quot;A String&quot;, # Column name.
473 &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
474 &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
475 &quot;length&quot;: 42, # Column length.
476 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
477 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
478 &quot;precision&quot;: 42, # Column precision.
479 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
480 &quot;scale&quot;: 42, # Column scale.
481 },
482 ],
483 &quot;tableName&quot;: &quot;A String&quot;, # Table name.
484 },
485 ],
486 &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
487 },
488 ],
489 },
490 },
491 &quot;backfillNone&quot;: { # Backfill strategy to disable automatic backfill for the Stream&#x27;s objects. # Do not automatically backfill any objects.
492 },
493 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the stream.
494 &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.
495 &quot;destinationConfig&quot;: { # The configuration of the stream destination. # Required. Destination connection profile configuration.
496 &quot;destinationConnectionProfileName&quot;: &quot;A String&quot;, # Required. Destination connection profile identifier.
497 &quot;gcsDestinationConfig&quot;: { # Google Cloud Storage destination configuration # GCS destination configuration.
498 &quot;avroFileFormat&quot;: { # AVRO file format configuration. # AVRO file format configuration.
499 },
500 &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.
501 &quot;fileRotationMb&quot;: 42, # The maximum file size to be saved in the bucket.
502 &quot;gcsFileFormat&quot;: &quot;A String&quot;, # File format that data should be written in. Deprecated field (b/169501737) - use file_format instead.
503 &quot;jsonFileFormat&quot;: { # JSON file format configuration. # JSON file format configuration.
504 &quot;compression&quot;: &quot;A String&quot;, # Compression of the loaded JSON file.
505 &quot;schemaFileFormat&quot;: &quot;A String&quot;, # The schema file format along JSON data files.
506 },
507 &quot;path&quot;: &quot;A String&quot;, # Path inside the Cloud Storage bucket to write data to.
508 },
509 },
510 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name.
511 &quot;errors&quot;: [ # Output only. Errors on the Stream.
512 { # Represent a user-facing Error.
513 &quot;details&quot;: { # Additional information about the error.
514 &quot;a_key&quot;: &quot;A String&quot;,
515 },
516 &quot;errorTime&quot;: &quot;A String&quot;, # The time when the error occurred.
517 &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.
518 &quot;message&quot;: &quot;A String&quot;, # A message containing more information about the error that occurred.
519 &quot;reason&quot;: &quot;A String&quot;, # A title that explains the reason for the error.
520 },
521 ],
522 &quot;labels&quot;: { # Labels.
523 &quot;a_key&quot;: &quot;A String&quot;,
524 },
525 &quot;name&quot;: &quot;A String&quot;, # Output only. The stream&#x27;s name.
526 &quot;sourceConfig&quot;: { # The configuration of the stream source. # Required. Source connection profile configuration.
527 &quot;mysqlSourceConfig&quot;: { # MySQL source configuration # MySQL data source configuration
528 &quot;allowlist&quot;: { # MySQL database structure # MySQL objects to retrieve from the source.
529 &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
530 { # MySQL database.
531 &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
532 &quot;mysqlTables&quot;: [ # Tables in the database.
533 { # MySQL table.
534 &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
535 { # MySQL Column.
536 &quot;collation&quot;: &quot;A String&quot;, # Column collation.
537 &quot;columnName&quot;: &quot;A String&quot;, # Column name.
538 &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
539 &quot;length&quot;: 42, # Column length.
540 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
541 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
542 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
543 },
544 ],
545 &quot;tableName&quot;: &quot;A String&quot;, # Table name.
546 },
547 ],
548 },
549 ],
550 },
551 &quot;rejectlist&quot;: { # MySQL database structure # MySQL objects to exclude from the stream.
552 &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
553 { # MySQL database.
554 &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
555 &quot;mysqlTables&quot;: [ # Tables in the database.
556 { # MySQL table.
557 &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
558 { # MySQL Column.
559 &quot;collation&quot;: &quot;A String&quot;, # Column collation.
560 &quot;columnName&quot;: &quot;A String&quot;, # Column name.
561 &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
562 &quot;length&quot;: 42, # Column length.
563 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
564 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
565 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
566 },
567 ],
568 &quot;tableName&quot;: &quot;A String&quot;, # Table name.
569 },
570 ],
571 },
572 ],
573 },
574 },
575 &quot;oracleSourceConfig&quot;: { # Oracle data source configuration # Oracle data source configuration
576 &quot;allowlist&quot;: { # Oracle database structure. # Oracle objects to include in the stream.
577 &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
578 { # Oracle schema.
579 &quot;oracleTables&quot;: [ # Tables in the schema.
580 { # Oracle table.
581 &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
582 { # Oracle Column.
583 &quot;columnName&quot;: &quot;A String&quot;, # Column name.
584 &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
585 &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
586 &quot;length&quot;: 42, # Column length.
587 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
588 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
589 &quot;precision&quot;: 42, # Column precision.
590 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
591 &quot;scale&quot;: 42, # Column scale.
592 },
593 ],
594 &quot;tableName&quot;: &quot;A String&quot;, # Table name.
595 },
596 ],
597 &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
598 },
599 ],
600 },
601 &quot;dropLargeObjects&quot;: { # Configuration to drop large object values. # Drop large object values.
602 },
603 &quot;rejectlist&quot;: { # Oracle database structure. # Oracle objects to exclude from the stream.
604 &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
605 { # Oracle schema.
606 &quot;oracleTables&quot;: [ # Tables in the schema.
607 { # Oracle table.
608 &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
609 { # Oracle Column.
610 &quot;columnName&quot;: &quot;A String&quot;, # Column name.
611 &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
612 &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
613 &quot;length&quot;: 42, # Column length.
614 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
615 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
616 &quot;precision&quot;: 42, # Column precision.
617 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
618 &quot;scale&quot;: 42, # Column scale.
619 },
620 ],
621 &quot;tableName&quot;: &quot;A String&quot;, # Table name.
622 },
623 ],
624 &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
625 },
626 ],
627 },
628 },
629 &quot;sourceConnectionProfileName&quot;: &quot;A String&quot;, # Required. Source connection profile identifier.
630 },
631 &quot;state&quot;: &quot;A String&quot;, # The state of the stream.
632 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update time of the stream.
633 }</pre>
634 </div>
635
636 <div class="method">
637 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
638 <pre>Use this method to list streams in a project and location.
639
640 Args:
641 parent: string, Required. The parent that owns the collection of streams. (required)
642 filter: string, Filter request.
643 orderBy: string, Order by fields for the result.
644 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.
645 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.
646 x__xgafv: string, V1 error format.
647 Allowed values
648 1 - v1 error format
649 2 - v2 error format
650
651 Returns:
652 An object of the form:
653
654 {
655 &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.
656 &quot;streams&quot;: [ # List of streams
657 {
658 &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.
659 &quot;mysqlExcludedObjects&quot;: { # MySQL database structure # MySQL data source objects to avoid backfilling.
660 &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
661 { # MySQL database.
662 &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
663 &quot;mysqlTables&quot;: [ # Tables in the database.
664 { # MySQL table.
665 &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
666 { # MySQL Column.
667 &quot;collation&quot;: &quot;A String&quot;, # Column collation.
668 &quot;columnName&quot;: &quot;A String&quot;, # Column name.
669 &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
670 &quot;length&quot;: 42, # Column length.
671 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
672 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
673 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
674 },
675 ],
676 &quot;tableName&quot;: &quot;A String&quot;, # Table name.
677 },
678 ],
679 },
680 ],
681 },
682 &quot;oracleExcludedObjects&quot;: { # Oracle database structure. # Oracle data source objects to avoid backfilling.
683 &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
684 { # Oracle schema.
685 &quot;oracleTables&quot;: [ # Tables in the schema.
686 { # Oracle table.
687 &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
688 { # Oracle Column.
689 &quot;columnName&quot;: &quot;A String&quot;, # Column name.
690 &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
691 &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
692 &quot;length&quot;: 42, # Column length.
693 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
694 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
695 &quot;precision&quot;: 42, # Column precision.
696 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
697 &quot;scale&quot;: 42, # Column scale.
698 },
699 ],
700 &quot;tableName&quot;: &quot;A String&quot;, # Table name.
701 },
702 ],
703 &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
704 },
705 ],
706 },
707 },
708 &quot;backfillNone&quot;: { # Backfill strategy to disable automatic backfill for the Stream&#x27;s objects. # Do not automatically backfill any objects.
709 },
710 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the stream.
711 &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.
712 &quot;destinationConfig&quot;: { # The configuration of the stream destination. # Required. Destination connection profile configuration.
713 &quot;destinationConnectionProfileName&quot;: &quot;A String&quot;, # Required. Destination connection profile identifier.
714 &quot;gcsDestinationConfig&quot;: { # Google Cloud Storage destination configuration # GCS destination configuration.
715 &quot;avroFileFormat&quot;: { # AVRO file format configuration. # AVRO file format configuration.
716 },
717 &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.
718 &quot;fileRotationMb&quot;: 42, # The maximum file size to be saved in the bucket.
719 &quot;gcsFileFormat&quot;: &quot;A String&quot;, # File format that data should be written in. Deprecated field (b/169501737) - use file_format instead.
720 &quot;jsonFileFormat&quot;: { # JSON file format configuration. # JSON file format configuration.
721 &quot;compression&quot;: &quot;A String&quot;, # Compression of the loaded JSON file.
722 &quot;schemaFileFormat&quot;: &quot;A String&quot;, # The schema file format along JSON data files.
723 },
724 &quot;path&quot;: &quot;A String&quot;, # Path inside the Cloud Storage bucket to write data to.
725 },
726 },
727 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name.
728 &quot;errors&quot;: [ # Output only. Errors on the Stream.
729 { # Represent a user-facing Error.
730 &quot;details&quot;: { # Additional information about the error.
731 &quot;a_key&quot;: &quot;A String&quot;,
732 },
733 &quot;errorTime&quot;: &quot;A String&quot;, # The time when the error occurred.
734 &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.
735 &quot;message&quot;: &quot;A String&quot;, # A message containing more information about the error that occurred.
736 &quot;reason&quot;: &quot;A String&quot;, # A title that explains the reason for the error.
737 },
738 ],
739 &quot;labels&quot;: { # Labels.
740 &quot;a_key&quot;: &quot;A String&quot;,
741 },
742 &quot;name&quot;: &quot;A String&quot;, # Output only. The stream&#x27;s name.
743 &quot;sourceConfig&quot;: { # The configuration of the stream source. # Required. Source connection profile configuration.
744 &quot;mysqlSourceConfig&quot;: { # MySQL source configuration # MySQL data source configuration
745 &quot;allowlist&quot;: { # MySQL database structure # MySQL objects to retrieve from the source.
746 &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
747 { # MySQL database.
748 &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
749 &quot;mysqlTables&quot;: [ # Tables in the database.
750 { # MySQL table.
751 &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
752 { # MySQL Column.
753 &quot;collation&quot;: &quot;A String&quot;, # Column collation.
754 &quot;columnName&quot;: &quot;A String&quot;, # Column name.
755 &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
756 &quot;length&quot;: 42, # Column length.
757 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
758 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
759 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
760 },
761 ],
762 &quot;tableName&quot;: &quot;A String&quot;, # Table name.
763 },
764 ],
765 },
766 ],
767 },
768 &quot;rejectlist&quot;: { # MySQL database structure # MySQL objects to exclude from the stream.
769 &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
770 { # MySQL database.
771 &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
772 &quot;mysqlTables&quot;: [ # Tables in the database.
773 { # MySQL table.
774 &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
775 { # MySQL Column.
776 &quot;collation&quot;: &quot;A String&quot;, # Column collation.
777 &quot;columnName&quot;: &quot;A String&quot;, # Column name.
778 &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
779 &quot;length&quot;: 42, # Column length.
780 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
781 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
782 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
783 },
784 ],
785 &quot;tableName&quot;: &quot;A String&quot;, # Table name.
786 },
787 ],
788 },
789 ],
790 },
791 },
792 &quot;oracleSourceConfig&quot;: { # Oracle data source configuration # Oracle data source configuration
793 &quot;allowlist&quot;: { # Oracle database structure. # Oracle objects to include in the stream.
794 &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
795 { # Oracle schema.
796 &quot;oracleTables&quot;: [ # Tables in the schema.
797 { # Oracle table.
798 &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
799 { # Oracle Column.
800 &quot;columnName&quot;: &quot;A String&quot;, # Column name.
801 &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
802 &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
803 &quot;length&quot;: 42, # Column length.
804 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
805 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
806 &quot;precision&quot;: 42, # Column precision.
807 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
808 &quot;scale&quot;: 42, # Column scale.
809 },
810 ],
811 &quot;tableName&quot;: &quot;A String&quot;, # Table name.
812 },
813 ],
814 &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
815 },
816 ],
817 },
818 &quot;dropLargeObjects&quot;: { # Configuration to drop large object values. # Drop large object values.
819 },
820 &quot;rejectlist&quot;: { # Oracle database structure. # Oracle objects to exclude from the stream.
821 &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
822 { # Oracle schema.
823 &quot;oracleTables&quot;: [ # Tables in the schema.
824 { # Oracle table.
825 &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
826 { # Oracle Column.
827 &quot;columnName&quot;: &quot;A String&quot;, # Column name.
828 &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
829 &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
830 &quot;length&quot;: 42, # Column length.
831 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
832 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
833 &quot;precision&quot;: 42, # Column precision.
834 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
835 &quot;scale&quot;: 42, # Column scale.
836 },
837 ],
838 &quot;tableName&quot;: &quot;A String&quot;, # Table name.
839 },
840 ],
841 &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
842 },
843 ],
844 },
845 },
846 &quot;sourceConnectionProfileName&quot;: &quot;A String&quot;, # Required. Source connection profile identifier.
847 },
848 &quot;state&quot;: &quot;A String&quot;, # The state of the stream.
849 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update time of the stream.
850 },
851 ],
852 &quot;unreachable&quot;: [ # Locations that could not be reached.
853 &quot;A String&quot;,
854 ],
855 }</pre>
856 </div>
857
858 <div class="method">
859 <code class="details" id="list_next">list_next()</code>
860 <pre>Retrieves the next page of results.
861
862 Args:
863 previous_request: The request for the previous page. (required)
864 previous_response: The response from the request for the previous page. (required)
865
866 Returns:
867 A request object that you can call &#x27;execute()&#x27; on to request the next
868 page. Returns None if there are no more items in the collection.
869 </pre>
870 </div>
871
872 <div class="method">
873 <code class="details" id="patch">patch(name, body=None, force=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</code>
874 <pre>Use this method to update the configuration of a stream.
875
876 Args:
877 name: string, Output only. The stream&#x27;s name. (required)
878 body: object, The request body.
879 The object takes the form of:
880
881 {
882 &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.
883 &quot;mysqlExcludedObjects&quot;: { # MySQL database structure # MySQL data source objects to avoid backfilling.
884 &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
885 { # MySQL database.
886 &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
887 &quot;mysqlTables&quot;: [ # Tables in the database.
888 { # MySQL table.
889 &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
890 { # MySQL Column.
891 &quot;collation&quot;: &quot;A String&quot;, # Column collation.
892 &quot;columnName&quot;: &quot;A String&quot;, # Column name.
893 &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
894 &quot;length&quot;: 42, # Column length.
895 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
896 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
897 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
898 },
899 ],
900 &quot;tableName&quot;: &quot;A String&quot;, # Table name.
901 },
902 ],
903 },
904 ],
905 },
906 &quot;oracleExcludedObjects&quot;: { # Oracle database structure. # Oracle data source objects to avoid backfilling.
907 &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
908 { # Oracle schema.
909 &quot;oracleTables&quot;: [ # Tables in the schema.
910 { # Oracle table.
911 &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
912 { # Oracle Column.
913 &quot;columnName&quot;: &quot;A String&quot;, # Column name.
914 &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
915 &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
916 &quot;length&quot;: 42, # Column length.
917 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
918 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
919 &quot;precision&quot;: 42, # Column precision.
920 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
921 &quot;scale&quot;: 42, # Column scale.
922 },
923 ],
924 &quot;tableName&quot;: &quot;A String&quot;, # Table name.
925 },
926 ],
927 &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
928 },
929 ],
930 },
931 },
932 &quot;backfillNone&quot;: { # Backfill strategy to disable automatic backfill for the Stream&#x27;s objects. # Do not automatically backfill any objects.
933 },
934 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the stream.
935 &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.
936 &quot;destinationConfig&quot;: { # The configuration of the stream destination. # Required. Destination connection profile configuration.
937 &quot;destinationConnectionProfileName&quot;: &quot;A String&quot;, # Required. Destination connection profile identifier.
938 &quot;gcsDestinationConfig&quot;: { # Google Cloud Storage destination configuration # GCS destination configuration.
939 &quot;avroFileFormat&quot;: { # AVRO file format configuration. # AVRO file format configuration.
940 },
941 &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.
942 &quot;fileRotationMb&quot;: 42, # The maximum file size to be saved in the bucket.
943 &quot;gcsFileFormat&quot;: &quot;A String&quot;, # File format that data should be written in. Deprecated field (b/169501737) - use file_format instead.
944 &quot;jsonFileFormat&quot;: { # JSON file format configuration. # JSON file format configuration.
945 &quot;compression&quot;: &quot;A String&quot;, # Compression of the loaded JSON file.
946 &quot;schemaFileFormat&quot;: &quot;A String&quot;, # The schema file format along JSON data files.
947 },
948 &quot;path&quot;: &quot;A String&quot;, # Path inside the Cloud Storage bucket to write data to.
949 },
950 },
951 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name.
952 &quot;errors&quot;: [ # Output only. Errors on the Stream.
953 { # Represent a user-facing Error.
954 &quot;details&quot;: { # Additional information about the error.
955 &quot;a_key&quot;: &quot;A String&quot;,
956 },
957 &quot;errorTime&quot;: &quot;A String&quot;, # The time when the error occurred.
958 &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.
959 &quot;message&quot;: &quot;A String&quot;, # A message containing more information about the error that occurred.
960 &quot;reason&quot;: &quot;A String&quot;, # A title that explains the reason for the error.
961 },
962 ],
963 &quot;labels&quot;: { # Labels.
964 &quot;a_key&quot;: &quot;A String&quot;,
965 },
966 &quot;name&quot;: &quot;A String&quot;, # Output only. The stream&#x27;s name.
967 &quot;sourceConfig&quot;: { # The configuration of the stream source. # Required. Source connection profile configuration.
968 &quot;mysqlSourceConfig&quot;: { # MySQL source configuration # MySQL data source configuration
969 &quot;allowlist&quot;: { # MySQL database structure # MySQL objects to retrieve from the source.
970 &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
971 { # MySQL database.
972 &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
973 &quot;mysqlTables&quot;: [ # Tables in the database.
974 { # MySQL table.
975 &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
976 { # MySQL Column.
977 &quot;collation&quot;: &quot;A String&quot;, # Column collation.
978 &quot;columnName&quot;: &quot;A String&quot;, # Column name.
979 &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
980 &quot;length&quot;: 42, # Column length.
981 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
982 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
983 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
984 },
985 ],
986 &quot;tableName&quot;: &quot;A String&quot;, # Table name.
987 },
988 ],
989 },
990 ],
991 },
992 &quot;rejectlist&quot;: { # MySQL database structure # MySQL objects to exclude from the stream.
993 &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
994 { # MySQL database.
995 &quot;databaseName&quot;: &quot;A String&quot;, # Database name.
996 &quot;mysqlTables&quot;: [ # Tables in the database.
997 { # MySQL table.
998 &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.
999 { # MySQL Column.
1000 &quot;collation&quot;: &quot;A String&quot;, # Column collation.
1001 &quot;columnName&quot;: &quot;A String&quot;, # Column name.
1002 &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
1003 &quot;length&quot;: 42, # Column length.
1004 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
1005 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
1006 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
1007 },
1008 ],
1009 &quot;tableName&quot;: &quot;A String&quot;, # Table name.
1010 },
1011 ],
1012 },
1013 ],
1014 },
1015 },
1016 &quot;oracleSourceConfig&quot;: { # Oracle data source configuration # Oracle data source configuration
1017 &quot;allowlist&quot;: { # Oracle database structure. # Oracle objects to include in the stream.
1018 &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
1019 { # Oracle schema.
1020 &quot;oracleTables&quot;: [ # Tables in the schema.
1021 { # Oracle table.
1022 &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
1023 { # Oracle Column.
1024 &quot;columnName&quot;: &quot;A String&quot;, # Column name.
1025 &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
1026 &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
1027 &quot;length&quot;: 42, # Column length.
1028 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
1029 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
1030 &quot;precision&quot;: 42, # Column precision.
1031 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
1032 &quot;scale&quot;: 42, # Column scale.
1033 },
1034 ],
1035 &quot;tableName&quot;: &quot;A String&quot;, # Table name.
1036 },
1037 ],
1038 &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
1039 },
1040 ],
1041 },
1042 &quot;dropLargeObjects&quot;: { # Configuration to drop large object values. # Drop large object values.
1043 },
1044 &quot;rejectlist&quot;: { # Oracle database structure. # Oracle objects to exclude from the stream.
1045 &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
1046 { # Oracle schema.
1047 &quot;oracleTables&quot;: [ # Tables in the schema.
1048 { # Oracle table.
1049 &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.
1050 { # Oracle Column.
1051 &quot;columnName&quot;: &quot;A String&quot;, # Column name.
1052 &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
1053 &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
1054 &quot;length&quot;: 42, # Column length.
1055 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
1056 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
1057 &quot;precision&quot;: 42, # Column precision.
1058 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
1059 &quot;scale&quot;: 42, # Column scale.
1060 },
1061 ],
1062 &quot;tableName&quot;: &quot;A String&quot;, # Table name.
1063 },
1064 ],
1065 &quot;schemaName&quot;: &quot;A String&quot;, # Schema name.
1066 },
1067 ],
1068 },
1069 },
1070 &quot;sourceConnectionProfileName&quot;: &quot;A String&quot;, # Required. Source connection profile identifier.
1071 },
1072 &quot;state&quot;: &quot;A String&quot;, # The state of the stream.
1073 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update time of the stream.
1074 }
1075
1076 force: boolean, Optional. Execute the update without validating it.
1077 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).
1078 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.
1079 validateOnly: boolean, Optional. Only validate the stream with the changes, without actually updating it. The default is false.
1080 x__xgafv: string, V1 error format.
1081 Allowed values
1082 1 - v1 error format
1083 2 - v2 error format
1084
1085 Returns:
1086 An object of the form:
1087
1088 { # This resource represents a long-running operation that is the result of a network API call.
1089 &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.
1090 &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.
1091 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1092 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1093 {
1094 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1095 },
1096 ],
1097 &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.
1098 },
1099 &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.
1100 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1101 },
1102 &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}`.
1103 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
1104 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1105 },
1106 }</pre>
1107 </div>
1108
1109 </body></html>