Class: Google::Apis::NotebooksV1::IsInstanceUpgradeableResponse
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV1::IsInstanceUpgradeableResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/notebooks_v1/classes.rb,
generated/google/apis/notebooks_v1/representations.rb,
generated/google/apis/notebooks_v1/representations.rb
Overview
Response for checking if a notebook instance is upgradeable.
Instance Attribute Summary collapse
-
#upgrade_info ⇒ String
Additional information about upgrade.
-
#upgrade_version ⇒ String
The version this instance will be upgraded to if calling the upgrade endpoint.
-
#upgradeable ⇒ Boolean
(also: #upgradeable?)
If an instance is upgradeable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IsInstanceUpgradeableResponse
constructor
A new instance of IsInstanceUpgradeableResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IsInstanceUpgradeableResponse
Returns a new instance of IsInstanceUpgradeableResponse.
667 668 669 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 667 def initialize(**args) update!(**args) end |
Instance Attribute Details
#upgrade_info ⇒ String
Additional information about upgrade.
Corresponds to the JSON property upgradeInfo
653 654 655 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 653 def upgrade_info @upgrade_info end |
#upgrade_version ⇒ String
The version this instance will be upgraded to if calling the upgrade endpoint.
This field will only be populated if field upgradeable is true.
Corresponds to the JSON property upgradeVersion
659 660 661 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 659 def upgrade_version @upgrade_version end |
#upgradeable ⇒ Boolean Also known as: upgradeable?
If an instance is upgradeable.
Corresponds to the JSON property upgradeable
664 665 666 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 664 def upgradeable @upgradeable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
672 673 674 675 676 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 672 def update!(**args) @upgrade_info = args[:upgrade_info] if args.key?(:upgrade_info) @upgrade_version = args[:upgrade_version] if args.key?(:upgrade_version) @upgradeable = args[:upgradeable] if args.key?(:upgradeable) end |