@maxim_mazurok/gapi.client.datastream-v1alpha1 0.0.20220807

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/tests.ts ADDED
@@ -0,0 +1,844 @@
1
+ /* This is stub file for gapi.client.datastream-v1alpha1 definition tests */
2
+ // IMPORTANT
3
+ // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
+ // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
+
6
+ // Revision: 20220807
7
+
8
+ gapi.load('client', async () => {
9
+ /** now we can use gapi.client */
10
+
11
+ await gapi.client.load('https://datastream.googleapis.com/$discovery/rest?version=v1alpha1');
12
+ /** now we can use gapi.client.datastream */
13
+
14
+ /** don't forget to authenticate your client before sending any request to resources: */
15
+ /** declare client_id registered in Google Developers Console */
16
+ const client_id = '<<PUT YOUR CLIENT ID HERE>>';
17
+ const scope = [
18
+ /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account. */
19
+ 'https://www.googleapis.com/auth/cloud-platform',
20
+ ];
21
+ const immediate = false;
22
+ gapi.auth.authorize({ client_id, scope, immediate }, authResult => {
23
+ if (authResult && !authResult.error) {
24
+ /** handle successful authorization */
25
+ run();
26
+ } else {
27
+ /** handle authorization error */
28
+ }
29
+ });
30
+
31
+ async function run() {
32
+ /** The FetchStaticIps API call exposes the static IP addresses used by Datastream. */
33
+ await gapi.client.datastream.projects.locations.fetchStaticIps({
34
+ name: "Test string",
35
+ pageSize: 42,
36
+ pageToken: "Test string",
37
+ });
38
+ /** Gets information about a location. */
39
+ await gapi.client.datastream.projects.locations.get({
40
+ name: "Test string",
41
+ });
42
+ /** Lists information about the supported locations for this service. */
43
+ await gapi.client.datastream.projects.locations.list({
44
+ filter: "Test string",
45
+ name: "Test string",
46
+ pageSize: 42,
47
+ pageToken: "Test string",
48
+ });
49
+ /** Use this method to create a connection profile in a project and location. */
50
+ await gapi.client.datastream.projects.locations.connectionProfiles.create({
51
+ connectionProfileId: "Test string",
52
+ parent: "Test string",
53
+ requestId: "Test string",
54
+ }, {
55
+ createTime: "Test string",
56
+ displayName: "Test string",
57
+ forwardSshConnectivity: {
58
+ hostname: "Test string",
59
+ password: "Test string",
60
+ port: 42,
61
+ privateKey: "Test string",
62
+ username: "Test string",
63
+ },
64
+ gcsProfile: {
65
+ bucketName: "Test string",
66
+ rootPath: "Test string",
67
+ },
68
+ labels: {
69
+ A: "Test string"
70
+ },
71
+ mysqlProfile: {
72
+ hostname: "Test string",
73
+ password: "Test string",
74
+ port: 42,
75
+ sslConfig: {
76
+ caCertificate: "Test string",
77
+ caCertificateSet: true,
78
+ clientCertificate: "Test string",
79
+ clientCertificateSet: true,
80
+ clientKey: "Test string",
81
+ clientKeySet: true,
82
+ },
83
+ username: "Test string",
84
+ },
85
+ name: "Test string",
86
+ noConnectivity: {
87
+ },
88
+ oracleProfile: {
89
+ connectionAttributes: {
90
+ A: "Test string"
91
+ },
92
+ databaseService: "Test string",
93
+ hostname: "Test string",
94
+ password: "Test string",
95
+ port: 42,
96
+ username: "Test string",
97
+ },
98
+ privateConnectivity: {
99
+ privateConnectionName: "Test string",
100
+ },
101
+ staticServiceIpConnectivity: {
102
+ },
103
+ updateTime: "Test string",
104
+ });
105
+ /** Use this method to delete a connection profile.. */
106
+ await gapi.client.datastream.projects.locations.connectionProfiles.delete({
107
+ name: "Test string",
108
+ requestId: "Test string",
109
+ });
110
+ /**
111
+ * 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
112
+ * objects under a parent data object that's optionally supplied in the request.
113
+ */
114
+ await gapi.client.datastream.projects.locations.connectionProfiles.discover({
115
+ parent: "Test string",
116
+ }, {
117
+ connectionProfile: {
118
+ createTime: "Test string",
119
+ displayName: "Test string",
120
+ forwardSshConnectivity: {
121
+ hostname: "Test string",
122
+ password: "Test string",
123
+ port: 42,
124
+ privateKey: "Test string",
125
+ username: "Test string",
126
+ },
127
+ gcsProfile: {
128
+ bucketName: "Test string",
129
+ rootPath: "Test string",
130
+ },
131
+ labels: {
132
+ A: "Test string"
133
+ },
134
+ mysqlProfile: {
135
+ hostname: "Test string",
136
+ password: "Test string",
137
+ port: 42,
138
+ sslConfig: {
139
+ caCertificate: "Test string",
140
+ caCertificateSet: true,
141
+ clientCertificate: "Test string",
142
+ clientCertificateSet: true,
143
+ clientKey: "Test string",
144
+ clientKeySet: true,
145
+ },
146
+ username: "Test string",
147
+ },
148
+ name: "Test string",
149
+ noConnectivity: {
150
+ },
151
+ oracleProfile: {
152
+ connectionAttributes: {
153
+ A: "Test string"
154
+ },
155
+ databaseService: "Test string",
156
+ hostname: "Test string",
157
+ password: "Test string",
158
+ port: 42,
159
+ username: "Test string",
160
+ },
161
+ privateConnectivity: {
162
+ privateConnectionName: "Test string",
163
+ },
164
+ staticServiceIpConnectivity: {
165
+ },
166
+ updateTime: "Test string",
167
+ },
168
+ connectionProfileName: "Test string",
169
+ mysqlRdbms: {
170
+ mysqlDatabases: [
171
+ {
172
+ databaseName: "Test string",
173
+ mysqlTables: [
174
+ {
175
+ mysqlColumns: [
176
+ {
177
+ collation: "Test string",
178
+ columnName: "Test string",
179
+ dataType: "Test string",
180
+ length: 42,
181
+ nullable: true,
182
+ ordinalPosition: 42,
183
+ primaryKey: true,
184
+ }
185
+ ],
186
+ tableName: "Test string",
187
+ }
188
+ ],
189
+ }
190
+ ],
191
+ },
192
+ oracleRdbms: {
193
+ oracleSchemas: [
194
+ {
195
+ oracleTables: [
196
+ {
197
+ oracleColumns: [
198
+ {
199
+ columnName: "Test string",
200
+ dataType: "Test string",
201
+ encoding: "Test string",
202
+ length: 42,
203
+ nullable: true,
204
+ ordinalPosition: 42,
205
+ precision: 42,
206
+ primaryKey: true,
207
+ scale: 42,
208
+ }
209
+ ],
210
+ tableName: "Test string",
211
+ }
212
+ ],
213
+ schemaName: "Test string",
214
+ }
215
+ ],
216
+ },
217
+ recursionDepth: 42,
218
+ recursive: true,
219
+ });
220
+ /** Use this method to get details about a connection profile. */
221
+ await gapi.client.datastream.projects.locations.connectionProfiles.get({
222
+ name: "Test string",
223
+ });
224
+ /** Use this method to list connection profiles created in a project and location. */
225
+ await gapi.client.datastream.projects.locations.connectionProfiles.list({
226
+ filter: "Test string",
227
+ orderBy: "Test string",
228
+ pageSize: 42,
229
+ pageToken: "Test string",
230
+ parent: "Test string",
231
+ });
232
+ /** Use this method to update the parameters of a connection profile. */
233
+ await gapi.client.datastream.projects.locations.connectionProfiles.patch({
234
+ name: "Test string",
235
+ requestId: "Test string",
236
+ updateMask: "Test string",
237
+ validateOnly: true,
238
+ }, {
239
+ createTime: "Test string",
240
+ displayName: "Test string",
241
+ forwardSshConnectivity: {
242
+ hostname: "Test string",
243
+ password: "Test string",
244
+ port: 42,
245
+ privateKey: "Test string",
246
+ username: "Test string",
247
+ },
248
+ gcsProfile: {
249
+ bucketName: "Test string",
250
+ rootPath: "Test string",
251
+ },
252
+ labels: {
253
+ A: "Test string"
254
+ },
255
+ mysqlProfile: {
256
+ hostname: "Test string",
257
+ password: "Test string",
258
+ port: 42,
259
+ sslConfig: {
260
+ caCertificate: "Test string",
261
+ caCertificateSet: true,
262
+ clientCertificate: "Test string",
263
+ clientCertificateSet: true,
264
+ clientKey: "Test string",
265
+ clientKeySet: true,
266
+ },
267
+ username: "Test string",
268
+ },
269
+ name: "Test string",
270
+ noConnectivity: {
271
+ },
272
+ oracleProfile: {
273
+ connectionAttributes: {
274
+ A: "Test string"
275
+ },
276
+ databaseService: "Test string",
277
+ hostname: "Test string",
278
+ password: "Test string",
279
+ port: 42,
280
+ username: "Test string",
281
+ },
282
+ privateConnectivity: {
283
+ privateConnectionName: "Test string",
284
+ },
285
+ staticServiceIpConnectivity: {
286
+ },
287
+ updateTime: "Test string",
288
+ });
289
+ /**
290
+ * 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
291
+ * 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
292
+ * 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
293
+ * 1, corresponding to `Code.CANCELLED`.
294
+ */
295
+ await gapi.client.datastream.projects.locations.operations.cancel({
296
+ name: "Test string",
297
+ }, {
298
+ });
299
+ /**
300
+ * 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
301
+ * this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
302
+ */
303
+ await gapi.client.datastream.projects.locations.operations.delete({
304
+ name: "Test string",
305
+ });
306
+ /** 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. */
307
+ await gapi.client.datastream.projects.locations.operations.get({
308
+ name: "Test string",
309
+ });
310
+ /**
311
+ * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to
312
+ * override the binding to use different resource name schemes, such as `users/*‍/operations`. To override the binding, API services can add a binding such as
313
+ * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
314
+ * ensure the name binding is the parent resource, without the operations collection id.
315
+ */
316
+ await gapi.client.datastream.projects.locations.operations.list({
317
+ filter: "Test string",
318
+ name: "Test string",
319
+ pageSize: 42,
320
+ pageToken: "Test string",
321
+ });
322
+ /** Use this method to create a private connectivity configuration. */
323
+ await gapi.client.datastream.projects.locations.privateConnections.create({
324
+ parent: "Test string",
325
+ privateConnectionId: "Test string",
326
+ requestId: "Test string",
327
+ }, {
328
+ createTime: "Test string",
329
+ displayName: "Test string",
330
+ error: {
331
+ details: {
332
+ A: "Test string"
333
+ },
334
+ errorTime: "Test string",
335
+ errorUuid: "Test string",
336
+ message: "Test string",
337
+ reason: "Test string",
338
+ },
339
+ labels: {
340
+ A: "Test string"
341
+ },
342
+ name: "Test string",
343
+ state: "Test string",
344
+ updateTime: "Test string",
345
+ vpcPeeringConfig: {
346
+ subnet: "Test string",
347
+ vpcName: "Test string",
348
+ },
349
+ });
350
+ /** Use this method to delete a private connectivity configuration. */
351
+ await gapi.client.datastream.projects.locations.privateConnections.delete({
352
+ force: true,
353
+ name: "Test string",
354
+ requestId: "Test string",
355
+ });
356
+ /** Use this method to get details about a private connectivity configuration. */
357
+ await gapi.client.datastream.projects.locations.privateConnections.get({
358
+ name: "Test string",
359
+ });
360
+ /** Use this method to list private connectivity configurations in a project and location. */
361
+ await gapi.client.datastream.projects.locations.privateConnections.list({
362
+ filter: "Test string",
363
+ orderBy: "Test string",
364
+ pageSize: 42,
365
+ pageToken: "Test string",
366
+ parent: "Test string",
367
+ });
368
+ /** Use this method to create a route for a private connectivity in a project and location. */
369
+ await gapi.client.datastream.projects.locations.privateConnections.routes.create({
370
+ parent: "Test string",
371
+ requestId: "Test string",
372
+ routeId: "Test string",
373
+ }, {
374
+ createTime: "Test string",
375
+ destinationAddress: "Test string",
376
+ destinationPort: 42,
377
+ displayName: "Test string",
378
+ labels: {
379
+ A: "Test string"
380
+ },
381
+ name: "Test string",
382
+ updateTime: "Test string",
383
+ });
384
+ /** Use this method to delete a route. */
385
+ await gapi.client.datastream.projects.locations.privateConnections.routes.delete({
386
+ name: "Test string",
387
+ requestId: "Test string",
388
+ });
389
+ /** Use this method to get details about a route. */
390
+ await gapi.client.datastream.projects.locations.privateConnections.routes.get({
391
+ name: "Test string",
392
+ });
393
+ /** Use this method to list routes created for a private connectivity in a project and location. */
394
+ await gapi.client.datastream.projects.locations.privateConnections.routes.list({
395
+ filter: "Test string",
396
+ orderBy: "Test string",
397
+ pageSize: 42,
398
+ pageToken: "Test string",
399
+ parent: "Test string",
400
+ });
401
+ /** Use this method to create a stream. */
402
+ await gapi.client.datastream.projects.locations.streams.create({
403
+ force: true,
404
+ parent: "Test string",
405
+ requestId: "Test string",
406
+ streamId: "Test string",
407
+ validateOnly: true,
408
+ }, {
409
+ backfillAll: {
410
+ mysqlExcludedObjects: {
411
+ mysqlDatabases: [
412
+ {
413
+ databaseName: "Test string",
414
+ mysqlTables: [
415
+ {
416
+ mysqlColumns: [
417
+ {
418
+ collation: "Test string",
419
+ columnName: "Test string",
420
+ dataType: "Test string",
421
+ length: 42,
422
+ nullable: true,
423
+ ordinalPosition: 42,
424
+ primaryKey: true,
425
+ }
426
+ ],
427
+ tableName: "Test string",
428
+ }
429
+ ],
430
+ }
431
+ ],
432
+ },
433
+ oracleExcludedObjects: {
434
+ oracleSchemas: [
435
+ {
436
+ oracleTables: [
437
+ {
438
+ oracleColumns: [
439
+ {
440
+ columnName: "Test string",
441
+ dataType: "Test string",
442
+ encoding: "Test string",
443
+ length: 42,
444
+ nullable: true,
445
+ ordinalPosition: 42,
446
+ precision: 42,
447
+ primaryKey: true,
448
+ scale: 42,
449
+ }
450
+ ],
451
+ tableName: "Test string",
452
+ }
453
+ ],
454
+ schemaName: "Test string",
455
+ }
456
+ ],
457
+ },
458
+ },
459
+ backfillNone: {
460
+ },
461
+ createTime: "Test string",
462
+ customerManagedEncryptionKey: "Test string",
463
+ destinationConfig: {
464
+ destinationConnectionProfileName: "Test string",
465
+ gcsDestinationConfig: {
466
+ avroFileFormat: {
467
+ },
468
+ fileRotationInterval: "Test string",
469
+ fileRotationMb: 42,
470
+ gcsFileFormat: "Test string",
471
+ jsonFileFormat: {
472
+ compression: "Test string",
473
+ schemaFileFormat: "Test string",
474
+ },
475
+ path: "Test string",
476
+ },
477
+ },
478
+ displayName: "Test string",
479
+ errors: [
480
+ {
481
+ details: {
482
+ A: "Test string"
483
+ },
484
+ errorTime: "Test string",
485
+ errorUuid: "Test string",
486
+ message: "Test string",
487
+ reason: "Test string",
488
+ }
489
+ ],
490
+ labels: {
491
+ A: "Test string"
492
+ },
493
+ name: "Test string",
494
+ sourceConfig: {
495
+ mysqlSourceConfig: {
496
+ allowlist: {
497
+ mysqlDatabases: [
498
+ {
499
+ databaseName: "Test string",
500
+ mysqlTables: [
501
+ {
502
+ mysqlColumns: [
503
+ {
504
+ collation: "Test string",
505
+ columnName: "Test string",
506
+ dataType: "Test string",
507
+ length: 42,
508
+ nullable: true,
509
+ ordinalPosition: 42,
510
+ primaryKey: true,
511
+ }
512
+ ],
513
+ tableName: "Test string",
514
+ }
515
+ ],
516
+ }
517
+ ],
518
+ },
519
+ rejectlist: {
520
+ mysqlDatabases: [
521
+ {
522
+ databaseName: "Test string",
523
+ mysqlTables: [
524
+ {
525
+ mysqlColumns: [
526
+ {
527
+ collation: "Test string",
528
+ columnName: "Test string",
529
+ dataType: "Test string",
530
+ length: 42,
531
+ nullable: true,
532
+ ordinalPosition: 42,
533
+ primaryKey: true,
534
+ }
535
+ ],
536
+ tableName: "Test string",
537
+ }
538
+ ],
539
+ }
540
+ ],
541
+ },
542
+ },
543
+ oracleSourceConfig: {
544
+ allowlist: {
545
+ oracleSchemas: [
546
+ {
547
+ oracleTables: [
548
+ {
549
+ oracleColumns: [
550
+ {
551
+ columnName: "Test string",
552
+ dataType: "Test string",
553
+ encoding: "Test string",
554
+ length: 42,
555
+ nullable: true,
556
+ ordinalPosition: 42,
557
+ precision: 42,
558
+ primaryKey: true,
559
+ scale: 42,
560
+ }
561
+ ],
562
+ tableName: "Test string",
563
+ }
564
+ ],
565
+ schemaName: "Test string",
566
+ }
567
+ ],
568
+ },
569
+ dropLargeObjects: {
570
+ },
571
+ rejectlist: {
572
+ oracleSchemas: [
573
+ {
574
+ oracleTables: [
575
+ {
576
+ oracleColumns: [
577
+ {
578
+ columnName: "Test string",
579
+ dataType: "Test string",
580
+ encoding: "Test string",
581
+ length: 42,
582
+ nullable: true,
583
+ ordinalPosition: 42,
584
+ precision: 42,
585
+ primaryKey: true,
586
+ scale: 42,
587
+ }
588
+ ],
589
+ tableName: "Test string",
590
+ }
591
+ ],
592
+ schemaName: "Test string",
593
+ }
594
+ ],
595
+ },
596
+ },
597
+ sourceConnectionProfileName: "Test string",
598
+ },
599
+ state: "Test string",
600
+ updateTime: "Test string",
601
+ });
602
+ /** Use this method to delete a stream. */
603
+ await gapi.client.datastream.projects.locations.streams.delete({
604
+ name: "Test string",
605
+ requestId: "Test string",
606
+ });
607
+ /** Use this method to fetch any errors associated with a stream. */
608
+ await gapi.client.datastream.projects.locations.streams.fetchErrors({
609
+ stream: "Test string",
610
+ }, {
611
+ });
612
+ /** Use this method to get details about a stream. */
613
+ await gapi.client.datastream.projects.locations.streams.get({
614
+ name: "Test string",
615
+ });
616
+ /** Use this method to list streams in a project and location. */
617
+ await gapi.client.datastream.projects.locations.streams.list({
618
+ filter: "Test string",
619
+ orderBy: "Test string",
620
+ pageSize: 42,
621
+ pageToken: "Test string",
622
+ parent: "Test string",
623
+ });
624
+ /** Use this method to update the configuration of a stream. */
625
+ await gapi.client.datastream.projects.locations.streams.patch({
626
+ force: true,
627
+ name: "Test string",
628
+ requestId: "Test string",
629
+ updateMask: "Test string",
630
+ validateOnly: true,
631
+ }, {
632
+ backfillAll: {
633
+ mysqlExcludedObjects: {
634
+ mysqlDatabases: [
635
+ {
636
+ databaseName: "Test string",
637
+ mysqlTables: [
638
+ {
639
+ mysqlColumns: [
640
+ {
641
+ collation: "Test string",
642
+ columnName: "Test string",
643
+ dataType: "Test string",
644
+ length: 42,
645
+ nullable: true,
646
+ ordinalPosition: 42,
647
+ primaryKey: true,
648
+ }
649
+ ],
650
+ tableName: "Test string",
651
+ }
652
+ ],
653
+ }
654
+ ],
655
+ },
656
+ oracleExcludedObjects: {
657
+ oracleSchemas: [
658
+ {
659
+ oracleTables: [
660
+ {
661
+ oracleColumns: [
662
+ {
663
+ columnName: "Test string",
664
+ dataType: "Test string",
665
+ encoding: "Test string",
666
+ length: 42,
667
+ nullable: true,
668
+ ordinalPosition: 42,
669
+ precision: 42,
670
+ primaryKey: true,
671
+ scale: 42,
672
+ }
673
+ ],
674
+ tableName: "Test string",
675
+ }
676
+ ],
677
+ schemaName: "Test string",
678
+ }
679
+ ],
680
+ },
681
+ },
682
+ backfillNone: {
683
+ },
684
+ createTime: "Test string",
685
+ customerManagedEncryptionKey: "Test string",
686
+ destinationConfig: {
687
+ destinationConnectionProfileName: "Test string",
688
+ gcsDestinationConfig: {
689
+ avroFileFormat: {
690
+ },
691
+ fileRotationInterval: "Test string",
692
+ fileRotationMb: 42,
693
+ gcsFileFormat: "Test string",
694
+ jsonFileFormat: {
695
+ compression: "Test string",
696
+ schemaFileFormat: "Test string",
697
+ },
698
+ path: "Test string",
699
+ },
700
+ },
701
+ displayName: "Test string",
702
+ errors: [
703
+ {
704
+ details: {
705
+ A: "Test string"
706
+ },
707
+ errorTime: "Test string",
708
+ errorUuid: "Test string",
709
+ message: "Test string",
710
+ reason: "Test string",
711
+ }
712
+ ],
713
+ labels: {
714
+ A: "Test string"
715
+ },
716
+ name: "Test string",
717
+ sourceConfig: {
718
+ mysqlSourceConfig: {
719
+ allowlist: {
720
+ mysqlDatabases: [
721
+ {
722
+ databaseName: "Test string",
723
+ mysqlTables: [
724
+ {
725
+ mysqlColumns: [
726
+ {
727
+ collation: "Test string",
728
+ columnName: "Test string",
729
+ dataType: "Test string",
730
+ length: 42,
731
+ nullable: true,
732
+ ordinalPosition: 42,
733
+ primaryKey: true,
734
+ }
735
+ ],
736
+ tableName: "Test string",
737
+ }
738
+ ],
739
+ }
740
+ ],
741
+ },
742
+ rejectlist: {
743
+ mysqlDatabases: [
744
+ {
745
+ databaseName: "Test string",
746
+ mysqlTables: [
747
+ {
748
+ mysqlColumns: [
749
+ {
750
+ collation: "Test string",
751
+ columnName: "Test string",
752
+ dataType: "Test string",
753
+ length: 42,
754
+ nullable: true,
755
+ ordinalPosition: 42,
756
+ primaryKey: true,
757
+ }
758
+ ],
759
+ tableName: "Test string",
760
+ }
761
+ ],
762
+ }
763
+ ],
764
+ },
765
+ },
766
+ oracleSourceConfig: {
767
+ allowlist: {
768
+ oracleSchemas: [
769
+ {
770
+ oracleTables: [
771
+ {
772
+ oracleColumns: [
773
+ {
774
+ columnName: "Test string",
775
+ dataType: "Test string",
776
+ encoding: "Test string",
777
+ length: 42,
778
+ nullable: true,
779
+ ordinalPosition: 42,
780
+ precision: 42,
781
+ primaryKey: true,
782
+ scale: 42,
783
+ }
784
+ ],
785
+ tableName: "Test string",
786
+ }
787
+ ],
788
+ schemaName: "Test string",
789
+ }
790
+ ],
791
+ },
792
+ dropLargeObjects: {
793
+ },
794
+ rejectlist: {
795
+ oracleSchemas: [
796
+ {
797
+ oracleTables: [
798
+ {
799
+ oracleColumns: [
800
+ {
801
+ columnName: "Test string",
802
+ dataType: "Test string",
803
+ encoding: "Test string",
804
+ length: 42,
805
+ nullable: true,
806
+ ordinalPosition: 42,
807
+ precision: 42,
808
+ primaryKey: true,
809
+ scale: 42,
810
+ }
811
+ ],
812
+ tableName: "Test string",
813
+ }
814
+ ],
815
+ schemaName: "Test string",
816
+ }
817
+ ],
818
+ },
819
+ },
820
+ sourceConnectionProfileName: "Test string",
821
+ },
822
+ state: "Test string",
823
+ updateTime: "Test string",
824
+ });
825
+ /** Use this method to get details about a stream object. */
826
+ await gapi.client.datastream.projects.locations.streams.objects.get({
827
+ name: "Test string",
828
+ });
829
+ /** Use this method to list the objects of a specific stream. */
830
+ await gapi.client.datastream.projects.locations.streams.objects.list({
831
+ pageSize: 42,
832
+ pageToken: "Test string",
833
+ parent: "Test string",
834
+ });
835
+ /** Starts backfill job for the specified stream object. */
836
+ await gapi.client.datastream.projects.locations.streams.objects.startBackfillJob({
837
+ object: "Test string",
838
+ });
839
+ /** Stops the backfill job for the specified stream object. */
840
+ await gapi.client.datastream.projects.locations.streams.objects.stopBackfillJob({
841
+ object: "Test string",
842
+ });
843
+ }
844
+ });