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.



21455
21456
21457
# File 'lib/google/apis/compute_v1/classes.rb', line 21455

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

Instance Attribute Details

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

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



21438
21439
21440
# File 'lib/google/apis/compute_v1/classes.rb', line 21438

def dbs
  @dbs
end

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

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



21443
21444
21445
# File 'lib/google/apis/compute_v1/classes.rb', line 21443

def dbxs
  @dbxs
end

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

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



21448
21449
21450
# File 'lib/google/apis/compute_v1/classes.rb', line 21448

def keks
  @keks
end

#pkGoogle::Apis::ComputeV1::FileContentBuffer

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



21453
21454
21455
# File 'lib/google/apis/compute_v1/classes.rb', line 21453

def pk
  @pk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21460
21461
21462
21463
21464
21465
# File 'lib/google/apis/compute_v1/classes.rb', line 21460

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