class Google::Apis::NotebooksV1::IsInstanceUpgradeableResponse
Response for checking if a notebook instance is upgradeable.
Attributes
The new image self link 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 `upgradeImage` @return [String]
Additional information about upgrade. Corresponds to the JSON property `upgradeInfo` @return [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` @return [String]
If an instance is upgradeable. Corresponds to the JSON property `upgradeable` @return [Boolean]
If an instance is upgradeable. Corresponds to the JSON property `upgradeable` @return [Boolean]
Public Class Methods
# File lib/google/apis/notebooks_v1/classes.rb, line 1019 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/notebooks_v1/classes.rb, line 1024 def update!(**args) @upgrade_image = args[:upgrade_image] if args.key?(:upgrade_image) @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