Class: Google::Apis::BackupdrV1::ConfidentialInstanceConfig

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

Overview

A set of Confidential Instance options.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfidentialInstanceConfig

Returns a new instance of ConfidentialInstanceConfig.



1655
1656
1657
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1655

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

Instance Attribute Details

#enable_confidential_computeBoolean Also known as: enable_confidential_compute?

Optional. Defines whether the instance should have confidential compute enabled. Corresponds to the JSON property enableConfidentialCompute

Returns:

  • (Boolean)


1652
1653
1654
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1652

def enable_confidential_compute
  @enable_confidential_compute
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1660
1661
1662
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1660

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