google-apis-datastream_v1 0.45.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: f31b4e93fc310897e3047ad882d791c94b25d4d77fbb9329a6086d6c6258d3c7
4
- data.tar.gz: 9123348b22490d246c9969e1c3768b1e37a43248da2fa6953e550e0fcc30979b
3
+ metadata.gz: cf4511fe49ba6b7f13d01ad8655c09e00ba4aad4eef788770d04efd04b3eaae6
4
+ data.tar.gz: 6b49cf00a7a766505d681d4c6e8e99440aa35ccf58c1b94eeb675e104f1c41b0
5
5
  SHA512:
6
- metadata.gz: aa0ce37d47f8f760b161ea3d465d9115bdbdb8b1685f56e662a89252ee1e0cabb431d0ec8a7dd14a31078a939e0bbc08716e212fc19828cf59fb905437706fb1
7
- data.tar.gz: b05c3a2c7f90bc198dc6ea4820053c76ab91637342f238c36a821edef417b8c878814c5d9acf511290dcadc2cf0d77ebb254f6c121da1ec112a82d9248b24827
6
+ metadata.gz: 3dc02c9eab50d9f0089f23c02af5425dafbd8aac54977b211984975bd7e16825b8ed164aac0639589ef17b1cd04a4f4de24e0ec6007b5a1bb8ce4a4070401146
7
+ data.tar.gz: 526b8356c215fbe5ac200a03f12d71acd366dd84bcf1892741474eead74e5827080c137316d8cf5c40fc66b5da284dcb7108631abb7fba6964464af9ef247f27
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.46.0 (2025-03-23)
8
+
9
+ * Regenerated from discovery document revision 20250316
10
+
3
11
  ### v0.45.0 (2025-03-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20250219
@@ -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
@@ -1403,6 +1661,12 @@ module Google
1403
1661
  # @return [Fixnum]
1404
1662
  attr_accessor :port
1405
1663
 
1664
+ # Optional. A reference to a Secret Manager resource name storing the MySQL
1665
+ # connection password. Mutually exclusive with the `password` field.
1666
+ # Corresponds to the JSON property `secretManagerStoredPassword`
1667
+ # @return [String]
1668
+ attr_accessor :secret_manager_stored_password
1669
+
1406
1670
  # MySQL SSL configuration information.
1407
1671
  # Corresponds to the JSON property `sslConfig`
1408
1672
  # @return [Google::Apis::DatastreamV1::MysqlSslConfig]
@@ -1422,6 +1686,7 @@ module Google
1422
1686
  @hostname = args[:hostname] if args.key?(:hostname)
1423
1687
  @password = args[:password] if args.key?(:password)
1424
1688
  @port = args[:port] if args.key?(:port)
1689
+ @secret_manager_stored_password = args[:secret_manager_stored_password] if args.key?(:secret_manager_stored_password)
1425
1690
  @ssl_config = args[:ssl_config] if args.key?(:ssl_config)
1426
1691
  @username = args[:username] if args.key?(:username)
1427
1692
  end
@@ -1528,8 +1793,7 @@ module Google
1528
1793
 
1529
1794
  # Optional. Input only. PEM-encoded private key associated with the Client
1530
1795
  # Certificate. If this field is used then the 'client_certificate' and the '
1531
- # ca_certificate' fields are mandatory. Mutually exclusive with the `
1532
- # secret_manager_stored_client_key` field.
1796
+ # ca_certificate' fields are mandatory.
1533
1797
  # Corresponds to the JSON property `clientKey`
1534
1798
  # @return [String]
1535
1799
  attr_accessor :client_key
@@ -1779,7 +2043,8 @@ module Google
1779
2043
  # @return [Google::Apis::DatastreamV1::OracleSslConfig]
1780
2044
  attr_accessor :oracle_ssl_config
1781
2045
 
1782
- # Optional. Password for the Oracle ASM connection.
2046
+ # Optional. Password for the Oracle ASM connection. Mutually exclusive with the `
2047
+ # secret_manager_stored_password` field.
1783
2048
  # Corresponds to the JSON property `password`
1784
2049
  # @return [String]
1785
2050
  attr_accessor :password
@@ -1789,6 +2054,12 @@ module Google
1789
2054
  # @return [Fixnum]
1790
2055
  attr_accessor :port
1791
2056
 
2057
+ # Optional. A reference to a Secret Manager resource name storing the Oracle ASM
2058
+ # connection password. Mutually exclusive with the `password` field.
2059
+ # Corresponds to the JSON property `secretManagerStoredPassword`
2060
+ # @return [String]
2061
+ attr_accessor :secret_manager_stored_password
2062
+
1792
2063
  # Required. Username for the Oracle ASM connection.
1793
2064
  # Corresponds to the JSON property `username`
1794
2065
  # @return [String]
@@ -1806,6 +2077,7 @@ module Google
1806
2077
  @oracle_ssl_config = args[:oracle_ssl_config] if args.key?(:oracle_ssl_config)
1807
2078
  @password = args[:password] if args.key?(:password)
1808
2079
  @port = args[:port] if args.key?(:port)
2080
+ @secret_manager_stored_password = args[:secret_manager_stored_password] if args.key?(:secret_manager_stored_password)
1809
2081
  @username = args[:username] if args.key?(:username)
1810
2082
  end
1811
2083
  end
@@ -2279,6 +2551,12 @@ module Google
2279
2551
  # @return [Fixnum]
2280
2552
  attr_accessor :port
2281
2553
 
2554
+ # Optional. A reference to a Secret Manager resource name storing the PostgreSQL
2555
+ # connection password. Mutually exclusive with the `password` field.
2556
+ # Corresponds to the JSON property `secretManagerStoredPassword`
2557
+ # @return [String]
2558
+ attr_accessor :secret_manager_stored_password
2559
+
2282
2560
  # PostgreSQL SSL configuration information.
2283
2561
  # Corresponds to the JSON property `sslConfig`
2284
2562
  # @return [Google::Apis::DatastreamV1::PostgresqlSslConfig]
@@ -2299,6 +2577,7 @@ module Google
2299
2577
  @hostname = args[:hostname] if args.key?(:hostname)
2300
2578
  @password = args[:password] if args.key?(:password)
2301
2579
  @port = args[:port] if args.key?(:port)
2580
+ @secret_manager_stored_password = args[:secret_manager_stored_password] if args.key?(:secret_manager_stored_password)
2302
2581
  @ssl_config = args[:ssl_config] if args.key?(:ssl_config)
2303
2582
  @username = args[:username] if args.key?(:username)
2304
2583
  end
@@ -2480,6 +2759,12 @@ module Google
2480
2759
  # @return [String]
2481
2760
  attr_accessor :name
2482
2761
 
2762
+ # The PSC Interface configuration is used to create PSC Interface between
2763
+ # Datastream and the consumer's PSC.
2764
+ # Corresponds to the JSON property `pscInterfaceConfig`
2765
+ # @return [Google::Apis::DatastreamV1::PscInterfaceConfig]
2766
+ attr_accessor :psc_interface_config
2767
+
2483
2768
  # Output only. Reserved for future use.
2484
2769
  # Corresponds to the JSON property `satisfiesPzi`
2485
2770
  # @return [Boolean]
@@ -2519,6 +2804,7 @@ module Google
2519
2804
  @error = args[:error] if args.key?(:error)
2520
2805
  @labels = args[:labels] if args.key?(:labels)
2521
2806
  @name = args[:name] if args.key?(:name)
2807
+ @psc_interface_config = args[:psc_interface_config] if args.key?(:psc_interface_config)
2522
2808
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
2523
2809
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
2524
2810
  @state = args[:state] if args.key?(:state)
@@ -2547,6 +2833,28 @@ module Google
2547
2833
  end
2548
2834
  end
2549
2835
 
2836
+ # The PSC Interface configuration is used to create PSC Interface between
2837
+ # Datastream and the consumer's PSC.
2838
+ class PscInterfaceConfig
2839
+ include Google::Apis::Core::Hashable
2840
+
2841
+ # Required. Fully qualified name of the Network Attachment that Datastream will
2842
+ # connect to. Format: `projects/``project``/regions/``region``/
2843
+ # networkAttachments/``name```
2844
+ # Corresponds to the JSON property `networkAttachment`
2845
+ # @return [String]
2846
+ attr_accessor :network_attachment
2847
+
2848
+ def initialize(**args)
2849
+ update!(**args)
2850
+ end
2851
+
2852
+ # Update properties of this object
2853
+ def update!(**args)
2854
+ @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
2855
+ end
2856
+ end
2857
+
2550
2858
  # The route resource is the child of the private connection resource, used for
2551
2859
  # defining a route for a private connection.
2552
2860
  class Route
@@ -2813,8 +3121,7 @@ module Google
2813
3121
  # Optional. Input only. PEM-encoded private key associated with the client
2814
3122
  # certificate. This value will be used during the SSL/TLS handshake, allowing
2815
3123
  # the PostgreSQL server to authenticate the client's identity, i.e. identity of
2816
- # the Datastream. Mutually exclusive with the `secret_manager_stored_client_key`
2817
- # field.
3124
+ # the Datastream.
2818
3125
  # Corresponds to the JSON property `clientKey`
2819
3126
  # @return [String]
2820
3127
  attr_accessor :client_key
@@ -2876,6 +3183,11 @@ module Google
2876
3183
  class SourceConfig
2877
3184
  include Google::Apis::Core::Hashable
2878
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
+
2879
3191
  # MySQL source configuration
2880
3192
  # Corresponds to the JSON property `mysqlSourceConfig`
2881
3193
  # @return [Google::Apis::DatastreamV1::MysqlSourceConfig]
@@ -2913,6 +3225,7 @@ module Google
2913
3225
 
2914
3226
  # Update properties of this object
2915
3227
  def update!(**args)
3228
+ @mongodb_source_config = args[:mongodb_source_config] if args.key?(:mongodb_source_config)
2916
3229
  @mysql_source_config = args[:mysql_source_config] if args.key?(:mysql_source_config)
2917
3230
  @oracle_source_config = args[:oracle_source_config] if args.key?(:oracle_source_config)
2918
3231
  @postgresql_source_config = args[:postgresql_source_config] if args.key?(:postgresql_source_config)
@@ -2946,6 +3259,11 @@ module Google
2946
3259
  class SourceObjectIdentifier
2947
3260
  include Google::Apis::Core::Hashable
2948
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
+
2949
3267
  # Mysql data source object identifier.
2950
3268
  # Corresponds to the JSON property `mysqlIdentifier`
2951
3269
  # @return [Google::Apis::DatastreamV1::MysqlObjectIdentifier]
@@ -2977,6 +3295,7 @@ module Google
2977
3295
 
2978
3296
  # Update properties of this object
2979
3297
  def update!(**args)
3298
+ @mongodb_identifier = args[:mongodb_identifier] if args.key?(:mongodb_identifier)
2980
3299
  @mysql_identifier = args[:mysql_identifier] if args.key?(:mysql_identifier)
2981
3300
  @oracle_identifier = args[:oracle_identifier] if args.key?(:oracle_identifier)
2982
3301
  @postgresql_identifier = args[:postgresql_identifier] if args.key?(:postgresql_identifier)
@@ -3167,6 +3486,12 @@ module Google
3167
3486
  # @return [Fixnum]
3168
3487
  attr_accessor :port
3169
3488
 
3489
+ # Optional. A reference to a Secret Manager resource name storing the SQLServer
3490
+ # connection password. Mutually exclusive with the `password` field.
3491
+ # Corresponds to the JSON property `secretManagerStoredPassword`
3492
+ # @return [String]
3493
+ attr_accessor :secret_manager_stored_password
3494
+
3170
3495
  # Required. Username for the SQLServer connection.
3171
3496
  # Corresponds to the JSON property `username`
3172
3497
  # @return [String]
@@ -3182,6 +3507,7 @@ module Google
3182
3507
  @hostname = args[:hostname] if args.key?(:hostname)
3183
3508
  @password = args[:password] if args.key?(:password)
3184
3509
  @port = args[:port] if args.key?(:port)
3510
+ @secret_manager_stored_password = args[:secret_manager_stored_password] if args.key?(:secret_manager_stored_password)
3185
3511
  @username = args[:username] if args.key?(:username)
3186
3512
  end
3187
3513
  end
@@ -3318,6 +3644,32 @@ module Google
3318
3644
  end
3319
3645
  end
3320
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
+
3321
3673
  # Request for manually initiating a backfill job for a specific stream object.
3322
3674
  class StartBackfillJobRequest
3323
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.45.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 = "20250219"
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
 
@@ -466,6 +514,12 @@ module Google
466
514
  include Google::Apis::Core::JsonObjectSupport
467
515
  end
468
516
 
517
+ class PscInterfaceConfig
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
469
523
  class Route
470
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
525
 
@@ -616,6 +670,18 @@ module Google
616
670
  include Google::Apis::Core::JsonObjectSupport
617
671
  end
618
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
+
619
685
  class StartBackfillJobRequest
620
686
  class Representation < Google::Apis::Core::JsonRepresentation; end
621
687
 
@@ -715,6 +781,8 @@ module Google
715
781
  class BackfillAllStrategy
716
782
  # @private
717
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
+
718
786
  property :mysql_excluded_objects, as: 'mysqlExcludedObjects', class: Google::Apis::DatastreamV1::MysqlRdbms, decorator: Google::Apis::DatastreamV1::MysqlRdbms::Representation
719
787
 
720
788
  property :oracle_excluded_objects, as: 'oracleExcludedObjects', class: Google::Apis::DatastreamV1::OracleRdbms, decorator: Google::Apis::DatastreamV1::OracleRdbms::Representation
@@ -826,6 +894,8 @@ module Google
826
894
  property :gcs_profile, as: 'gcsProfile', class: Google::Apis::DatastreamV1::GcsProfile, decorator: Google::Apis::DatastreamV1::GcsProfile::Representation
827
895
 
828
896
  hash :labels, as: 'labels'
897
+ property :mongodb_profile, as: 'mongodbProfile', class: Google::Apis::DatastreamV1::MongodbProfile, decorator: Google::Apis::DatastreamV1::MongodbProfile::Representation
898
+
829
899
  property :mysql_profile, as: 'mysqlProfile', class: Google::Apis::DatastreamV1::MysqlProfile, decorator: Google::Apis::DatastreamV1::MysqlProfile::Representation
830
900
 
831
901
  property :name, as: 'name'
@@ -875,12 +945,16 @@ module Google
875
945
  property :connection_profile_name, as: 'connectionProfileName'
876
946
  property :full_hierarchy, as: 'fullHierarchy'
877
947
  property :hierarchy_depth, as: 'hierarchyDepth'
948
+ property :mongodb_cluster, as: 'mongodbCluster', class: Google::Apis::DatastreamV1::MongodbCluster, decorator: Google::Apis::DatastreamV1::MongodbCluster::Representation
949
+
878
950
  property :mysql_rdbms, as: 'mysqlRdbms', class: Google::Apis::DatastreamV1::MysqlRdbms, decorator: Google::Apis::DatastreamV1::MysqlRdbms::Representation
879
951
 
880
952
  property :oracle_rdbms, as: 'oracleRdbms', class: Google::Apis::DatastreamV1::OracleRdbms, decorator: Google::Apis::DatastreamV1::OracleRdbms::Representation
881
953
 
882
954
  property :postgresql_rdbms, as: 'postgresqlRdbms', class: Google::Apis::DatastreamV1::PostgresqlRdbms, decorator: Google::Apis::DatastreamV1::PostgresqlRdbms::Representation
883
955
 
956
+ property :salesforce_org, as: 'salesforceOrg', class: Google::Apis::DatastreamV1::SalesforceOrg, decorator: Google::Apis::DatastreamV1::SalesforceOrg::Representation
957
+
884
958
  property :sql_server_rdbms, as: 'sqlServerRdbms', class: Google::Apis::DatastreamV1::SqlServerRdbms, decorator: Google::Apis::DatastreamV1::SqlServerRdbms::Representation
885
959
 
886
960
  end
@@ -889,12 +963,16 @@ module Google
889
963
  class DiscoverConnectionProfileResponse
890
964
  # @private
891
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
+
892
968
  property :mysql_rdbms, as: 'mysqlRdbms', class: Google::Apis::DatastreamV1::MysqlRdbms, decorator: Google::Apis::DatastreamV1::MysqlRdbms::Representation
893
969
 
894
970
  property :oracle_rdbms, as: 'oracleRdbms', class: Google::Apis::DatastreamV1::OracleRdbms, decorator: Google::Apis::DatastreamV1::OracleRdbms::Representation
895
971
 
896
972
  property :postgresql_rdbms, as: 'postgresqlRdbms', class: Google::Apis::DatastreamV1::PostgresqlRdbms, decorator: Google::Apis::DatastreamV1::PostgresqlRdbms::Representation
897
973
 
974
+ property :salesforce_org, as: 'salesforceOrg', class: Google::Apis::DatastreamV1::SalesforceOrg, decorator: Google::Apis::DatastreamV1::SalesforceOrg::Representation
975
+
898
976
  property :sql_server_rdbms, as: 'sqlServerRdbms', class: Google::Apis::DatastreamV1::SqlServerRdbms, decorator: Google::Apis::DatastreamV1::SqlServerRdbms::Representation
899
977
 
900
978
  end
@@ -969,6 +1047,14 @@ module Google
969
1047
  end
970
1048
  end
971
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
+
972
1058
  class JsonFileFormat
973
1059
  # @private
974
1060
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1083,6 +1169,73 @@ module Google
1083
1169
  end
1084
1170
  end
1085
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
+
1086
1239
  class MostRecentStartPosition
1087
1240
  # @private
1088
1241
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1142,6 +1295,7 @@ module Google
1142
1295
  property :hostname, as: 'hostname'
1143
1296
  property :password, as: 'password'
1144
1297
  property :port, as: 'port'
1298
+ property :secret_manager_stored_password, as: 'secretManagerStoredPassword'
1145
1299
  property :ssl_config, as: 'sslConfig', class: Google::Apis::DatastreamV1::MysqlSslConfig, decorator: Google::Apis::DatastreamV1::MysqlSslConfig::Representation
1146
1300
 
1147
1301
  property :username, as: 'username'
@@ -1245,6 +1399,7 @@ module Google
1245
1399
 
1246
1400
  property :password, as: 'password'
1247
1401
  property :port, as: 'port'
1402
+ property :secret_manager_stored_password, as: 'secretManagerStoredPassword'
1248
1403
  property :username, as: 'username'
1249
1404
  end
1250
1405
  end
@@ -1385,6 +1540,7 @@ module Google
1385
1540
  property :hostname, as: 'hostname'
1386
1541
  property :password, as: 'password'
1387
1542
  property :port, as: 'port'
1543
+ property :secret_manager_stored_password, as: 'secretManagerStoredPassword'
1388
1544
  property :ssl_config, as: 'sslConfig', class: Google::Apis::DatastreamV1::PostgresqlSslConfig, decorator: Google::Apis::DatastreamV1::PostgresqlSslConfig::Representation
1389
1545
 
1390
1546
  property :username, as: 'username'
@@ -1449,6 +1605,8 @@ module Google
1449
1605
 
1450
1606
  hash :labels, as: 'labels'
1451
1607
  property :name, as: 'name'
1608
+ property :psc_interface_config, as: 'pscInterfaceConfig', class: Google::Apis::DatastreamV1::PscInterfaceConfig, decorator: Google::Apis::DatastreamV1::PscInterfaceConfig::Representation
1609
+
1452
1610
  property :satisfies_pzi, as: 'satisfiesPzi'
1453
1611
  property :satisfies_pzs, as: 'satisfiesPzs'
1454
1612
  property :state, as: 'state'
@@ -1465,6 +1623,13 @@ module Google
1465
1623
  end
1466
1624
  end
1467
1625
 
1626
+ class PscInterfaceConfig
1627
+ # @private
1628
+ class Representation < Google::Apis::Core::JsonRepresentation
1629
+ property :network_attachment, as: 'networkAttachment'
1630
+ end
1631
+ end
1632
+
1468
1633
  class Route
1469
1634
  # @private
1470
1635
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1568,6 +1733,8 @@ module Google
1568
1733
  class SourceConfig
1569
1734
  # @private
1570
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
+
1571
1738
  property :mysql_source_config, as: 'mysqlSourceConfig', class: Google::Apis::DatastreamV1::MysqlSourceConfig, decorator: Google::Apis::DatastreamV1::MysqlSourceConfig::Representation
1572
1739
 
1573
1740
  property :oracle_source_config, as: 'oracleSourceConfig', class: Google::Apis::DatastreamV1::OracleSourceConfig, decorator: Google::Apis::DatastreamV1::OracleSourceConfig::Representation
@@ -1593,6 +1760,8 @@ module Google
1593
1760
  class SourceObjectIdentifier
1594
1761
  # @private
1595
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
+
1596
1765
  property :mysql_identifier, as: 'mysqlIdentifier', class: Google::Apis::DatastreamV1::MysqlObjectIdentifier, decorator: Google::Apis::DatastreamV1::MysqlObjectIdentifier::Representation
1597
1766
 
1598
1767
  property :oracle_identifier, as: 'oracleIdentifier', class: Google::Apis::DatastreamV1::OracleObjectIdentifier, decorator: Google::Apis::DatastreamV1::OracleObjectIdentifier::Representation
@@ -1662,6 +1831,7 @@ module Google
1662
1831
  property :hostname, as: 'hostname'
1663
1832
  property :password, as: 'password'
1664
1833
  property :port, as: 'port'
1834
+ property :secret_manager_stored_password, as: 'secretManagerStoredPassword'
1665
1835
  property :username, as: 'username'
1666
1836
  end
1667
1837
  end
@@ -1714,6 +1884,18 @@ module Google
1714
1884
  end
1715
1885
  end
1716
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
+
1717
1899
  class StartBackfillJobRequest
1718
1900
  # @private
1719
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?
@@ -595,6 +599,10 @@ module Google
595
599
  # second request. This prevents clients from accidentally creating duplicate
596
600
  # commitments. The request ID must be a valid UUID with the exception that zero
597
601
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
602
+ # @param [Boolean] validate_only
603
+ # Optional. When supplied with PSC Interface config, will get/create the tenant
604
+ # project required for the customer to allow list and won't actually create the
605
+ # private connection.
598
606
  # @param [String] fields
599
607
  # Selector specifying which fields to include in a partial response.
600
608
  # @param [String] quota_user
@@ -612,7 +620,7 @@ module Google
612
620
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
613
621
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
614
622
  # @raise [Google::Apis::AuthorizationError] Authorization is required
615
- def create_project_location_private_connection(parent, private_connection_object = nil, force: nil, private_connection_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
623
+ def create_project_location_private_connection(parent, private_connection_object = nil, force: nil, private_connection_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
616
624
  command = make_simple_command(:post, 'v1/{+parent}/privateConnections', options)
617
625
  command.request_representation = Google::Apis::DatastreamV1::PrivateConnection::Representation
618
626
  command.request_object = private_connection_object
@@ -622,6 +630,7 @@ module Google
622
630
  command.query['force'] = force unless force.nil?
623
631
  command.query['privateConnectionId'] = private_connection_id unless private_connection_id.nil?
624
632
  command.query['requestId'] = request_id unless request_id.nil?
633
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
625
634
  command.query['fields'] = fields unless fields.nil?
626
635
  command.query['quotaUser'] = quota_user unless quota_user.nil?
627
636
  execute_or_queue_command(command, &block)
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.45.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-02 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.45.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: