Class: Google::Apis::NotebooksV1::UpdateShieldedInstanceConfigRequest

Inherits:
Object
  • Object
show all
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

Request for updating the Shielded Instance config for a notebook instance. You can only use this method on a stopped instance

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateShieldedInstanceConfigRequest

Returns a new instance of UpdateShieldedInstanceConfigRequest.



3023
3024
3025
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3023

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#shielded_instance_configGoogle::Apis::NotebooksV1::ShieldedInstanceConfig

A set of Shielded Instance options. See Images using supported Shielded VM features. Not all combinations are valid. Corresponds to the JSON property shieldedInstanceConfig



3021
3022
3023
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3021

def shielded_instance_config
  @shielded_instance_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3028
3029
3030
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3028

def update!(**args)
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
end