Class: Google::Apis::NotebooksV1::InstanceConfig
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV1::InstanceConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/notebooks_v1/classes.rb,
lib/google/apis/notebooks_v1/representations.rb,
lib/google/apis/notebooks_v1/representations.rb
Overview
Notebook instance configurations that can be updated.
Instance Attribute Summary collapse
-
#enable_health_monitoring ⇒ Boolean
(also: #enable_health_monitoring?)
Verifies core internal services are running.
-
#notebook_upgrade_schedule ⇒ String
Cron expression in UTC timezone, used to schedule instance auto upgrade.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceConfig
constructor
A new instance of InstanceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstanceConfig
Returns a new instance of InstanceConfig.
1163 1164 1165 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1163 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_health_monitoring ⇒ Boolean Also known as: enable_health_monitoring?
Verifies core internal services are running.
Corresponds to the JSON property enableHealthMonitoring
1154 1155 1156 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1154 def enable_health_monitoring @enable_health_monitoring end |
#notebook_upgrade_schedule ⇒ String
Cron expression in UTC timezone, used to schedule instance auto upgrade.
Please follow the cron format.
Corresponds to the JSON property notebookUpgradeSchedule
1161 1162 1163 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1161 def notebook_upgrade_schedule @notebook_upgrade_schedule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1168 1169 1170 1171 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1168 def update!(**args) @enable_health_monitoring = args[:enable_health_monitoring] if args.key?(:enable_health_monitoring) @notebook_upgrade_schedule = args[:notebook_upgrade_schedule] if args.key?(:notebook_upgrade_schedule) end |