Class: Google::Apis::SqladminV1beta4::PreCheckMajorVersionUpgradeContext
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta4::PreCheckMajorVersionUpgradeContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sqladmin_v1beta4/classes.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb
Overview
Pre-check major version upgrade context.
Instance Attribute Summary collapse
-
#kind ⇒ String
Optional.
-
#pre_check_response ⇒ Array<Google::Apis::SqladminV1beta4::PreCheckResponse>
Output only.
-
#target_database_version ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PreCheckMajorVersionUpgradeContext
constructor
A new instance of PreCheckMajorVersionUpgradeContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PreCheckMajorVersionUpgradeContext
Returns a new instance of PreCheckMajorVersionUpgradeContext.
4628 4629 4630 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4628 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Optional. This is always sql#preCheckMajorVersionUpgradeContext.
Corresponds to the JSON property kind
4616 4617 4618 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4616 def kind @kind end |
#pre_check_response ⇒ Array<Google::Apis::SqladminV1beta4::PreCheckResponse>
Output only. The responses from the precheck operation.
Corresponds to the JSON property preCheckResponse
4621 4622 4623 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4621 def pre_check_response @pre_check_response end |
#target_database_version ⇒ String
Required. The target database version to upgrade to.
Corresponds to the JSON property targetDatabaseVersion
4626 4627 4628 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4626 def target_database_version @target_database_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4633 4634 4635 4636 4637 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4633 def update!(**args) @kind = args[:kind] if args.key?(:kind) @pre_check_response = args[:pre_check_response] if args.key?(:pre_check_response) @target_database_version = args[:target_database_version] if args.key?(:target_database_version) end |