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.



2929
2930
2931
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2929

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



2927
2928
2929
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2927

def shielded_instance_config
  @shielded_instance_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2934
2935
2936
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2934

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