@@ -1403,6 +1403,12 @@ class MysqlProfile
14031403 # @return [Fixnum]
14041404 attr_accessor :port
14051405
1406+ # Optional. A reference to a Secret Manager resource name storing the MySQL
1407+ # connection password. Mutually exclusive with the `password` field.
1408+ # Corresponds to the JSON property `secretManagerStoredPassword`
1409+ # @return [String]
1410+ attr_accessor :secret_manager_stored_password
1411+
14061412 # MySQL SSL configuration information.
14071413 # Corresponds to the JSON property `sslConfig`
14081414 # @return [Google::Apis::DatastreamV1::MysqlSslConfig]
@@ -1422,6 +1428,7 @@ def update!(**args)
14221428 @hostname = args [ :hostname ] if args . key? ( :hostname )
14231429 @password = args [ :password ] if args . key? ( :password )
14241430 @port = args [ :port ] if args . key? ( :port )
1431+ @secret_manager_stored_password = args [ :secret_manager_stored_password ] if args . key? ( :secret_manager_stored_password )
14251432 @ssl_config = args [ :ssl_config ] if args . key? ( :ssl_config )
14261433 @username = args [ :username ] if args . key? ( :username )
14271434 end
@@ -1528,8 +1535,7 @@ class MysqlSslConfig
15281535
15291536 # Optional. Input only. PEM-encoded private key associated with the Client
15301537 # 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.
1538+ # ca_certificate' fields are mandatory.
15331539 # Corresponds to the JSON property `clientKey`
15341540 # @return [String]
15351541 attr_accessor :client_key
@@ -1779,7 +1785,8 @@ class OracleAsmConfig
17791785 # @return [Google::Apis::DatastreamV1::OracleSslConfig]
17801786 attr_accessor :oracle_ssl_config
17811787
1782- # Optional. Password for the Oracle ASM connection.
1788+ # Optional. Password for the Oracle ASM connection. Mutually exclusive with the `
1789+ # secret_manager_stored_password` field.
17831790 # Corresponds to the JSON property `password`
17841791 # @return [String]
17851792 attr_accessor :password
@@ -1789,6 +1796,12 @@ class OracleAsmConfig
17891796 # @return [Fixnum]
17901797 attr_accessor :port
17911798
1799+ # Optional. A reference to a Secret Manager resource name storing the Oracle ASM
1800+ # connection password. Mutually exclusive with the `password` field.
1801+ # Corresponds to the JSON property `secretManagerStoredPassword`
1802+ # @return [String]
1803+ attr_accessor :secret_manager_stored_password
1804+
17921805 # Required. Username for the Oracle ASM connection.
17931806 # Corresponds to the JSON property `username`
17941807 # @return [String]
@@ -1806,6 +1819,7 @@ def update!(**args)
18061819 @oracle_ssl_config = args [ :oracle_ssl_config ] if args . key? ( :oracle_ssl_config )
18071820 @password = args [ :password ] if args . key? ( :password )
18081821 @port = args [ :port ] if args . key? ( :port )
1822+ @secret_manager_stored_password = args [ :secret_manager_stored_password ] if args . key? ( :secret_manager_stored_password )
18091823 @username = args [ :username ] if args . key? ( :username )
18101824 end
18111825 end
@@ -2279,6 +2293,12 @@ class PostgresqlProfile
22792293 # @return [Fixnum]
22802294 attr_accessor :port
22812295
2296+ # Optional. A reference to a Secret Manager resource name storing the PostgreSQL
2297+ # connection password. Mutually exclusive with the `password` field.
2298+ # Corresponds to the JSON property `secretManagerStoredPassword`
2299+ # @return [String]
2300+ attr_accessor :secret_manager_stored_password
2301+
22822302 # PostgreSQL SSL configuration information.
22832303 # Corresponds to the JSON property `sslConfig`
22842304 # @return [Google::Apis::DatastreamV1::PostgresqlSslConfig]
@@ -2299,6 +2319,7 @@ def update!(**args)
22992319 @hostname = args [ :hostname ] if args . key? ( :hostname )
23002320 @password = args [ :password ] if args . key? ( :password )
23012321 @port = args [ :port ] if args . key? ( :port )
2322+ @secret_manager_stored_password = args [ :secret_manager_stored_password ] if args . key? ( :secret_manager_stored_password )
23022323 @ssl_config = args [ :ssl_config ] if args . key? ( :ssl_config )
23032324 @username = args [ :username ] if args . key? ( :username )
23042325 end
@@ -2480,6 +2501,12 @@ class PrivateConnection
24802501 # @return [String]
24812502 attr_accessor :name
24822503
2504+ # The PSC Interface configuration is used to create PSC Interface between
2505+ # Datastream and the consumer's PSC.
2506+ # Corresponds to the JSON property `pscInterfaceConfig`
2507+ # @return [Google::Apis::DatastreamV1::PscInterfaceConfig]
2508+ attr_accessor :psc_interface_config
2509+
24832510 # Output only. Reserved for future use.
24842511 # Corresponds to the JSON property `satisfiesPzi`
24852512 # @return [Boolean]
@@ -2519,6 +2546,7 @@ def update!(**args)
25192546 @error = args [ :error ] if args . key? ( :error )
25202547 @labels = args [ :labels ] if args . key? ( :labels )
25212548 @name = args [ :name ] if args . key? ( :name )
2549+ @psc_interface_config = args [ :psc_interface_config ] if args . key? ( :psc_interface_config )
25222550 @satisfies_pzi = args [ :satisfies_pzi ] if args . key? ( :satisfies_pzi )
25232551 @satisfies_pzs = args [ :satisfies_pzs ] if args . key? ( :satisfies_pzs )
25242552 @state = args [ :state ] if args . key? ( :state )
@@ -2547,6 +2575,28 @@ def update!(**args)
25472575 end
25482576 end
25492577
2578+ # The PSC Interface configuration is used to create PSC Interface between
2579+ # Datastream and the consumer's PSC.
2580+ class PscInterfaceConfig
2581+ include Google ::Apis ::Core ::Hashable
2582+
2583+ # Required. Fully qualified name of the Network Attachment that Datastream will
2584+ # connect to. Format: `projects/``project``/regions/``region``/
2585+ # networkAttachments/``name```
2586+ # Corresponds to the JSON property `networkAttachment`
2587+ # @return [String]
2588+ attr_accessor :network_attachment
2589+
2590+ def initialize ( **args )
2591+ update! ( **args )
2592+ end
2593+
2594+ # Update properties of this object
2595+ def update! ( **args )
2596+ @network_attachment = args [ :network_attachment ] if args . key? ( :network_attachment )
2597+ end
2598+ end
2599+
25502600 # The route resource is the child of the private connection resource, used for
25512601 # defining a route for a private connection.
25522602 class Route
@@ -2813,8 +2863,7 @@ class ServerAndClientVerification
28132863 # Optional. Input only. PEM-encoded private key associated with the client
28142864 # certificate. This value will be used during the SSL/TLS handshake, allowing
28152865 # 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.
2866+ # the Datastream.
28182867 # Corresponds to the JSON property `clientKey`
28192868 # @return [String]
28202869 attr_accessor :client_key
@@ -3167,6 +3216,12 @@ class SqlServerProfile
31673216 # @return [Fixnum]
31683217 attr_accessor :port
31693218
3219+ # Optional. A reference to a Secret Manager resource name storing the SQLServer
3220+ # connection password. Mutually exclusive with the `password` field.
3221+ # Corresponds to the JSON property `secretManagerStoredPassword`
3222+ # @return [String]
3223+ attr_accessor :secret_manager_stored_password
3224+
31703225 # Required. Username for the SQLServer connection.
31713226 # Corresponds to the JSON property `username`
31723227 # @return [String]
@@ -3182,6 +3237,7 @@ def update!(**args)
31823237 @hostname = args [ :hostname ] if args . key? ( :hostname )
31833238 @password = args [ :password ] if args . key? ( :password )
31843239 @port = args [ :port ] if args . key? ( :port )
3240+ @secret_manager_stored_password = args [ :secret_manager_stored_password ] if args . key? ( :secret_manager_stored_password )
31853241 @username = args [ :username ] if args . key? ( :username )
31863242 end
31873243 end
0 commit comments