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.



2974
2975
2976
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2974

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



2972
2973
2974
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2972

def shielded_instance_config
  @shielded_instance_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2979
2980
2981
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2979

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