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.



8705
8706
8707
# File 'lib/google/apis/compute_alpha/classes.rb', line 8705

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

Instance Attribute Details

#confidential_tpm_typeString

Corresponds to the JSON property confidentialTpmType

Returns:

  • (String)


8698
8699
8700
# File 'lib/google/apis/compute_alpha/classes.rb', line 8698

def confidential_tpm_type
  @confidential_tpm_type
end

#sev_snp_irq_modeString

Corresponds to the JSON property sevSnpIrqMode

Returns:

  • (String)


8703
8704
8705
# File 'lib/google/apis/compute_alpha/classes.rb', line 8703

def sev_snp_irq_mode
  @sev_snp_irq_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8710
8711
8712
8713
# File 'lib/google/apis/compute_alpha/classes.rb', line 8710

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