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.



3124
3125
3126
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3124

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



3122
3123
3124
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3122

def shielded_instance_config
  @shielded_instance_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3129
3130
3131
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3129

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