Class: Google::Apis::ComputeV1::ShieldedInstanceIdentity

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

A Shielded Instance Identity.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ShieldedInstanceIdentity

Returns a new instance of ShieldedInstanceIdentity.



57254
57255
57256
# File 'lib/google/apis/compute_v1/classes.rb', line 57254

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

Instance Attribute Details

#ecc_p256_encryption_keyGoogle::Apis::ComputeV1::ShieldedInstanceIdentityEntry

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



57230
57231
57232
# File 'lib/google/apis/compute_v1/classes.rb', line 57230

def ecc_p256_encryption_key
  @ecc_p256_encryption_key
end

#ecc_p256_signing_keyGoogle::Apis::ComputeV1::ShieldedInstanceIdentityEntry

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



57235
57236
57237
# File 'lib/google/apis/compute_v1/classes.rb', line 57235

def ecc_p256_signing_key
  @ecc_p256_signing_key
end

#encryption_keyGoogle::Apis::ComputeV1::ShieldedInstanceIdentityEntry

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



57240
57241
57242
# File 'lib/google/apis/compute_v1/classes.rb', line 57240

def encryption_key
  @encryption_key
end

#kindString

Output only. [Output Only] Type of the resource. Alwayscompute# shieldedInstanceIdentity for shielded Instance identity entry. Corresponds to the JSON property kind

Returns:

  • (String)


57247
57248
57249
# File 'lib/google/apis/compute_v1/classes.rb', line 57247

def kind
  @kind
end

#signing_keyGoogle::Apis::ComputeV1::ShieldedInstanceIdentityEntry

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



57252
57253
57254
# File 'lib/google/apis/compute_v1/classes.rb', line 57252

def signing_key
  @signing_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



57259
57260
57261
57262
57263
57264
57265
# File 'lib/google/apis/compute_v1/classes.rb', line 57259

def update!(**args)
  @ecc_p256_encryption_key = args[:ecc_p256_encryption_key] if args.key?(:ecc_p256_encryption_key)
  @ecc_p256_signing_key = args[:ecc_p256_signing_key] if args.key?(:ecc_p256_signing_key)
  @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