@@ -1417,6 +1417,11 @@ class MongodbProfile
1417
1417
# @return [Google::Apis::DatastreamV1::SrvConnectionFormat]
1418
1418
attr_accessor :srv_connection_format
1419
1419
1420
+ # MongoDB SSL configuration information.
1421
+ # Corresponds to the JSON property `sslConfig`
1422
+ # @return [Google::Apis::DatastreamV1::MongodbSslConfig]
1423
+ attr_accessor :ssl_config
1424
+
1420
1425
# Standard connection format.
1421
1426
# Corresponds to the JSON property `standardConnectionFormat`
1422
1427
# @return [Google::Apis::DatastreamV1::StandardConnectionFormat]
@@ -1438,6 +1443,7 @@ def update!(**args)
1438
1443
@replica_set = args [ :replica_set ] if args . key? ( :replica_set )
1439
1444
@secret_manager_stored_password = args [ :secret_manager_stored_password ] if args . key? ( :secret_manager_stored_password )
1440
1445
@srv_connection_format = args [ :srv_connection_format ] if args . key? ( :srv_connection_format )
1446
+ @ssl_config = args [ :ssl_config ] if args . key? ( :ssl_config )
1441
1447
@standard_connection_format = args [ :standard_connection_format ] if args . key? ( :standard_connection_format )
1442
1448
@username = args [ :username ] if args . key? ( :username )
1443
1449
end
@@ -1476,6 +1482,72 @@ def update!(**args)
1476
1482
end
1477
1483
end
1478
1484
1485
+ # MongoDB SSL configuration information.
1486
+ class MongodbSslConfig
1487
+ include Google ::Apis ::Core ::Hashable
1488
+
1489
+ # Optional. Input only. PEM-encoded certificate of the CA that signed the source
1490
+ # database server's certificate.
1491
+ # Corresponds to the JSON property `caCertificate`
1492
+ # @return [String]
1493
+ attr_accessor :ca_certificate
1494
+
1495
+ # Output only. Indicates whether the ca_certificate field is set.
1496
+ # Corresponds to the JSON property `caCertificateSet`
1497
+ # @return [Boolean]
1498
+ attr_accessor :ca_certificate_set
1499
+ alias_method :ca_certificate_set? , :ca_certificate_set
1500
+
1501
+ # Optional. Input only. PEM-encoded certificate that will be used by the replica
1502
+ # to authenticate against the source database server. If this field is used then
1503
+ # the 'client_key' and the 'ca_certificate' fields are mandatory.
1504
+ # Corresponds to the JSON property `clientCertificate`
1505
+ # @return [String]
1506
+ attr_accessor :client_certificate
1507
+
1508
+ # Output only. Indicates whether the client_certificate field is set.
1509
+ # Corresponds to the JSON property `clientCertificateSet`
1510
+ # @return [Boolean]
1511
+ attr_accessor :client_certificate_set
1512
+ alias_method :client_certificate_set? , :client_certificate_set
1513
+
1514
+ # Optional. Input only. PEM-encoded private key associated with the Client
1515
+ # Certificate. If this field is used then the 'client_certificate' and the '
1516
+ # ca_certificate' fields are mandatory.
1517
+ # Corresponds to the JSON property `clientKey`
1518
+ # @return [String]
1519
+ attr_accessor :client_key
1520
+
1521
+ # Output only. Indicates whether the client_key field is set.
1522
+ # Corresponds to the JSON property `clientKeySet`
1523
+ # @return [Boolean]
1524
+ attr_accessor :client_key_set
1525
+ alias_method :client_key_set? , :client_key_set
1526
+
1527
+ # Optional. Input only. A reference to a Secret Manager resource name storing
1528
+ # the PEM-encoded private key associated with the Client Certificate. If this
1529
+ # field is used then the 'client_certificate' and the 'ca_certificate' fields
1530
+ # are mandatory. Mutually exclusive with the `client_key` field.
1531
+ # Corresponds to the JSON property `secretManagerStoredClientKey`
1532
+ # @return [String]
1533
+ attr_accessor :secret_manager_stored_client_key
1534
+
1535
+ def initialize ( **args )
1536
+ update! ( **args )
1537
+ end
1538
+
1539
+ # Update properties of this object
1540
+ def update! ( **args )
1541
+ @ca_certificate = args [ :ca_certificate ] if args . key? ( :ca_certificate )
1542
+ @ca_certificate_set = args [ :ca_certificate_set ] if args . key? ( :ca_certificate_set )
1543
+ @client_certificate = args [ :client_certificate ] if args . key? ( :client_certificate )
1544
+ @client_certificate_set = args [ :client_certificate_set ] if args . key? ( :client_certificate_set )
1545
+ @client_key = args [ :client_key ] if args . key? ( :client_key )
1546
+ @client_key_set = args [ :client_key_set ] if args . key? ( :client_key_set )
1547
+ @secret_manager_stored_client_key = args [ :secret_manager_stored_client_key ] if args . key? ( :secret_manager_stored_client_key )
1548
+ end
1549
+ end
1550
+
1479
1551
# CDC strategy to start replicating from the most recent position in the source.
1480
1552
class MostRecentStartPosition
1481
1553
include Google ::Apis ::Core ::Hashable
@@ -2851,8 +2923,8 @@ class PscInterfaceConfig
2851
2923
include Google ::Apis ::Core ::Hashable
2852
2924
2853
2925
# Required. Fully qualified name of the Network Attachment that Datastream will
2854
- # connect to. Format: `projects/`` project`` /regions/`` region``/
2855
- # networkAttachments/`` name` ``
2926
+ # connect to. Format: `projects/`project`/regions/`region`/networkAttachments/`
2927
+ # name``
2856
2928
# Corresponds to the JSON property `networkAttachment`
2857
2929
# @return [String]
2858
2930
attr_accessor :network_attachment
0 commit comments