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.



2768
2769
2770
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2768

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

Instance Attribute Details

#shielded_instance_configGoogle::Apis::NotebooksV1::ShieldedInstanceConfig

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



2766
2767
2768
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2766

def shielded_instance_config
  @shielded_instance_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2773
2774
2775
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2773

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