Skip to content

Commit 8452b1b

Browse files
feat: Automated regeneration of Datastream client (#13172)
Auto-created at 2025-03-16 13:13:14 +0000 using the toys pull request generator.
1 parent 6e2ef80 commit 8452b1b

File tree

7 files changed

+16
-4
lines changed

7 files changed

+16
-4
lines changed

clients/datastream/lib/google_api/datastream/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Datastream.V1 do
2020
API client metadata for GoogleApi.Datastream.V1.
2121
"""
2222

23-
@discovery_revision "20250219"
23+
@discovery_revision "20250310"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/datastream/lib/google_api/datastream/v1/model/mysql_profile.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ defmodule GoogleApi.Datastream.V1.Model.MysqlProfile do
2424
* `hostname` (*type:* `String.t`, *default:* `nil`) - Required. Hostname for the MySQL connection.
2525
* `password` (*type:* `String.t`, *default:* `nil`) - Optional. Input only. Password for the MySQL connection. Mutually exclusive with the `secret_manager_stored_password` field.
2626
* `port` (*type:* `integer()`, *default:* `nil`) - Port for the MySQL connection, default value is 3306.
27+
* `secretManagerStoredPassword` (*type:* `String.t`, *default:* `nil`) - Optional. A reference to a Secret Manager resource name storing the MySQL connection password. Mutually exclusive with the `password` field.
2728
* `sslConfig` (*type:* `GoogleApi.Datastream.V1.Model.MysqlSslConfig.t`, *default:* `nil`) - SSL configuration for the MySQL connection.
2829
* `username` (*type:* `String.t`, *default:* `nil`) - Required. Username for the MySQL connection.
2930
"""
@@ -34,13 +35,15 @@ defmodule GoogleApi.Datastream.V1.Model.MysqlProfile do
3435
:hostname => String.t() | nil,
3536
:password => String.t() | nil,
3637
:port => integer() | nil,
38+
:secretManagerStoredPassword => String.t() | nil,
3739
:sslConfig => GoogleApi.Datastream.V1.Model.MysqlSslConfig.t() | nil,
3840
:username => String.t() | nil
3941
}
4042

4143
field(:hostname)
4244
field(:password)
4345
field(:port)
46+
field(:secretManagerStoredPassword)
4447
field(:sslConfig, as: GoogleApi.Datastream.V1.Model.MysqlSslConfig)
4548
field(:username)
4649
end

clients/datastream/lib/google_api/datastream/v1/model/mysql_ssl_config.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ defmodule GoogleApi.Datastream.V1.Model.MysqlSslConfig do
2525
* `caCertificateSet` (*type:* `boolean()`, *default:* `nil`) - Output only. Indicates whether the ca_certificate field is set.
2626
* `clientCertificate` (*type:* `String.t`, *default:* `nil`) - Optional. Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'client_key' and the 'ca_certificate' fields are mandatory.
2727
* `clientCertificateSet` (*type:* `boolean()`, *default:* `nil`) - Output only. Indicates whether the client_certificate field is set.
28-
* `clientKey` (*type:* `String.t`, *default:* `nil`) - Optional. Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory. Mutually exclusive with the `secret_manager_stored_client_key` field.
28+
* `clientKey` (*type:* `String.t`, *default:* `nil`) - Optional. Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory.
2929
* `clientKeySet` (*type:* `boolean()`, *default:* `nil`) - Output only. Indicates whether the client_key field is set.
3030
"""
3131

clients/datastream/lib/google_api/datastream/v1/model/oracle_asm_config.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ defmodule GoogleApi.Datastream.V1.Model.OracleAsmConfig do
2525
* `connectionAttributes` (*type:* `map()`, *default:* `nil`) - Optional. Connection string attributes
2626
* `hostname` (*type:* `String.t`, *default:* `nil`) - Required. Hostname for the Oracle ASM connection.
2727
* `oracleSslConfig` (*type:* `GoogleApi.Datastream.V1.Model.OracleSslConfig.t`, *default:* `nil`) - Optional. SSL configuration for the Oracle connection.
28-
* `password` (*type:* `String.t`, *default:* `nil`) - Optional. Password for the Oracle ASM connection.
28+
* `password` (*type:* `String.t`, *default:* `nil`) - Optional. Password for the Oracle ASM connection. Mutually exclusive with the `secret_manager_stored_password` field.
2929
* `port` (*type:* `integer()`, *default:* `nil`) - Required. Port for the Oracle ASM connection.
30+
* `secretManagerStoredPassword` (*type:* `String.t`, *default:* `nil`) - Optional. A reference to a Secret Manager resource name storing the Oracle ASM connection password. Mutually exclusive with the `password` field.
3031
* `username` (*type:* `String.t`, *default:* `nil`) - Required. Username for the Oracle ASM connection.
3132
"""
3233

@@ -39,6 +40,7 @@ defmodule GoogleApi.Datastream.V1.Model.OracleAsmConfig do
3940
:oracleSslConfig => GoogleApi.Datastream.V1.Model.OracleSslConfig.t() | nil,
4041
:password => String.t() | nil,
4142
:port => integer() | nil,
43+
:secretManagerStoredPassword => String.t() | nil,
4244
:username => String.t() | nil
4345
}
4446

@@ -48,6 +50,7 @@ defmodule GoogleApi.Datastream.V1.Model.OracleAsmConfig do
4850
field(:oracleSslConfig, as: GoogleApi.Datastream.V1.Model.OracleSslConfig)
4951
field(:password)
5052
field(:port)
53+
field(:secretManagerStoredPassword)
5154
field(:username)
5255
end
5356

clients/datastream/lib/google_api/datastream/v1/model/postgresql_profile.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ defmodule GoogleApi.Datastream.V1.Model.PostgresqlProfile do
2525
* `hostname` (*type:* `String.t`, *default:* `nil`) - Required. Hostname for the PostgreSQL connection.
2626
* `password` (*type:* `String.t`, *default:* `nil`) - Optional. Password for the PostgreSQL connection. Mutually exclusive with the `secret_manager_stored_password` field.
2727
* `port` (*type:* `integer()`, *default:* `nil`) - Port for the PostgreSQL connection, default value is 5432.
28+
* `secretManagerStoredPassword` (*type:* `String.t`, *default:* `nil`) - Optional. A reference to a Secret Manager resource name storing the PostgreSQL connection password. Mutually exclusive with the `password` field.
2829
* `sslConfig` (*type:* `GoogleApi.Datastream.V1.Model.PostgresqlSslConfig.t`, *default:* `nil`) - Optional. SSL configuration for the PostgreSQL connection. In case PostgresqlSslConfig is not set, the connection will use the default SSL mode, which is `prefer` (i.e. this mode will only use encryption if enabled from database side, otherwise will use unencrypted communication)
2930
* `username` (*type:* `String.t`, *default:* `nil`) - Required. Username for the PostgreSQL connection.
3031
"""
@@ -36,6 +37,7 @@ defmodule GoogleApi.Datastream.V1.Model.PostgresqlProfile do
3637
:hostname => String.t() | nil,
3738
:password => String.t() | nil,
3839
:port => integer() | nil,
40+
:secretManagerStoredPassword => String.t() | nil,
3941
:sslConfig => GoogleApi.Datastream.V1.Model.PostgresqlSslConfig.t() | nil,
4042
:username => String.t() | nil
4143
}
@@ -44,6 +46,7 @@ defmodule GoogleApi.Datastream.V1.Model.PostgresqlProfile do
4446
field(:hostname)
4547
field(:password)
4648
field(:port)
49+
field(:secretManagerStoredPassword)
4750
field(:sslConfig, as: GoogleApi.Datastream.V1.Model.PostgresqlSslConfig)
4851
field(:username)
4952
end

clients/datastream/lib/google_api/datastream/v1/model/server_and_client_verification.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ defmodule GoogleApi.Datastream.V1.Model.ServerAndClientVerification do
2323
2424
* `caCertificate` (*type:* `String.t`, *default:* `nil`) - Required. Input only. PEM-encoded server root CA certificate.
2525
* `clientCertificate` (*type:* `String.t`, *default:* `nil`) - Required. Input only. PEM-encoded certificate used by the source database to authenticate the client identity (i.e., the Datastream's identity). This certificate is signed by either a root certificate trusted by the server or one or more intermediate certificates (which is stored with the leaf certificate) to link the this certificate to the trusted root certificate.
26-
* `clientKey` (*type:* `String.t`, *default:* `nil`) - Optional. Input only. PEM-encoded private key associated with the client certificate. This value will be used during the SSL/TLS handshake, allowing the PostgreSQL server to authenticate the client's identity, i.e. identity of the Datastream. Mutually exclusive with the `secret_manager_stored_client_key` field.
26+
* `clientKey` (*type:* `String.t`, *default:* `nil`) - Optional. Input only. PEM-encoded private key associated with the client certificate. This value will be used during the SSL/TLS handshake, allowing the PostgreSQL server to authenticate the client's identity, i.e. identity of the Datastream.
2727
"""
2828

2929
use GoogleApi.Gax.ModelBase

clients/datastream/lib/google_api/datastream/v1/model/sql_server_profile.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ defmodule GoogleApi.Datastream.V1.Model.SqlServerProfile do
2525
* `hostname` (*type:* `String.t`, *default:* `nil`) - Required. Hostname for the SQLServer connection.
2626
* `password` (*type:* `String.t`, *default:* `nil`) - Optional. Password for the SQLServer connection. Mutually exclusive with the `secret_manager_stored_password` field.
2727
* `port` (*type:* `integer()`, *default:* `nil`) - Port for the SQLServer connection, default value is 1433.
28+
* `secretManagerStoredPassword` (*type:* `String.t`, *default:* `nil`) - Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the `password` field.
2829
* `username` (*type:* `String.t`, *default:* `nil`) - Required. Username for the SQLServer connection.
2930
"""
3031

@@ -35,13 +36,15 @@ defmodule GoogleApi.Datastream.V1.Model.SqlServerProfile do
3536
:hostname => String.t() | nil,
3637
:password => String.t() | nil,
3738
:port => integer() | nil,
39+
:secretManagerStoredPassword => String.t() | nil,
3840
:username => String.t() | nil
3941
}
4042

4143
field(:database)
4244
field(:hostname)
4345
field(:password)
4446
field(:port)
47+
field(:secretManagerStoredPassword)
4548
field(:username)
4649
end
4750

0 commit comments

Comments
 (0)