Skip to content

Commit c256dba

Browse files
feat: Automated regeneration of DataMigration client (googleapis#12769)
Auto-created at 2025-01-06 13:13:23 +0000 using the toys pull request generator.
1 parent d73d1da commit c256dba

File tree

9 files changed

+24
-6
lines changed

9 files changed

+24
-6
lines changed

clients/data_migration/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_data_migration, "~> 0.21"}]
14+
[{:google_api_data_migration, "~> 0.22"}]
1515
end
1616
```
1717

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

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

23-
@discovery_revision "20241211"
23+
@discovery_revision "20241231"
2424

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

clients/data_migration/lib/google_api/data_migration/v1/model/connection_profile.ex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ defmodule GoogleApi.DataMigration.V1.Model.ConnectionProfile do
3333
* `postgresql` (*type:* `GoogleApi.DataMigration.V1.Model.PostgreSqlConnectionProfile.t`, *default:* `nil`) - A PostgreSQL database connection profile.
3434
* `provider` (*type:* `String.t`, *default:* `nil`) - The database provider.
3535
* `role` (*type:* `String.t`, *default:* `nil`) - Optional. The connection profile role.
36+
* `satisfiesPzi` (*type:* `boolean()`, *default:* `nil`) - Output only. Zone Isolation compliance state of the resource.
37+
* `satisfiesPzs` (*type:* `boolean()`, *default:* `nil`) - Output only. Zone Separation compliance state of the resource.
3638
* `sqlserver` (*type:* `GoogleApi.DataMigration.V1.Model.SqlServerConnectionProfile.t`, *default:* `nil`) - Connection profile for a SQL Server data source.
3739
* `state` (*type:* `String.t`, *default:* `nil`) - The current connection profile state (e.g. DRAFT, READY, or FAILED).
3840
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
@@ -53,6 +55,8 @@ defmodule GoogleApi.DataMigration.V1.Model.ConnectionProfile do
5355
:postgresql => GoogleApi.DataMigration.V1.Model.PostgreSqlConnectionProfile.t() | nil,
5456
:provider => String.t() | nil,
5557
:role => String.t() | nil,
58+
:satisfiesPzi => boolean() | nil,
59+
:satisfiesPzs => boolean() | nil,
5660
:sqlserver => GoogleApi.DataMigration.V1.Model.SqlServerConnectionProfile.t() | nil,
5761
:state => String.t() | nil,
5862
:updateTime => DateTime.t() | nil
@@ -70,6 +74,8 @@ defmodule GoogleApi.DataMigration.V1.Model.ConnectionProfile do
7074
field(:postgresql, as: GoogleApi.DataMigration.V1.Model.PostgreSqlConnectionProfile)
7175
field(:provider)
7276
field(:role)
77+
field(:satisfiesPzi)
78+
field(:satisfiesPzs)
7379
field(:sqlserver, as: GoogleApi.DataMigration.V1.Model.SqlServerConnectionProfile)
7480
field(:state)
7581
field(:updateTime, as: DateTime)

clients/data_migration/lib/google_api/data_migration/v1/model/migration_job.ex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ defmodule GoogleApi.DataMigration.V1.Model.MigrationJob do
4141
* `performanceConfig` (*type:* `GoogleApi.DataMigration.V1.Model.PerformanceConfig.t`, *default:* `nil`) - Optional. Data dump parallelism settings used by the migration.
4242
* `phase` (*type:* `String.t`, *default:* `nil`) - Output only. The current migration job phase.
4343
* `reverseSshConnectivity` (*type:* `GoogleApi.DataMigration.V1.Model.ReverseSshConnectivity.t`, *default:* `nil`) - The details needed to communicate to the source over Reverse SSH tunnel connectivity.
44+
* `satisfiesPzi` (*type:* `boolean()`, *default:* `nil`) - Output only. Zone Isolation compliance state of the resource.
45+
* `satisfiesPzs` (*type:* `boolean()`, *default:* `nil`) - Output only. Zone Separation compliance state of the resource.
4446
* `source` (*type:* `String.t`, *default:* `nil`) - Required. The resource name (URI) of the source connection profile.
4547
* `sourceDatabase` (*type:* `GoogleApi.DataMigration.V1.Model.DatabaseType.t`, *default:* `nil`) - The database engine type and provider of the source.
4648
* `sqlserverHomogeneousMigrationJobConfig` (*type:* `GoogleApi.DataMigration.V1.Model.SqlServerHomogeneousMigrationJobConfig.t`, *default:* `nil`) - Optional. Configuration for SQL Server homogeneous migration.
@@ -77,6 +79,8 @@ defmodule GoogleApi.DataMigration.V1.Model.MigrationJob do
7779
:phase => String.t() | nil,
7880
:reverseSshConnectivity =>
7981
GoogleApi.DataMigration.V1.Model.ReverseSshConnectivity.t() | nil,
82+
:satisfiesPzi => boolean() | nil,
83+
:satisfiesPzs => boolean() | nil,
8084
:source => String.t() | nil,
8185
:sourceDatabase => GoogleApi.DataMigration.V1.Model.DatabaseType.t() | nil,
8286
:sqlserverHomogeneousMigrationJobConfig =>
@@ -110,6 +114,8 @@ defmodule GoogleApi.DataMigration.V1.Model.MigrationJob do
110114
field(:performanceConfig, as: GoogleApi.DataMigration.V1.Model.PerformanceConfig)
111115
field(:phase)
112116
field(:reverseSshConnectivity, as: GoogleApi.DataMigration.V1.Model.ReverseSshConnectivity)
117+
field(:satisfiesPzi)
118+
field(:satisfiesPzs)
113119
field(:source)
114120
field(:sourceDatabase, as: GoogleApi.DataMigration.V1.Model.DatabaseType)
115121

clients/data_migration/lib/google_api/data_migration/v1/model/private_connection.ex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ defmodule GoogleApi.DataMigration.V1.Model.PrivateConnection do
2626
* `error` (*type:* `GoogleApi.DataMigration.V1.Model.Status.t`, *default:* `nil`) - Output only. The error details in case of state FAILED.
2727
* `labels` (*type:* `map()`, *default:* `nil`) - The resource labels for private connections to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
2828
* `name` (*type:* `String.t`, *default:* `nil`) - The name of the resource.
29+
* `satisfiesPzi` (*type:* `boolean()`, *default:* `nil`) - Output only. Zone Isolation compliance state of the resource.
30+
* `satisfiesPzs` (*type:* `boolean()`, *default:* `nil`) - Output only. Zone Separation compliance state of the resource.
2931
* `state` (*type:* `String.t`, *default:* `nil`) - Output only. The state of the private connection.
3032
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The last update time of the resource.
3133
* `vpcPeeringConfig` (*type:* `GoogleApi.DataMigration.V1.Model.VpcPeeringConfig.t`, *default:* `nil`) - VPC peering configuration.
@@ -39,6 +41,8 @@ defmodule GoogleApi.DataMigration.V1.Model.PrivateConnection do
3941
:error => GoogleApi.DataMigration.V1.Model.Status.t() | nil,
4042
:labels => map() | nil,
4143
:name => String.t() | nil,
44+
:satisfiesPzi => boolean() | nil,
45+
:satisfiesPzs => boolean() | nil,
4246
:state => String.t() | nil,
4347
:updateTime => DateTime.t() | nil,
4448
:vpcPeeringConfig => GoogleApi.DataMigration.V1.Model.VpcPeeringConfig.t() | nil
@@ -49,6 +53,8 @@ defmodule GoogleApi.DataMigration.V1.Model.PrivateConnection do
4953
field(:error, as: GoogleApi.DataMigration.V1.Model.Status)
5054
field(:labels, type: :map)
5155
field(:name)
56+
field(:satisfiesPzi)
57+
field(:satisfiesPzs)
5258
field(:state)
5359
field(:updateTime, as: DateTime)
5460
field(:vpcPeeringConfig, as: GoogleApi.DataMigration.V1.Model.VpcPeeringConfig)

clients/data_migration/lib/google_api/data_migration/v1/model/source_object_config.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.DataMigration.V1.Model.SourceObjectConfig do
2121
2222
## Attributes
2323
24-
* `objectIdentifier` (*type:* `GoogleApi.DataMigration.V1.Model.SourceObjectIdentifier.t`, *default:* `nil`) - The object identifier.
24+
* `objectIdentifier` (*type:* `GoogleApi.DataMigration.V1.Model.SourceObjectIdentifier.t`, *default:* `nil`) - Optional. The object identifier.
2525
"""
2626

2727
use GoogleApi.Gax.ModelBase

clients/data_migration/lib/google_api/data_migration/v1/model/source_object_identifier.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.DataMigration.V1.Model.SourceObjectIdentifier do
2121
2222
## Attributes
2323
24-
* `database` (*type:* `String.t`, *default:* `nil`) - The database name. This will be required only if the object uses a database name as part of its unique identifier.
24+
* `database` (*type:* `String.t`, *default:* `nil`) - Optional. The database name. This will be required only if the object uses a database name as part of its unique identifier.
2525
* `type` (*type:* `String.t`, *default:* `nil`) - Required. The type of the migration job object.
2626
"""
2727

clients/data_migration/lib/google_api/data_migration/v1/model/source_objects_config.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.DataMigration.V1.Model.SourceObjectsConfig do
2121
2222
## Attributes
2323
24-
* `objectConfigs` (*type:* `list(GoogleApi.DataMigration.V1.Model.SourceObjectConfig.t)`, *default:* `nil`) - The list of the objects to be migrated.
24+
* `objectConfigs` (*type:* `list(GoogleApi.DataMigration.V1.Model.SourceObjectConfig.t)`, *default:* `nil`) - Optional. The list of the objects to be migrated.
2525
* `objectsSelectionType` (*type:* `String.t`, *default:* `nil`) - Optional. The objects selection type of the migration job.
2626
"""
2727

clients/data_migration/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.DataMigration.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.21.0"
21+
@version "0.22.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)