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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/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

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InitialStateConfig

Returns a new instance of InitialStateConfig.



9867
9868
9869
# File 'generated/google/apis/compute_v1/classes.rb', line 9867

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

Instance Attribute Details

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

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



9850
9851
9852
# File 'generated/google/apis/compute_v1/classes.rb', line 9850

def dbs
  @dbs
end

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

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



9855
9856
9857
# File 'generated/google/apis/compute_v1/classes.rb', line 9855

def dbxs
  @dbxs
end

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

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



9860
9861
9862
# File 'generated/google/apis/compute_v1/classes.rb', line 9860

def keks
  @keks
end

#pkGoogle::Apis::ComputeV1::FileContentBuffer

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



9865
9866
9867
# File 'generated/google/apis/compute_v1/classes.rb', line 9865

def pk
  @pk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9872
9873
9874
9875
9876
9877
# File 'generated/google/apis/compute_v1/classes.rb', line 9872

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