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.



9971
9972
9973
# File 'lib/google/apis/compute_alpha/classes.rb', line 9971

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

Instance Attribute Details

#confidential_tpm_typeString

Corresponds to the JSON property confidentialTpmType

Returns:

  • (String)


9964
9965
9966
# File 'lib/google/apis/compute_alpha/classes.rb', line 9964

def confidential_tpm_type
  @confidential_tpm_type
end

#sev_snp_irq_modeString

Corresponds to the JSON property sevSnpIrqMode

Returns:

  • (String)


9969
9970
9971
# File 'lib/google/apis/compute_alpha/classes.rb', line 9969

def sev_snp_irq_mode
  @sev_snp_irq_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9976
9977
9978
9979
# File 'lib/google/apis/compute_alpha/classes.rb', line 9976

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