Class: Google::Apis::ComputeV1::InitialStateConfig

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

Overview

Initial State for shielded instance, these are public keys which are safe to store in public

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InitialStateConfig

Returns a new instance of InitialStateConfig.



14519
14520
14521
# File 'lib/google/apis/compute_v1/classes.rb', line 14519

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

Instance Attribute Details

#dbsArray<Google::Apis::ComputeV1::FileContentBuffer>

The Key Database (db). Corresponds to the JSON property dbs



14502
14503
14504
# File 'lib/google/apis/compute_v1/classes.rb', line 14502

def dbs
  @dbs
end

#dbxsArray<Google::Apis::ComputeV1::FileContentBuffer>

The forbidden key database (dbx). Corresponds to the JSON property dbxs



14507
14508
14509
# File 'lib/google/apis/compute_v1/classes.rb', line 14507

def dbxs
  @dbxs
end

#keksArray<Google::Apis::ComputeV1::FileContentBuffer>

The Key Exchange Key (KEK). Corresponds to the JSON property keks



14512
14513
14514
# File 'lib/google/apis/compute_v1/classes.rb', line 14512

def keks
  @keks
end

#pkGoogle::Apis::ComputeV1::FileContentBuffer

The Platform Key (PK). Corresponds to the JSON property pk



14517
14518
14519
# File 'lib/google/apis/compute_v1/classes.rb', line 14517

def pk
  @pk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14524
14525
14526
14527
14528
14529
# File 'lib/google/apis/compute_v1/classes.rb', line 14524

def update!(**args)
  @dbs = args[:dbs] if args.key?(:dbs)
  @dbxs = args[:dbxs] if args.key?(:dbxs)
  @keks = args[:keks] if args.key?(:keks)
  @pk = args[:pk] if args.key?(:pk)
end