1{
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
7 }
8 }
9 }
10 },
11 "basePath": "",
12 "baseUrl": "https://datastream.googleapis.com/",
13 "batchPath": "batch",
14 "canonicalName": "Datastream",
15 "description": "",
16 "discoveryVersion": "v1",
17 "documentationLink": "https://cloud.google.com/datastream/",
18 "fullyEncodeReservedExpansion": true,
19 "icons": {
20 "x16": "http://www.google.com/images/icons/product/search-16.gif",
21 "x32": "http://www.google.com/images/icons/product/search-32.gif"
22 },
23 "id": "datastream:v1",
24 "kind": "discovery#restDescription",
25 "mtlsRootUrl": "https://datastream.mtls.googleapis.com/",
26 "name": "datastream",
27 "ownerDomain": "google.com",
28 "ownerName": "Google",
29 "parameters": {
30 "$.xgafv": {
31 "description": "V1 error format.",
32 "enum": [
33 "1",
34 "2"
35 ],
36 "enumDescriptions": [
37 "v1 error format",
38 "v2 error format"
39 ],
40 "location": "query",
41 "type": "string"
42 },
43 "access_token": {
44 "description": "OAuth access token.",
45 "location": "query",
46 "type": "string"
47 },
48 "alt": {
49 "default": "json",
50 "description": "Data format for response.",
51 "enum": [
52 "json",
53 "media",
54 "proto"
55 ],
56 "enumDescriptions": [
57 "Responses with Content-Type of application/json",
58 "Media download with context-dependent Content-Type",
59 "Responses with Content-Type of application/x-protobuf"
60 ],
61 "location": "query",
62 "type": "string"
63 },
64 "callback": {
65 "description": "JSONP",
66 "location": "query",
67 "type": "string"
68 },
69 "fields": {
70 "description": "Selector specifying which fields to include in a partial response.",
71 "location": "query",
72 "type": "string"
73 },
74 "key": {
75 "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
76 "location": "query",
77 "type": "string"
78 },
79 "oauth_token": {
80 "description": "OAuth 2.0 token for the current user.",
81 "location": "query",
82 "type": "string"
83 },
84 "prettyPrint": {
85 "default": "true",
86 "description": "Returns response with indentations and line breaks.",
87 "location": "query",
88 "type": "boolean"
89 },
90 "quotaUser": {
91 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
92 "location": "query",
93 "type": "string"
94 },
95 "uploadType": {
96 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
97 "location": "query",
98 "type": "string"
99 },
100 "upload_protocol": {
101 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
102 "location": "query",
103 "type": "string"
104 }
105 },
106 "protocol": "rest",
107 "resources": {
108 "projects": {
109 "resources": {
110 "locations": {
111 "methods": {
112 "fetchStaticIps": {
113 "description": "The FetchStaticIps API call exposes the static IP addresses used by Datastream.",
114 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:fetchStaticIps",
115 "httpMethod": "GET",
116 "id": "datastream.projects.locations.fetchStaticIps",
117 "parameterOrder": [
118 "name"
119 ],
120 "parameters": {
121 "name": {
122 "description": "Required. The resource name for the location for which static IPs should be returned. Must be in the format `projects/*/locations/*`.",
123 "location": "path",
124 "pattern": "^projects/[^/]+/locations/[^/]+$",
125 "required": true,
126 "type": "string"
127 },
128 "pageSize": {
129 "description": "Maximum number of Ips to return, will likely not be specified.",
130 "format": "int32",
131 "location": "query",
132 "type": "integer"
133 },
134 "pageToken": {
135 "description": "A page token, received from a previous `ListStaticIps` call. will likely not be specified.",
136 "location": "query",
137 "type": "string"
138 }
139 },
140 "path": "v1/{+name}:fetchStaticIps",
141 "response": {
142 "$ref": "FetchStaticIpsResponse"
143 },
144 "scopes": [
145 "https://www.googleapis.com/auth/cloud-platform"
146 ]
147 },
148 "get": {
149 "description": "Gets information about a location.",
150 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}",
151 "httpMethod": "GET",
152 "id": "datastream.projects.locations.get",
153 "parameterOrder": [
154 "name"
155 ],
156 "parameters": {
157 "name": {
158 "description": "Resource name for the location.",
159 "location": "path",
160 "pattern": "^projects/[^/]+/locations/[^/]+$",
161 "required": true,
162 "type": "string"
163 }
164 },
165 "path": "v1/{+name}",
166 "response": {
167 "$ref": "Location"
168 },
169 "scopes": [
170 "https://www.googleapis.com/auth/cloud-platform"
171 ]
172 },
173 "list": {
174 "description": "Lists information about the supported locations for this service.",
175 "flatPath": "v1/projects/{projectsId}/locations",
176 "httpMethod": "GET",
177 "id": "datastream.projects.locations.list",
178 "parameterOrder": [
179 "name"
180 ],
181 "parameters": {
182 "filter": {
183 "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
184 "location": "query",
185 "type": "string"
186 },
187 "name": {
188 "description": "The resource that owns the locations collection, if applicable.",
189 "location": "path",
190 "pattern": "^projects/[^/]+$",
191 "required": true,
192 "type": "string"
193 },
194 "pageSize": {
195 "description": "The maximum number of results to return. If not set, the service selects a default.",
196 "format": "int32",
197 "location": "query",
198 "type": "integer"
199 },
200 "pageToken": {
201 "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.",
202 "location": "query",
203 "type": "string"
204 }
205 },
206 "path": "v1/{+name}/locations",
207 "response": {
208 "$ref": "ListLocationsResponse"
209 },
210 "scopes": [
211 "https://www.googleapis.com/auth/cloud-platform"
212 ]
213 }
214 },
215 "resources": {
216 "connectionProfiles": {
217 "methods": {
218 "create": {
219 "description": "Use this method to create a connection profile in a project and location.",
220 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectionProfiles",
221 "httpMethod": "POST",
222 "id": "datastream.projects.locations.connectionProfiles.create",
223 "parameterOrder": [
224 "parent"
225 ],
226 "parameters": {
227 "connectionProfileId": {
228 "description": "Required. The connection profile identifier.",
229 "location": "query",
230 "type": "string"
231 },
232 "force": {
233 "description": "Optional. Create the connection profile without validating it.",
234 "location": "query",
235 "type": "boolean"
236 },
237 "parent": {
238 "description": "Required. The parent that owns the collection of ConnectionProfiles.",
239 "location": "path",
240 "pattern": "^projects/[^/]+/locations/[^/]+$",
241 "required": true,
242 "type": "string"
243 },
244 "requestId": {
245 "description": "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).",
246 "location": "query",
247 "type": "string"
248 },
249 "validateOnly": {
250 "description": "Optional. Only validate the connection profile, but don't create any resources. The default is false.",
251 "location": "query",
252 "type": "boolean"
253 }
254 },
255 "path": "v1/{+parent}/connectionProfiles",
256 "request": {
257 "$ref": "ConnectionProfile"
258 },
259 "response": {
260 "$ref": "Operation"
261 },
262 "scopes": [
263 "https://www.googleapis.com/auth/cloud-platform"
264 ]
265 },
266 "delete": {
267 "description": "Use this method to delete a connection profile.",
268 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectionProfiles/{connectionProfilesId}",
269 "httpMethod": "DELETE",
270 "id": "datastream.projects.locations.connectionProfiles.delete",
271 "parameterOrder": [
272 "name"
273 ],
274 "parameters": {
275 "name": {
276 "description": "Required. The name of the connection profile resource to delete.",
277 "location": "path",
278 "pattern": "^projects/[^/]+/locations/[^/]+/connectionProfiles/[^/]+$",
279 "required": true,
280 "type": "string"
281 },
282 "requestId": {
283 "description": "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).",
284 "location": "query",
285 "type": "string"
286 }
287 },
288 "path": "v1/{+name}",
289 "response": {
290 "$ref": "Operation"
291 },
292 "scopes": [
293 "https://www.googleapis.com/auth/cloud-platform"
294 ]
295 },
296 "discover": {
297 "description": "Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects of a parent data object that's optionally supplied in the request.",
298 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectionProfiles:discover",
299 "httpMethod": "POST",
300 "id": "datastream.projects.locations.connectionProfiles.discover",
301 "parameterOrder": [
302 "parent"
303 ],
304 "parameters": {
305 "parent": {
306 "description": "Required. The parent resource of the connection profile type. Must be in the format `projects/*/locations/*`.",
307 "location": "path",
308 "pattern": "^projects/[^/]+/locations/[^/]+$",
309 "required": true,
310 "type": "string"
311 }
312 },
313 "path": "v1/{+parent}/connectionProfiles:discover",
314 "request": {
315 "$ref": "DiscoverConnectionProfileRequest"
316 },
317 "response": {
318 "$ref": "DiscoverConnectionProfileResponse"
319 },
320 "scopes": [
321 "https://www.googleapis.com/auth/cloud-platform"
322 ]
323 },
324 "get": {
325 "description": "Use this method to get details about a connection profile.",
326 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectionProfiles/{connectionProfilesId}",
327 "httpMethod": "GET",
328 "id": "datastream.projects.locations.connectionProfiles.get",
329 "parameterOrder": [
330 "name"
331 ],
332 "parameters": {
333 "name": {
334 "description": "Required. The name of the connection profile resource to get.",
335 "location": "path",
336 "pattern": "^projects/[^/]+/locations/[^/]+/connectionProfiles/[^/]+$",
337 "required": true,
338 "type": "string"
339 }
340 },
341 "path": "v1/{+name}",
342 "response": {
343 "$ref": "ConnectionProfile"
344 },
345 "scopes": [
346 "https://www.googleapis.com/auth/cloud-platform"
347 ]
348 },
349 "list": {
350 "description": "Use this method to list connection profiles created in a project and location.",
351 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectionProfiles",
352 "httpMethod": "GET",
353 "id": "datastream.projects.locations.connectionProfiles.list",
354 "parameterOrder": [
355 "parent"
356 ],
357 "parameters": {
358 "filter": {
359 "description": "Filter request.",
360 "location": "query",
361 "type": "string"
362 },
363 "orderBy": {
364 "description": "Order by fields for the result.",
365 "location": "query",
366 "type": "string"
367 },
368 "pageSize": {
369 "description": "Maximum number of connection profiles to return. If unspecified, at most 50 connection profiles will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
370 "format": "int32",
371 "location": "query",
372 "type": "integer"
373 },
374 "pageToken": {
375 "description": "Page token received from a previous `ListConnectionProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectionProfiles` must match the call that provided the page token.",
376 "location": "query",
377 "type": "string"
378 },
379 "parent": {
380 "description": "Required. The parent that owns the collection of connection profiles.",
381 "location": "path",
382 "pattern": "^projects/[^/]+/locations/[^/]+$",
383 "required": true,
384 "type": "string"
385 }
386 },
387 "path": "v1/{+parent}/connectionProfiles",
388 "response": {
389 "$ref": "ListConnectionProfilesResponse"
390 },
391 "scopes": [
392 "https://www.googleapis.com/auth/cloud-platform"
393 ]
394 },
395 "patch": {
396 "description": "Use this method to update the parameters of a connection profile.",
397 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectionProfiles/{connectionProfilesId}",
398 "httpMethod": "PATCH",
399 "id": "datastream.projects.locations.connectionProfiles.patch",
400 "parameterOrder": [
401 "name"
402 ],
403 "parameters": {
404 "force": {
405 "description": "Optional. Update the connection profile without validating it.",
406 "location": "query",
407 "type": "boolean"
408 },
409 "name": {
410 "description": "Output only. The resource's name.",
411 "location": "path",
412 "pattern": "^projects/[^/]+/locations/[^/]+/connectionProfiles/[^/]+$",
413 "required": true,
414 "type": "string"
415 },
416 "requestId": {
417 "description": "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).",
418 "location": "query",
419 "type": "string"
420 },
421 "updateMask": {
422 "description": "Optional. Field mask is used to specify the fields to be overwritten in the ConnectionProfile 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.",
423 "format": "google-fieldmask",
424 "location": "query",
425 "type": "string"
426 },
427 "validateOnly": {
428 "description": "Optional. Only validate the connection profile, but don't update any resources. The default is false.",
429 "location": "query",
430 "type": "boolean"
431 }
432 },
433 "path": "v1/{+name}",
434 "request": {
435 "$ref": "ConnectionProfile"
436 },
437 "response": {
438 "$ref": "Operation"
439 },
440 "scopes": [
441 "https://www.googleapis.com/auth/cloud-platform"
442 ]
443 }
444 }
445 },
446 "operations": {
447 "methods": {
448 "cancel": {
449 "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
450 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
451 "httpMethod": "POST",
452 "id": "datastream.projects.locations.operations.cancel",
453 "parameterOrder": [
454 "name"
455 ],
456 "parameters": {
457 "name": {
458 "description": "The name of the operation resource to be cancelled.",
459 "location": "path",
460 "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
461 "required": true,
462 "type": "string"
463 }
464 },
465 "path": "v1/{+name}:cancel",
466 "request": {
467 "$ref": "CancelOperationRequest"
468 },
469 "response": {
470 "$ref": "Empty"
471 },
472 "scopes": [
473 "https://www.googleapis.com/auth/cloud-platform"
474 ]
475 },
476 "delete": {
477 "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.",
478 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
479 "httpMethod": "DELETE",
480 "id": "datastream.projects.locations.operations.delete",
481 "parameterOrder": [
482 "name"
483 ],
484 "parameters": {
485 "name": {
486 "description": "The name of the operation resource to be deleted.",
487 "location": "path",
488 "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
489 "required": true,
490 "type": "string"
491 }
492 },
493 "path": "v1/{+name}",
494 "response": {
495 "$ref": "Empty"
496 },
497 "scopes": [
498 "https://www.googleapis.com/auth/cloud-platform"
499 ]
500 },
501 "get": {
502 "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
503 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
504 "httpMethod": "GET",
505 "id": "datastream.projects.locations.operations.get",
506 "parameterOrder": [
507 "name"
508 ],
509 "parameters": {
510 "name": {
511 "description": "The name of the operation resource.",
512 "location": "path",
513 "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
514 "required": true,
515 "type": "string"
516 }
517 },
518 "path": "v1/{+name}",
519 "response": {
520 "$ref": "Operation"
521 },
522 "scopes": [
523 "https://www.googleapis.com/auth/cloud-platform"
524 ]
525 },
526 "list": {
527 "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
528 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations",
529 "httpMethod": "GET",
530 "id": "datastream.projects.locations.operations.list",
531 "parameterOrder": [
532 "name"
533 ],
534 "parameters": {
535 "filter": {
536 "description": "The standard list filter.",
537 "location": "query",
538 "type": "string"
539 },
540 "name": {
541 "description": "The name of the operation's parent resource.",
542 "location": "path",
543 "pattern": "^projects/[^/]+/locations/[^/]+$",
544 "required": true,
545 "type": "string"
546 },
547 "pageSize": {
548 "description": "The standard list page size.",
549 "format": "int32",
550 "location": "query",
551 "type": "integer"
552 },
553 "pageToken": {
554 "description": "The standard list page token.",
555 "location": "query",
556 "type": "string"
557 }
558 },
559 "path": "v1/{+name}/operations",
560 "response": {
561 "$ref": "ListOperationsResponse"
562 },
563 "scopes": [
564 "https://www.googleapis.com/auth/cloud-platform"
565 ]
566 }
567 }
568 },
569 "privateConnections": {
570 "methods": {
571 "create": {
572 "description": "Use this method to create a private connectivity configuration.",
573 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections",
574 "httpMethod": "POST",
575 "id": "datastream.projects.locations.privateConnections.create",
576 "parameterOrder": [
577 "parent"
578 ],
579 "parameters": {
580 "force": {
581 "description": "Optional. If set to true, will skip validations.",
582 "location": "query",
583 "type": "boolean"
584 },
585 "parent": {
586 "description": "Required. The parent that owns the collection of PrivateConnections.",
587 "location": "path",
588 "pattern": "^projects/[^/]+/locations/[^/]+$",
589 "required": true,
590 "type": "string"
591 },
592 "privateConnectionId": {
593 "description": "Required. The private connectivity identifier.",
594 "location": "query",
595 "type": "string"
596 },
597 "requestId": {
598 "description": "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).",
599 "location": "query",
600 "type": "string"
601 }
602 },
603 "path": "v1/{+parent}/privateConnections",
604 "request": {
605 "$ref": "PrivateConnection"
606 },
607 "response": {
608 "$ref": "Operation"
609 },
610 "scopes": [
611 "https://www.googleapis.com/auth/cloud-platform"
612 ]
613 },
614 "delete": {
615 "description": "Use this method to delete a private connectivity configuration.",
616 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}",
617 "httpMethod": "DELETE",
618 "id": "datastream.projects.locations.privateConnections.delete",
619 "parameterOrder": [
620 "name"
621 ],
622 "parameters": {
623 "force": {
624 "description": "Optional. If set to true, any child routes that belong to this PrivateConnection will also be deleted.",
625 "location": "query",
626 "type": "boolean"
627 },
628 "name": {
629 "description": "Required. The name of the private connectivity configuration to delete.",
630 "location": "path",
631 "pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+$",
632 "required": true,
633 "type": "string"
634 },
635 "requestId": {
636 "description": "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).",
637 "location": "query",
638 "type": "string"
639 }
640 },
641 "path": "v1/{+name}",
642 "response": {
643 "$ref": "Operation"
644 },
645 "scopes": [
646 "https://www.googleapis.com/auth/cloud-platform"
647 ]
648 },
649 "get": {
650 "description": "Use this method to get details about a private connectivity configuration.",
651 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}",
652 "httpMethod": "GET",
653 "id": "datastream.projects.locations.privateConnections.get",
654 "parameterOrder": [
655 "name"
656 ],
657 "parameters": {
658 "name": {
659 "description": "Required. The name of the private connectivity configuration to get.",
660 "location": "path",
661 "pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+$",
662 "required": true,
663 "type": "string"
664 }
665 },
666 "path": "v1/{+name}",
667 "response": {
668 "$ref": "PrivateConnection"
669 },
670 "scopes": [
671 "https://www.googleapis.com/auth/cloud-platform"
672 ]
673 },
674 "list": {
675 "description": "Use this method to list private connectivity configurations in a project and location.",
676 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections",
677 "httpMethod": "GET",
678 "id": "datastream.projects.locations.privateConnections.list",
679 "parameterOrder": [
680 "parent"
681 ],
682 "parameters": {
683 "filter": {
684 "description": "Filter request.",
685 "location": "query",
686 "type": "string"
687 },
688 "orderBy": {
689 "description": "Order by fields for the result.",
690 "location": "query",
691 "type": "string"
692 },
693 "pageSize": {
694 "description": "Maximum number of private connectivity configurations to return. If unspecified, at most 50 private connectivity configurations that will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
695 "format": "int32",
696 "location": "query",
697 "type": "integer"
698 },
699 "pageToken": {
700 "description": "Page token received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateConnections` must match the call that provided the page token.",
701 "location": "query",
702 "type": "string"
703 },
704 "parent": {
705 "description": "Required. The parent that owns the collection of private connectivity configurations.",
706 "location": "path",
707 "pattern": "^projects/[^/]+/locations/[^/]+$",
708 "required": true,
709 "type": "string"
710 }
711 },
712 "path": "v1/{+parent}/privateConnections",
713 "response": {
714 "$ref": "ListPrivateConnectionsResponse"
715 },
716 "scopes": [
717 "https://www.googleapis.com/auth/cloud-platform"
718 ]
719 }
720 },
721 "resources": {
722 "routes": {
723 "methods": {
724 "create": {
725 "description": "Use this method to create a route for a private connectivity configuration in a project and location.",
726 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/routes",
727 "httpMethod": "POST",
728 "id": "datastream.projects.locations.privateConnections.routes.create",
729 "parameterOrder": [
730 "parent"
731 ],
732 "parameters": {
733 "parent": {
734 "description": "Required. The parent that owns the collection of Routes.",
735 "location": "path",
736 "pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+$",
737 "required": true,
738 "type": "string"
739 },
740 "requestId": {
741 "description": "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).",
742 "location": "query",
743 "type": "string"
744 },
745 "routeId": {
746 "description": "Required. The Route identifier.",
747 "location": "query",
748 "type": "string"
749 }
750 },
751 "path": "v1/{+parent}/routes",
752 "request": {
753 "$ref": "Route"
754 },
755 "response": {
756 "$ref": "Operation"
757 },
758 "scopes": [
759 "https://www.googleapis.com/auth/cloud-platform"
760 ]
761 },
762 "delete": {
763 "description": "Use this method to delete a route.",
764 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/routes/{routesId}",
765 "httpMethod": "DELETE",
766 "id": "datastream.projects.locations.privateConnections.routes.delete",
767 "parameterOrder": [
768 "name"
769 ],
770 "parameters": {
771 "name": {
772 "description": "Required. The name of the Route resource to delete.",
773 "location": "path",
774 "pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+/routes/[^/]+$",
775 "required": true,
776 "type": "string"
777 },
778 "requestId": {
779 "description": "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).",
780 "location": "query",
781 "type": "string"
782 }
783 },
784 "path": "v1/{+name}",
785 "response": {
786 "$ref": "Operation"
787 },
788 "scopes": [
789 "https://www.googleapis.com/auth/cloud-platform"
790 ]
791 },
792 "get": {
793 "description": "Use this method to get details about a route.",
794 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/routes/{routesId}",
795 "httpMethod": "GET",
796 "id": "datastream.projects.locations.privateConnections.routes.get",
797 "parameterOrder": [
798 "name"
799 ],
800 "parameters": {
801 "name": {
802 "description": "Required. The name of the Route resource to get.",
803 "location": "path",
804 "pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+/routes/[^/]+$",
805 "required": true,
806 "type": "string"
807 }
808 },
809 "path": "v1/{+name}",
810 "response": {
811 "$ref": "Route"
812 },
813 "scopes": [
814 "https://www.googleapis.com/auth/cloud-platform"
815 ]
816 },
817 "list": {
818 "description": "Use this method to list routes created for a private connectivity configuration in a project and location.",
819 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/routes",
820 "httpMethod": "GET",
821 "id": "datastream.projects.locations.privateConnections.routes.list",
822 "parameterOrder": [
823 "parent"
824 ],
825 "parameters": {
826 "filter": {
827 "description": "Filter request.",
828 "location": "query",
829 "type": "string"
830 },
831 "orderBy": {
832 "description": "Order by fields for the result.",
833 "location": "query",
834 "type": "string"
835 },
836 "pageSize": {
837 "description": "Maximum number of Routes to return. The service may return fewer than this value. If unspecified, at most 50 Routes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
838 "format": "int32",
839 "location": "query",
840 "type": "integer"
841 },
842 "pageToken": {
843 "description": "Page token received from a previous `ListRoutes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRoutes` must match the call that provided the page token.",
844 "location": "query",
845 "type": "string"
846 },
847 "parent": {
848 "description": "Required. The parent that owns the collection of Routess.",
849 "location": "path",
850 "pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+$",
851 "required": true,
852 "type": "string"
853 }
854 },
855 "path": "v1/{+parent}/routes",
856 "response": {
857 "$ref": "ListRoutesResponse"
858 },
859 "scopes": [
860 "https://www.googleapis.com/auth/cloud-platform"
861 ]
862 }
863 }
864 }
865 }
866 },
867 "streams": {
868 "methods": {
869 "create": {
870 "description": "Use this method to create a stream.",
871 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams",
872 "httpMethod": "POST",
873 "id": "datastream.projects.locations.streams.create",
874 "parameterOrder": [
875 "parent"
876 ],
877 "parameters": {
878 "force": {
879 "description": "Optional. Create the stream without validating it.",
880 "location": "query",
881 "type": "boolean"
882 },
883 "parent": {
884 "description": "Required. The parent that owns the collection of streams.",
885 "location": "path",
886 "pattern": "^projects/[^/]+/locations/[^/]+$",
887 "required": true,
888 "type": "string"
889 },
890 "requestId": {
891 "description": "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).",
892 "location": "query",
893 "type": "string"
894 },
895 "streamId": {
896 "description": "Required. The stream identifier.",
897 "location": "query",
898 "type": "string"
899 },
900 "validateOnly": {
901 "description": "Optional. Only validate the stream, but don't create any resources. The default is false.",
902 "location": "query",
903 "type": "boolean"
904 }
905 },
906 "path": "v1/{+parent}/streams",
907 "request": {
908 "$ref": "Stream"
909 },
910 "response": {
911 "$ref": "Operation"
912 },
913 "scopes": [
914 "https://www.googleapis.com/auth/cloud-platform"
915 ]
916 },
917 "delete": {
918 "description": "Use this method to delete a stream.",
919 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}",
920 "httpMethod": "DELETE",
921 "id": "datastream.projects.locations.streams.delete",
922 "parameterOrder": [
923 "name"
924 ],
925 "parameters": {
926 "name": {
927 "description": "Required. The name of the stream resource to delete.",
928 "location": "path",
929 "pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+$",
930 "required": true,
931 "type": "string"
932 },
933 "requestId": {
934 "description": "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).",
935 "location": "query",
936 "type": "string"
937 }
938 },
939 "path": "v1/{+name}",
940 "response": {
941 "$ref": "Operation"
942 },
943 "scopes": [
944 "https://www.googleapis.com/auth/cloud-platform"
945 ]
946 },
947 "get": {
948 "description": "Use this method to get details about a stream.",
949 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}",
950 "httpMethod": "GET",
951 "id": "datastream.projects.locations.streams.get",
952 "parameterOrder": [
953 "name"
954 ],
955 "parameters": {
956 "name": {
957 "description": "Required. The name of the stream resource to get.",
958 "location": "path",
959 "pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+$",
960 "required": true,
961 "type": "string"
962 }
963 },
964 "path": "v1/{+name}",
965 "response": {
966 "$ref": "Stream"
967 },
968 "scopes": [
969 "https://www.googleapis.com/auth/cloud-platform"
970 ]
971 },
972 "list": {
973 "description": "Use this method to list streams in a project and location.",
974 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams",
975 "httpMethod": "GET",
976 "id": "datastream.projects.locations.streams.list",
977 "parameterOrder": [
978 "parent"
979 ],
980 "parameters": {
981 "filter": {
982 "description": "Filter request.",
983 "location": "query",
984 "type": "string"
985 },
986 "orderBy": {
987 "description": "Order by fields for the result.",
988 "location": "query",
989 "type": "string"
990 },
991 "pageSize": {
992 "description": "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.",
993 "format": "int32",
994 "location": "query",
995 "type": "integer"
996 },
997 "pageToken": {
998 "description": "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.",
999 "location": "query",
1000 "type": "string"
1001 },
1002 "parent": {
1003 "description": "Required. The parent that owns the collection of streams.",
1004 "location": "path",
1005 "pattern": "^projects/[^/]+/locations/[^/]+$",
1006 "required": true,
1007 "type": "string"
1008 }
1009 },
1010 "path": "v1/{+parent}/streams",
1011 "response": {
1012 "$ref": "ListStreamsResponse"
1013 },
1014 "scopes": [
1015 "https://www.googleapis.com/auth/cloud-platform"
1016 ]
1017 },
1018 "patch": {
1019 "description": "Use this method to update the configuration of a stream.",
1020 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}",
1021 "httpMethod": "PATCH",
1022 "id": "datastream.projects.locations.streams.patch",
1023 "parameterOrder": [
1024 "name"
1025 ],
1026 "parameters": {
1027 "force": {
1028 "description": "Optional. Update the stream without validating it.",
1029 "location": "query",
1030 "type": "boolean"
1031 },
1032 "name": {
1033 "description": "Output only. The stream's name.",
1034 "location": "path",
1035 "pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+$",
1036 "required": true,
1037 "type": "string"
1038 },
1039 "requestId": {
1040 "description": "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).",
1041 "location": "query",
1042 "type": "string"
1043 },
1044 "updateMask": {
1045 "description": "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.",
1046 "format": "google-fieldmask",
1047 "location": "query",
1048 "type": "string"
1049 },
1050 "validateOnly": {
1051 "description": "Optional. Only validate the stream with the changes, without actually updating it. The default is false.",
1052 "location": "query",
1053 "type": "boolean"
1054 }
1055 },
1056 "path": "v1/{+name}",
1057 "request": {
1058 "$ref": "Stream"
1059 },
1060 "response": {
1061 "$ref": "Operation"
1062 },
1063 "scopes": [
1064 "https://www.googleapis.com/auth/cloud-platform"
1065 ]
1066 },
1067 "run": {
1068 "description": "Use this method to start, resume or recover a stream with a non default CDC strategy. NOTE: This feature is currently experimental.",
1069 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}:run",
1070 "httpMethod": "POST",
1071 "id": "datastream.projects.locations.streams.run",
1072 "parameterOrder": [
1073 "name"
1074 ],
1075 "parameters": {
1076 "name": {
1077 "description": "Required. Name of the stream resource to start, in the format: projects/{project_id}/locations/{location}/streams/{stream_name}",
1078 "location": "path",
1079 "pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+$",
1080 "required": true,
1081 "type": "string"
1082 }
1083 },
1084 "path": "v1/{+name}:run",
1085 "request": {
1086 "$ref": "RunStreamRequest"
1087 },
1088 "response": {
1089 "$ref": "Operation"
1090 },
1091 "scopes": [
1092 "https://www.googleapis.com/auth/cloud-platform"
1093 ]
1094 }
1095 },
1096 "resources": {
1097 "objects": {
1098 "methods": {
1099 "get": {
1100 "description": "Use this method to get details about a stream object.",
1101 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}/objects/{objectsId}",
1102 "httpMethod": "GET",
1103 "id": "datastream.projects.locations.streams.objects.get",
1104 "parameterOrder": [
1105 "name"
1106 ],
1107 "parameters": {
1108 "name": {
1109 "description": "Required. The name of the stream object resource to get.",
1110 "location": "path",
1111 "pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+/objects/[^/]+$",
1112 "required": true,
1113 "type": "string"
1114 }
1115 },
1116 "path": "v1/{+name}",
1117 "response": {
1118 "$ref": "StreamObject"
1119 },
1120 "scopes": [
1121 "https://www.googleapis.com/auth/cloud-platform"
1122 ]
1123 },
1124 "list": {
1125 "description": "Use this method to list the objects of a specific stream.",
1126 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}/objects",
1127 "httpMethod": "GET",
1128 "id": "datastream.projects.locations.streams.objects.list",
1129 "parameterOrder": [
1130 "parent"
1131 ],
1132 "parameters": {
1133 "pageSize": {
1134 "description": "Maximum number of objects to return. Default is 50. The maximum value is 1000; values above 1000 will be coerced to 1000.",
1135 "format": "int32",
1136 "location": "query",
1137 "type": "integer"
1138 },
1139 "pageToken": {
1140 "description": "Page token received from a previous `ListStreamObjectsRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListStreamObjectsRequest` must match the call that provided the page token.",
1141 "location": "query",
1142 "type": "string"
1143 },
1144 "parent": {
1145 "description": "Required. The parent stream that owns the collection of objects.",
1146 "location": "path",
1147 "pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+$",
1148 "required": true,
1149 "type": "string"
1150 }
1151 },
1152 "path": "v1/{+parent}/objects",
1153 "response": {
1154 "$ref": "ListStreamObjectsResponse"
1155 },
1156 "scopes": [
1157 "https://www.googleapis.com/auth/cloud-platform"
1158 ]
1159 },
1160 "lookup": {
1161 "description": "Use this method to look up a stream object by its source object identifier.",
1162 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}/objects:lookup",
1163 "httpMethod": "POST",
1164 "id": "datastream.projects.locations.streams.objects.lookup",
1165 "parameterOrder": [
1166 "parent"
1167 ],
1168 "parameters": {
1169 "parent": {
1170 "description": "Required. The parent stream that owns the collection of objects.",
1171 "location": "path",
1172 "pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+$",
1173 "required": true,
1174 "type": "string"
1175 }
1176 },
1177 "path": "v1/{+parent}/objects:lookup",
1178 "request": {
1179 "$ref": "LookupStreamObjectRequest"
1180 },
1181 "response": {
1182 "$ref": "StreamObject"
1183 },
1184 "scopes": [
1185 "https://www.googleapis.com/auth/cloud-platform"
1186 ]
1187 },
1188 "startBackfillJob": {
1189 "description": "Use this method to start a backfill job for the specified stream object.",
1190 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}/objects/{objectsId}:startBackfillJob",
1191 "httpMethod": "POST",
1192 "id": "datastream.projects.locations.streams.objects.startBackfillJob",
1193 "parameterOrder": [
1194 "object"
1195 ],
1196 "parameters": {
1197 "object": {
1198 "description": "Required. The name of the stream object resource to start a backfill job for.",
1199 "location": "path",
1200 "pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+/objects/[^/]+$",
1201 "required": true,
1202 "type": "string"
1203 }
1204 },
1205 "path": "v1/{+object}:startBackfillJob",
1206 "request": {
1207 "$ref": "StartBackfillJobRequest"
1208 },
1209 "response": {
1210 "$ref": "StartBackfillJobResponse"
1211 },
1212 "scopes": [
1213 "https://www.googleapis.com/auth/cloud-platform"
1214 ]
1215 },
1216 "stopBackfillJob": {
1217 "description": "Use this method to stop a backfill job for the specified stream object.",
1218 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}/objects/{objectsId}:stopBackfillJob",
1219 "httpMethod": "POST",
1220 "id": "datastream.projects.locations.streams.objects.stopBackfillJob",
1221 "parameterOrder": [
1222 "object"
1223 ],
1224 "parameters": {
1225 "object": {
1226 "description": "Required. The name of the stream object resource to stop the backfill job for.",
1227 "location": "path",
1228 "pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+/objects/[^/]+$",
1229 "required": true,
1230 "type": "string"
1231 }
1232 },
1233 "path": "v1/{+object}:stopBackfillJob",
1234 "request": {
1235 "$ref": "StopBackfillJobRequest"
1236 },
1237 "response": {
1238 "$ref": "StopBackfillJobResponse"
1239 },
1240 "scopes": [
1241 "https://www.googleapis.com/auth/cloud-platform"
1242 ]
1243 }
1244 }
1245 }
1246 }
1247 }
1248 }
1249 }
1250 }
1251 }
1252 },
1253 "revision": "20240410",
1254 "rootUrl": "https://datastream.googleapis.com/",
1255 "schemas": {
1256 "AppendOnly": {
1257 "description": "AppendOnly mode defines that all changes to a table will be written to the destination table.",
1258 "id": "AppendOnly",
1259 "properties": {},
1260 "type": "object"
1261 },
1262 "AvroFileFormat": {
1263 "description": "AVRO file format configuration.",
1264 "id": "AvroFileFormat",
1265 "properties": {},
1266 "type": "object"
1267 },
1268 "BackfillAllStrategy": {
1269 "description": "Backfill strategy to automatically backfill the Stream's objects. Specific objects can be excluded.",
1270 "id": "BackfillAllStrategy",
1271 "properties": {
1272 "mysqlExcludedObjects": {
1273 "$ref": "MysqlRdbms",
1274 "description": "MySQL data source objects to avoid backfilling."
1275 },
1276 "oracleExcludedObjects": {
1277 "$ref": "OracleRdbms",
1278 "description": "Oracle data source objects to avoid backfilling."
1279 },
1280 "postgresqlExcludedObjects": {
1281 "$ref": "PostgresqlRdbms",
1282 "description": "PostgreSQL data source objects to avoid backfilling."
1283 },
1284 "sqlServerExcludedObjects": {
1285 "$ref": "SqlServerRdbms",
1286 "description": "SQLServer data source objects to avoid backfilling"
1287 }
1288 },
1289 "type": "object"
1290 },
1291 "BackfillJob": {
1292 "description": "Represents a backfill job on a specific stream object.",
1293 "id": "BackfillJob",
1294 "properties": {
1295 "errors": {
1296 "description": "Output only. Errors which caused the backfill job to fail.",
1297 "items": {
1298 "$ref": "Error"
1299 },
1300 "readOnly": true,
1301 "type": "array"
1302 },
1303 "lastEndTime": {
1304 "description": "Output only. Backfill job's end time.",
1305 "format": "google-datetime",
1306 "readOnly": true,
1307 "type": "string"
1308 },
1309 "lastStartTime": {
1310 "description": "Output only. Backfill job's start time.",
1311 "format": "google-datetime",
1312 "readOnly": true,
1313 "type": "string"
1314 },
1315 "state": {
1316 "description": "Output only. Backfill job state.",
1317 "enum": [
1318 "STATE_UNSPECIFIED",
1319 "NOT_STARTED",
1320 "PENDING",
1321 "ACTIVE",
1322 "STOPPED",
1323 "FAILED",
1324 "COMPLETED",
1325 "UNSUPPORTED"
1326 ],
1327 "enumDescriptions": [
1328 "Default value.",
1329 "Backfill job was never started for the stream object (stream has backfill strategy defined as manual or object was explicitly excluded from automatic backfill).",
1330 "Backfill job will start pending available resources.",
1331 "Backfill job is running.",
1332 "Backfill job stopped (next job run will start from beginning).",
1333 "Backfill job failed (due to an error).",
1334 "Backfill completed successfully.",
1335 "Backfill job failed since the table structure is currently unsupported for backfill."
1336 ],
1337 "readOnly": true,
1338 "type": "string"
1339 },
1340 "trigger": {
1341 "description": "Backfill job's triggering reason.",
1342 "enum": [
1343 "TRIGGER_UNSPECIFIED",
1344 "AUTOMATIC",
1345 "MANUAL"
1346 ],
1347 "enumDescriptions": [
1348 "Default value.",
1349 "Object backfill job was triggered automatically according to the stream's backfill strategy.",
1350 "Object backfill job was triggered manually using the dedicated API."
1351 ],
1352 "type": "string"
1353 }
1354 },
1355 "type": "object"
1356 },
1357 "BackfillNoneStrategy": {
1358 "description": "Backfill strategy to disable automatic backfill for the Stream's objects.",
1359 "id": "BackfillNoneStrategy",
1360 "properties": {},
1361 "type": "object"
1362 },
1363 "BigQueryDestinationConfig": {
1364 "description": "BigQuery destination configuration",
1365 "id": "BigQueryDestinationConfig",
1366 "properties": {
1367 "appendOnly": {
1368 "$ref": "AppendOnly",
1369 "description": "Append only mode"
1370 },
1371 "dataFreshness": {
1372 "description": "The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost.",
1373 "format": "google-duration",
1374 "type": "string"
1375 },
1376 "merge": {
1377 "$ref": "Merge",
1378 "description": "The standard mode"
1379 },
1380 "singleTargetDataset": {
1381 "$ref": "SingleTargetDataset",
1382 "description": "Single destination dataset."
1383 },
1384 "sourceHierarchyDatasets": {
1385 "$ref": "SourceHierarchyDatasets",
1386 "description": "Source hierarchy datasets."
1387 }
1388 },
1389 "type": "object"
1390 },
1391 "BigQueryProfile": {
1392 "description": "BigQuery warehouse profile.",
1393 "id": "BigQueryProfile",
1394 "properties": {},
1395 "type": "object"
1396 },
1397 "CancelOperationRequest": {
1398 "description": "The request message for Operations.CancelOperation.",
1399 "id": "CancelOperationRequest",
1400 "properties": {},
1401 "type": "object"
1402 },
1403 "CdcStrategy": {
1404 "description": "The strategy that the stream uses for CDC replication.",
1405 "id": "CdcStrategy",
1406 "properties": {
1407 "mostRecentStartPosition": {
1408 "$ref": "MostRecentStartPosition",
1409 "description": "Optional. Start replicating from the most recent position in the source."
1410 },
1411 "nextAvailableStartPosition": {
1412 "$ref": "NextAvailableStartPosition",
1413 "description": "Optional. Resume replication from the next available position in the source."
1414 },
1415 "specificStartPosition": {
1416 "$ref": "SpecificStartPosition",
1417 "description": "Optional. Start replicating from a specific position in the source."
1418 }
1419 },
1420 "type": "object"
1421 },
1422 "ConnectionProfile": {
1423 "description": "A set of reusable connection configurations to be used as a source or destination for a stream.",
1424 "id": "ConnectionProfile",
1425 "properties": {
1426 "bigqueryProfile": {
1427 "$ref": "BigQueryProfile",
1428 "description": "BigQuery Connection Profile configuration."
1429 },
1430 "createTime": {
1431 "description": "Output only. The create time of the resource.",
1432 "format": "google-datetime",
1433 "readOnly": true,
1434 "type": "string"
1435 },
1436 "displayName": {
1437 "description": "Required. Display name.",
1438 "type": "string"
1439 },
1440 "forwardSshConnectivity": {
1441 "$ref": "ForwardSshTunnelConnectivity",
1442 "description": "Forward SSH tunnel connectivity."
1443 },
1444 "gcsProfile": {
1445 "$ref": "GcsProfile",
1446 "description": "Cloud Storage ConnectionProfile configuration."
1447 },
1448 "labels": {
1449 "additionalProperties": {
1450 "type": "string"
1451 },
1452 "description": "Labels.",
1453 "type": "object"
1454 },
1455 "mysqlProfile": {
1456 "$ref": "MysqlProfile",
1457 "description": "MySQL ConnectionProfile configuration."
1458 },
1459 "name": {
1460 "description": "Output only. The resource's name.",
1461 "readOnly": true,
1462 "type": "string"
1463 },
1464 "oracleProfile": {
1465 "$ref": "OracleProfile",
1466 "description": "Oracle ConnectionProfile configuration."
1467 },
1468 "postgresqlProfile": {
1469 "$ref": "PostgresqlProfile",
1470 "description": "PostgreSQL Connection Profile configuration."
1471 },
1472 "privateConnectivity": {
1473 "$ref": "PrivateConnectivity",
1474 "description": "Private connectivity."
1475 },
1476 "sqlServerProfile": {
1477 "$ref": "SqlServerProfile",
1478 "description": "SQLServer Connection Profile configuration."
1479 },
1480 "staticServiceIpConnectivity": {
1481 "$ref": "StaticServiceIpConnectivity",
1482 "description": "Static Service IP connectivity."
1483 },
1484 "updateTime": {
1485 "description": "Output only. The update time of the resource.",
1486 "format": "google-datetime",
1487 "readOnly": true,
1488 "type": "string"
1489 }
1490 },
1491 "type": "object"
1492 },
1493 "DatasetTemplate": {
1494 "description": "Dataset template used for dynamic dataset creation.",
1495 "id": "DatasetTemplate",
1496 "properties": {
1497 "datasetIdPrefix": {
1498 "description": "If supplied, every created dataset will have its name prefixed by the provided value. The prefix and name will be separated by an underscore. i.e. _.",
1499 "type": "string"
1500 },
1501 "kmsKeyName": {
1502 "description": "Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key. i.e. projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}. See https://cloud.google.com/bigquery/docs/customer-managed-encryption for more information.",
1503 "type": "string"
1504 },
1505 "location": {
1506 "description": "Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.",
1507 "type": "string"
1508 }
1509 },
1510 "type": "object"
1511 },
1512 "DestinationConfig": {
1513 "description": "The configuration of the stream destination.",
1514 "id": "DestinationConfig",
1515 "properties": {
1516 "bigqueryDestinationConfig": {
1517 "$ref": "BigQueryDestinationConfig",
1518 "description": "BigQuery destination configuration."
1519 },
1520 "destinationConnectionProfile": {
1521 "description": "Required. Destination connection profile resource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`",
1522 "type": "string"
1523 },
1524 "gcsDestinationConfig": {
1525 "$ref": "GcsDestinationConfig",
1526 "description": "A configuration for how data should be loaded to Cloud Storage."
1527 }
1528 },
1529 "type": "object"
1530 },
1531 "DiscoverConnectionProfileRequest": {
1532 "description": "Request message for 'discover' ConnectionProfile request.",
1533 "id": "DiscoverConnectionProfileRequest",
1534 "properties": {
1535 "connectionProfile": {
1536 "$ref": "ConnectionProfile",
1537 "description": "An ad-hoc connection profile configuration."
1538 },
1539 "connectionProfileName": {
1540 "description": "A reference to an existing connection profile.",
1541 "type": "string"
1542 },
1543 "fullHierarchy": {
1544 "description": "Whether to retrieve the full hierarchy of data objects (TRUE) or only the current level (FALSE).",
1545 "type": "boolean"
1546 },
1547 "hierarchyDepth": {
1548 "description": "The number of hierarchy levels below the current level to be retrieved.",
1549 "format": "int32",
1550 "type": "integer"
1551 },
1552 "mysqlRdbms": {
1553 "$ref": "MysqlRdbms",
1554 "description": "MySQL RDBMS to enrich with child data objects and metadata."
1555 },
1556 "oracleRdbms": {
1557 "$ref": "OracleRdbms",
1558 "description": "Oracle RDBMS to enrich with child data objects and metadata."
1559 },
1560 "postgresqlRdbms": {
1561 "$ref": "PostgresqlRdbms",
1562 "description": "PostgreSQL RDBMS to enrich with child data objects and metadata."
1563 }
1564 },
1565 "type": "object"
1566 },
1567 "DiscoverConnectionProfileResponse": {
1568 "description": "Response from a discover request.",
1569 "id": "DiscoverConnectionProfileResponse",
1570 "properties": {
1571 "mysqlRdbms": {
1572 "$ref": "MysqlRdbms",
1573 "description": "Enriched MySQL RDBMS object."
1574 },
1575 "oracleRdbms": {
1576 "$ref": "OracleRdbms",
1577 "description": "Enriched Oracle RDBMS object."
1578 },
1579 "postgresqlRdbms": {
1580 "$ref": "PostgresqlRdbms",
1581 "description": "Enriched PostgreSQL RDBMS object."
1582 }
1583 },
1584 "type": "object"
1585 },
1586 "DropLargeObjects": {
1587 "description": "Configuration to drop large object values.",
1588 "id": "DropLargeObjects",
1589 "properties": {},
1590 "type": "object"
1591 },
1592 "Empty": {
1593 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
1594 "id": "Empty",
1595 "properties": {},
1596 "type": "object"
1597 },
1598 "Error": {
1599 "description": "Represent a user-facing Error.",
1600 "id": "Error",
1601 "properties": {
1602 "details": {
1603 "additionalProperties": {
1604 "type": "string"
1605 },
1606 "description": "Additional information about the error.",
1607 "type": "object"
1608 },
1609 "errorTime": {
1610 "description": "The time when the error occurred.",
1611 "format": "google-datetime",
1612 "type": "string"
1613 },
1614 "errorUuid": {
1615 "description": "A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.",
1616 "type": "string"
1617 },
1618 "message": {
1619 "description": "A message containing more information about the error that occurred.",
1620 "type": "string"
1621 },
1622 "reason": {
1623 "description": "A title that explains the reason for the error.",
1624 "type": "string"
1625 }
1626 },
1627 "type": "object"
1628 },
1629 "FetchStaticIpsResponse": {
1630 "description": "Response message for a 'FetchStaticIps' response.",
1631 "id": "FetchStaticIpsResponse",
1632 "properties": {
1633 "nextPageToken": {
1634 "description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
1635 "type": "string"
1636 },
1637 "staticIps": {
1638 "description": "list of static ips by account",
1639 "items": {
1640 "type": "string"
1641 },
1642 "type": "array"
1643 }
1644 },
1645 "type": "object"
1646 },
1647 "ForwardSshTunnelConnectivity": {
1648 "description": "Forward SSH Tunnel connectivity.",
1649 "id": "ForwardSshTunnelConnectivity",
1650 "properties": {
1651 "hostname": {
1652 "description": "Required. Hostname for the SSH tunnel.",
1653 "type": "string"
1654 },
1655 "password": {
1656 "description": "Input only. SSH password.",
1657 "type": "string"
1658 },
1659 "port": {
1660 "description": "Port for the SSH tunnel, default value is 22.",
1661 "format": "int32",
1662 "type": "integer"
1663 },
1664 "privateKey": {
1665 "description": "Input only. SSH private key.",
1666 "type": "string"
1667 },
1668 "username": {
1669 "description": "Required. Username for the SSH tunnel.",
1670 "type": "string"
1671 }
1672 },
1673 "type": "object"
1674 },
1675 "GcsDestinationConfig": {
1676 "description": "Google Cloud Storage destination configuration",
1677 "id": "GcsDestinationConfig",
1678 "properties": {
1679 "avroFileFormat": {
1680 "$ref": "AvroFileFormat",
1681 "description": "AVRO file format configuration."
1682 },
1683 "fileRotationInterval": {
1684 "description": "The maximum duration for which new events are added before a file is closed and a new file is created. Values within the range of 15-60 seconds are allowed.",
1685 "format": "google-duration",
1686 "type": "string"
1687 },
1688 "fileRotationMb": {
1689 "description": "The maximum file size to be saved in the bucket.",
1690 "format": "int32",
1691 "type": "integer"
1692 },
1693 "jsonFileFormat": {
1694 "$ref": "JsonFileFormat",
1695 "description": "JSON file format configuration."
1696 },
1697 "path": {
1698 "description": "Path inside the Cloud Storage bucket to write data to.",
1699 "type": "string"
1700 }
1701 },
1702 "type": "object"
1703 },
1704 "GcsProfile": {
1705 "description": "Cloud Storage bucket profile.",
1706 "id": "GcsProfile",
1707 "properties": {
1708 "bucket": {
1709 "description": "Required. The Cloud Storage bucket name.",
1710 "type": "string"
1711 },
1712 "rootPath": {
1713 "description": "The root path inside the Cloud Storage bucket.",
1714 "type": "string"
1715 }
1716 },
1717 "type": "object"
1718 },
1719 "JsonFileFormat": {
1720 "description": "JSON file format configuration.",
1721 "id": "JsonFileFormat",
1722 "properties": {
1723 "compression": {
1724 "description": "Compression of the loaded JSON file.",
1725 "enum": [
1726 "JSON_COMPRESSION_UNSPECIFIED",
1727 "NO_COMPRESSION",
1728 "GZIP"
1729 ],
1730 "enumDescriptions": [
1731 "Unspecified json file compression.",
1732 "Do not compress JSON file.",
1733 "Gzip compression."
1734 ],
1735 "type": "string"
1736 },
1737 "schemaFileFormat": {
1738 "description": "The schema file format along JSON data files.",
1739 "enum": [
1740 "SCHEMA_FILE_FORMAT_UNSPECIFIED",
1741 "NO_SCHEMA_FILE",
1742 "AVRO_SCHEMA_FILE"
1743 ],
1744 "enumDescriptions": [
1745 "Unspecified schema file format.",
1746 "Do not attach schema file.",
1747 "Avro schema format."
1748 ],
1749 "type": "string"
1750 }
1751 },
1752 "type": "object"
1753 },
1754 "ListConnectionProfilesResponse": {
1755 "description": "Response message for listing connection profiles.",
1756 "id": "ListConnectionProfilesResponse",
1757 "properties": {
1758 "connectionProfiles": {
1759 "description": "List of connection profiles.",
1760 "items": {
1761 "$ref": "ConnectionProfile"
1762 },
1763 "type": "array"
1764 },
1765 "nextPageToken": {
1766 "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
1767 "type": "string"
1768 },
1769 "unreachable": {
1770 "description": "Locations that could not be reached.",
1771 "items": {
1772 "type": "string"
1773 },
1774 "type": "array"
1775 }
1776 },
1777 "type": "object"
1778 },
1779 "ListLocationsResponse": {
1780 "description": "The response message for Locations.ListLocations.",
1781 "id": "ListLocationsResponse",
1782 "properties": {
1783 "locations": {
1784 "description": "A list of locations that matches the specified filter in the request.",
1785 "items": {
1786 "$ref": "Location"
1787 },
1788 "type": "array"
1789 },
1790 "nextPageToken": {
1791 "description": "The standard List next-page token.",
1792 "type": "string"
1793 }
1794 },
1795 "type": "object"
1796 },
1797 "ListOperationsResponse": {
1798 "description": "The response message for Operations.ListOperations.",
1799 "id": "ListOperationsResponse",
1800 "properties": {
1801 "nextPageToken": {
1802 "description": "The standard List next-page token.",
1803 "type": "string"
1804 },
1805 "operations": {
1806 "description": "A list of operations that matches the specified filter in the request.",
1807 "items": {
1808 "$ref": "Operation"
1809 },
1810 "type": "array"
1811 }
1812 },
1813 "type": "object"
1814 },
1815 "ListPrivateConnectionsResponse": {
1816 "description": "Response containing a list of private connection configurations.",
1817 "id": "ListPrivateConnectionsResponse",
1818 "properties": {
1819 "nextPageToken": {
1820 "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
1821 "type": "string"
1822 },
1823 "privateConnections": {
1824 "description": "List of private connectivity configurations.",
1825 "items": {
1826 "$ref": "PrivateConnection"
1827 },
1828 "type": "array"
1829 },
1830 "unreachable": {
1831 "description": "Locations that could not be reached.",
1832 "items": {
1833 "type": "string"
1834 },
1835 "type": "array"
1836 }
1837 },
1838 "type": "object"
1839 },
1840 "ListRoutesResponse": {
1841 "description": "Route list response.",
1842 "id": "ListRoutesResponse",
1843 "properties": {
1844 "nextPageToken": {
1845 "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
1846 "type": "string"
1847 },
1848 "routes": {
1849 "description": "List of Routes.",
1850 "items": {
1851 "$ref": "Route"
1852 },
1853 "type": "array"
1854 },
1855 "unreachable": {
1856 "description": "Locations that could not be reached.",
1857 "items": {
1858 "type": "string"
1859 },
1860 "type": "array"
1861 }
1862 },
1863 "type": "object"
1864 },
1865 "ListStreamObjectsResponse": {
1866 "description": "Response containing the objects for a stream.",
1867 "id": "ListStreamObjectsResponse",
1868 "properties": {
1869 "nextPageToken": {
1870 "description": "A token, which can be sent as `page_token` to retrieve the next page.",
1871 "type": "string"
1872 },
1873 "streamObjects": {
1874 "description": "List of stream objects.",
1875 "items": {
1876 "$ref": "StreamObject"
1877 },
1878 "type": "array"
1879 }
1880 },
1881 "type": "object"
1882 },
1883 "ListStreamsResponse": {
1884 "description": "Response message for listing streams.",
1885 "id": "ListStreamsResponse",
1886 "properties": {
1887 "nextPageToken": {
1888 "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
1889 "type": "string"
1890 },
1891 "streams": {
1892 "description": "List of streams",
1893 "items": {
1894 "$ref": "Stream"
1895 },
1896 "type": "array"
1897 },
1898 "unreachable": {
1899 "description": "Locations that could not be reached.",
1900 "items": {
1901 "type": "string"
1902 },
1903 "type": "array"
1904 }
1905 },
1906 "type": "object"
1907 },
1908 "Location": {
1909 "description": "A resource that represents a Google Cloud location.",
1910 "id": "Location",
1911 "properties": {
1912 "displayName": {
1913 "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".",
1914 "type": "string"
1915 },
1916 "labels": {
1917 "additionalProperties": {
1918 "type": "string"
1919 },
1920 "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}",
1921 "type": "object"
1922 },
1923 "locationId": {
1924 "description": "The canonical id for this location. For example: `\"us-east1\"`.",
1925 "type": "string"
1926 },
1927 "metadata": {
1928 "additionalProperties": {
1929 "description": "Properties of the object. Contains field @type with type URL.",
1930 "type": "any"
1931 },
1932 "description": "Service-specific metadata. For example the available capacity at the given location.",
1933 "type": "object"
1934 },
1935 "name": {
1936 "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`",
1937 "type": "string"
1938 }
1939 },
1940 "type": "object"
1941 },
1942 "LookupStreamObjectRequest": {
1943 "description": "Request for looking up a specific stream object by its source object identifier.",
1944 "id": "LookupStreamObjectRequest",
1945 "properties": {
1946 "sourceObjectIdentifier": {
1947 "$ref": "SourceObjectIdentifier",
1948 "description": "Required. The source object identifier which maps to the stream object."
1949 }
1950 },
1951 "type": "object"
1952 },
1953 "Merge": {
1954 "description": "Merge mode defines that all changes to a table will be merged at the destination table.",
1955 "id": "Merge",
1956 "properties": {},
1957 "type": "object"
1958 },
1959 "MostRecentStartPosition": {
1960 "description": "CDC strategy to start replicating from the most recent position in the source.",
1961 "id": "MostRecentStartPosition",
1962 "properties": {},
1963 "type": "object"
1964 },
1965 "MysqlColumn": {
1966 "description": "MySQL Column.",
1967 "id": "MysqlColumn",
1968 "properties": {
1969 "collation": {
1970 "description": "Column collation.",
1971 "type": "string"
1972 },
1973 "column": {
1974 "description": "Column name.",
1975 "type": "string"
1976 },
1977 "dataType": {
1978 "description": "The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html",
1979 "type": "string"
1980 },
1981 "length": {
1982 "description": "Column length.",
1983 "format": "int32",
1984 "type": "integer"
1985 },
1986 "nullable": {
1987 "description": "Whether or not the column can accept a null value.",
1988 "type": "boolean"
1989 },
1990 "ordinalPosition": {
1991 "description": "The ordinal position of the column in the table.",
1992 "format": "int32",
1993 "type": "integer"
1994 },
1995 "precision": {
1996 "description": "Column precision.",
1997 "format": "int32",
1998 "type": "integer"
1999 },
2000 "primaryKey": {
2001 "description": "Whether or not the column represents a primary key.",
2002 "type": "boolean"
2003 },
2004 "scale": {
2005 "description": "Column scale.",
2006 "format": "int32",
2007 "type": "integer"
2008 }
2009 },
2010 "type": "object"
2011 },
2012 "MysqlDatabase": {
2013 "description": "MySQL database.",
2014 "id": "MysqlDatabase",
2015 "properties": {
2016 "database": {
2017 "description": "Database name.",
2018 "type": "string"
2019 },
2020 "mysqlTables": {
2021 "description": "Tables in the database.",
2022 "items": {
2023 "$ref": "MysqlTable"
2024 },
2025 "type": "array"
2026 }
2027 },
2028 "type": "object"
2029 },
2030 "MysqlLogPosition": {
2031 "description": "MySQL log position",
2032 "id": "MysqlLogPosition",
2033 "properties": {
2034 "logFile": {
2035 "description": "Required. The binary log file name.",
2036 "type": "string"
2037 },
2038 "logPosition": {
2039 "description": "Optional. The position within the binary log file. Default is head of file.",
2040 "format": "int32",
2041 "type": "integer"
2042 }
2043 },
2044 "type": "object"
2045 },
2046 "MysqlObjectIdentifier": {
2047 "description": "Mysql data source object identifier.",
2048 "id": "MysqlObjectIdentifier",
2049 "properties": {
2050 "database": {
2051 "description": "Required. The database name.",
2052 "type": "string"
2053 },
2054 "table": {
2055 "description": "Required. The table name.",
2056 "type": "string"
2057 }
2058 },
2059 "type": "object"
2060 },
2061 "MysqlProfile": {
2062 "description": "MySQL database profile.",
2063 "id": "MysqlProfile",
2064 "properties": {
2065 "hostname": {
2066 "description": "Required. Hostname for the MySQL connection.",
2067 "type": "string"
2068 },
2069 "password": {
2070 "description": "Required. Input only. Password for the MySQL connection.",
2071 "type": "string"
2072 },
2073 "port": {
2074 "description": "Port for the MySQL connection, default value is 3306.",
2075 "format": "int32",
2076 "type": "integer"
2077 },
2078 "sslConfig": {
2079 "$ref": "MysqlSslConfig",
2080 "description": "SSL configuration for the MySQL connection."
2081 },
2082 "username": {
2083 "description": "Required. Username for the MySQL connection.",
2084 "type": "string"
2085 }
2086 },
2087 "type": "object"
2088 },
2089 "MysqlRdbms": {
2090 "description": "MySQL database structure",
2091 "id": "MysqlRdbms",
2092 "properties": {
2093 "mysqlDatabases": {
2094 "description": "Mysql databases on the server",
2095 "items": {
2096 "$ref": "MysqlDatabase"
2097 },
2098 "type": "array"
2099 }
2100 },
2101 "type": "object"
2102 },
2103 "MysqlSourceConfig": {
2104 "description": "MySQL source configuration",
2105 "id": "MysqlSourceConfig",
2106 "properties": {
2107 "excludeObjects": {
2108 "$ref": "MysqlRdbms",
2109 "description": "MySQL objects to exclude from the stream."
2110 },
2111 "includeObjects": {
2112 "$ref": "MysqlRdbms",
2113 "description": "MySQL objects to retrieve from the source."
2114 },
2115 "maxConcurrentBackfillTasks": {
2116 "description": "Maximum number of concurrent backfill tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.",
2117 "format": "int32",
2118 "type": "integer"
2119 },
2120 "maxConcurrentCdcTasks": {
2121 "description": "Maximum number of concurrent CDC tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.",
2122 "format": "int32",
2123 "type": "integer"
2124 }
2125 },
2126 "type": "object"
2127 },
2128 "MysqlSslConfig": {
2129 "description": "MySQL SSL configuration information.",
2130 "id": "MysqlSslConfig",
2131 "properties": {
2132 "caCertificate": {
2133 "description": "Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.",
2134 "type": "string"
2135 },
2136 "caCertificateSet": {
2137 "description": "Output only. Indicates whether the ca_certificate field is set.",
2138 "readOnly": true,
2139 "type": "boolean"
2140 },
2141 "clientCertificate": {
2142 "description": "Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'client_key' and the 'ca_certificate' fields are mandatory.",
2143 "type": "string"
2144 },
2145 "clientCertificateSet": {
2146 "description": "Output only. Indicates whether the client_certificate field is set.",
2147 "readOnly": true,
2148 "type": "boolean"
2149 },
2150 "clientKey": {
2151 "description": "Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory.",
2152 "type": "string"
2153 },
2154 "clientKeySet": {
2155 "description": "Output only. Indicates whether the client_key field is set.",
2156 "readOnly": true,
2157 "type": "boolean"
2158 }
2159 },
2160 "type": "object"
2161 },
2162 "MysqlTable": {
2163 "description": "MySQL table.",
2164 "id": "MysqlTable",
2165 "properties": {
2166 "mysqlColumns": {
2167 "description": "MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.",
2168 "items": {
2169 "$ref": "MysqlColumn"
2170 },
2171 "type": "array"
2172 },
2173 "table": {
2174 "description": "Table name.",
2175 "type": "string"
2176 }
2177 },
2178 "type": "object"
2179 },
2180 "NextAvailableStartPosition": {
2181 "description": "CDC strategy to resume replication from the next available position in the source.",
2182 "id": "NextAvailableStartPosition",
2183 "properties": {},
2184 "type": "object"
2185 },
2186 "Operation": {
2187 "description": "This resource represents a long-running operation that is the result of a network API call.",
2188 "id": "Operation",
2189 "properties": {
2190 "done": {
2191 "description": "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.",
2192 "type": "boolean"
2193 },
2194 "error": {
2195 "$ref": "Status",
2196 "description": "The error result of the operation in case of failure or cancellation."
2197 },
2198 "metadata": {
2199 "additionalProperties": {
2200 "description": "Properties of the object. Contains field @type with type URL.",
2201 "type": "any"
2202 },
2203 "description": "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.",
2204 "type": "object"
2205 },
2206 "name": {
2207 "description": "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}`.",
2208 "type": "string"
2209 },
2210 "response": {
2211 "additionalProperties": {
2212 "description": "Properties of the object. Contains field @type with type URL.",
2213 "type": "any"
2214 },
2215 "description": "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`.",
2216 "type": "object"
2217 }
2218 },
2219 "type": "object"
2220 },
2221 "OperationMetadata": {
2222 "description": "Represents the metadata of the long-running operation.",
2223 "id": "OperationMetadata",
2224 "properties": {
2225 "apiVersion": {
2226 "description": "Output only. API version used to start the operation.",
2227 "readOnly": true,
2228 "type": "string"
2229 },
2230 "createTime": {
2231 "description": "Output only. The time the operation was created.",
2232 "format": "google-datetime",
2233 "readOnly": true,
2234 "type": "string"
2235 },
2236 "endTime": {
2237 "description": "Output only. The time the operation finished running.",
2238 "format": "google-datetime",
2239 "readOnly": true,
2240 "type": "string"
2241 },
2242 "requestedCancellation": {
2243 "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
2244 "readOnly": true,
2245 "type": "boolean"
2246 },
2247 "statusMessage": {
2248 "description": "Output only. Human-readable status of the operation, if any.",
2249 "readOnly": true,
2250 "type": "string"
2251 },
2252 "target": {
2253 "description": "Output only. Server-defined resource path for the target of the operation.",
2254 "readOnly": true,
2255 "type": "string"
2256 },
2257 "validationResult": {
2258 "$ref": "ValidationResult",
2259 "description": "Output only. Results of executed validations if there are any.",
2260 "readOnly": true
2261 },
2262 "verb": {
2263 "description": "Output only. Name of the verb executed by the operation.",
2264 "readOnly": true,
2265 "type": "string"
2266 }
2267 },
2268 "type": "object"
2269 },
2270 "OracleColumn": {
2271 "description": "Oracle Column.",
2272 "id": "OracleColumn",
2273 "properties": {
2274 "column": {
2275 "description": "Column name.",
2276 "type": "string"
2277 },
2278 "dataType": {
2279 "description": "The Oracle data type.",
2280 "type": "string"
2281 },
2282 "encoding": {
2283 "description": "Column encoding.",
2284 "type": "string"
2285 },
2286 "length": {
2287 "description": "Column length.",
2288 "format": "int32",
2289 "type": "integer"
2290 },
2291 "nullable": {
2292 "description": "Whether or not the column can accept a null value.",
2293 "type": "boolean"
2294 },
2295 "ordinalPosition": {
2296 "description": "The ordinal position of the column in the table.",
2297 "format": "int32",
2298 "type": "integer"
2299 },
2300 "precision": {
2301 "description": "Column precision.",
2302 "format": "int32",
2303 "type": "integer"
2304 },
2305 "primaryKey": {
2306 "description": "Whether or not the column represents a primary key.",
2307 "type": "boolean"
2308 },
2309 "scale": {
2310 "description": "Column scale.",
2311 "format": "int32",
2312 "type": "integer"
2313 }
2314 },
2315 "type": "object"
2316 },
2317 "OracleObjectIdentifier": {
2318 "description": "Oracle data source object identifier.",
2319 "id": "OracleObjectIdentifier",
2320 "properties": {
2321 "schema": {
2322 "description": "Required. The schema name.",
2323 "type": "string"
2324 },
2325 "table": {
2326 "description": "Required. The table name.",
2327 "type": "string"
2328 }
2329 },
2330 "type": "object"
2331 },
2332 "OracleProfile": {
2333 "description": "Oracle database profile.",
2334 "id": "OracleProfile",
2335 "properties": {
2336 "connectionAttributes": {
2337 "additionalProperties": {
2338 "type": "string"
2339 },
2340 "description": "Connection string attributes",
2341 "type": "object"
2342 },
2343 "databaseService": {
2344 "description": "Required. Database for the Oracle connection.",
2345 "type": "string"
2346 },
2347 "hostname": {
2348 "description": "Required. Hostname for the Oracle connection.",
2349 "type": "string"
2350 },
2351 "oracleSslConfig": {
2352 "$ref": "OracleSslConfig",
2353 "description": "Optional. SSL configuration for the Oracle connection."
2354 },
2355 "password": {
2356 "description": "Required. Password for the Oracle connection.",
2357 "type": "string"
2358 },
2359 "port": {
2360 "description": "Port for the Oracle connection, default value is 1521.",
2361 "format": "int32",
2362 "type": "integer"
2363 },
2364 "username": {
2365 "description": "Required. Username for the Oracle connection.",
2366 "type": "string"
2367 }
2368 },
2369 "type": "object"
2370 },
2371 "OracleRdbms": {
2372 "description": "Oracle database structure.",
2373 "id": "OracleRdbms",
2374 "properties": {
2375 "oracleSchemas": {
2376 "description": "Oracle schemas/databases in the database server.",
2377 "items": {
2378 "$ref": "OracleSchema"
2379 },
2380 "type": "array"
2381 }
2382 },
2383 "type": "object"
2384 },
2385 "OracleSchema": {
2386 "description": "Oracle schema.",
2387 "id": "OracleSchema",
2388 "properties": {
2389 "oracleTables": {
2390 "description": "Tables in the schema.",
2391 "items": {
2392 "$ref": "OracleTable"
2393 },
2394 "type": "array"
2395 },
2396 "schema": {
2397 "description": "Schema name.",
2398 "type": "string"
2399 }
2400 },
2401 "type": "object"
2402 },
2403 "OracleScnPosition": {
2404 "description": "Oracle SCN position",
2405 "id": "OracleScnPosition",
2406 "properties": {
2407 "scn": {
2408 "description": "Required. SCN number from where Logs will be read",
2409 "format": "int64",
2410 "type": "string"
2411 }
2412 },
2413 "type": "object"
2414 },
2415 "OracleSourceConfig": {
2416 "description": "Oracle data source configuration",
2417 "id": "OracleSourceConfig",
2418 "properties": {
2419 "dropLargeObjects": {
2420 "$ref": "DropLargeObjects",
2421 "description": "Drop large object values."
2422 },
2423 "excludeObjects": {
2424 "$ref": "OracleRdbms",
2425 "description": "Oracle objects to exclude from the stream."
2426 },
2427 "includeObjects": {
2428 "$ref": "OracleRdbms",
2429 "description": "Oracle objects to include in the stream."
2430 },
2431 "maxConcurrentBackfillTasks": {
2432 "description": "Maximum number of concurrent backfill tasks. The number should be non-negative. If not set (or set to 0), the system's default value is used.",
2433 "format": "int32",
2434 "type": "integer"
2435 },
2436 "maxConcurrentCdcTasks": {
2437 "description": "Maximum number of concurrent CDC tasks. The number should be non-negative. If not set (or set to 0), the system's default value is used.",
2438 "format": "int32",
2439 "type": "integer"
2440 },
2441 "streamLargeObjects": {
2442 "$ref": "StreamLargeObjects",
2443 "description": "Stream large object values."
2444 }
2445 },
2446 "type": "object"
2447 },
2448 "OracleSslConfig": {
2449 "description": "Oracle SSL configuration information.",
2450 "id": "OracleSslConfig",
2451 "properties": {
2452 "caCertificate": {
2453 "description": "Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.",
2454 "type": "string"
2455 },
2456 "caCertificateSet": {
2457 "description": "Output only. Indicates whether the ca_certificate field has been set for this Connection-Profile.",
2458 "readOnly": true,
2459 "type": "boolean"
2460 }
2461 },
2462 "type": "object"
2463 },
2464 "OracleTable": {
2465 "description": "Oracle table.",
2466 "id": "OracleTable",
2467 "properties": {
2468 "oracleColumns": {
2469 "description": "Oracle columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.",
2470 "items": {
2471 "$ref": "OracleColumn"
2472 },
2473 "type": "array"
2474 },
2475 "table": {
2476 "description": "Table name.",
2477 "type": "string"
2478 }
2479 },
2480 "type": "object"
2481 },
2482 "PostgresqlColumn": {
2483 "description": "PostgreSQL Column.",
2484 "id": "PostgresqlColumn",
2485 "properties": {
2486 "column": {
2487 "description": "Column name.",
2488 "type": "string"
2489 },
2490 "dataType": {
2491 "description": "The PostgreSQL data type.",
2492 "type": "string"
2493 },
2494 "length": {
2495 "description": "Column length.",
2496 "format": "int32",
2497 "type": "integer"
2498 },
2499 "nullable": {
2500 "description": "Whether or not the column can accept a null value.",
2501 "type": "boolean"
2502 },
2503 "ordinalPosition": {
2504 "description": "The ordinal position of the column in the table.",
2505 "format": "int32",
2506 "type": "integer"
2507 },
2508 "precision": {
2509 "description": "Column precision.",
2510 "format": "int32",
2511 "type": "integer"
2512 },
2513 "primaryKey": {
2514 "description": "Whether or not the column represents a primary key.",
2515 "type": "boolean"
2516 },
2517 "scale": {
2518 "description": "Column scale.",
2519 "format": "int32",
2520 "type": "integer"
2521 }
2522 },
2523 "type": "object"
2524 },
2525 "PostgresqlObjectIdentifier": {
2526 "description": "PostgreSQL data source object identifier.",
2527 "id": "PostgresqlObjectIdentifier",
2528 "properties": {
2529 "schema": {
2530 "description": "Required. The schema name.",
2531 "type": "string"
2532 },
2533 "table": {
2534 "description": "Required. The table name.",
2535 "type": "string"
2536 }
2537 },
2538 "type": "object"
2539 },
2540 "PostgresqlProfile": {
2541 "description": "PostgreSQL database profile.",
2542 "id": "PostgresqlProfile",
2543 "properties": {
2544 "database": {
2545 "description": "Required. Database for the PostgreSQL connection.",
2546 "type": "string"
2547 },
2548 "hostname": {
2549 "description": "Required. Hostname for the PostgreSQL connection.",
2550 "type": "string"
2551 },
2552 "password": {
2553 "description": "Required. Password for the PostgreSQL connection.",
2554 "type": "string"
2555 },
2556 "port": {
2557 "description": "Port for the PostgreSQL connection, default value is 5432.",
2558 "format": "int32",
2559 "type": "integer"
2560 },
2561 "username": {
2562 "description": "Required. Username for the PostgreSQL connection.",
2563 "type": "string"
2564 }
2565 },
2566 "type": "object"
2567 },
2568 "PostgresqlRdbms": {
2569 "description": "PostgreSQL database structure.",
2570 "id": "PostgresqlRdbms",
2571 "properties": {
2572 "postgresqlSchemas": {
2573 "description": "PostgreSQL schemas in the database server.",
2574 "items": {
2575 "$ref": "PostgresqlSchema"
2576 },
2577 "type": "array"
2578 }
2579 },
2580 "type": "object"
2581 },
2582 "PostgresqlSchema": {
2583 "description": "PostgreSQL schema.",
2584 "id": "PostgresqlSchema",
2585 "properties": {
2586 "postgresqlTables": {
2587 "description": "Tables in the schema.",
2588 "items": {
2589 "$ref": "PostgresqlTable"
2590 },
2591 "type": "array"
2592 },
2593 "schema": {
2594 "description": "Schema name.",
2595 "type": "string"
2596 }
2597 },
2598 "type": "object"
2599 },
2600 "PostgresqlSourceConfig": {
2601 "description": "PostgreSQL data source configuration",
2602 "id": "PostgresqlSourceConfig",
2603 "properties": {
2604 "excludeObjects": {
2605 "$ref": "PostgresqlRdbms",
2606 "description": "PostgreSQL objects to exclude from the stream."
2607 },
2608 "includeObjects": {
2609 "$ref": "PostgresqlRdbms",
2610 "description": "PostgreSQL objects to include in the stream."
2611 },
2612 "maxConcurrentBackfillTasks": {
2613 "description": "Maximum number of concurrent backfill tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.",
2614 "format": "int32",
2615 "type": "integer"
2616 },
2617 "publication": {
2618 "description": "Required. The name of the publication that includes the set of all tables that are defined in the stream's include_objects.",
2619 "type": "string"
2620 },
2621 "replicationSlot": {
2622 "description": "Required. Immutable. The name of the logical replication slot that's configured with the pgoutput plugin.",
2623 "type": "string"
2624 }
2625 },
2626 "type": "object"
2627 },
2628 "PostgresqlTable": {
2629 "description": "PostgreSQL table.",
2630 "id": "PostgresqlTable",
2631 "properties": {
2632 "postgresqlColumns": {
2633 "description": "PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.",
2634 "items": {
2635 "$ref": "PostgresqlColumn"
2636 },
2637 "type": "array"
2638 },
2639 "table": {
2640 "description": "Table name.",
2641 "type": "string"
2642 }
2643 },
2644 "type": "object"
2645 },
2646 "PrivateConnection": {
2647 "description": "The PrivateConnection resource is used to establish private connectivity between Datastream and a customer's network.",
2648 "id": "PrivateConnection",
2649 "properties": {
2650 "createTime": {
2651 "description": "Output only. The create time of the resource.",
2652 "format": "google-datetime",
2653 "readOnly": true,
2654 "type": "string"
2655 },
2656 "displayName": {
2657 "description": "Required. Display name.",
2658 "type": "string"
2659 },
2660 "error": {
2661 "$ref": "Error",
2662 "description": "Output only. In case of error, the details of the error in a user-friendly format.",
2663 "readOnly": true
2664 },
2665 "labels": {
2666 "additionalProperties": {
2667 "type": "string"
2668 },
2669 "description": "Labels.",
2670 "type": "object"
2671 },
2672 "name": {
2673 "description": "Output only. The resource's name.",
2674 "readOnly": true,
2675 "type": "string"
2676 },
2677 "state": {
2678 "description": "Output only. The state of the Private Connection.",
2679 "enum": [
2680 "STATE_UNSPECIFIED",
2681 "CREATING",
2682 "CREATED",
2683 "FAILED",
2684 "DELETING",
2685 "FAILED_TO_DELETE"
2686 ],
2687 "enumDescriptions": [
2688 "Unspecified state.",
2689 "The private connection is in creation state - creating resources.",
2690 "The private connection has been created with all of its resources.",
2691 "The private connection creation has failed.",
2692 "The private connection is being deleted.",
2693 "Delete request has failed, resource is in invalid state."
2694 ],
2695 "readOnly": true,
2696 "type": "string"
2697 },
2698 "updateTime": {
2699 "description": "Output only. The update time of the resource.",
2700 "format": "google-datetime",
2701 "readOnly": true,
2702 "type": "string"
2703 },
2704 "vpcPeeringConfig": {
2705 "$ref": "VpcPeeringConfig",
2706 "description": "VPC Peering Config."
2707 }
2708 },
2709 "type": "object"
2710 },
2711 "PrivateConnectivity": {
2712 "description": "Private Connectivity",
2713 "id": "PrivateConnectivity",
2714 "properties": {
2715 "privateConnection": {
2716 "description": "Required. A reference to a private connection resource. Format: `projects/{project}/locations/{location}/privateConnections/{name}`",
2717 "type": "string"
2718 }
2719 },
2720 "type": "object"
2721 },
2722 "Route": {
2723 "description": "The route resource is the child of the private connection resource, used for defining a route for a private connection.",
2724 "id": "Route",
2725 "properties": {
2726 "createTime": {
2727 "description": "Output only. The create time of the resource.",
2728 "format": "google-datetime",
2729 "readOnly": true,
2730 "type": "string"
2731 },
2732 "destinationAddress": {
2733 "description": "Required. Destination address for connection",
2734 "type": "string"
2735 },
2736 "destinationPort": {
2737 "description": "Destination port for connection",
2738 "format": "int32",
2739 "type": "integer"
2740 },
2741 "displayName": {
2742 "description": "Required. Display name.",
2743 "type": "string"
2744 },
2745 "labels": {
2746 "additionalProperties": {
2747 "type": "string"
2748 },
2749 "description": "Labels.",
2750 "type": "object"
2751 },
2752 "name": {
2753 "description": "Output only. The resource's name.",
2754 "readOnly": true,
2755 "type": "string"
2756 },
2757 "updateTime": {
2758 "description": "Output only. The update time of the resource.",
2759 "format": "google-datetime",
2760 "readOnly": true,
2761 "type": "string"
2762 }
2763 },
2764 "type": "object"
2765 },
2766 "RunStreamRequest": {
2767 "description": "Request message for running a stream.",
2768 "id": "RunStreamRequest",
2769 "properties": {
2770 "cdcStrategy": {
2771 "$ref": "CdcStrategy",
2772 "description": "Optional. The CDC strategy of the stream. If not set, the system's default value will be used."
2773 }
2774 },
2775 "type": "object"
2776 },
2777 "SingleTargetDataset": {
2778 "description": "A single target dataset to which all data will be streamed.",
2779 "id": "SingleTargetDataset",
2780 "properties": {
2781 "datasetId": {
2782 "description": "The dataset ID of the target dataset. DatasetIds allowed characters: https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets#datasetreference.",
2783 "type": "string"
2784 }
2785 },
2786 "type": "object"
2787 },
2788 "SourceConfig": {
2789 "description": "The configuration of the stream source.",
2790 "id": "SourceConfig",
2791 "properties": {
2792 "mysqlSourceConfig": {
2793 "$ref": "MysqlSourceConfig",
2794 "description": "MySQL data source configuration."
2795 },
2796 "oracleSourceConfig": {
2797 "$ref": "OracleSourceConfig",
2798 "description": "Oracle data source configuration."
2799 },
2800 "postgresqlSourceConfig": {
2801 "$ref": "PostgresqlSourceConfig",
2802 "description": "PostgreSQL data source configuration."
2803 },
2804 "sourceConnectionProfile": {
2805 "description": "Required. Source connection profile resoource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`",
2806 "type": "string"
2807 },
2808 "sqlServerSourceConfig": {
2809 "$ref": "SqlServerSourceConfig",
2810 "description": "SQLServer data source configuration."
2811 }
2812 },
2813 "type": "object"
2814 },
2815 "SourceHierarchyDatasets": {
2816 "description": "Destination datasets are created so that hierarchy of the destination data objects matches the source hierarchy.",
2817 "id": "SourceHierarchyDatasets",
2818 "properties": {
2819 "datasetTemplate": {
2820 "$ref": "DatasetTemplate",
2821 "description": "The dataset template to use for dynamic dataset creation."
2822 }
2823 },
2824 "type": "object"
2825 },
2826 "SourceObjectIdentifier": {
2827 "description": "Represents an identifier of an object in the data source.",
2828 "id": "SourceObjectIdentifier",
2829 "properties": {
2830 "mysqlIdentifier": {
2831 "$ref": "MysqlObjectIdentifier",
2832 "description": "Mysql data source object identifier."
2833 },
2834 "oracleIdentifier": {
2835 "$ref": "OracleObjectIdentifier",
2836 "description": "Oracle data source object identifier."
2837 },
2838 "postgresqlIdentifier": {
2839 "$ref": "PostgresqlObjectIdentifier",
2840 "description": "PostgreSQL data source object identifier."
2841 },
2842 "sqlServerIdentifier": {
2843 "$ref": "SqlServerObjectIdentifier",
2844 "description": "SQLServer data source object identifier."
2845 }
2846 },
2847 "type": "object"
2848 },
2849 "SpecificStartPosition": {
2850 "description": "CDC strategy to start replicating from a specific position in the source.",
2851 "id": "SpecificStartPosition",
2852 "properties": {
2853 "mysqlLogPosition": {
2854 "$ref": "MysqlLogPosition",
2855 "description": "MySQL specific log position to start replicating from."
2856 },
2857 "oracleScnPosition": {
2858 "$ref": "OracleScnPosition",
2859 "description": "Oracle SCN to start replicating from."
2860 }
2861 },
2862 "type": "object"
2863 },
2864 "SqlServerColumn": {
2865 "description": "SQLServer Column.",
2866 "id": "SqlServerColumn",
2867 "properties": {
2868 "column": {
2869 "description": "Column name.",
2870 "type": "string"
2871 },
2872 "dataType": {
2873 "description": "The SQLServer data type.",
2874 "type": "string"
2875 },
2876 "length": {
2877 "description": "Column length.",
2878 "format": "int32",
2879 "type": "integer"
2880 },
2881 "nullable": {
2882 "description": "Whether or not the column can accept a null value.",
2883 "type": "boolean"
2884 },
2885 "ordinalPosition": {
2886 "description": "The ordinal position of the column in the table.",
2887 "format": "int32",
2888 "type": "integer"
2889 },
2890 "precision": {
2891 "description": "Column precision.",
2892 "format": "int32",
2893 "type": "integer"
2894 },
2895 "primaryKey": {
2896 "description": "Whether or not the column represents a primary key.",
2897 "type": "boolean"
2898 },
2899 "scale": {
2900 "description": "Column scale.",
2901 "format": "int32",
2902 "type": "integer"
2903 }
2904 },
2905 "type": "object"
2906 },
2907 "SqlServerObjectIdentifier": {
2908 "description": "SQLServer data source object identifier.",
2909 "id": "SqlServerObjectIdentifier",
2910 "properties": {
2911 "schema": {
2912 "description": "Required. The schema name.",
2913 "type": "string"
2914 },
2915 "table": {
2916 "description": "Required. The table name.",
2917 "type": "string"
2918 }
2919 },
2920 "type": "object"
2921 },
2922 "SqlServerProfile": {
2923 "description": "SQLServer database profile",
2924 "id": "SqlServerProfile",
2925 "properties": {
2926 "database": {
2927 "description": "Required. Database for the SQLServer connection.",
2928 "type": "string"
2929 },
2930 "hostname": {
2931 "description": "Required. Hostname for the SQLServer connection.",
2932 "type": "string"
2933 },
2934 "password": {
2935 "description": "Required. Password for the SQLServer connection.",
2936 "type": "string"
2937 },
2938 "port": {
2939 "description": "Port for the SQLServer connection, default value is 1433.",
2940 "format": "int32",
2941 "type": "integer"
2942 },
2943 "username": {
2944 "description": "Required. Username for the SQLServer connection.",
2945 "type": "string"
2946 }
2947 },
2948 "type": "object"
2949 },
2950 "SqlServerRdbms": {
2951 "description": "SQLServer database structure.",
2952 "id": "SqlServerRdbms",
2953 "properties": {
2954 "schemas": {
2955 "description": "SQLServer schemas in the database server.",
2956 "items": {
2957 "$ref": "SqlServerSchema"
2958 },
2959 "type": "array"
2960 }
2961 },
2962 "type": "object"
2963 },
2964 "SqlServerSchema": {
2965 "description": "SQLServer schema.",
2966 "id": "SqlServerSchema",
2967 "properties": {
2968 "schema": {
2969 "description": "Schema name.",
2970 "type": "string"
2971 },
2972 "tables": {
2973 "description": "Tables in the schema.",
2974 "items": {
2975 "$ref": "SqlServerTable"
2976 },
2977 "type": "array"
2978 }
2979 },
2980 "type": "object"
2981 },
2982 "SqlServerSourceConfig": {
2983 "description": "SQLServer data source configuration",
2984 "id": "SqlServerSourceConfig",
2985 "properties": {
2986 "excludeObjects": {
2987 "$ref": "SqlServerRdbms",
2988 "description": "SQLServer objects to exclude from the stream."
2989 },
2990 "includeObjects": {
2991 "$ref": "SqlServerRdbms",
2992 "description": "SQLServer objects to include in the stream."
2993 },
2994 "maxConcurrentBackfillTasks": {
2995 "description": "Max concurrent backfill tasks.",
2996 "format": "int32",
2997 "type": "integer"
2998 },
2999 "maxConcurrentCdcTasks": {
3000 "description": "Max concurrent CDC tasks.",
3001 "format": "int32",
3002 "type": "integer"
3003 }
3004 },
3005 "type": "object"
3006 },
3007 "SqlServerTable": {
3008 "description": "SQLServer table.",
3009 "id": "SqlServerTable",
3010 "properties": {
3011 "columns": {
3012 "description": "SQLServer columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.",
3013 "items": {
3014 "$ref": "SqlServerColumn"
3015 },
3016 "type": "array"
3017 },
3018 "table": {
3019 "description": "Table name.",
3020 "type": "string"
3021 }
3022 },
3023 "type": "object"
3024 },
3025 "StartBackfillJobRequest": {
3026 "description": "Request for manually initiating a backfill job for a specific stream object.",
3027 "id": "StartBackfillJobRequest",
3028 "properties": {},
3029 "type": "object"
3030 },
3031 "StartBackfillJobResponse": {
3032 "description": "Response for manually initiating a backfill job for a specific stream object.",
3033 "id": "StartBackfillJobResponse",
3034 "properties": {
3035 "object": {
3036 "$ref": "StreamObject",
3037 "description": "The stream object resource a backfill job was started for."
3038 }
3039 },
3040 "type": "object"
3041 },
3042 "StaticServiceIpConnectivity": {
3043 "description": "Static IP address connectivity. Used when the source database is configured to allow incoming connections from the Datastream public IP addresses for the region specified in the connection profile.",
3044 "id": "StaticServiceIpConnectivity",
3045 "properties": {},
3046 "type": "object"
3047 },
3048 "Status": {
3049 "description": "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).",
3050 "id": "Status",
3051 "properties": {
3052 "code": {
3053 "description": "The status code, which should be an enum value of google.rpc.Code.",
3054 "format": "int32",
3055 "type": "integer"
3056 },
3057 "details": {
3058 "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
3059 "items": {
3060 "additionalProperties": {
3061 "description": "Properties of the object. Contains field @type with type URL.",
3062 "type": "any"
3063 },
3064 "type": "object"
3065 },
3066 "type": "array"
3067 },
3068 "message": {
3069 "description": "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.",
3070 "type": "string"
3071 }
3072 },
3073 "type": "object"
3074 },
3075 "StopBackfillJobRequest": {
3076 "description": "Request for manually stopping a running backfill job for a specific stream object.",
3077 "id": "StopBackfillJobRequest",
3078 "properties": {},
3079 "type": "object"
3080 },
3081 "StopBackfillJobResponse": {
3082 "description": "Response for manually stop a backfill job for a specific stream object.",
3083 "id": "StopBackfillJobResponse",
3084 "properties": {
3085 "object": {
3086 "$ref": "StreamObject",
3087 "description": "The stream object resource the backfill job was stopped for."
3088 }
3089 },
3090 "type": "object"
3091 },
3092 "Stream": {
3093 "description": "A resource representing streaming data from a source to a destination.",
3094 "id": "Stream",
3095 "properties": {
3096 "backfillAll": {
3097 "$ref": "BackfillAllStrategy",
3098 "description": "Automatically backfill objects included in the stream source configuration. Specific objects can be excluded."
3099 },
3100 "backfillNone": {
3101 "$ref": "BackfillNoneStrategy",
3102 "description": "Do not automatically backfill any objects."
3103 },
3104 "createTime": {
3105 "description": "Output only. The creation time of the stream.",
3106 "format": "google-datetime",
3107 "readOnly": true,
3108 "type": "string"
3109 },
3110 "customerManagedEncryptionKey": {
3111 "description": "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.",
3112 "type": "string"
3113 },
3114 "destinationConfig": {
3115 "$ref": "DestinationConfig",
3116 "description": "Required. Destination connection profile configuration."
3117 },
3118 "displayName": {
3119 "description": "Required. Display name.",
3120 "type": "string"
3121 },
3122 "errors": {
3123 "description": "Output only. Errors on the Stream.",
3124 "items": {
3125 "$ref": "Error"
3126 },
3127 "readOnly": true,
3128 "type": "array"
3129 },
3130 "labels": {
3131 "additionalProperties": {
3132 "type": "string"
3133 },
3134 "description": "Labels.",
3135 "type": "object"
3136 },
3137 "lastRecoveryTime": {
3138 "description": "Output only. If the stream was recovered, the time of the last recovery. Note: This field is currently experimental.",
3139 "format": "google-datetime",
3140 "readOnly": true,
3141 "type": "string"
3142 },
3143 "name": {
3144 "description": "Output only. The stream's name.",
3145 "readOnly": true,
3146 "type": "string"
3147 },
3148 "sourceConfig": {
3149 "$ref": "SourceConfig",
3150 "description": "Required. Source connection profile configuration."
3151 },
3152 "state": {
3153 "description": "The state of the stream.",
3154 "enum": [
3155 "STATE_UNSPECIFIED",
3156 "NOT_STARTED",
3157 "RUNNING",
3158 "PAUSED",
3159 "MAINTENANCE",
3160 "FAILED",
3161 "FAILED_PERMANENTLY",
3162 "STARTING",
3163 "DRAINING"
3164 ],
3165 "enumDescriptions": [
3166 "Unspecified stream state.",
3167 "The stream has been created but has not yet started streaming data.",
3168 "The stream is running.",
3169 "The stream is paused.",
3170 "The stream is in maintenance mode. Updates are rejected on the resource in this state.",
3171 "The stream is experiencing an error that is preventing data from being streamed.",
3172 "The stream has experienced a terminal failure.",
3173 "The stream is starting, but not yet running.",
3174 "The Stream is no longer reading new events, but still writing events in the buffer."
3175 ],
3176 "type": "string"
3177 },
3178 "updateTime": {
3179 "description": "Output only. The last update time of the stream.",
3180 "format": "google-datetime",
3181 "readOnly": true,
3182 "type": "string"
3183 }
3184 },
3185 "type": "object"
3186 },
3187 "StreamLargeObjects": {
3188 "description": "Configuration to stream large object values.",
3189 "id": "StreamLargeObjects",
3190 "properties": {},
3191 "type": "object"
3192 },
3193 "StreamObject": {
3194 "description": "A specific stream object (e.g a specific DB table).",
3195 "id": "StreamObject",
3196 "properties": {
3197 "backfillJob": {
3198 "$ref": "BackfillJob",
3199 "description": "The latest backfill job that was initiated for the stream object."
3200 },
3201 "createTime": {
3202 "description": "Output only. The creation time of the object.",
3203 "format": "google-datetime",
3204 "readOnly": true,
3205 "type": "string"
3206 },
3207 "displayName": {
3208 "description": "Required. Display name.",
3209 "type": "string"
3210 },
3211 "errors": {
3212 "description": "Output only. Active errors on the object.",
3213 "items": {
3214 "$ref": "Error"
3215 },
3216 "readOnly": true,
3217 "type": "array"
3218 },
3219 "name": {
3220 "description": "Output only. The object resource's name.",
3221 "readOnly": true,
3222 "type": "string"
3223 },
3224 "sourceObject": {
3225 "$ref": "SourceObjectIdentifier",
3226 "description": "The object identifier in the data source."
3227 },
3228 "updateTime": {
3229 "description": "Output only. The last update time of the object.",
3230 "format": "google-datetime",
3231 "readOnly": true,
3232 "type": "string"
3233 }
3234 },
3235 "type": "object"
3236 },
3237 "Validation": {
3238 "description": "A validation to perform on a stream.",
3239 "id": "Validation",
3240 "properties": {
3241 "code": {
3242 "description": "A custom code identifying this validation.",
3243 "type": "string"
3244 },
3245 "description": {
3246 "description": "A short description of the validation.",
3247 "type": "string"
3248 },
3249 "message": {
3250 "description": "Messages reflecting the validation results.",
3251 "items": {
3252 "$ref": "ValidationMessage"
3253 },
3254 "type": "array"
3255 },
3256 "state": {
3257 "description": "Output only. Validation execution status.",
3258 "enum": [
3259 "STATE_UNSPECIFIED",
3260 "NOT_EXECUTED",
3261 "FAILED",
3262 "PASSED",
3263 "WARNING"
3264 ],
3265 "enumDescriptions": [
3266 "Unspecified state.",
3267 "Validation did not execute.",
3268 "Validation failed.",
3269 "Validation passed.",
3270 "Validation executed with warnings."
3271 ],
3272 "readOnly": true,
3273 "type": "string"
3274 }
3275 },
3276 "type": "object"
3277 },
3278 "ValidationMessage": {
3279 "description": "Represent user-facing validation result message.",
3280 "id": "ValidationMessage",
3281 "properties": {
3282 "code": {
3283 "description": "A custom code identifying this specific message.",
3284 "type": "string"
3285 },
3286 "level": {
3287 "description": "Message severity level (warning or error).",
3288 "enum": [
3289 "LEVEL_UNSPECIFIED",
3290 "WARNING",
3291 "ERROR"
3292 ],
3293 "enumDescriptions": [
3294 "Unspecified level.",
3295 "Potentially cause issues with the Stream.",
3296 "Definitely cause issues with the Stream."
3297 ],
3298 "type": "string"
3299 },
3300 "message": {
3301 "description": "The result of the validation.",
3302 "type": "string"
3303 },
3304 "metadata": {
3305 "additionalProperties": {
3306 "type": "string"
3307 },
3308 "description": "Additional metadata related to the result.",
3309 "type": "object"
3310 }
3311 },
3312 "type": "object"
3313 },
3314 "ValidationResult": {
3315 "description": "Contains the current validation results.",
3316 "id": "ValidationResult",
3317 "properties": {
3318 "validations": {
3319 "description": "A list of validations (includes both executed as well as not executed validations).",
3320 "items": {
3321 "$ref": "Validation"
3322 },
3323 "type": "array"
3324 }
3325 },
3326 "type": "object"
3327 },
3328 "VpcPeeringConfig": {
3329 "description": "The VPC Peering configuration is used to create VPC peering between Datastream and the consumer's VPC.",
3330 "id": "VpcPeeringConfig",
3331 "properties": {
3332 "subnet": {
3333 "description": "Required. A free subnet for peering. (CIDR of /29)",
3334 "type": "string"
3335 },
3336 "vpc": {
3337 "description": "Required. Fully qualified name of the VPC that Datastream will peer to. Format: `projects/{project}/global/{networks}/{name}`",
3338 "type": "string"
3339 }
3340 },
3341 "type": "object"
3342 }
3343 },
3344 "servicePath": "",
3345 "title": "Datastream API",
3346 "version": "v1",
3347 "version_module": true
3348}
View as plain text