Class: Google::Apis::ComputeAlpha::ShieldedVmIdentity

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

A Shielded VM Identity.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ShieldedVmIdentity

Returns a new instance of ShieldedVmIdentity.



42235
42236
42237
# File 'lib/google/apis/compute_alpha/classes.rb', line 42235

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

Instance Attribute Details

#encryption_keyGoogle::Apis::ComputeAlpha::ShieldedVmIdentityEntry

A Shielded Instance Identity Entry. Corresponds to the JSON property encryptionKey



42222
42223
42224
# File 'lib/google/apis/compute_alpha/classes.rb', line 42222

def encryption_key
  @encryption_key
end

#kindString

[Output Only] Type of the resource. Always compute#shieldedVmIdentity for shielded VM identity entry. Corresponds to the JSON property kind

Returns:

  • (String)


42228
42229
42230
# File 'lib/google/apis/compute_alpha/classes.rb', line 42228

def kind
  @kind
end

#signing_keyGoogle::Apis::ComputeAlpha::ShieldedVmIdentityEntry

A Shielded Instance Identity Entry. Corresponds to the JSON property signingKey



42233
42234
42235
# File 'lib/google/apis/compute_alpha/classes.rb', line 42233

def signing_key
  @signing_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



42240
42241
42242
42243
42244
# File 'lib/google/apis/compute_alpha/classes.rb', line 42240

def update!(**args)
  @encryption_key = args[:encryption_key] if args.key?(:encryption_key)
  @kind = args[:kind] if args.key?(:kind)
  @signing_key = args[:signing_key] if args.key?(:signing_key)
end