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.



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

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

Instance Attribute Details

#confidential_tpm_typeString

Corresponds to the JSON property confidentialTpmType

Returns:

  • (String)


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

def confidential_tpm_type
  @confidential_tpm_type
end

#sev_snp_irq_modeString

Corresponds to the JSON property sevSnpIrqMode

Returns:

  • (String)


10239
10240
10241
# File 'lib/google/apis/compute_alpha/classes.rb', line 10239

def sev_snp_irq_mode
  @sev_snp_irq_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10246
10247
10248
10249
# File 'lib/google/apis/compute_alpha/classes.rb', line 10246

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