Class: Google::Apis::ComputeAlpha::ConfidentialParavisorConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Overview

A set of Confidential Paravisor (SVSM) options.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfidentialParavisorConfig

Returns a new instance of ConfidentialParavisorConfig.



10219
10220
10221
# File 'lib/google/apis/compute_alpha/classes.rb', line 10219

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

Instance Attribute Details

#confidential_tpm_typeString

Corresponds to the JSON property confidentialTpmType

Returns:

  • (String)


10212
10213
10214
# File 'lib/google/apis/compute_alpha/classes.rb', line 10212

def confidential_tpm_type
  @confidential_tpm_type
end

#sev_snp_irq_modeString

Corresponds to the JSON property sevSnpIrqMode

Returns:

  • (String)


10217
10218
10219
# File 'lib/google/apis/compute_alpha/classes.rb', line 10217

def sev_snp_irq_mode
  @sev_snp_irq_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10224
10225
10226
10227
# File 'lib/google/apis/compute_alpha/classes.rb', line 10224

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