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.



10236
10237
10238
# File 'lib/google/apis/compute_alpha/classes.rb', line 10236

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

Instance Attribute Details

#confidential_tpm_typeString

Corresponds to the JSON property confidentialTpmType

Returns:

  • (String)


10229
10230
10231
# File 'lib/google/apis/compute_alpha/classes.rb', line 10229

def confidential_tpm_type
  @confidential_tpm_type
end

#sev_snp_irq_modeString

Corresponds to the JSON property sevSnpIrqMode

Returns:

  • (String)


10234
10235
10236
# File 'lib/google/apis/compute_alpha/classes.rb', line 10234

def sev_snp_irq_mode
  @sev_snp_irq_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10241
10242
10243
10244
# File 'lib/google/apis/compute_alpha/classes.rb', line 10241

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