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