From 36522154fb777c26750e123eeb36dc9e4e8de794 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 8 Jan 2025 01:19:16 +0000 Subject: [PATCH] feat: Automated regeneration of datamigration v1 client --- api_names_out.yaml | 6 +++ .../google-apis-datamigration_v1/CHANGELOG.md | 4 ++ .../google/apis/datamigration_v1/classes.rb | 48 +++++++++++++++++-- .../apis/datamigration_v1/gem_version.rb | 4 +- .../apis/datamigration_v1/representations.rb | 6 +++ 5 files changed, 63 insertions(+), 5 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index c832ffcb528..0ef2816f602 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -139184,6 +139184,8 @@ "/datamigration:v1/ConnectionProfile/postgresql": postgresql "/datamigration:v1/ConnectionProfile/provider": provider "/datamigration:v1/ConnectionProfile/role": role +"/datamigration:v1/ConnectionProfile/satisfiesPzi": satisfies_pzi +"/datamigration:v1/ConnectionProfile/satisfiesPzs": satisfies_pzs "/datamigration:v1/ConnectionProfile/sqlserver": sqlserver "/datamigration:v1/ConnectionProfile/state": state "/datamigration:v1/ConnectionProfile/updateTime": update_time @@ -139483,6 +139485,8 @@ "/datamigration:v1/MigrationJob/performanceConfig": performance_config "/datamigration:v1/MigrationJob/phase": phase "/datamigration:v1/MigrationJob/reverseSshConnectivity": reverse_ssh_connectivity +"/datamigration:v1/MigrationJob/satisfiesPzi": satisfies_pzi +"/datamigration:v1/MigrationJob/satisfiesPzs": satisfies_pzs "/datamigration:v1/MigrationJob/source": source "/datamigration:v1/MigrationJob/sourceDatabase": source_database "/datamigration:v1/MigrationJob/sqlserverHomogeneousMigrationJobConfig": sqlserver_homogeneous_migration_job_config @@ -139619,6 +139623,8 @@ "/datamigration:v1/PrivateConnection/labels": labels "/datamigration:v1/PrivateConnection/labels/label": label "/datamigration:v1/PrivateConnection/name": name +"/datamigration:v1/PrivateConnection/satisfiesPzi": satisfies_pzi +"/datamigration:v1/PrivateConnection/satisfiesPzs": satisfies_pzs "/datamigration:v1/PrivateConnection/state": state "/datamigration:v1/PrivateConnection/updateTime": update_time "/datamigration:v1/PrivateConnection/vpcPeeringConfig": vpc_peering_config diff --git a/generated/google-apis-datamigration_v1/CHANGELOG.md b/generated/google-apis-datamigration_v1/CHANGELOG.md index 41b27aff62d..3fda77890a3 100644 --- a/generated/google-apis-datamigration_v1/CHANGELOG.md +++ b/generated/google-apis-datamigration_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-datamigration_v1 +### v0.68.0 (2025-01-08) + +* Regenerated from discovery document revision 20241231 + ### v0.67.0 (2024-12-22) * Regenerated from discovery document revision 20241211 diff --git a/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/classes.rb b/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/classes.rb index 5d810813c2a..ed1def6f5ed 100644 --- a/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/classes.rb +++ b/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/classes.rb @@ -1008,6 +1008,18 @@ class ConnectionProfile # @return [String] attr_accessor :role + # Output only. Zone Isolation compliance state of the resource. + # Corresponds to the JSON property `satisfiesPzi` + # @return [Boolean] + attr_accessor :satisfies_pzi + alias_method :satisfies_pzi?, :satisfies_pzi + + # Output only. Zone Separation compliance state of the resource. + # Corresponds to the JSON property `satisfiesPzs` + # @return [Boolean] + attr_accessor :satisfies_pzs + alias_method :satisfies_pzs?, :satisfies_pzs + # Specifies connection parameters required specifically for SQL Server databases. # Corresponds to the JSON property `sqlserver` # @return [Google::Apis::DatamigrationV1::SqlServerConnectionProfile] @@ -1043,6 +1055,8 @@ def update!(**args) @postgresql = args[:postgresql] if args.key?(:postgresql) @provider = args[:provider] if args.key?(:provider) @role = args[:role] if args.key?(:role) + @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi) + @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs) @sqlserver = args[:sqlserver] if args.key?(:sqlserver) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) @@ -3128,6 +3142,18 @@ class MigrationJob # @return [Google::Apis::DatamigrationV1::ReverseSshConnectivity] attr_accessor :reverse_ssh_connectivity + # Output only. Zone Isolation compliance state of the resource. + # Corresponds to the JSON property `satisfiesPzi` + # @return [Boolean] + attr_accessor :satisfies_pzi + alias_method :satisfies_pzi?, :satisfies_pzi + + # Output only. Zone Separation compliance state of the resource. + # Corresponds to the JSON property `satisfiesPzs` + # @return [Boolean] + attr_accessor :satisfies_pzs + alias_method :satisfies_pzs?, :satisfies_pzs + # Required. The resource name (URI) of the source connection profile. # Corresponds to the JSON property `source` # @return [String] @@ -3201,6 +3227,8 @@ def update!(**args) @performance_config = args[:performance_config] if args.key?(:performance_config) @phase = args[:phase] if args.key?(:phase) @reverse_ssh_connectivity = args[:reverse_ssh_connectivity] if args.key?(:reverse_ssh_connectivity) + @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi) + @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs) @source = args[:source] if args.key?(:source) @source_database = args[:source_database] if args.key?(:source_database) @sqlserver_homogeneous_migration_job_config = args[:sqlserver_homogeneous_migration_job_config] if args.key?(:sqlserver_homogeneous_migration_job_config) @@ -4193,6 +4221,18 @@ class PrivateConnection # @return [String] attr_accessor :name + # Output only. Zone Isolation compliance state of the resource. + # Corresponds to the JSON property `satisfiesPzi` + # @return [Boolean] + attr_accessor :satisfies_pzi + alias_method :satisfies_pzi?, :satisfies_pzi + + # Output only. Zone Separation compliance state of the resource. + # Corresponds to the JSON property `satisfiesPzs` + # @return [Boolean] + attr_accessor :satisfies_pzs + alias_method :satisfies_pzs?, :satisfies_pzs + # Output only. The state of the private connection. # Corresponds to the JSON property `state` # @return [String] @@ -4220,6 +4260,8 @@ def update!(**args) @error = args[:error] if args.key?(:error) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) + @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi) + @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) @vpc_peering_config = args[:vpc_peering_config] if args.key?(:vpc_peering_config) @@ -4916,8 +4958,8 @@ def update!(**args) class SourceObjectIdentifier include Google::Apis::Core::Hashable - # The database name. This will be required only if the object uses a database - # name as part of its unique identifier. + # Optional. The database name. This will be required only if the object uses a + # database name as part of its unique identifier. # Corresponds to the JSON property `database` # @return [String] attr_accessor :database @@ -4942,7 +4984,7 @@ def update!(**args) class SourceObjectsConfig include Google::Apis::Core::Hashable - # The list of the objects to be migrated. + # Optional. The list of the objects to be migrated. # Corresponds to the JSON property `objectConfigs` # @return [Array] attr_accessor :object_configs diff --git a/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/gem_version.rb b/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/gem_version.rb index 0e6c277d644..04e860d96f7 100644 --- a/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/gem_version.rb +++ b/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DatamigrationV1 # Version of the google-apis-datamigration_v1 gem - GEM_VERSION = "0.67.0" + GEM_VERSION = "0.68.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.15.1" # Revision of the discovery document this client was generated from - REVISION = "20241211" + REVISION = "20241231" end end end diff --git a/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/representations.rb b/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/representations.rb index 05e889b6476..6daab765fd1 100644 --- a/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/representations.rb +++ b/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/representations.rb @@ -1150,6 +1150,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :provider, as: 'provider' property :role, as: 'role' + property :satisfies_pzi, as: 'satisfiesPzi' + property :satisfies_pzs, as: 'satisfiesPzs' property :sqlserver, as: 'sqlserver', class: Google::Apis::DatamigrationV1::SqlServerConnectionProfile, decorator: Google::Apis::DatamigrationV1::SqlServerConnectionProfile::Representation property :state, as: 'state' @@ -1734,6 +1736,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :phase, as: 'phase' property :reverse_ssh_connectivity, as: 'reverseSshConnectivity', class: Google::Apis::DatamigrationV1::ReverseSshConnectivity, decorator: Google::Apis::DatamigrationV1::ReverseSshConnectivity::Representation + property :satisfies_pzi, as: 'satisfiesPzi' + property :satisfies_pzs, as: 'satisfiesPzs' property :source, as: 'source' property :source_database, as: 'sourceDatabase', class: Google::Apis::DatamigrationV1::DatabaseType, decorator: Google::Apis::DatamigrationV1::DatabaseType::Representation @@ -1989,6 +1993,8 @@ class Representation < Google::Apis::Core::JsonRepresentation hash :labels, as: 'labels' property :name, as: 'name' + property :satisfies_pzi, as: 'satisfiesPzi' + property :satisfies_pzs, as: 'satisfiesPzs' property :state, as: 'state' property :update_time, as: 'updateTime' property :vpc_peering_config, as: 'vpcPeeringConfig', class: Google::Apis::DatamigrationV1::VpcPeeringConfig, decorator: Google::Apis::DatamigrationV1::VpcPeeringConfig::Representation