class Google::Apis::NotebooksV1::IsInstanceUpgradeableResponse

Response for checking if a notebook instance is upgradeable.

Attributes

upgrade_image[RW]

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]

upgrade_info[RW]

Additional information about upgrade. Corresponds to the JSON property `upgradeInfo` @return [String]

upgrade_version[RW]

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]

upgradeable[RW]

If an instance is upgradeable. Corresponds to the JSON property `upgradeable` @return [Boolean]

upgradeable?[RW]

If an instance is upgradeable. Corresponds to the JSON property `upgradeable` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/notebooks_v1/classes.rb, line 1019
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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