Class: Google::Apis::ComputeAlpha::InitialStateConfig

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

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.



15060
15061
15062
# File 'lib/google/apis/compute_alpha/classes.rb', line 15060

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

Instance Attribute Details

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

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



15043
15044
15045
# File 'lib/google/apis/compute_alpha/classes.rb', line 15043

def dbs
  @dbs
end

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

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



15048
15049
15050
# File 'lib/google/apis/compute_alpha/classes.rb', line 15048

def dbxs
  @dbxs
end

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

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



15053
15054
15055
# File 'lib/google/apis/compute_alpha/classes.rb', line 15053

def keks
  @keks
end

#pkGoogle::Apis::ComputeAlpha::FileContentBuffer

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



15058
15059
15060
# File 'lib/google/apis/compute_alpha/classes.rb', line 15058

def pk
  @pk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15065
15066
15067
15068
15069
15070
# File 'lib/google/apis/compute_alpha/classes.rb', line 15065

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