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.



12500
12501
12502
# File 'lib/google/apis/compute_v1/classes.rb', line 12500

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

Instance Attribute Details

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

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



12483
12484
12485
# File 'lib/google/apis/compute_v1/classes.rb', line 12483

def dbs
  @dbs
end

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

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



12488
12489
12490
# File 'lib/google/apis/compute_v1/classes.rb', line 12488

def dbxs
  @dbxs
end

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

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



12493
12494
12495
# File 'lib/google/apis/compute_v1/classes.rb', line 12493

def keks
  @keks
end

#pkGoogle::Apis::ComputeV1::FileContentBuffer

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



12498
12499
12500
# File 'lib/google/apis/compute_v1/classes.rb', line 12498

def pk
  @pk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12505
12506
12507
12508
12509
12510
# File 'lib/google/apis/compute_v1/classes.rb', line 12505

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