google-apis-sqladmin_v1 0.85.0 → 0.87.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 +4 -4
 - data/CHANGELOG.md +8 -0
 - data/OVERVIEW.md +1 -1
 - data/lib/google/apis/sqladmin_v1/classes.rb +181 -3
 - data/lib/google/apis/sqladmin_v1/gem_version.rb +2 -2
 - data/lib/google/apis/sqladmin_v1/representations.rb +70 -0
 - data/lib/google/apis/sqladmin_v1/service.rb +41 -5
 - data/lib/google/apis/sqladmin_v1.rb +1 -1
 - metadata +2 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 679187535d15297a959e210b132c54529776cdc2543066cc3c7ec0a5736526e7
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 49bec3e0eac28da045a2938825394244c2a654e8c1b566f75f128a5204d89e73
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 3947b1fe0ae4fd7be29ed549ec3f724ff2305e444e2eae6f5c81c249fff12d2183ebc066305711aa3aec4dc4c5cf0c0111068b4f1b211325daae17b7d48ce123
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 670c1a89f9d1abf3b50985aadccd417685a5c2c66da4f1fcb4143e823476b23a83f78702f7fe8aca795ca0ce545166889cd4beaf4066d03104c55b266125056e
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,5 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Release history for google-apis-sqladmin_v1
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            ### v0.87.0 (2025-10-19)
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            * Regenerated from discovery document revision 20251006
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ### v0.86.0 (2025-09-28)
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            * Regenerated from discovery document revision 20250915
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
       3 
11 
     | 
    
         
             
            ### v0.85.0 (2025-09-21)
         
     | 
| 
       4 
12 
     | 
    
         | 
| 
       5 
13 
     | 
    
         
             
            * Regenerated from discovery document revision 20250908
         
     | 
    
        data/OVERVIEW.md
    CHANGED
    
    | 
         @@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>` 
     | 
|
| 
       79 
79 
     | 
    
         | 
| 
       80 
80 
     | 
    
         
             
            **For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
         
     | 
| 
       81 
81 
     | 
    
         | 
| 
       82 
     | 
    
         
            -
            The [product documentation](https:// 
     | 
| 
      
 82 
     | 
    
         
            +
            The [product documentation](https://cloud.google.com/sql/docs) may provide guidance regarding the preferred client library to use.
         
     | 
| 
       83 
83 
     | 
    
         | 
| 
       84 
84 
     | 
    
         
             
            ## Supported Ruby versions
         
     | 
| 
       85 
85 
     | 
    
         | 
| 
         @@ -1882,8 +1882,9 @@ module Google 
     | 
|
| 
       1882 
1882 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
       1883 
1883 
     | 
    
         
             
                    attr_accessor :database
         
     | 
| 
       1884 
1884 
     | 
    
         | 
| 
       1885 
     | 
    
         
            -
                    # Optional. Controls how the API should respond when the SQL execution result
         
     | 
| 
       1886 
     | 
    
         
            -
                    #  
     | 
| 
      
 1885 
     | 
    
         
            +
                    # Optional. Controls how the API should respond when the SQL execution result is
         
     | 
| 
      
 1886 
     | 
    
         
            +
                    # incomplete due to the size limit or another error. The default mode is to
         
     | 
| 
      
 1887 
     | 
    
         
            +
                    # throw an error.
         
     | 
| 
       1887 
1888 
     | 
    
         
             
                    # Corresponds to the JSON property `partialResultMode`
         
     | 
| 
       1888 
1889 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
       1889 
1890 
     | 
    
         
             
                    attr_accessor :partial_result_mode
         
     | 
| 
         @@ -3242,6 +3243,25 @@ module Google 
     | 
|
| 
       3242 
3243 
     | 
    
         
             
                    end
         
     | 
| 
       3243 
3244 
     | 
    
         
             
                  end
         
     | 
| 
       3244 
3245 
     | 
    
         | 
| 
      
 3246 
     | 
    
         
            +
                  # Request for Pre-checks for MVU
         
     | 
| 
      
 3247 
     | 
    
         
            +
                  class InstancesPreCheckMajorVersionUpgradeRequest
         
     | 
| 
      
 3248 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 3249 
     | 
    
         
            +
                  
         
     | 
| 
      
 3250 
     | 
    
         
            +
                    # Pre-check major version upgrade context.
         
     | 
| 
      
 3251 
     | 
    
         
            +
                    # Corresponds to the JSON property `preCheckMajorVersionUpgradeContext`
         
     | 
| 
      
 3252 
     | 
    
         
            +
                    # @return [Google::Apis::SqladminV1::PreCheckMajorVersionUpgradeContext]
         
     | 
| 
      
 3253 
     | 
    
         
            +
                    attr_accessor :pre_check_major_version_upgrade_context
         
     | 
| 
      
 3254 
     | 
    
         
            +
                  
         
     | 
| 
      
 3255 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 3256 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 3257 
     | 
    
         
            +
                    end
         
     | 
| 
      
 3258 
     | 
    
         
            +
                  
         
     | 
| 
      
 3259 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 3260 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 3261 
     | 
    
         
            +
                      @pre_check_major_version_upgrade_context = args[:pre_check_major_version_upgrade_context] if args.key?(:pre_check_major_version_upgrade_context)
         
     | 
| 
      
 3262 
     | 
    
         
            +
                    end
         
     | 
| 
      
 3263 
     | 
    
         
            +
                  end
         
     | 
| 
      
 3264 
     | 
    
         
            +
                  
         
     | 
| 
       3245 
3265 
     | 
    
         
             
                  # Database Instance reencrypt request.
         
     | 
| 
       3246 
3266 
     | 
    
         
             
                  class InstancesReencryptRequest
         
     | 
| 
       3247 
3267 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
         @@ -3966,6 +3986,11 @@ module Google 
     | 
|
| 
       3966 
3986 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
       3967 
3987 
     | 
    
         
             
                    attr_accessor :operation_type
         
     | 
| 
       3968 
3988 
     | 
    
         | 
| 
      
 3989 
     | 
    
         
            +
                    # Pre-check major version upgrade context.
         
     | 
| 
      
 3990 
     | 
    
         
            +
                    # Corresponds to the JSON property `preCheckMajorVersionUpgradeContext`
         
     | 
| 
      
 3991 
     | 
    
         
            +
                    # @return [Google::Apis::SqladminV1::PreCheckMajorVersionUpgradeContext]
         
     | 
| 
      
 3992 
     | 
    
         
            +
                    attr_accessor :pre_check_major_version_upgrade_context
         
     | 
| 
      
 3993 
     | 
    
         
            +
                  
         
     | 
| 
       3969 
3994 
     | 
    
         
             
                    # The URI of this resource.
         
     | 
| 
       3970 
3995 
     | 
    
         
             
                    # Corresponds to the JSON property `selfLink`
         
     | 
| 
       3971 
3996 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
         @@ -4024,6 +4049,7 @@ module Google 
     | 
|
| 
       4024 
4049 
     | 
    
         
             
                      @kind = args[:kind] if args.key?(:kind)
         
     | 
| 
       4025 
4050 
     | 
    
         
             
                      @name = args[:name] if args.key?(:name)
         
     | 
| 
       4026 
4051 
     | 
    
         
             
                      @operation_type = args[:operation_type] if args.key?(:operation_type)
         
     | 
| 
      
 4052 
     | 
    
         
            +
                      @pre_check_major_version_upgrade_context = args[:pre_check_major_version_upgrade_context] if args.key?(:pre_check_major_version_upgrade_context)
         
     | 
| 
       4027 
4053 
     | 
    
         
             
                      @self_link = args[:self_link] if args.key?(:self_link)
         
     | 
| 
       4028 
4054 
     | 
    
         
             
                      @start_time = args[:start_time] if args.key?(:start_time)
         
     | 
| 
       4029 
4055 
     | 
    
         
             
                      @status = args[:status] if args.key?(:status)
         
     | 
| 
         @@ -4406,6 +4432,68 @@ module Google 
     | 
|
| 
       4406 
4432 
     | 
    
         
             
                    end
         
     | 
| 
       4407 
4433 
     | 
    
         
             
                  end
         
     | 
| 
       4408 
4434 
     | 
    
         | 
| 
      
 4435 
     | 
    
         
            +
                  # Pre-check major version upgrade context.
         
     | 
| 
      
 4436 
     | 
    
         
            +
                  class PreCheckMajorVersionUpgradeContext
         
     | 
| 
      
 4437 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 4438 
     | 
    
         
            +
                  
         
     | 
| 
      
 4439 
     | 
    
         
            +
                    # Optional. This is always `sql#preCheckMajorVersionUpgradeContext`.
         
     | 
| 
      
 4440 
     | 
    
         
            +
                    # Corresponds to the JSON property `kind`
         
     | 
| 
      
 4441 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 4442 
     | 
    
         
            +
                    attr_accessor :kind
         
     | 
| 
      
 4443 
     | 
    
         
            +
                  
         
     | 
| 
      
 4444 
     | 
    
         
            +
                    # Output only. The responses from the precheck operation.
         
     | 
| 
      
 4445 
     | 
    
         
            +
                    # Corresponds to the JSON property `preCheckResponse`
         
     | 
| 
      
 4446 
     | 
    
         
            +
                    # @return [Array<Google::Apis::SqladminV1::PreCheckResponse>]
         
     | 
| 
      
 4447 
     | 
    
         
            +
                    attr_accessor :pre_check_response
         
     | 
| 
      
 4448 
     | 
    
         
            +
                  
         
     | 
| 
      
 4449 
     | 
    
         
            +
                    # Required. The target database version to upgrade to.
         
     | 
| 
      
 4450 
     | 
    
         
            +
                    # Corresponds to the JSON property `targetDatabaseVersion`
         
     | 
| 
      
 4451 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 4452 
     | 
    
         
            +
                    attr_accessor :target_database_version
         
     | 
| 
      
 4453 
     | 
    
         
            +
                  
         
     | 
| 
      
 4454 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 4455 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 4456 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4457 
     | 
    
         
            +
                  
         
     | 
| 
      
 4458 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 4459 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 4460 
     | 
    
         
            +
                      @kind = args[:kind] if args.key?(:kind)
         
     | 
| 
      
 4461 
     | 
    
         
            +
                      @pre_check_response = args[:pre_check_response] if args.key?(:pre_check_response)
         
     | 
| 
      
 4462 
     | 
    
         
            +
                      @target_database_version = args[:target_database_version] if args.key?(:target_database_version)
         
     | 
| 
      
 4463 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4464 
     | 
    
         
            +
                  end
         
     | 
| 
      
 4465 
     | 
    
         
            +
                  
         
     | 
| 
      
 4466 
     | 
    
         
            +
                  # Structured PreCheckResponse containing message, type, and required actions.
         
     | 
| 
      
 4467 
     | 
    
         
            +
                  class PreCheckResponse
         
     | 
| 
      
 4468 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 4469 
     | 
    
         
            +
                  
         
     | 
| 
      
 4470 
     | 
    
         
            +
                    # The actions that the user needs to take. Use repeated for multiple actions.
         
     | 
| 
      
 4471 
     | 
    
         
            +
                    # Corresponds to the JSON property `actionsRequired`
         
     | 
| 
      
 4472 
     | 
    
         
            +
                    # @return [Array<String>]
         
     | 
| 
      
 4473 
     | 
    
         
            +
                    attr_accessor :actions_required
         
     | 
| 
      
 4474 
     | 
    
         
            +
                  
         
     | 
| 
      
 4475 
     | 
    
         
            +
                    # The message to be displayed to the user.
         
     | 
| 
      
 4476 
     | 
    
         
            +
                    # Corresponds to the JSON property `message`
         
     | 
| 
      
 4477 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 4478 
     | 
    
         
            +
                    attr_accessor :message
         
     | 
| 
      
 4479 
     | 
    
         
            +
                  
         
     | 
| 
      
 4480 
     | 
    
         
            +
                    # The type of message whether it is an info, warning, or error.
         
     | 
| 
      
 4481 
     | 
    
         
            +
                    # Corresponds to the JSON property `messageType`
         
     | 
| 
      
 4482 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 4483 
     | 
    
         
            +
                    attr_accessor :message_type
         
     | 
| 
      
 4484 
     | 
    
         
            +
                  
         
     | 
| 
      
 4485 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 4486 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 4487 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4488 
     | 
    
         
            +
                  
         
     | 
| 
      
 4489 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 4490 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 4491 
     | 
    
         
            +
                      @actions_required = args[:actions_required] if args.key?(:actions_required)
         
     | 
| 
      
 4492 
     | 
    
         
            +
                      @message = args[:message] if args.key?(:message)
         
     | 
| 
      
 4493 
     | 
    
         
            +
                      @message_type = args[:message_type] if args.key?(:message_type)
         
     | 
| 
      
 4494 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4495 
     | 
    
         
            +
                  end
         
     | 
| 
      
 4496 
     | 
    
         
            +
                  
         
     | 
| 
       4409 
4497 
     | 
    
         
             
                  # Settings for an automatically-setup Private Service Connect consumer endpoint
         
     | 
| 
       4410 
4498 
     | 
    
         
             
                  # that is used to connect to a Cloud SQL instance.
         
     | 
| 
       4411 
4499 
     | 
    
         
             
                  class PscAutoConnectionConfig
         
     | 
| 
         @@ -4514,7 +4602,8 @@ module Google 
     | 
|
| 
       4514 
4602 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
       4515 
4603 
     | 
    
         
             
                    attr_accessor :message
         
     | 
| 
       4516 
4604 
     | 
    
         | 
| 
       4517 
     | 
    
         
            -
                    # Set to true if the SQL execution's result is truncated due to size limits 
     | 
| 
      
 4605 
     | 
    
         
            +
                    # Set to true if the SQL execution's result is truncated due to size limits or
         
     | 
| 
      
 4606 
     | 
    
         
            +
                    # an error retrieving results.
         
     | 
| 
       4518 
4607 
     | 
    
         
             
                    # Corresponds to the JSON property `partialResult`
         
     | 
| 
       4519 
4608 
     | 
    
         
             
                    # @return [Boolean]
         
     | 
| 
       4520 
4609 
     | 
    
         
             
                    attr_accessor :partial_result
         
     | 
| 
         @@ -4525,6 +4614,16 @@ module Google 
     | 
|
| 
       4525 
4614 
     | 
    
         
             
                    # @return [Array<Google::Apis::SqladminV1::Row>]
         
     | 
| 
       4526 
4615 
     | 
    
         
             
                    attr_accessor :rows
         
     | 
| 
       4527 
4616 
     | 
    
         | 
| 
      
 4617 
     | 
    
         
            +
                    # The `Status` type defines a logical error model that is suitable for different
         
     | 
| 
      
 4618 
     | 
    
         
            +
                    # programming environments, including REST APIs and RPC APIs. It is used by [
         
     | 
| 
      
 4619 
     | 
    
         
            +
                    # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
         
     | 
| 
      
 4620 
     | 
    
         
            +
                    # data: error code, error message, and error details. You can find out more
         
     | 
| 
      
 4621 
     | 
    
         
            +
                    # about this error model and how to work with it in the [API Design Guide](https:
         
     | 
| 
      
 4622 
     | 
    
         
            +
                    # //cloud.google.com/apis/design/errors).
         
     | 
| 
      
 4623 
     | 
    
         
            +
                    # Corresponds to the JSON property `status`
         
     | 
| 
      
 4624 
     | 
    
         
            +
                    # @return [Google::Apis::SqladminV1::Status]
         
     | 
| 
      
 4625 
     | 
    
         
            +
                    attr_accessor :status
         
     | 
| 
      
 4626 
     | 
    
         
            +
                  
         
     | 
| 
       4528 
4627 
     | 
    
         
             
                    def initialize(**args)
         
     | 
| 
       4529 
4628 
     | 
    
         
             
                       update!(**args)
         
     | 
| 
       4530 
4629 
     | 
    
         
             
                    end
         
     | 
| 
         @@ -4535,6 +4634,7 @@ module Google 
     | 
|
| 
       4535 
4634 
     | 
    
         
             
                      @message = args[:message] if args.key?(:message)
         
     | 
| 
       4536 
4635 
     | 
    
         
             
                      @partial_result = args[:partial_result] if args.key?(:partial_result)
         
     | 
| 
       4537 
4636 
     | 
    
         
             
                      @rows = args[:rows] if args.key?(:rows)
         
     | 
| 
      
 4637 
     | 
    
         
            +
                      @status = args[:status] if args.key?(:status)
         
     | 
| 
       4538 
4638 
     | 
    
         
             
                    end
         
     | 
| 
       4539 
4639 
     | 
    
         
             
                  end
         
     | 
| 
       4540 
4640 
     | 
    
         | 
| 
         @@ -4565,6 +4665,16 @@ module Google 
     | 
|
| 
       4565 
4665 
     | 
    
         
             
                    # @return [Fixnum]
         
     | 
| 
       4566 
4666 
     | 
    
         
             
                    attr_accessor :min_node_count
         
     | 
| 
       4567 
4667 
     | 
    
         | 
| 
      
 4668 
     | 
    
         
            +
                    # The cooldown period for scale-in operations.
         
     | 
| 
      
 4669 
     | 
    
         
            +
                    # Corresponds to the JSON property `scaleInCooldownSeconds`
         
     | 
| 
      
 4670 
     | 
    
         
            +
                    # @return [Fixnum]
         
     | 
| 
      
 4671 
     | 
    
         
            +
                    attr_accessor :scale_in_cooldown_seconds
         
     | 
| 
      
 4672 
     | 
    
         
            +
                  
         
     | 
| 
      
 4673 
     | 
    
         
            +
                    # The cooldown period for scale-out operations.
         
     | 
| 
      
 4674 
     | 
    
         
            +
                    # Corresponds to the JSON property `scaleOutCooldownSeconds`
         
     | 
| 
      
 4675 
     | 
    
         
            +
                    # @return [Fixnum]
         
     | 
| 
      
 4676 
     | 
    
         
            +
                    attr_accessor :scale_out_cooldown_seconds
         
     | 
| 
      
 4677 
     | 
    
         
            +
                  
         
     | 
| 
       4568 
4678 
     | 
    
         
             
                    # Optional. Target metrics for read pool auto scaling.
         
     | 
| 
       4569 
4679 
     | 
    
         
             
                    # Corresponds to the JSON property `targetMetrics`
         
     | 
| 
       4570 
4680 
     | 
    
         
             
                    # @return [Array<Google::Apis::SqladminV1::TargetMetric>]
         
     | 
| 
         @@ -4580,6 +4690,8 @@ module Google 
     | 
|
| 
       4580 
4690 
     | 
    
         
             
                      @enabled = args[:enabled] if args.key?(:enabled)
         
     | 
| 
       4581 
4691 
     | 
    
         
             
                      @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
         
     | 
| 
       4582 
4692 
     | 
    
         
             
                      @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
         
     | 
| 
      
 4693 
     | 
    
         
            +
                      @scale_in_cooldown_seconds = args[:scale_in_cooldown_seconds] if args.key?(:scale_in_cooldown_seconds)
         
     | 
| 
      
 4694 
     | 
    
         
            +
                      @scale_out_cooldown_seconds = args[:scale_out_cooldown_seconds] if args.key?(:scale_out_cooldown_seconds)
         
     | 
| 
       4583 
4695 
     | 
    
         
             
                      @target_metrics = args[:target_metrics] if args.key?(:target_metrics)
         
     | 
| 
       4584 
4696 
     | 
    
         
             
                    end
         
     | 
| 
       4585 
4697 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -4861,6 +4973,14 @@ module Google 
     | 
|
| 
       4861 
4973 
     | 
    
         
             
                    # @return [Array<String>]
         
     | 
| 
       4862 
4974 
     | 
    
         
             
                    attr_accessor :authorized_gae_applications
         
     | 
| 
       4863 
4975 
     | 
    
         | 
| 
      
 4976 
     | 
    
         
            +
                    # Optional. Cloud SQL for MySQL auto-upgrade configuration. When this parameter
         
     | 
| 
      
 4977 
     | 
    
         
            +
                    # is set to true, auto-upgrade is enabled for MySQL 8.0 minor versions. The
         
     | 
| 
      
 4978 
     | 
    
         
            +
                    # MySQL version must be 8.0.35 or higher.
         
     | 
| 
      
 4979 
     | 
    
         
            +
                    # Corresponds to the JSON property `autoUpgradeEnabled`
         
     | 
| 
      
 4980 
     | 
    
         
            +
                    # @return [Boolean]
         
     | 
| 
      
 4981 
     | 
    
         
            +
                    attr_accessor :auto_upgrade_enabled
         
     | 
| 
      
 4982 
     | 
    
         
            +
                    alias_method :auto_upgrade_enabled?, :auto_upgrade_enabled
         
     | 
| 
      
 4983 
     | 
    
         
            +
                  
         
     | 
| 
       4864 
4984 
     | 
    
         
             
                    # Availability type. Potential values: * `ZONAL`: The instance serves data from
         
     | 
| 
       4865 
4985 
     | 
    
         
             
                    # only one zone. Outages in that zone affect data accessibility. * `REGIONAL`:
         
     | 
| 
       4866 
4986 
     | 
    
         
             
                    # The instance can serve data from more than one zone in a region (it is highly
         
     | 
| 
         @@ -5102,6 +5222,7 @@ module Google 
     | 
|
| 
       5102 
5222 
     | 
    
         
             
                      @active_directory_config = args[:active_directory_config] if args.key?(:active_directory_config)
         
     | 
| 
       5103 
5223 
     | 
    
         
             
                      @advanced_machine_features = args[:advanced_machine_features] if args.key?(:advanced_machine_features)
         
     | 
| 
       5104 
5224 
     | 
    
         
             
                      @authorized_gae_applications = args[:authorized_gae_applications] if args.key?(:authorized_gae_applications)
         
     | 
| 
      
 5225 
     | 
    
         
            +
                      @auto_upgrade_enabled = args[:auto_upgrade_enabled] if args.key?(:auto_upgrade_enabled)
         
     | 
| 
       5105 
5226 
     | 
    
         
             
                      @availability_type = args[:availability_type] if args.key?(:availability_type)
         
     | 
| 
       5106 
5227 
     | 
    
         
             
                      @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
         
     | 
| 
       5107 
5228 
     | 
    
         
             
                      @collation = args[:collation] if args.key?(:collation)
         
     | 
| 
         @@ -5267,6 +5388,16 @@ module Google 
     | 
|
| 
       5267 
5388 
     | 
    
         
             
                    # @return [Array<Google::Apis::SqladminV1::QueryResult>]
         
     | 
| 
       5268 
5389 
     | 
    
         
             
                    attr_accessor :results
         
     | 
| 
       5269 
5390 
     | 
    
         | 
| 
      
 5391 
     | 
    
         
            +
                    # The `Status` type defines a logical error model that is suitable for different
         
     | 
| 
      
 5392 
     | 
    
         
            +
                    # programming environments, including REST APIs and RPC APIs. It is used by [
         
     | 
| 
      
 5393 
     | 
    
         
            +
                    # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
         
     | 
| 
      
 5394 
     | 
    
         
            +
                    # data: error code, error message, and error details. You can find out more
         
     | 
| 
      
 5395 
     | 
    
         
            +
                    # about this error model and how to work with it in the [API Design Guide](https:
         
     | 
| 
      
 5396 
     | 
    
         
            +
                    # //cloud.google.com/apis/design/errors).
         
     | 
| 
      
 5397 
     | 
    
         
            +
                    # Corresponds to the JSON property `status`
         
     | 
| 
      
 5398 
     | 
    
         
            +
                    # @return [Google::Apis::SqladminV1::Status]
         
     | 
| 
      
 5399 
     | 
    
         
            +
                    attr_accessor :status
         
     | 
| 
      
 5400 
     | 
    
         
            +
                  
         
     | 
| 
       5270 
5401 
     | 
    
         
             
                    def initialize(**args)
         
     | 
| 
       5271 
5402 
     | 
    
         
             
                       update!(**args)
         
     | 
| 
       5272 
5403 
     | 
    
         
             
                    end
         
     | 
| 
         @@ -5276,6 +5407,7 @@ module Google 
     | 
|
| 
       5276 
5407 
     | 
    
         
             
                      @messages = args[:messages] if args.key?(:messages)
         
     | 
| 
       5277 
5408 
     | 
    
         
             
                      @metadata = args[:metadata] if args.key?(:metadata)
         
     | 
| 
       5278 
5409 
     | 
    
         
             
                      @results = args[:results] if args.key?(:results)
         
     | 
| 
      
 5410 
     | 
    
         
            +
                      @status = args[:status] if args.key?(:status)
         
     | 
| 
       5279 
5411 
     | 
    
         
             
                    end
         
     | 
| 
       5280 
5412 
     | 
    
         
             
                  end
         
     | 
| 
       5281 
5413 
     | 
    
         | 
| 
         @@ -5919,6 +6051,45 @@ module Google 
     | 
|
| 
       5919 
6051 
     | 
    
         
             
                    end
         
     | 
| 
       5920 
6052 
     | 
    
         
             
                  end
         
     | 
| 
       5921 
6053 
     | 
    
         | 
| 
      
 6054 
     | 
    
         
            +
                  # The `Status` type defines a logical error model that is suitable for different
         
     | 
| 
      
 6055 
     | 
    
         
            +
                  # programming environments, including REST APIs and RPC APIs. It is used by [
         
     | 
| 
      
 6056 
     | 
    
         
            +
                  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
         
     | 
| 
      
 6057 
     | 
    
         
            +
                  # data: error code, error message, and error details. You can find out more
         
     | 
| 
      
 6058 
     | 
    
         
            +
                  # about this error model and how to work with it in the [API Design Guide](https:
         
     | 
| 
      
 6059 
     | 
    
         
            +
                  # //cloud.google.com/apis/design/errors).
         
     | 
| 
      
 6060 
     | 
    
         
            +
                  class Status
         
     | 
| 
      
 6061 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 6062 
     | 
    
         
            +
                  
         
     | 
| 
      
 6063 
     | 
    
         
            +
                    # The status code, which should be an enum value of google.rpc.Code.
         
     | 
| 
      
 6064 
     | 
    
         
            +
                    # Corresponds to the JSON property `code`
         
     | 
| 
      
 6065 
     | 
    
         
            +
                    # @return [Fixnum]
         
     | 
| 
      
 6066 
     | 
    
         
            +
                    attr_accessor :code
         
     | 
| 
      
 6067 
     | 
    
         
            +
                  
         
     | 
| 
      
 6068 
     | 
    
         
            +
                    # A list of messages that carry the error details. There is a common set of
         
     | 
| 
      
 6069 
     | 
    
         
            +
                    # message types for APIs to use.
         
     | 
| 
      
 6070 
     | 
    
         
            +
                    # Corresponds to the JSON property `details`
         
     | 
| 
      
 6071 
     | 
    
         
            +
                    # @return [Array<Hash<String,Object>>]
         
     | 
| 
      
 6072 
     | 
    
         
            +
                    attr_accessor :details
         
     | 
| 
      
 6073 
     | 
    
         
            +
                  
         
     | 
| 
      
 6074 
     | 
    
         
            +
                    # A developer-facing error message, which should be in English. Any user-facing
         
     | 
| 
      
 6075 
     | 
    
         
            +
                    # error message should be localized and sent in the google.rpc.Status.details
         
     | 
| 
      
 6076 
     | 
    
         
            +
                    # field, or localized by the client.
         
     | 
| 
      
 6077 
     | 
    
         
            +
                    # Corresponds to the JSON property `message`
         
     | 
| 
      
 6078 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 6079 
     | 
    
         
            +
                    attr_accessor :message
         
     | 
| 
      
 6080 
     | 
    
         
            +
                  
         
     | 
| 
      
 6081 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 6082 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 6083 
     | 
    
         
            +
                    end
         
     | 
| 
      
 6084 
     | 
    
         
            +
                  
         
     | 
| 
      
 6085 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 6086 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 6087 
     | 
    
         
            +
                      @code = args[:code] if args.key?(:code)
         
     | 
| 
      
 6088 
     | 
    
         
            +
                      @details = args[:details] if args.key?(:details)
         
     | 
| 
      
 6089 
     | 
    
         
            +
                      @message = args[:message] if args.key?(:message)
         
     | 
| 
      
 6090 
     | 
    
         
            +
                    end
         
     | 
| 
      
 6091 
     | 
    
         
            +
                  end
         
     | 
| 
      
 6092 
     | 
    
         
            +
                  
         
     | 
| 
       5922 
6093 
     | 
    
         
             
                  # Initial sync flags for certain Cloud SQL APIs. Currently used for the MySQL
         
     | 
| 
       5923 
6094 
     | 
    
         
             
                  # external server initial dump.
         
     | 
| 
       5924 
6095 
     | 
    
         
             
                  class SyncFlags
         
     | 
| 
         @@ -6089,6 +6260,12 @@ module Google 
     | 
|
| 
       6089 
6260 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
       6090 
6261 
     | 
    
         
             
                    attr_accessor :host
         
     | 
| 
       6091 
6262 
     | 
    
         | 
| 
      
 6263 
     | 
    
         
            +
                    # Optional. The full email for an IAM user. For normal database users, this will
         
     | 
| 
      
 6264 
     | 
    
         
            +
                    # not be filled. Only applicable to MySQL database users.
         
     | 
| 
      
 6265 
     | 
    
         
            +
                    # Corresponds to the JSON property `iamEmail`
         
     | 
| 
      
 6266 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 6267 
     | 
    
         
            +
                    attr_accessor :iam_email
         
     | 
| 
      
 6268 
     | 
    
         
            +
                  
         
     | 
| 
       6092 
6269 
     | 
    
         
             
                    # Indicates if a group is active or inactive for IAM database authentication.
         
     | 
| 
       6093 
6270 
     | 
    
         
             
                    # Corresponds to the JSON property `iamStatus`
         
     | 
| 
       6094 
6271 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
         @@ -6148,6 +6325,7 @@ module Google 
     | 
|
| 
       6148 
6325 
     | 
    
         
             
                      @dual_password_type = args[:dual_password_type] if args.key?(:dual_password_type)
         
     | 
| 
       6149 
6326 
     | 
    
         
             
                      @etag = args[:etag] if args.key?(:etag)
         
     | 
| 
       6150 
6327 
     | 
    
         
             
                      @host = args[:host] if args.key?(:host)
         
     | 
| 
      
 6328 
     | 
    
         
            +
                      @iam_email = args[:iam_email] if args.key?(:iam_email)
         
     | 
| 
       6151 
6329 
     | 
    
         
             
                      @iam_status = args[:iam_status] if args.key?(:iam_status)
         
     | 
| 
       6152 
6330 
     | 
    
         
             
                      @instance = args[:instance] if args.key?(:instance)
         
     | 
| 
       6153 
6331 
     | 
    
         
             
                      @kind = args[:kind] if args.key?(:kind)
         
     | 
| 
         @@ -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. 
     | 
| 
      
 19 
     | 
    
         
            +
                  GEM_VERSION = "0.87.0"
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
                  # Version of the code generator used to generate this client
         
     | 
| 
       22 
22 
     | 
    
         
             
                  GENERATOR_VERSION = "0.18.0"
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         
             
                  # Revision of the discovery document this client was generated from
         
     | 
| 
       25 
     | 
    
         
            -
                  REVISION = " 
     | 
| 
      
 25 
     | 
    
         
            +
                  REVISION = "20251006"
         
     | 
| 
       26 
26 
     | 
    
         
             
                end
         
     | 
| 
       27 
27 
     | 
    
         
             
              end
         
     | 
| 
       28 
28 
     | 
    
         
             
            end
         
     | 
| 
         @@ -436,6 +436,12 @@ module Google 
     | 
|
| 
       436 
436 
     | 
    
         
             
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
       437 
437 
     | 
    
         
             
                  end
         
     | 
| 
       438 
438 
     | 
    
         | 
| 
      
 439 
     | 
    
         
            +
                  class InstancesPreCheckMajorVersionUpgradeRequest
         
     | 
| 
      
 440 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
      
 441 
     | 
    
         
            +
                  
         
     | 
| 
      
 442 
     | 
    
         
            +
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
      
 443 
     | 
    
         
            +
                  end
         
     | 
| 
      
 444 
     | 
    
         
            +
                  
         
     | 
| 
       439 
445 
     | 
    
         
             
                  class InstancesReencryptRequest
         
     | 
| 
       440 
446 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
       441 
447 
     | 
    
         | 
| 
         @@ -592,6 +598,18 @@ module Google 
     | 
|
| 
       592 
598 
     | 
    
         
             
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
       593 
599 
     | 
    
         
             
                  end
         
     | 
| 
       594 
600 
     | 
    
         | 
| 
      
 601 
     | 
    
         
            +
                  class PreCheckMajorVersionUpgradeContext
         
     | 
| 
      
 602 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
      
 603 
     | 
    
         
            +
                  
         
     | 
| 
      
 604 
     | 
    
         
            +
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
      
 605 
     | 
    
         
            +
                  end
         
     | 
| 
      
 606 
     | 
    
         
            +
                  
         
     | 
| 
      
 607 
     | 
    
         
            +
                  class PreCheckResponse
         
     | 
| 
      
 608 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
      
 609 
     | 
    
         
            +
                  
         
     | 
| 
      
 610 
     | 
    
         
            +
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
      
 611 
     | 
    
         
            +
                  end
         
     | 
| 
      
 612 
     | 
    
         
            +
                  
         
     | 
| 
       595 
613 
     | 
    
         
             
                  class PscAutoConnectionConfig
         
     | 
| 
       596 
614 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
       597 
615 
     | 
    
         | 
| 
         @@ -814,6 +832,12 @@ module Google 
     | 
|
| 
       814 
832 
     | 
    
         
             
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
       815 
833 
     | 
    
         
             
                  end
         
     | 
| 
       816 
834 
     | 
    
         | 
| 
      
 835 
     | 
    
         
            +
                  class Status
         
     | 
| 
      
 836 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
      
 837 
     | 
    
         
            +
                  
         
     | 
| 
      
 838 
     | 
    
         
            +
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
      
 839 
     | 
    
         
            +
                  end
         
     | 
| 
      
 840 
     | 
    
         
            +
                  
         
     | 
| 
       817 
841 
     | 
    
         
             
                  class SyncFlags
         
     | 
| 
       818 
842 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
       819 
843 
     | 
    
         | 
| 
         @@ -1683,6 +1707,14 @@ module Google 
     | 
|
| 
       1683 
1707 
     | 
    
         
             
                    end
         
     | 
| 
       1684 
1708 
     | 
    
         
             
                  end
         
     | 
| 
       1685 
1709 
     | 
    
         | 
| 
      
 1710 
     | 
    
         
            +
                  class InstancesPreCheckMajorVersionUpgradeRequest
         
     | 
| 
      
 1711 
     | 
    
         
            +
                    # @private
         
     | 
| 
      
 1712 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
      
 1713 
     | 
    
         
            +
                      property :pre_check_major_version_upgrade_context, as: 'preCheckMajorVersionUpgradeContext', class: Google::Apis::SqladminV1::PreCheckMajorVersionUpgradeContext, decorator: Google::Apis::SqladminV1::PreCheckMajorVersionUpgradeContext::Representation
         
     | 
| 
      
 1714 
     | 
    
         
            +
                  
         
     | 
| 
      
 1715 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1716 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1717 
     | 
    
         
            +
                  
         
     | 
| 
       1686 
1718 
     | 
    
         
             
                  class InstancesReencryptRequest
         
     | 
| 
       1687 
1719 
     | 
    
         
             
                    # @private
         
     | 
| 
       1688 
1720 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
         @@ -1874,6 +1906,8 @@ module Google 
     | 
|
| 
       1874 
1906 
     | 
    
         
             
                      property :kind, as: 'kind'
         
     | 
| 
       1875 
1907 
     | 
    
         
             
                      property :name, as: 'name'
         
     | 
| 
       1876 
1908 
     | 
    
         
             
                      property :operation_type, as: 'operationType'
         
     | 
| 
      
 1909 
     | 
    
         
            +
                      property :pre_check_major_version_upgrade_context, as: 'preCheckMajorVersionUpgradeContext', class: Google::Apis::SqladminV1::PreCheckMajorVersionUpgradeContext, decorator: Google::Apis::SqladminV1::PreCheckMajorVersionUpgradeContext::Representation
         
     | 
| 
      
 1910 
     | 
    
         
            +
                  
         
     | 
| 
       1877 
1911 
     | 
    
         
             
                      property :self_link, as: 'selfLink'
         
     | 
| 
       1878 
1912 
     | 
    
         
             
                      property :start_time, as: 'startTime'
         
     | 
| 
       1879 
1913 
     | 
    
         
             
                      property :status, as: 'status'
         
     | 
| 
         @@ -1982,6 +2016,25 @@ module Google 
     | 
|
| 
       1982 
2016 
     | 
    
         
             
                    end
         
     | 
| 
       1983 
2017 
     | 
    
         
             
                  end
         
     | 
| 
       1984 
2018 
     | 
    
         | 
| 
      
 2019 
     | 
    
         
            +
                  class PreCheckMajorVersionUpgradeContext
         
     | 
| 
      
 2020 
     | 
    
         
            +
                    # @private
         
     | 
| 
      
 2021 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
      
 2022 
     | 
    
         
            +
                      property :kind, as: 'kind'
         
     | 
| 
      
 2023 
     | 
    
         
            +
                      collection :pre_check_response, as: 'preCheckResponse', class: Google::Apis::SqladminV1::PreCheckResponse, decorator: Google::Apis::SqladminV1::PreCheckResponse::Representation
         
     | 
| 
      
 2024 
     | 
    
         
            +
                  
         
     | 
| 
      
 2025 
     | 
    
         
            +
                      property :target_database_version, as: 'targetDatabaseVersion'
         
     | 
| 
      
 2026 
     | 
    
         
            +
                    end
         
     | 
| 
      
 2027 
     | 
    
         
            +
                  end
         
     | 
| 
      
 2028 
     | 
    
         
            +
                  
         
     | 
| 
      
 2029 
     | 
    
         
            +
                  class PreCheckResponse
         
     | 
| 
      
 2030 
     | 
    
         
            +
                    # @private
         
     | 
| 
      
 2031 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
      
 2032 
     | 
    
         
            +
                      collection :actions_required, as: 'actionsRequired'
         
     | 
| 
      
 2033 
     | 
    
         
            +
                      property :message, as: 'message'
         
     | 
| 
      
 2034 
     | 
    
         
            +
                      property :message_type, as: 'messageType'
         
     | 
| 
      
 2035 
     | 
    
         
            +
                    end
         
     | 
| 
      
 2036 
     | 
    
         
            +
                  end
         
     | 
| 
      
 2037 
     | 
    
         
            +
                  
         
     | 
| 
       1985 
2038 
     | 
    
         
             
                  class PscAutoConnectionConfig
         
     | 
| 
       1986 
2039 
     | 
    
         
             
                    # @private
         
     | 
| 
       1987 
2040 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
         @@ -2013,6 +2066,8 @@ module Google 
     | 
|
| 
       2013 
2066 
     | 
    
         
             
                      property :partial_result, as: 'partialResult'
         
     | 
| 
       2014 
2067 
     | 
    
         
             
                      collection :rows, as: 'rows', class: Google::Apis::SqladminV1::Row, decorator: Google::Apis::SqladminV1::Row::Representation
         
     | 
| 
       2015 
2068 
     | 
    
         | 
| 
      
 2069 
     | 
    
         
            +
                      property :status, as: 'status', class: Google::Apis::SqladminV1::Status, decorator: Google::Apis::SqladminV1::Status::Representation
         
     | 
| 
      
 2070 
     | 
    
         
            +
                  
         
     | 
| 
       2016 
2071 
     | 
    
         
             
                    end
         
     | 
| 
       2017 
2072 
     | 
    
         
             
                  end
         
     | 
| 
       2018 
2073 
     | 
    
         | 
| 
         @@ -2023,6 +2078,8 @@ module Google 
     | 
|
| 
       2023 
2078 
     | 
    
         
             
                      property :enabled, as: 'enabled'
         
     | 
| 
       2024 
2079 
     | 
    
         
             
                      property :max_node_count, as: 'maxNodeCount'
         
     | 
| 
       2025 
2080 
     | 
    
         
             
                      property :min_node_count, as: 'minNodeCount'
         
     | 
| 
      
 2081 
     | 
    
         
            +
                      property :scale_in_cooldown_seconds, as: 'scaleInCooldownSeconds'
         
     | 
| 
      
 2082 
     | 
    
         
            +
                      property :scale_out_cooldown_seconds, as: 'scaleOutCooldownSeconds'
         
     | 
| 
       2026 
2083 
     | 
    
         
             
                      collection :target_metrics, as: 'targetMetrics', class: Google::Apis::SqladminV1::TargetMetric, decorator: Google::Apis::SqladminV1::TargetMetric::Representation
         
     | 
| 
       2027 
2084 
     | 
    
         | 
| 
       2028 
2085 
     | 
    
         
             
                    end
         
     | 
| 
         @@ -2106,6 +2163,7 @@ module Google 
     | 
|
| 
       2106 
2163 
     | 
    
         
             
                      property :advanced_machine_features, as: 'advancedMachineFeatures', class: Google::Apis::SqladminV1::AdvancedMachineFeatures, decorator: Google::Apis::SqladminV1::AdvancedMachineFeatures::Representation
         
     | 
| 
       2107 
2164 
     | 
    
         | 
| 
       2108 
2165 
     | 
    
         
             
                      collection :authorized_gae_applications, as: 'authorizedGaeApplications'
         
     | 
| 
      
 2166 
     | 
    
         
            +
                      property :auto_upgrade_enabled, as: 'autoUpgradeEnabled'
         
     | 
| 
       2109 
2167 
     | 
    
         
             
                      property :availability_type, as: 'availabilityType'
         
     | 
| 
       2110 
2168 
     | 
    
         
             
                      property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqladminV1::BackupConfiguration, decorator: Google::Apis::SqladminV1::BackupConfiguration::Representation
         
     | 
| 
       2111 
2169 
     | 
    
         | 
| 
         @@ -2196,6 +2254,8 @@ module Google 
     | 
|
| 
       2196 
2254 
     | 
    
         | 
| 
       2197 
2255 
     | 
    
         
             
                      collection :results, as: 'results', class: Google::Apis::SqladminV1::QueryResult, decorator: Google::Apis::SqladminV1::QueryResult::Representation
         
     | 
| 
       2198 
2256 
     | 
    
         | 
| 
      
 2257 
     | 
    
         
            +
                      property :status, as: 'status', class: Google::Apis::SqladminV1::Status, decorator: Google::Apis::SqladminV1::Status::Representation
         
     | 
| 
      
 2258 
     | 
    
         
            +
                  
         
     | 
| 
       2199 
2259 
     | 
    
         
             
                    end
         
     | 
| 
       2200 
2260 
     | 
    
         
             
                  end
         
     | 
| 
       2201 
2261 
     | 
    
         | 
| 
         @@ -2389,6 +2449,15 @@ module Google 
     | 
|
| 
       2389 
2449 
     | 
    
         
             
                    end
         
     | 
| 
       2390 
2450 
     | 
    
         
             
                  end
         
     | 
| 
       2391 
2451 
     | 
    
         | 
| 
      
 2452 
     | 
    
         
            +
                  class Status
         
     | 
| 
      
 2453 
     | 
    
         
            +
                    # @private
         
     | 
| 
      
 2454 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
      
 2455 
     | 
    
         
            +
                      property :code, as: 'code'
         
     | 
| 
      
 2456 
     | 
    
         
            +
                      collection :details, as: 'details'
         
     | 
| 
      
 2457 
     | 
    
         
            +
                      property :message, as: 'message'
         
     | 
| 
      
 2458 
     | 
    
         
            +
                    end
         
     | 
| 
      
 2459 
     | 
    
         
            +
                  end
         
     | 
| 
      
 2460 
     | 
    
         
            +
                  
         
     | 
| 
       2392 
2461 
     | 
    
         
             
                  class SyncFlags
         
     | 
| 
       2393 
2462 
     | 
    
         
             
                    # @private
         
     | 
| 
       2394 
2463 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
         @@ -2439,6 +2508,7 @@ module Google 
     | 
|
| 
       2439 
2508 
     | 
    
         
             
                      property :dual_password_type, as: 'dualPasswordType'
         
     | 
| 
       2440 
2509 
     | 
    
         
             
                      property :etag, as: 'etag'
         
     | 
| 
       2441 
2510 
     | 
    
         
             
                      property :host, as: 'host'
         
     | 
| 
      
 2511 
     | 
    
         
            +
                      property :iam_email, as: 'iamEmail'
         
     | 
| 
       2442 
2512 
     | 
    
         
             
                      property :iam_status, as: 'iamStatus'
         
     | 
| 
       2443 
2513 
     | 
    
         
             
                      property :instance, as: 'instance'
         
     | 
| 
       2444 
2514 
     | 
    
         
             
                      property :kind, as: 'kind'
         
     | 
| 
         @@ -30,7 +30,7 @@ module Google 
     | 
|
| 
       30 
30 
     | 
    
         
             
                  #    Sqladmin = Google::Apis::SqladminV1 # Alias the module
         
     | 
| 
       31 
31 
     | 
    
         
             
                  #    service = Sqladmin::SQLAdminService.new
         
     | 
| 
       32 
32 
     | 
    
         
             
                  #
         
     | 
| 
       33 
     | 
    
         
            -
                  # @see https:// 
     | 
| 
      
 33 
     | 
    
         
            +
                  # @see https://cloud.google.com/sql/docs
         
     | 
| 
       34 
34 
     | 
    
         
             
                  class SQLAdminService < Google::Apis::Core::BaseService
         
     | 
| 
       35 
35 
     | 
    
         
             
                    DEFAULT_ENDPOINT_TEMPLATE = "https://sqladmin.$UNIVERSE_DOMAIN$/"
         
     | 
| 
       36 
36 
     | 
    
         | 
| 
         @@ -1184,9 +1184,9 @@ module Google 
     | 
|
| 
       1184 
1184 
     | 
    
         | 
| 
       1185 
1185 
     | 
    
         
             
                    # Retrieves a resource containing information about a Cloud SQL instance.
         
     | 
| 
       1186 
1186 
     | 
    
         
             
                    # @param [String] project
         
     | 
| 
       1187 
     | 
    
         
            -
                    #   Project ID of the project that contains the instance.
         
     | 
| 
      
 1187 
     | 
    
         
            +
                    #   Required. Project ID of the project that contains the instance.
         
     | 
| 
       1188 
1188 
     | 
    
         
             
                    # @param [String] instance
         
     | 
| 
       1189 
     | 
    
         
            -
                    #   Database instance ID. This does not include the project ID.
         
     | 
| 
      
 1189 
     | 
    
         
            +
                    #   Required. Database instance ID. This does not include the project ID.
         
     | 
| 
       1190 
1190 
     | 
    
         
             
                    # @param [String] fields
         
     | 
| 
       1191 
1191 
     | 
    
         
             
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
       1192 
1192 
     | 
    
         
             
                    # @param [String] quota_user
         
     | 
| 
         @@ -1443,6 +1443,42 @@ module Google 
     | 
|
| 
       1443 
1443 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       1444 
1444 
     | 
    
         
             
                    end
         
     | 
| 
       1445 
1445 
     | 
    
         | 
| 
      
 1446 
     | 
    
         
            +
                    # Execute MVU Pre-checks
         
     | 
| 
      
 1447 
     | 
    
         
            +
                    # @param [String] project
         
     | 
| 
      
 1448 
     | 
    
         
            +
                    #   Required. Project ID of the project that contains the instance.
         
     | 
| 
      
 1449 
     | 
    
         
            +
                    # @param [String] instance
         
     | 
| 
      
 1450 
     | 
    
         
            +
                    #   Required. Cloud SQL instance ID. This does not include the project ID.
         
     | 
| 
      
 1451 
     | 
    
         
            +
                    # @param [Google::Apis::SqladminV1::InstancesPreCheckMajorVersionUpgradeRequest] instances_pre_check_major_version_upgrade_request_object
         
     | 
| 
      
 1452 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 1453 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 1454 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 1455 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 1456 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 1457 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 1458 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 1459 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1460 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 1461 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::SqladminV1::Operation] parsed result object
         
     | 
| 
      
 1462 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 1463 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1464 
     | 
    
         
            +
                    # @return [Google::Apis::SqladminV1::Operation]
         
     | 
| 
      
 1465 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1466 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 1467 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 1468 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 1469 
     | 
    
         
            +
                    def pre_instance_check_major_version_upgrade(project, instance, instances_pre_check_major_version_upgrade_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 1470 
     | 
    
         
            +
                      command = make_simple_command(:post, 'v1/projects/{project}/instances/{instance}/preCheckMajorVersionUpgrade', options)
         
     | 
| 
      
 1471 
     | 
    
         
            +
                      command.request_representation = Google::Apis::SqladminV1::InstancesPreCheckMajorVersionUpgradeRequest::Representation
         
     | 
| 
      
 1472 
     | 
    
         
            +
                      command.request_object = instances_pre_check_major_version_upgrade_request_object
         
     | 
| 
      
 1473 
     | 
    
         
            +
                      command.response_representation = Google::Apis::SqladminV1::Operation::Representation
         
     | 
| 
      
 1474 
     | 
    
         
            +
                      command.response_class = Google::Apis::SqladminV1::Operation
         
     | 
| 
      
 1475 
     | 
    
         
            +
                      command.params['project'] = project unless project.nil?
         
     | 
| 
      
 1476 
     | 
    
         
            +
                      command.params['instance'] = instance unless instance.nil?
         
     | 
| 
      
 1477 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 1478 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 1479 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 1480 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1481 
     | 
    
         
            +
                    
         
     | 
| 
       1446 
1482 
     | 
    
         
             
                    # Promotes the read replica instance to be an independent Cloud SQL primary
         
     | 
| 
       1447 
1483 
     | 
    
         
             
                    # instance. Using this operation might cause your instance to restart.
         
     | 
| 
       1448 
1484 
     | 
    
         
             
                    # @param [String] project
         
     | 
| 
         @@ -1913,9 +1949,9 @@ module Google 
     | 
|
| 
       1913 
1949 
     | 
    
         | 
| 
       1914 
1950 
     | 
    
         
             
                    # Retrieves an instance operation that has been performed on an instance.
         
     | 
| 
       1915 
1951 
     | 
    
         
             
                    # @param [String] project
         
     | 
| 
       1916 
     | 
    
         
            -
                    #   Project ID of the project that contains the instance.
         
     | 
| 
      
 1952 
     | 
    
         
            +
                    #   Required. Project ID of the project that contains the instance.
         
     | 
| 
       1917 
1953 
     | 
    
         
             
                    # @param [String] operation
         
     | 
| 
       1918 
     | 
    
         
            -
                    #   Instance operation ID.
         
     | 
| 
      
 1954 
     | 
    
         
            +
                    #   Required. Instance operation ID.
         
     | 
| 
       1919 
1955 
     | 
    
         
             
                    # @param [String] fields
         
     | 
| 
       1920 
1956 
     | 
    
         
             
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
       1921 
1957 
     | 
    
         
             
                    # @param [String] quota_user
         
     | 
| 
         @@ -23,7 +23,7 @@ module Google 
     | 
|
| 
       23 
23 
     | 
    
         
             
                #
         
     | 
| 
       24 
24 
     | 
    
         
             
                # API for Cloud SQL database instance management
         
     | 
| 
       25 
25 
     | 
    
         
             
                #
         
     | 
| 
       26 
     | 
    
         
            -
                # @see https:// 
     | 
| 
      
 26 
     | 
    
         
            +
                # @see https://cloud.google.com/sql/docs
         
     | 
| 
       27 
27 
     | 
    
         
             
                module SqladminV1
         
     | 
| 
       28 
28 
     | 
    
         
             
                  # Version of the Cloud SQL Admin API this client connects to.
         
     | 
| 
       29 
29 
     | 
    
         
             
                  # This is NOT the gem version.
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: google-apis-sqladmin_v1
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.87.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Google LLC
         
     | 
| 
         @@ -57,7 +57,7 @@ licenses: 
     | 
|
| 
       57 
57 
     | 
    
         
             
            metadata:
         
     | 
| 
       58 
58 
     | 
    
         
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         
     | 
| 
       59 
59 
     | 
    
         
             
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1/CHANGELOG.md
         
     | 
| 
       60 
     | 
    
         
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0. 
     | 
| 
      
 60 
     | 
    
         
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.87.0
         
     | 
| 
       61 
61 
     | 
    
         
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1
         
     | 
| 
       62 
62 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       63 
63 
     | 
    
         
             
            require_paths:
         
     |