Class: Google::Apis::NotebooksV2::Config
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV2::Config
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/notebooks_v2/classes.rb,
lib/google/apis/notebooks_v2/representations.rb,
lib/google/apis/notebooks_v2/representations.rb
Overview
Response for getting WbI configurations in a location
Instance Attribute Summary collapse
-
#available_images ⇒ Array<Google::Apis::NotebooksV2::ImageRelease>
Output only.
-
#default_values ⇒ Google::Apis::NotebooksV2::DefaultValues
DefaultValues represents the default configuration values.
-
#supported_values ⇒ Google::Apis::NotebooksV2::SupportedValues
SupportedValues represents the values supported by the configuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Config
constructor
A new instance of Config.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Config
Returns a new instance of Config.
267 268 269 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 267 def initialize(**args) update!(**args) end |
Instance Attribute Details
#available_images ⇒ Array<Google::Apis::NotebooksV2::ImageRelease>
Output only. The list of available images to create a WbI.
Corresponds to the JSON property availableImages
255 256 257 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 255 def available_images @available_images end |
#default_values ⇒ Google::Apis::NotebooksV2::DefaultValues
DefaultValues represents the default configuration values.
Corresponds to the JSON property defaultValues
260 261 262 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 260 def default_values @default_values end |
#supported_values ⇒ Google::Apis::NotebooksV2::SupportedValues
SupportedValues represents the values supported by the configuration.
Corresponds to the JSON property supportedValues
265 266 267 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 265 def supported_values @supported_values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
272 273 274 275 276 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 272 def update!(**args) @available_images = args[:available_images] if args.key?(:available_images) @default_values = args[:default_values] if args.key?(:default_values) @supported_values = args[:supported_values] if args.key?(:supported_values) end |