google-apis-sqladmin_v1 0.102.0 → 0.103.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d8eeccf50f55716add4e5e78361ac687c92ff3a4cca31618dc47c6e90c2dd89
4
- data.tar.gz: 11c4816e913fecbe041f0c26547b71db0f804ee30a86004006a2c3982830bd65
3
+ metadata.gz: 422cc8bea0f3a1801ee939b1f75197c56c0d728c4e3fd3c95782e19f8f37e353
4
+ data.tar.gz: cb2926a8dae0c02b008f10444df0a0c9ca8ff4689a846f83127df16f1a27d7f6
5
5
  SHA512:
6
- metadata.gz: feb1e6a5a40466efae5c303c6ae26522b51510324b8b76751bec90d2c5bf78239a76d145092e65039218b26f399e1c09a71b6a4e34b4095ff439f54064273c9a
7
- data.tar.gz: b926af4a79704098aa3316df4768f7bb0b6af73cca31e77371bdd81ab50b786150c1177c6c33ae0a53d42f93ee2c1cfa6ecb8c68f9954ede2a092ad08cf6bc26
6
+ metadata.gz: 301a53113b741efa31c6c3e70c187452a3ec4f50a40a61836d8494e8dbfefd8e1e96db279dfd4cadc56a1c5da73fd3d008ba23fadad0cbeb11307824a7e253b0
7
+ data.tar.gz: e9a6c92bd674dff9cefb3801d93d402f10721560b43c5f4f21e338bec20d6c13a2d33b1e2179f648f45dc87405c61a41529c92f51e730ee718f2c16448e37ac8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.103.0 (2026-08-30)
4
+
5
+ * Regenerated from discovery document revision 20260819
6
+
3
7
  ### v0.102.0 (2026-08-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20260722
@@ -723,6 +723,132 @@ module Google
723
723
  end
724
724
  end
725
725
 
726
+ # A `BlueGreenDeployment` resource represents a Cloud SQL blue-green deployment
727
+ # setup.
728
+ class BlueGreenDeployment
729
+ include Google::Apis::Core::Hashable
730
+
731
+ # Output only. The time when the deployment was created. Example: `2024-01-01T00:
732
+ # 00:00Z`
733
+ # Corresponds to the JSON property `createTime`
734
+ # @return [String]
735
+ attr_accessor :create_time
736
+
737
+ # Output only. A list representing the pairs of source and target instances in
738
+ # the deployment.
739
+ # Corresponds to the JSON property `deploymentMappings`
740
+ # @return [Array<Google::Apis::SqladminV1::SourceTargetPairedNode>]
741
+ attr_accessor :deployment_mappings
742
+
743
+ # Combined list of tasks for all paired nodes in the deployment.
744
+ # Corresponds to the JSON property `deploymentTasks`
745
+ # @return [Google::Apis::SqladminV1::DeploymentTasks]
746
+ attr_accessor :deployment_tasks
747
+
748
+ # Optional. User-provided description for the deployment. The description can be
749
+ # up to 255 characters long.
750
+ # Corresponds to the JSON property `description`
751
+ # @return [String]
752
+ attr_accessor :description
753
+
754
+ # Output only. Provides details on why switchover is not possible. This field is
755
+ # empty unless a switchover attempt failed or the state is `SWITCHOVER_NOT_READY`
756
+ # . Example: "The target database version does not match the source instance
757
+ # database version."
758
+ # Corresponds to the JSON property `errorDetail`
759
+ # @return [String]
760
+ attr_accessor :error_detail
761
+
762
+ # Output only. Identifier. The full resource name of the deployment. Format:
763
+ # projects/`project`/locations/`location`/blueGreenDeployments/`deployment_id`
764
+ # Corresponds to the JSON property `name`
765
+ # @return [String]
766
+ attr_accessor :name
767
+
768
+ # Configuration specified by the user at creation time for the target (green)
769
+ # instance.
770
+ # Corresponds to the JSON property `requestedConfig`
771
+ # @return [Google::Apis::SqladminV1::RequestedConfig]
772
+ attr_accessor :requested_config
773
+
774
+ # Required. Immutable. Required on create, and immutable. The full resource name
775
+ # of the source instance (the "blue" instance). Format: projects/`project`/
776
+ # instances/`instance`
777
+ # Corresponds to the JSON property `sourceInstance`
778
+ # @return [String]
779
+ attr_accessor :source_instance
780
+
781
+ # Output only. The current state of the blue-green deployment.
782
+ # Corresponds to the JSON property `state`
783
+ # @return [String]
784
+ attr_accessor :state
785
+
786
+ # Output only. The full resource name of the primary target instance (the "green"
787
+ # instance) that will be promoted during switchover. This field is always
788
+ # populated once the deployment is created. Format: projects/`project`/instances/
789
+ # `instance`
790
+ # Corresponds to the JSON property `switchoverTargetInstance`
791
+ # @return [String]
792
+ attr_accessor :switchover_target_instance
793
+
794
+ def initialize(**args)
795
+ update!(**args)
796
+ end
797
+
798
+ # Update properties of this object
799
+ def update!(**args)
800
+ @create_time = args[:create_time] if args.key?(:create_time)
801
+ @deployment_mappings = args[:deployment_mappings] if args.key?(:deployment_mappings)
802
+ @deployment_tasks = args[:deployment_tasks] if args.key?(:deployment_tasks)
803
+ @description = args[:description] if args.key?(:description)
804
+ @error_detail = args[:error_detail] if args.key?(:error_detail)
805
+ @name = args[:name] if args.key?(:name)
806
+ @requested_config = args[:requested_config] if args.key?(:requested_config)
807
+ @source_instance = args[:source_instance] if args.key?(:source_instance)
808
+ @state = args[:state] if args.key?(:state)
809
+ @switchover_target_instance = args[:switchover_target_instance] if args.key?(:switchover_target_instance)
810
+ end
811
+ end
812
+
813
+ # Blue-green deployment metadata for a database instance. In a blue-green
814
+ # deployment, we maintain two environments, one of which is live. This message
815
+ # contains details about the blue-green deployment.
816
+ class BlueGreenDeploymentInfo
817
+ include Google::Apis::Core::Hashable
818
+
819
+ # Output only. The resource ID of the blue-green deployment.
820
+ # Corresponds to the JSON property `deploymentId`
821
+ # @return [String]
822
+ attr_accessor :deployment_id
823
+
824
+ # The source instance for the Blue-Green deployment.
825
+ # Corresponds to the JSON property `source`
826
+ # @return [Google::Apis::SqladminV1::SourceRole]
827
+ attr_accessor :source
828
+
829
+ # Output only. The current state of blue-green-deployment for UI tags
830
+ # Corresponds to the JSON property `state`
831
+ # @return [String]
832
+ attr_accessor :state
833
+
834
+ # The target instance for the Blue-Green deployment.
835
+ # Corresponds to the JSON property `target`
836
+ # @return [Google::Apis::SqladminV1::TargetRole]
837
+ attr_accessor :target
838
+
839
+ def initialize(**args)
840
+ update!(**args)
841
+ end
842
+
843
+ # Update properties of this object
844
+ def update!(**args)
845
+ @deployment_id = args[:deployment_id] if args.key?(:deployment_id)
846
+ @source = args[:source] if args.key?(:source)
847
+ @state = args[:state] if args.key?(:state)
848
+ @target = args[:target] if args.key?(:target)
849
+ end
850
+ end
851
+
726
852
  # Database instance clone context.
727
853
  class CloneContext
728
854
  include Google::Apis::Core::Hashable
@@ -851,6 +977,39 @@ module Google
851
977
  end
852
978
  end
853
979
 
980
+ # Represents a specific configuration difference between blue and green
981
+ # instances.
982
+ class ConfigDiff
983
+ include Google::Apis::Core::Hashable
984
+
985
+ # Output only. The name of the field that differs in the blue and green
986
+ # instances, fully-qualified. Example: `settings.tier`
987
+ # Corresponds to the JSON property `field`
988
+ # @return [String]
989
+ attr_accessor :field
990
+
991
+ # Output only. The value on the source instance.
992
+ # Corresponds to the JSON property `sourceValue`
993
+ # @return [String]
994
+ attr_accessor :source_value
995
+
996
+ # Output only. The value on the target instance.
997
+ # Corresponds to the JSON property `targetValue`
998
+ # @return [String]
999
+ attr_accessor :target_value
1000
+
1001
+ def initialize(**args)
1002
+ update!(**args)
1003
+ end
1004
+
1005
+ # Update properties of this object
1006
+ def update!(**args)
1007
+ @field = args[:field] if args.key?(:field)
1008
+ @source_value = args[:source_value] if args.key?(:source_value)
1009
+ @target_value = args[:target_value] if args.key?(:target_value)
1010
+ end
1011
+ end
1012
+
854
1013
  # Details of a single read pool node of a read pool.
855
1014
  class ConnectPoolNodeConfig
856
1015
  include Google::Apis::Core::Hashable
@@ -1241,6 +1400,13 @@ module Google
1241
1400
  # @return [String]
1242
1401
  attr_accessor :database_version
1243
1402
 
1403
+ # Blue-green deployment metadata for a database instance. In a blue-green
1404
+ # deployment, we maintain two environments, one of which is live. This message
1405
+ # contains details about the blue-green deployment.
1406
+ # Corresponds to the JSON property `deploymentInfo`
1407
+ # @return [Google::Apis::SqladminV1::BlueGreenDeploymentInfo]
1408
+ attr_accessor :deployment_info
1409
+
1244
1410
  # Disk encryption configuration for an instance.
1245
1411
  # Corresponds to the JSON property `diskEncryptionConfiguration`
1246
1412
  # @return [Google::Apis::SqladminV1::DiskEncryptionConfiguration]
@@ -1507,6 +1673,7 @@ module Google
1507
1673
  @database_center_integration_enabled = args[:database_center_integration_enabled] if args.key?(:database_center_integration_enabled)
1508
1674
  @database_installed_version = args[:database_installed_version] if args.key?(:database_installed_version)
1509
1675
  @database_version = args[:database_version] if args.key?(:database_version)
1676
+ @deployment_info = args[:deployment_info] if args.key?(:deployment_info)
1510
1677
  @disk_encryption_configuration = args[:disk_encryption_configuration] if args.key?(:disk_encryption_configuration)
1511
1678
  @disk_encryption_status = args[:disk_encryption_status] if args.key?(:disk_encryption_status)
1512
1679
  @dns_name = args[:dns_name] if args.key?(:dns_name)
@@ -1802,10 +1969,80 @@ module Google
1802
1969
  end
1803
1970
  end
1804
1971
 
1972
+ # Represents a task executed as part of the deployment on a target instance.
1973
+ class DeploymentTask
1974
+ include Google::Apis::Core::Hashable
1975
+
1976
+ # Output only. Task end time (if completed).
1977
+ # Corresponds to the JSON property `endTime`
1978
+ # @return [String]
1979
+ attr_accessor :end_time
1980
+
1981
+ # Output only. Optional error details if the task state is `FAILED`.
1982
+ # Corresponds to the JSON property `errorMessage`
1983
+ # @return [String]
1984
+ attr_accessor :error_message
1985
+
1986
+ # Output only. Task start time.
1987
+ # Corresponds to the JSON property `startTime`
1988
+ # @return [String]
1989
+ attr_accessor :start_time
1990
+
1991
+ # Output only. The current state of the task.
1992
+ # Corresponds to the JSON property `state`
1993
+ # @return [String]
1994
+ attr_accessor :state
1995
+
1996
+ # Output only. The type of the task.
1997
+ # Corresponds to the JSON property `type`
1998
+ # @return [String]
1999
+ attr_accessor :type
2000
+
2001
+ def initialize(**args)
2002
+ update!(**args)
2003
+ end
2004
+
2005
+ # Update properties of this object
2006
+ def update!(**args)
2007
+ @end_time = args[:end_time] if args.key?(:end_time)
2008
+ @error_message = args[:error_message] if args.key?(:error_message)
2009
+ @start_time = args[:start_time] if args.key?(:start_time)
2010
+ @state = args[:state] if args.key?(:state)
2011
+ @type = args[:type] if args.key?(:type)
2012
+ end
2013
+ end
2014
+
2015
+ # Combined list of tasks for all paired nodes in the deployment.
2016
+ class DeploymentTasks
2017
+ include Google::Apis::Core::Hashable
2018
+
2019
+ # Output only. Tasks performed or being performed on the paired nodes of the
2020
+ # deployment at a consolidated level.
2021
+ # Corresponds to the JSON property `task`
2022
+ # @return [Array<Google::Apis::SqladminV1::DeploymentTask>]
2023
+ attr_accessor :task
2024
+
2025
+ def initialize(**args)
2026
+ update!(**args)
2027
+ end
2028
+
2029
+ # Update properties of this object
2030
+ def update!(**args)
2031
+ @task = args[:task] if args.key?(:task)
2032
+ end
2033
+ end
2034
+
1805
2035
  # Disk encryption configuration for an instance.
1806
2036
  class DiskEncryptionConfiguration
1807
2037
  include Google::Apis::Core::Hashable
1808
2038
 
2039
+ # Optional. If true, enables Confidential Mode for the instance's Hyperdisk
2040
+ # Balanced volumes. Only supported for zonal C4A instances currently.
2041
+ # Corresponds to the JSON property `confidentialMode`
2042
+ # @return [Boolean]
2043
+ attr_accessor :confidential_mode
2044
+ alias_method :confidential_mode?, :confidential_mode
2045
+
1809
2046
  # This is always `sql#diskEncryptionConfiguration`.
1810
2047
  # Corresponds to the JSON property `kind`
1811
2048
  # @return [String]
@@ -1822,6 +2059,7 @@ module Google
1822
2059
 
1823
2060
  # Update properties of this object
1824
2061
  def update!(**args)
2062
+ @confidential_mode = args[:confidential_mode] if args.key?(:confidential_mode)
1825
2063
  @kind = args[:kind] if args.key?(:kind)
1826
2064
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
1827
2065
  end
@@ -3398,6 +3636,13 @@ module Google
3398
3636
  # @return [String]
3399
3637
  attr_accessor :backupdr_backup
3400
3638
 
3639
+ # Optional. If true, the restore operation proceeds even if the target instance'
3640
+ # s maintenance version is older than the source instance's maintenance version.
3641
+ # Corresponds to the JSON property `ignoreMaintenanceVersion`
3642
+ # @return [Boolean]
3643
+ attr_accessor :ignore_maintenance_version
3644
+ alias_method :ignore_maintenance_version?, :ignore_maintenance_version
3645
+
3401
3646
  # Database instance restore from backup context. Backup context contains source
3402
3647
  # instance id and project id.
3403
3648
  # Corresponds to the JSON property `restoreBackupContext`
@@ -3424,6 +3669,7 @@ module Google
3424
3669
  def update!(**args)
3425
3670
  @backup = args[:backup] if args.key?(:backup)
3426
3671
  @backupdr_backup = args[:backupdr_backup] if args.key?(:backupdr_backup)
3672
+ @ignore_maintenance_version = args[:ignore_maintenance_version] if args.key?(:ignore_maintenance_version)
3427
3673
  @restore_backup_context = args[:restore_backup_context] if args.key?(:restore_backup_context)
3428
3674
  @restore_instance_clear_overrides_field_names = args[:restore_instance_clear_overrides_field_names] if args.key?(:restore_instance_clear_overrides_field_names)
3429
3675
  @restore_instance_settings = args[:restore_instance_settings] if args.key?(:restore_instance_settings)
@@ -3728,6 +3974,32 @@ module Google
3728
3974
  end
3729
3975
  end
3730
3976
 
3977
+ # The response message for listing blue-green deployment resources.
3978
+ class ListBlueGreenDeploymentsResponse
3979
+ include Google::Apis::Core::Hashable
3980
+
3981
+ # The list of blue-green deployment resources.
3982
+ # Corresponds to the JSON property `blueGreenDeployments`
3983
+ # @return [Array<Google::Apis::SqladminV1::BlueGreenDeployment>]
3984
+ attr_accessor :blue_green_deployments
3985
+
3986
+ # A token to retrieve the next page of results, or empty if there are no more
3987
+ # results.
3988
+ # Corresponds to the JSON property `nextPageToken`
3989
+ # @return [String]
3990
+ attr_accessor :next_page_token
3991
+
3992
+ def initialize(**args)
3993
+ update!(**args)
3994
+ end
3995
+
3996
+ # Update properties of this object
3997
+ def update!(**args)
3998
+ @blue_green_deployments = args[:blue_green_deployments] if args.key?(:blue_green_deployments)
3999
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4000
+ end
4001
+ end
4002
+
3731
4003
  # Preferred location. This specifies where a Cloud SQL instance is located. Note
3732
4004
  # that if the preferred location is not available, the instance will be located
3733
4005
  # as close as possible within the region. Only one location may be specified.
@@ -3966,6 +4238,44 @@ module Google
3966
4238
  end
3967
4239
  end
3968
4240
 
4241
+ # Details about an instance within the deployment.
4242
+ class NodeInfo
4243
+ include Google::Apis::Core::Hashable
4244
+
4245
+ # Output only. The instance connection name.
4246
+ # Corresponds to the JSON property `connection`
4247
+ # @return [String]
4248
+ attr_accessor :connection
4249
+
4250
+ # Output only. The unique DNS name for this instance.
4251
+ # Corresponds to the JSON property `dns`
4252
+ # @return [String]
4253
+ attr_accessor :dns
4254
+
4255
+ # Output only. The full resource name of the instance. Format: projects/`project`
4256
+ # /instances/`instance`
4257
+ # Corresponds to the JSON property `instance`
4258
+ # @return [String]
4259
+ attr_accessor :instance
4260
+
4261
+ # Output only. The list of IP addresses for this instance.
4262
+ # Corresponds to the JSON property `ipMappings`
4263
+ # @return [Array<Google::Apis::SqladminV1::IpMapping>]
4264
+ attr_accessor :ip_mappings
4265
+
4266
+ def initialize(**args)
4267
+ update!(**args)
4268
+ end
4269
+
4270
+ # Update properties of this object
4271
+ def update!(**args)
4272
+ @connection = args[:connection] if args.key?(:connection)
4273
+ @dns = args[:dns] if args.key?(:dns)
4274
+ @instance = args[:instance] if args.key?(:instance)
4275
+ @ip_mappings = args[:ip_mappings] if args.key?(:ip_mappings)
4276
+ end
4277
+ end
4278
+
3969
4279
  # On-premises instance configuration.
3970
4280
  class OnPremisesConfiguration
3971
4281
  include Google::Apis::Core::Hashable
@@ -4884,8 +5194,8 @@ module Google
4884
5194
  attr_accessor :allowed_consumer_projects
4885
5195
 
4886
5196
  # Optional. The network attachment of the consumer network that the Private
4887
- # Service Connect enabled Cloud SQL instance is authorized to connect via PSC
4888
- # interface. format: projects/PROJECT/regions/REGION/networkAttachments/ID
5197
+ # Service Connect enabled Cloud SQL instance is authorized to connect using the
5198
+ # PSC interface. format: projects/PROJECT/regions/REGION/networkAttachments/ID
4889
5199
  # Corresponds to the JSON property `networkAttachmentUri`
4890
5200
  # @return [String]
4891
5201
  attr_accessor :network_attachment_uri
@@ -5147,6 +5457,27 @@ module Google
5147
5457
  end
5148
5458
  end
5149
5459
 
5460
+ # Configuration specified by the user at creation time for the target (green)
5461
+ # instance.
5462
+ class RequestedConfig
5463
+ include Google::Apis::Core::Hashable
5464
+
5465
+ # Optional. The target database major version for the upgrade. For example, `
5466
+ # MYSQL_8_0` or `POSTGRES_15`.
5467
+ # Corresponds to the JSON property `databaseVersion`
5468
+ # @return [String]
5469
+ attr_accessor :database_version
5470
+
5471
+ def initialize(**args)
5472
+ update!(**args)
5473
+ end
5474
+
5475
+ # Update properties of this object
5476
+ def update!(**args)
5477
+ @database_version = args[:database_version] if args.key?(:database_version)
5478
+ end
5479
+ end
5480
+
5150
5481
  #
5151
5482
  class Reschedule
5152
5483
  include Google::Apis::Core::Hashable
@@ -5679,6 +6010,63 @@ module Google
5679
6010
  end
5680
6011
  end
5681
6012
 
6013
+ # The source instance for the Blue-Green deployment.
6014
+ class SourceRole
6015
+ include Google::Apis::Core::Hashable
6016
+
6017
+ # Reference to another Cloud SQL instance.
6018
+ # Corresponds to the JSON property `targetId`
6019
+ # @return [Google::Apis::SqladminV1::InstanceReference]
6020
+ attr_accessor :target_id
6021
+
6022
+ def initialize(**args)
6023
+ update!(**args)
6024
+ end
6025
+
6026
+ # Update properties of this object
6027
+ def update!(**args)
6028
+ @target_id = args[:target_id] if args.key?(:target_id)
6029
+ end
6030
+ end
6031
+
6032
+ # Represents a pairing of a source instance node and a target instance node.
6033
+ class SourceTargetPairedNode
6034
+ include Google::Apis::Core::Hashable
6035
+
6036
+ # Output only. Describes the list of differences for the `SourceTargetPairedNode`
6037
+ # .
6038
+ # Corresponds to the JSON property `diffs`
6039
+ # @return [Array<Google::Apis::SqladminV1::ConfigDiff>]
6040
+ attr_accessor :diffs
6041
+
6042
+ # Details about an instance within the deployment.
6043
+ # Corresponds to the JSON property `source`
6044
+ # @return [Google::Apis::SqladminV1::NodeInfo]
6045
+ attr_accessor :source
6046
+
6047
+ # Output only. Specifies the current state of this specific source-target pair.
6048
+ # Corresponds to the JSON property `state`
6049
+ # @return [String]
6050
+ attr_accessor :state
6051
+
6052
+ # Details about an instance within the deployment.
6053
+ # Corresponds to the JSON property `target`
6054
+ # @return [Google::Apis::SqladminV1::NodeInfo]
6055
+ attr_accessor :target
6056
+
6057
+ def initialize(**args)
6058
+ update!(**args)
6059
+ end
6060
+
6061
+ # Update properties of this object
6062
+ def update!(**args)
6063
+ @diffs = args[:diffs] if args.key?(:diffs)
6064
+ @source = args[:source] if args.key?(:source)
6065
+ @state = args[:state] if args.key?(:state)
6066
+ @target = args[:target] if args.key?(:target)
6067
+ end
6068
+ end
6069
+
5682
6070
  # Active Directory configuration, relevant only for Cloud SQL for SQL Server.
5683
6071
  class SqlActiveDirectoryConfig
5684
6072
  include Google::Apis::Core::Hashable
@@ -5931,12 +6319,18 @@ module Google
5931
6319
  class SqlInstancesResetReplicaSizeRequest
5932
6320
  include Google::Apis::Core::Hashable
5933
6321
 
6322
+ # Optional. Region of the Cloud SQL instance.
6323
+ # Corresponds to the JSON property `location`
6324
+ # @return [String]
6325
+ attr_accessor :location
6326
+
5934
6327
  def initialize(**args)
5935
6328
  update!(**args)
5936
6329
  end
5937
6330
 
5938
6331
  # Update properties of this object
5939
6332
  def update!(**args)
6333
+ @location = args[:location] if args.key?(:location)
5940
6334
  end
5941
6335
  end
5942
6336
 
@@ -5944,6 +6338,11 @@ module Google
5944
6338
  class SqlInstancesStartExternalSyncRequest
5945
6339
  include Google::Apis::Core::Hashable
5946
6340
 
6341
+ # Optional. Region of the Cloud SQL instance.
6342
+ # Corresponds to the JSON property `location`
6343
+ # @return [String]
6344
+ attr_accessor :location
6345
+
5947
6346
  # Optional. MigrationType configures the migration to use physical files or
5948
6347
  # logical dump files. If not set, then the logical dump file configuration is
5949
6348
  # used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.
@@ -5988,6 +6387,7 @@ module Google
5988
6387
 
5989
6388
  # Update properties of this object
5990
6389
  def update!(**args)
6390
+ @location = args[:location] if args.key?(:location)
5991
6391
  @migration_type = args[:migration_type] if args.key?(:migration_type)
5992
6392
  @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
5993
6393
  @replica_overwrite_enabled = args[:replica_overwrite_enabled] if args.key?(:replica_overwrite_enabled)
@@ -6001,6 +6401,11 @@ module Google
6001
6401
  class SqlInstancesVerifyExternalSyncSettingsRequest
6002
6402
  include Google::Apis::Core::Hashable
6003
6403
 
6404
+ # Optional. Region of the Cloud SQL instance.
6405
+ # Corresponds to the JSON property `location`
6406
+ # @return [String]
6407
+ attr_accessor :location
6408
+
6004
6409
  # Optional. MigrationType configures the migration to use physical files or
6005
6410
  # logical dump files. If not set, then the logical dump file configuration is
6006
6411
  # used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.
@@ -6047,6 +6452,7 @@ module Google
6047
6452
 
6048
6453
  # Update properties of this object
6049
6454
  def update!(**args)
6455
+ @location = args[:location] if args.key?(:location)
6050
6456
  @migration_type = args[:migration_type] if args.key?(:migration_type)
6051
6457
  @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
6052
6458
  @selected_objects = args[:selected_objects] if args.key?(:selected_objects)
@@ -6253,13 +6659,13 @@ module Google
6253
6659
  class SqlServerUserDetails
6254
6660
  include Google::Apis::Core::Hashable
6255
6661
 
6256
- # If the user has been disabled
6662
+ # Indicates if the user has been disabled.
6257
6663
  # Corresponds to the JSON property `disabled`
6258
6664
  # @return [Boolean]
6259
6665
  attr_accessor :disabled
6260
6666
  alias_method :disabled?, :disabled
6261
6667
 
6262
- # The server roles for this user
6668
+ # Indicates the server roles for this user.
6263
6669
  # Corresponds to the JSON property `serverRoles`
6264
6670
  # @return [Array<String>]
6265
6671
  attr_accessor :server_roles
@@ -6537,6 +6943,19 @@ module Google
6537
6943
  end
6538
6944
  end
6539
6945
 
6946
+ # Request message for switching over a `BlueGreenDeployment` resource.
6947
+ class SwitchoverBlueGreenDeploymentRequest
6948
+ include Google::Apis::Core::Hashable
6949
+
6950
+ def initialize(**args)
6951
+ update!(**args)
6952
+ end
6953
+
6954
+ # Update properties of this object
6955
+ def update!(**args)
6956
+ end
6957
+ end
6958
+
6540
6959
  # Initial sync flags for certain Cloud SQL APIs. Currently used for the MySQL
6541
6960
  # external server initial dump.
6542
6961
  class SyncFlags
@@ -6589,6 +7008,25 @@ module Google
6589
7008
  end
6590
7009
  end
6591
7010
 
7011
+ # The target instance for the Blue-Green deployment.
7012
+ class TargetRole
7013
+ include Google::Apis::Core::Hashable
7014
+
7015
+ # Reference to another Cloud SQL instance.
7016
+ # Corresponds to the JSON property `sourceId`
7017
+ # @return [Google::Apis::SqladminV1::InstanceReference]
7018
+ attr_accessor :source_id
7019
+
7020
+ def initialize(**args)
7021
+ update!(**args)
7022
+ end
7023
+
7024
+ # Update properties of this object
7025
+ def update!(**args)
7026
+ @source_id = args[:source_id] if args.key?(:source_id)
7027
+ end
7028
+ end
7029
+
6592
7030
  # A Google Cloud SQL service tier resource.
6593
7031
  class Tier
6594
7032
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SqladminV1
18
18
  # Version of the google-apis-sqladmin_v1 gem
19
- GEM_VERSION = "0.102.0"
19
+ GEM_VERSION = "0.103.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260722"
25
+ REVISION = "20260819"
26
26
  end
27
27
  end
28
28
  end