google-apis-datastream_v1 0.46.0 → 0.47.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22e790753d5c38bf0998ab36ede51e00b90b68b9de9e910f5523112cc14a32e3
4
- data.tar.gz: 1d05199bdb353ee02b842e6ee3f969385231456f532e6347bd21ef8c117543fa
3
+ metadata.gz: cf4511fe49ba6b7f13d01ad8655c09e00ba4aad4eef788770d04efd04b3eaae6
4
+ data.tar.gz: 6b49cf00a7a766505d681d4c6e8e99440aa35ccf58c1b94eeb675e104f1c41b0
5
5
  SHA512:
6
- metadata.gz: 703d6f50b7aff8ba863d5ece3ead7cb72647c5d806c0656a6daa44dec52a0f94a24da3ec45b827d8e013414bf52af24fc9cffe6eab316569a66778b8c733301b
7
- data.tar.gz: afd343bf5bde9aad8fda470b676faa1e6a28d2532f21c78c6ba2c6f045b11bb0c0e58a6f36695d8a1daf2e606553678d077916697c52bd1970de627e4ff83a4e
6
+ metadata.gz: 3dc02c9eab50d9f0089f23c02af5425dafbd8aac54977b211984975bd7e16825b8ed164aac0639589ef17b1cd04a4f4de24e0ec6007b5a1bb8ce4a4070401146
7
+ data.tar.gz: 526b8356c215fbe5ac200a03f12d71acd366dd84bcf1892741474eead74e5827080c137316d8cf5c40fc66b5da284dcb7108631abb7fba6964464af9ef247f27
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-datastream_v1
2
2
 
3
+ ### v0.47.0 (2025-03-30)
4
+
5
+ * Regenerated from discovery document revision 20250321
6
+
3
7
  ### v0.46.0 (2025-03-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20250316
@@ -54,6 +54,11 @@ module Google
54
54
  class BackfillAllStrategy
55
55
  include Google::Apis::Core::Hashable
56
56
 
57
+ # MongoDB Cluster structure.
58
+ # Corresponds to the JSON property `mongodbExcludedObjects`
59
+ # @return [Google::Apis::DatastreamV1::MongodbCluster]
60
+ attr_accessor :mongodb_excluded_objects
61
+
57
62
  # MySQL database structure
58
63
  # Corresponds to the JSON property `mysqlExcludedObjects`
59
64
  # @return [Google::Apis::DatastreamV1::MysqlRdbms]
@@ -85,6 +90,7 @@ module Google
85
90
 
86
91
  # Update properties of this object
87
92
  def update!(**args)
93
+ @mongodb_excluded_objects = args[:mongodb_excluded_objects] if args.key?(:mongodb_excluded_objects)
88
94
  @mysql_excluded_objects = args[:mysql_excluded_objects] if args.key?(:mysql_excluded_objects)
89
95
  @oracle_excluded_objects = args[:oracle_excluded_objects] if args.key?(:oracle_excluded_objects)
90
96
  @postgresql_excluded_objects = args[:postgresql_excluded_objects] if args.key?(:postgresql_excluded_objects)
@@ -378,6 +384,11 @@ module Google
378
384
  # @return [Hash<String,String>]
379
385
  attr_accessor :labels
380
386
 
387
+ # MongoDB profile.
388
+ # Corresponds to the JSON property `mongodbProfile`
389
+ # @return [Google::Apis::DatastreamV1::MongodbProfile]
390
+ attr_accessor :mongodb_profile
391
+
381
392
  # MySQL database profile.
382
393
  # Corresponds to the JSON property `mysqlProfile`
383
394
  # @return [Google::Apis::DatastreamV1::MysqlProfile]
@@ -449,6 +460,7 @@ module Google
449
460
  @forward_ssh_connectivity = args[:forward_ssh_connectivity] if args.key?(:forward_ssh_connectivity)
450
461
  @gcs_profile = args[:gcs_profile] if args.key?(:gcs_profile)
451
462
  @labels = args[:labels] if args.key?(:labels)
463
+ @mongodb_profile = args[:mongodb_profile] if args.key?(:mongodb_profile)
452
464
  @mysql_profile = args[:mysql_profile] if args.key?(:mysql_profile)
453
465
  @name = args[:name] if args.key?(:name)
454
466
  @oracle_profile = args[:oracle_profile] if args.key?(:oracle_profile)
@@ -560,6 +572,11 @@ module Google
560
572
  # @return [Fixnum]
561
573
  attr_accessor :hierarchy_depth
562
574
 
575
+ # MongoDB Cluster structure.
576
+ # Corresponds to the JSON property `mongodbCluster`
577
+ # @return [Google::Apis::DatastreamV1::MongodbCluster]
578
+ attr_accessor :mongodb_cluster
579
+
563
580
  # MySQL database structure
564
581
  # Corresponds to the JSON property `mysqlRdbms`
565
582
  # @return [Google::Apis::DatastreamV1::MysqlRdbms]
@@ -575,6 +592,11 @@ module Google
575
592
  # @return [Google::Apis::DatastreamV1::PostgresqlRdbms]
576
593
  attr_accessor :postgresql_rdbms
577
594
 
595
+ # Salesforce organization structure.
596
+ # Corresponds to the JSON property `salesforceOrg`
597
+ # @return [Google::Apis::DatastreamV1::SalesforceOrg]
598
+ attr_accessor :salesforce_org
599
+
578
600
  # SQLServer database structure.
579
601
  # Corresponds to the JSON property `sqlServerRdbms`
580
602
  # @return [Google::Apis::DatastreamV1::SqlServerRdbms]
@@ -590,9 +612,11 @@ module Google
590
612
  @connection_profile_name = args[:connection_profile_name] if args.key?(:connection_profile_name)
591
613
  @full_hierarchy = args[:full_hierarchy] if args.key?(:full_hierarchy)
592
614
  @hierarchy_depth = args[:hierarchy_depth] if args.key?(:hierarchy_depth)
615
+ @mongodb_cluster = args[:mongodb_cluster] if args.key?(:mongodb_cluster)
593
616
  @mysql_rdbms = args[:mysql_rdbms] if args.key?(:mysql_rdbms)
594
617
  @oracle_rdbms = args[:oracle_rdbms] if args.key?(:oracle_rdbms)
595
618
  @postgresql_rdbms = args[:postgresql_rdbms] if args.key?(:postgresql_rdbms)
619
+ @salesforce_org = args[:salesforce_org] if args.key?(:salesforce_org)
596
620
  @sql_server_rdbms = args[:sql_server_rdbms] if args.key?(:sql_server_rdbms)
597
621
  end
598
622
  end
@@ -601,6 +625,11 @@ module Google
601
625
  class DiscoverConnectionProfileResponse
602
626
  include Google::Apis::Core::Hashable
603
627
 
628
+ # MongoDB Cluster structure.
629
+ # Corresponds to the JSON property `mongodbCluster`
630
+ # @return [Google::Apis::DatastreamV1::MongodbCluster]
631
+ attr_accessor :mongodb_cluster
632
+
604
633
  # MySQL database structure
605
634
  # Corresponds to the JSON property `mysqlRdbms`
606
635
  # @return [Google::Apis::DatastreamV1::MysqlRdbms]
@@ -616,6 +645,11 @@ module Google
616
645
  # @return [Google::Apis::DatastreamV1::PostgresqlRdbms]
617
646
  attr_accessor :postgresql_rdbms
618
647
 
648
+ # Salesforce organization structure.
649
+ # Corresponds to the JSON property `salesforceOrg`
650
+ # @return [Google::Apis::DatastreamV1::SalesforceOrg]
651
+ attr_accessor :salesforce_org
652
+
619
653
  # SQLServer database structure.
620
654
  # Corresponds to the JSON property `sqlServerRdbms`
621
655
  # @return [Google::Apis::DatastreamV1::SqlServerRdbms]
@@ -627,9 +661,11 @@ module Google
627
661
 
628
662
  # Update properties of this object
629
663
  def update!(**args)
664
+ @mongodb_cluster = args[:mongodb_cluster] if args.key?(:mongodb_cluster)
630
665
  @mysql_rdbms = args[:mysql_rdbms] if args.key?(:mysql_rdbms)
631
666
  @oracle_rdbms = args[:oracle_rdbms] if args.key?(:oracle_rdbms)
632
667
  @postgresql_rdbms = args[:postgresql_rdbms] if args.key?(:postgresql_rdbms)
668
+ @salesforce_org = args[:salesforce_org] if args.key?(:salesforce_org)
633
669
  @sql_server_rdbms = args[:sql_server_rdbms] if args.key?(:sql_server_rdbms)
634
670
  end
635
671
  end
@@ -859,6 +895,32 @@ module Google
859
895
  end
860
896
  end
861
897
 
898
+ # A HostAddress represents a transport end point, which is the combination of an
899
+ # IP address or hostname and a port number.
900
+ class HostAddress
901
+ include Google::Apis::Core::Hashable
902
+
903
+ # Required. Hostname for the connection.
904
+ # Corresponds to the JSON property `hostname`
905
+ # @return [String]
906
+ attr_accessor :hostname
907
+
908
+ # Optional. Port for the connection.
909
+ # Corresponds to the JSON property `port`
910
+ # @return [Fixnum]
911
+ attr_accessor :port
912
+
913
+ def initialize(**args)
914
+ update!(**args)
915
+ end
916
+
917
+ # Update properties of this object
918
+ def update!(**args)
919
+ @hostname = args[:hostname] if args.key?(:hostname)
920
+ @port = args[:port] if args.key?(:port)
921
+ end
922
+ end
923
+
862
924
  # JSON file format configuration.
863
925
  class JsonFileFormat
864
926
  include Google::Apis::Core::Hashable
@@ -1206,6 +1268,202 @@ module Google
1206
1268
  end
1207
1269
  end
1208
1270
 
1271
+ # MongoDB Cluster structure.
1272
+ class MongodbCluster
1273
+ include Google::Apis::Core::Hashable
1274
+
1275
+ # MongoDB databases in the cluster.
1276
+ # Corresponds to the JSON property `databases`
1277
+ # @return [Array<Google::Apis::DatastreamV1::MongodbDatabase>]
1278
+ attr_accessor :databases
1279
+
1280
+ def initialize(**args)
1281
+ update!(**args)
1282
+ end
1283
+
1284
+ # Update properties of this object
1285
+ def update!(**args)
1286
+ @databases = args[:databases] if args.key?(:databases)
1287
+ end
1288
+ end
1289
+
1290
+ # MongoDB Collection.
1291
+ class MongodbCollection
1292
+ include Google::Apis::Core::Hashable
1293
+
1294
+ # Collection name.
1295
+ # Corresponds to the JSON property `collection`
1296
+ # @return [String]
1297
+ attr_accessor :collection
1298
+
1299
+ # Fields in the collection.
1300
+ # Corresponds to the JSON property `fields`
1301
+ # @return [Array<Google::Apis::DatastreamV1::MongodbField>]
1302
+ attr_accessor :fields
1303
+
1304
+ def initialize(**args)
1305
+ update!(**args)
1306
+ end
1307
+
1308
+ # Update properties of this object
1309
+ def update!(**args)
1310
+ @collection = args[:collection] if args.key?(:collection)
1311
+ @fields = args[:fields] if args.key?(:fields)
1312
+ end
1313
+ end
1314
+
1315
+ # MongoDB Database.
1316
+ class MongodbDatabase
1317
+ include Google::Apis::Core::Hashable
1318
+
1319
+ # Collections in the database.
1320
+ # Corresponds to the JSON property `collections`
1321
+ # @return [Array<Google::Apis::DatastreamV1::MongodbCollection>]
1322
+ attr_accessor :collections
1323
+
1324
+ # Database name.
1325
+ # Corresponds to the JSON property `database`
1326
+ # @return [String]
1327
+ attr_accessor :database
1328
+
1329
+ def initialize(**args)
1330
+ update!(**args)
1331
+ end
1332
+
1333
+ # Update properties of this object
1334
+ def update!(**args)
1335
+ @collections = args[:collections] if args.key?(:collections)
1336
+ @database = args[:database] if args.key?(:database)
1337
+ end
1338
+ end
1339
+
1340
+ # MongoDB Field.
1341
+ class MongodbField
1342
+ include Google::Apis::Core::Hashable
1343
+
1344
+ # Field name.
1345
+ # Corresponds to the JSON property `field`
1346
+ # @return [String]
1347
+ attr_accessor :field
1348
+
1349
+ def initialize(**args)
1350
+ update!(**args)
1351
+ end
1352
+
1353
+ # Update properties of this object
1354
+ def update!(**args)
1355
+ @field = args[:field] if args.key?(:field)
1356
+ end
1357
+ end
1358
+
1359
+ # MongoDB data source object identifier.
1360
+ class MongodbObjectIdentifier
1361
+ include Google::Apis::Core::Hashable
1362
+
1363
+ # Required. The collection name.
1364
+ # Corresponds to the JSON property `collection`
1365
+ # @return [String]
1366
+ attr_accessor :collection
1367
+
1368
+ # Required. The database name.
1369
+ # Corresponds to the JSON property `database`
1370
+ # @return [String]
1371
+ attr_accessor :database
1372
+
1373
+ def initialize(**args)
1374
+ update!(**args)
1375
+ end
1376
+
1377
+ # Update properties of this object
1378
+ def update!(**args)
1379
+ @collection = args[:collection] if args.key?(:collection)
1380
+ @database = args[:database] if args.key?(:database)
1381
+ end
1382
+ end
1383
+
1384
+ # MongoDB profile.
1385
+ class MongodbProfile
1386
+ include Google::Apis::Core::Hashable
1387
+
1388
+ # Required. List of host addresses for a MongoDB cluster.
1389
+ # Corresponds to the JSON property `hostAddresses`
1390
+ # @return [Array<Google::Apis::DatastreamV1::HostAddress>]
1391
+ attr_accessor :host_addresses
1392
+
1393
+ # Optional. Password for the MongoDB connection. Mutually exclusive with the `
1394
+ # secret_manager_stored_password` field.
1395
+ # Corresponds to the JSON property `password`
1396
+ # @return [String]
1397
+ attr_accessor :password
1398
+
1399
+ # Optional. Name of the replica set. Only needed for self hosted replica set
1400
+ # type MongoDB cluster.
1401
+ # Corresponds to the JSON property `replicaSet`
1402
+ # @return [String]
1403
+ attr_accessor :replica_set
1404
+
1405
+ # Optional. A reference to a Secret Manager resource name storing the SQLServer
1406
+ # connection password. Mutually exclusive with the `password` field.
1407
+ # Corresponds to the JSON property `secretManagerStoredPassword`
1408
+ # @return [String]
1409
+ attr_accessor :secret_manager_stored_password
1410
+
1411
+ # Srv connection format.
1412
+ # Corresponds to the JSON property `srvConnectionFormat`
1413
+ # @return [Google::Apis::DatastreamV1::SrvConnectionFormat]
1414
+ attr_accessor :srv_connection_format
1415
+
1416
+ # Standard connection format.
1417
+ # Corresponds to the JSON property `standardConnectionFormat`
1418
+ # @return [Google::Apis::DatastreamV1::StandardConnectionFormat]
1419
+ attr_accessor :standard_connection_format
1420
+
1421
+ # Required. Username for the MongoDB connection.
1422
+ # Corresponds to the JSON property `username`
1423
+ # @return [String]
1424
+ attr_accessor :username
1425
+
1426
+ def initialize(**args)
1427
+ update!(**args)
1428
+ end
1429
+
1430
+ # Update properties of this object
1431
+ def update!(**args)
1432
+ @host_addresses = args[:host_addresses] if args.key?(:host_addresses)
1433
+ @password = args[:password] if args.key?(:password)
1434
+ @replica_set = args[:replica_set] if args.key?(:replica_set)
1435
+ @secret_manager_stored_password = args[:secret_manager_stored_password] if args.key?(:secret_manager_stored_password)
1436
+ @srv_connection_format = args[:srv_connection_format] if args.key?(:srv_connection_format)
1437
+ @standard_connection_format = args[:standard_connection_format] if args.key?(:standard_connection_format)
1438
+ @username = args[:username] if args.key?(:username)
1439
+ end
1440
+ end
1441
+
1442
+ # MongoDB source configuration.
1443
+ class MongodbSourceConfig
1444
+ include Google::Apis::Core::Hashable
1445
+
1446
+ # MongoDB Cluster structure.
1447
+ # Corresponds to the JSON property `excludeObjects`
1448
+ # @return [Google::Apis::DatastreamV1::MongodbCluster]
1449
+ attr_accessor :exclude_objects
1450
+
1451
+ # MongoDB Cluster structure.
1452
+ # Corresponds to the JSON property `includeObjects`
1453
+ # @return [Google::Apis::DatastreamV1::MongodbCluster]
1454
+ attr_accessor :include_objects
1455
+
1456
+ def initialize(**args)
1457
+ update!(**args)
1458
+ end
1459
+
1460
+ # Update properties of this object
1461
+ def update!(**args)
1462
+ @exclude_objects = args[:exclude_objects] if args.key?(:exclude_objects)
1463
+ @include_objects = args[:include_objects] if args.key?(:include_objects)
1464
+ end
1465
+ end
1466
+
1209
1467
  # CDC strategy to start replicating from the most recent position in the source.
1210
1468
  class MostRecentStartPosition
1211
1469
  include Google::Apis::Core::Hashable
@@ -2925,6 +3183,11 @@ module Google
2925
3183
  class SourceConfig
2926
3184
  include Google::Apis::Core::Hashable
2927
3185
 
3186
+ # MongoDB source configuration.
3187
+ # Corresponds to the JSON property `mongodbSourceConfig`
3188
+ # @return [Google::Apis::DatastreamV1::MongodbSourceConfig]
3189
+ attr_accessor :mongodb_source_config
3190
+
2928
3191
  # MySQL source configuration
2929
3192
  # Corresponds to the JSON property `mysqlSourceConfig`
2930
3193
  # @return [Google::Apis::DatastreamV1::MysqlSourceConfig]
@@ -2962,6 +3225,7 @@ module Google
2962
3225
 
2963
3226
  # Update properties of this object
2964
3227
  def update!(**args)
3228
+ @mongodb_source_config = args[:mongodb_source_config] if args.key?(:mongodb_source_config)
2965
3229
  @mysql_source_config = args[:mysql_source_config] if args.key?(:mysql_source_config)
2966
3230
  @oracle_source_config = args[:oracle_source_config] if args.key?(:oracle_source_config)
2967
3231
  @postgresql_source_config = args[:postgresql_source_config] if args.key?(:postgresql_source_config)
@@ -2995,6 +3259,11 @@ module Google
2995
3259
  class SourceObjectIdentifier
2996
3260
  include Google::Apis::Core::Hashable
2997
3261
 
3262
+ # MongoDB data source object identifier.
3263
+ # Corresponds to the JSON property `mongodbIdentifier`
3264
+ # @return [Google::Apis::DatastreamV1::MongodbObjectIdentifier]
3265
+ attr_accessor :mongodb_identifier
3266
+
2998
3267
  # Mysql data source object identifier.
2999
3268
  # Corresponds to the JSON property `mysqlIdentifier`
3000
3269
  # @return [Google::Apis::DatastreamV1::MysqlObjectIdentifier]
@@ -3026,6 +3295,7 @@ module Google
3026
3295
 
3027
3296
  # Update properties of this object
3028
3297
  def update!(**args)
3298
+ @mongodb_identifier = args[:mongodb_identifier] if args.key?(:mongodb_identifier)
3029
3299
  @mysql_identifier = args[:mysql_identifier] if args.key?(:mysql_identifier)
3030
3300
  @oracle_identifier = args[:oracle_identifier] if args.key?(:oracle_identifier)
3031
3301
  @postgresql_identifier = args[:postgresql_identifier] if args.key?(:postgresql_identifier)
@@ -3374,6 +3644,32 @@ module Google
3374
3644
  end
3375
3645
  end
3376
3646
 
3647
+ # Srv connection format.
3648
+ class SrvConnectionFormat
3649
+ include Google::Apis::Core::Hashable
3650
+
3651
+ def initialize(**args)
3652
+ update!(**args)
3653
+ end
3654
+
3655
+ # Update properties of this object
3656
+ def update!(**args)
3657
+ end
3658
+ end
3659
+
3660
+ # Standard connection format.
3661
+ class StandardConnectionFormat
3662
+ include Google::Apis::Core::Hashable
3663
+
3664
+ def initialize(**args)
3665
+ update!(**args)
3666
+ end
3667
+
3668
+ # Update properties of this object
3669
+ def update!(**args)
3670
+ end
3671
+ end
3672
+
3377
3673
  # Request for manually initiating a backfill job for a specific stream object.
3378
3674
  class StartBackfillJobRequest
3379
3675
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatastreamV1
18
18
  # Version of the google-apis-datastream_v1 gem
19
- GEM_VERSION = "0.46.0"
19
+ GEM_VERSION = "0.47.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250316"
25
+ REVISION = "20250321"
26
26
  end
27
27
  end
28
28
  end
@@ -172,6 +172,12 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class HostAddress
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
175
181
  class JsonFileFormat
176
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
183
 
@@ -250,6 +256,48 @@ module Google
250
256
  include Google::Apis::Core::JsonObjectSupport
251
257
  end
252
258
 
259
+ class MongodbCluster
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class MongodbCollection
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class MongodbDatabase
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class MongodbField
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class MongodbObjectIdentifier
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class MongodbProfile
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class MongodbSourceConfig
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
253
301
  class MostRecentStartPosition
254
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
303
 
@@ -622,6 +670,18 @@ module Google
622
670
  include Google::Apis::Core::JsonObjectSupport
623
671
  end
624
672
 
673
+ class SrvConnectionFormat
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
679
+ class StandardConnectionFormat
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
625
685
  class StartBackfillJobRequest
626
686
  class Representation < Google::Apis::Core::JsonRepresentation; end
627
687
 
@@ -721,6 +781,8 @@ module Google
721
781
  class BackfillAllStrategy
722
782
  # @private
723
783
  class Representation < Google::Apis::Core::JsonRepresentation
784
+ property :mongodb_excluded_objects, as: 'mongodbExcludedObjects', class: Google::Apis::DatastreamV1::MongodbCluster, decorator: Google::Apis::DatastreamV1::MongodbCluster::Representation
785
+
724
786
  property :mysql_excluded_objects, as: 'mysqlExcludedObjects', class: Google::Apis::DatastreamV1::MysqlRdbms, decorator: Google::Apis::DatastreamV1::MysqlRdbms::Representation
725
787
 
726
788
  property :oracle_excluded_objects, as: 'oracleExcludedObjects', class: Google::Apis::DatastreamV1::OracleRdbms, decorator: Google::Apis::DatastreamV1::OracleRdbms::Representation
@@ -832,6 +894,8 @@ module Google
832
894
  property :gcs_profile, as: 'gcsProfile', class: Google::Apis::DatastreamV1::GcsProfile, decorator: Google::Apis::DatastreamV1::GcsProfile::Representation
833
895
 
834
896
  hash :labels, as: 'labels'
897
+ property :mongodb_profile, as: 'mongodbProfile', class: Google::Apis::DatastreamV1::MongodbProfile, decorator: Google::Apis::DatastreamV1::MongodbProfile::Representation
898
+
835
899
  property :mysql_profile, as: 'mysqlProfile', class: Google::Apis::DatastreamV1::MysqlProfile, decorator: Google::Apis::DatastreamV1::MysqlProfile::Representation
836
900
 
837
901
  property :name, as: 'name'
@@ -881,12 +945,16 @@ module Google
881
945
  property :connection_profile_name, as: 'connectionProfileName'
882
946
  property :full_hierarchy, as: 'fullHierarchy'
883
947
  property :hierarchy_depth, as: 'hierarchyDepth'
948
+ property :mongodb_cluster, as: 'mongodbCluster', class: Google::Apis::DatastreamV1::MongodbCluster, decorator: Google::Apis::DatastreamV1::MongodbCluster::Representation
949
+
884
950
  property :mysql_rdbms, as: 'mysqlRdbms', class: Google::Apis::DatastreamV1::MysqlRdbms, decorator: Google::Apis::DatastreamV1::MysqlRdbms::Representation
885
951
 
886
952
  property :oracle_rdbms, as: 'oracleRdbms', class: Google::Apis::DatastreamV1::OracleRdbms, decorator: Google::Apis::DatastreamV1::OracleRdbms::Representation
887
953
 
888
954
  property :postgresql_rdbms, as: 'postgresqlRdbms', class: Google::Apis::DatastreamV1::PostgresqlRdbms, decorator: Google::Apis::DatastreamV1::PostgresqlRdbms::Representation
889
955
 
956
+ property :salesforce_org, as: 'salesforceOrg', class: Google::Apis::DatastreamV1::SalesforceOrg, decorator: Google::Apis::DatastreamV1::SalesforceOrg::Representation
957
+
890
958
  property :sql_server_rdbms, as: 'sqlServerRdbms', class: Google::Apis::DatastreamV1::SqlServerRdbms, decorator: Google::Apis::DatastreamV1::SqlServerRdbms::Representation
891
959
 
892
960
  end
@@ -895,12 +963,16 @@ module Google
895
963
  class DiscoverConnectionProfileResponse
896
964
  # @private
897
965
  class Representation < Google::Apis::Core::JsonRepresentation
966
+ property :mongodb_cluster, as: 'mongodbCluster', class: Google::Apis::DatastreamV1::MongodbCluster, decorator: Google::Apis::DatastreamV1::MongodbCluster::Representation
967
+
898
968
  property :mysql_rdbms, as: 'mysqlRdbms', class: Google::Apis::DatastreamV1::MysqlRdbms, decorator: Google::Apis::DatastreamV1::MysqlRdbms::Representation
899
969
 
900
970
  property :oracle_rdbms, as: 'oracleRdbms', class: Google::Apis::DatastreamV1::OracleRdbms, decorator: Google::Apis::DatastreamV1::OracleRdbms::Representation
901
971
 
902
972
  property :postgresql_rdbms, as: 'postgresqlRdbms', class: Google::Apis::DatastreamV1::PostgresqlRdbms, decorator: Google::Apis::DatastreamV1::PostgresqlRdbms::Representation
903
973
 
974
+ property :salesforce_org, as: 'salesforceOrg', class: Google::Apis::DatastreamV1::SalesforceOrg, decorator: Google::Apis::DatastreamV1::SalesforceOrg::Representation
975
+
904
976
  property :sql_server_rdbms, as: 'sqlServerRdbms', class: Google::Apis::DatastreamV1::SqlServerRdbms, decorator: Google::Apis::DatastreamV1::SqlServerRdbms::Representation
905
977
 
906
978
  end
@@ -975,6 +1047,14 @@ module Google
975
1047
  end
976
1048
  end
977
1049
 
1050
+ class HostAddress
1051
+ # @private
1052
+ class Representation < Google::Apis::Core::JsonRepresentation
1053
+ property :hostname, as: 'hostname'
1054
+ property :port, as: 'port'
1055
+ end
1056
+ end
1057
+
978
1058
  class JsonFileFormat
979
1059
  # @private
980
1060
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1089,6 +1169,73 @@ module Google
1089
1169
  end
1090
1170
  end
1091
1171
 
1172
+ class MongodbCluster
1173
+ # @private
1174
+ class Representation < Google::Apis::Core::JsonRepresentation
1175
+ collection :databases, as: 'databases', class: Google::Apis::DatastreamV1::MongodbDatabase, decorator: Google::Apis::DatastreamV1::MongodbDatabase::Representation
1176
+
1177
+ end
1178
+ end
1179
+
1180
+ class MongodbCollection
1181
+ # @private
1182
+ class Representation < Google::Apis::Core::JsonRepresentation
1183
+ property :collection, as: 'collection'
1184
+ collection :fields, as: 'fields', class: Google::Apis::DatastreamV1::MongodbField, decorator: Google::Apis::DatastreamV1::MongodbField::Representation
1185
+
1186
+ end
1187
+ end
1188
+
1189
+ class MongodbDatabase
1190
+ # @private
1191
+ class Representation < Google::Apis::Core::JsonRepresentation
1192
+ collection :collections, as: 'collections', class: Google::Apis::DatastreamV1::MongodbCollection, decorator: Google::Apis::DatastreamV1::MongodbCollection::Representation
1193
+
1194
+ property :database, as: 'database'
1195
+ end
1196
+ end
1197
+
1198
+ class MongodbField
1199
+ # @private
1200
+ class Representation < Google::Apis::Core::JsonRepresentation
1201
+ property :field, as: 'field'
1202
+ end
1203
+ end
1204
+
1205
+ class MongodbObjectIdentifier
1206
+ # @private
1207
+ class Representation < Google::Apis::Core::JsonRepresentation
1208
+ property :collection, as: 'collection'
1209
+ property :database, as: 'database'
1210
+ end
1211
+ end
1212
+
1213
+ class MongodbProfile
1214
+ # @private
1215
+ class Representation < Google::Apis::Core::JsonRepresentation
1216
+ collection :host_addresses, as: 'hostAddresses', class: Google::Apis::DatastreamV1::HostAddress, decorator: Google::Apis::DatastreamV1::HostAddress::Representation
1217
+
1218
+ property :password, as: 'password'
1219
+ property :replica_set, as: 'replicaSet'
1220
+ property :secret_manager_stored_password, as: 'secretManagerStoredPassword'
1221
+ property :srv_connection_format, as: 'srvConnectionFormat', class: Google::Apis::DatastreamV1::SrvConnectionFormat, decorator: Google::Apis::DatastreamV1::SrvConnectionFormat::Representation
1222
+
1223
+ property :standard_connection_format, as: 'standardConnectionFormat', class: Google::Apis::DatastreamV1::StandardConnectionFormat, decorator: Google::Apis::DatastreamV1::StandardConnectionFormat::Representation
1224
+
1225
+ property :username, as: 'username'
1226
+ end
1227
+ end
1228
+
1229
+ class MongodbSourceConfig
1230
+ # @private
1231
+ class Representation < Google::Apis::Core::JsonRepresentation
1232
+ property :exclude_objects, as: 'excludeObjects', class: Google::Apis::DatastreamV1::MongodbCluster, decorator: Google::Apis::DatastreamV1::MongodbCluster::Representation
1233
+
1234
+ property :include_objects, as: 'includeObjects', class: Google::Apis::DatastreamV1::MongodbCluster, decorator: Google::Apis::DatastreamV1::MongodbCluster::Representation
1235
+
1236
+ end
1237
+ end
1238
+
1092
1239
  class MostRecentStartPosition
1093
1240
  # @private
1094
1241
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1586,6 +1733,8 @@ module Google
1586
1733
  class SourceConfig
1587
1734
  # @private
1588
1735
  class Representation < Google::Apis::Core::JsonRepresentation
1736
+ property :mongodb_source_config, as: 'mongodbSourceConfig', class: Google::Apis::DatastreamV1::MongodbSourceConfig, decorator: Google::Apis::DatastreamV1::MongodbSourceConfig::Representation
1737
+
1589
1738
  property :mysql_source_config, as: 'mysqlSourceConfig', class: Google::Apis::DatastreamV1::MysqlSourceConfig, decorator: Google::Apis::DatastreamV1::MysqlSourceConfig::Representation
1590
1739
 
1591
1740
  property :oracle_source_config, as: 'oracleSourceConfig', class: Google::Apis::DatastreamV1::OracleSourceConfig, decorator: Google::Apis::DatastreamV1::OracleSourceConfig::Representation
@@ -1611,6 +1760,8 @@ module Google
1611
1760
  class SourceObjectIdentifier
1612
1761
  # @private
1613
1762
  class Representation < Google::Apis::Core::JsonRepresentation
1763
+ property :mongodb_identifier, as: 'mongodbIdentifier', class: Google::Apis::DatastreamV1::MongodbObjectIdentifier, decorator: Google::Apis::DatastreamV1::MongodbObjectIdentifier::Representation
1764
+
1614
1765
  property :mysql_identifier, as: 'mysqlIdentifier', class: Google::Apis::DatastreamV1::MysqlObjectIdentifier, decorator: Google::Apis::DatastreamV1::MysqlObjectIdentifier::Representation
1615
1766
 
1616
1767
  property :oracle_identifier, as: 'oracleIdentifier', class: Google::Apis::DatastreamV1::OracleObjectIdentifier, decorator: Google::Apis::DatastreamV1::OracleObjectIdentifier::Representation
@@ -1733,6 +1884,18 @@ module Google
1733
1884
  end
1734
1885
  end
1735
1886
 
1887
+ class SrvConnectionFormat
1888
+ # @private
1889
+ class Representation < Google::Apis::Core::JsonRepresentation
1890
+ end
1891
+ end
1892
+
1893
+ class StandardConnectionFormat
1894
+ # @private
1895
+ class Representation < Google::Apis::Core::JsonRepresentation
1896
+ end
1897
+ end
1898
+
1736
1899
  class StartBackfillJobRequest
1737
1900
  # @private
1738
1901
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -122,6 +122,9 @@ module Google
122
122
  # Lists information about the supported locations for this service.
123
123
  # @param [String] name
124
124
  # The resource that owns the locations collection, if applicable.
125
+ # @param [Array<String>, String] extra_location_types
126
+ # Optional. A list of extra location types that should be used as conditions for
127
+ # controlling the visibility of the locations.
125
128
  # @param [String] filter
126
129
  # A filter to narrow down results to a preferred subset. The filtering language
127
130
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -149,11 +152,12 @@ module Google
149
152
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
150
153
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
151
154
  # @raise [Google::Apis::AuthorizationError] Authorization is required
152
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
155
+ def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
153
156
  command = make_simple_command(:get, 'v1/{+name}/locations', options)
154
157
  command.response_representation = Google::Apis::DatastreamV1::ListLocationsResponse::Representation
155
158
  command.response_class = Google::Apis::DatastreamV1::ListLocationsResponse
156
159
  command.params['name'] = name unless name.nil?
160
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
157
161
  command.query['filter'] = filter unless filter.nil?
158
162
  command.query['pageSize'] = page_size unless page_size.nil?
159
163
  command.query['pageToken'] = page_token unless page_token.nil?
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datastream_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.46.0
4
+ version: 0.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-23 00:00:00.000000000 Z
10
+ date: 2025-03-30 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastream_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.46.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.47.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastream_v1
62
62
  rdoc_options: []
63
63
  require_paths: