Class: Google::Apis::ComputeAlpha::ShieldedInstanceIdentity

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 Instance Identity.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ShieldedInstanceIdentity

Returns a new instance of ShieldedInstanceIdentity.



38883
38884
38885
# File 'lib/google/apis/compute_alpha/classes.rb', line 38883

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

Instance Attribute Details

#ecc_p256_encryption_keyGoogle::Apis::ComputeAlpha::ShieldedInstanceIdentityEntry

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



38860
38861
38862
# File 'lib/google/apis/compute_alpha/classes.rb', line 38860

def ecc_p256_encryption_key
  @ecc_p256_encryption_key
end

#ecc_p256_signing_keyGoogle::Apis::ComputeAlpha::ShieldedInstanceIdentityEntry

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



38865
38866
38867
# File 'lib/google/apis/compute_alpha/classes.rb', line 38865

def ecc_p256_signing_key
  @ecc_p256_signing_key
end

#encryption_keyGoogle::Apis::ComputeAlpha::ShieldedInstanceIdentityEntry

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



38870
38871
38872
# File 'lib/google/apis/compute_alpha/classes.rb', line 38870

def encryption_key
  @encryption_key
end

#kindString

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

Returns:

  • (String)


38876
38877
38878
# File 'lib/google/apis/compute_alpha/classes.rb', line 38876

def kind
  @kind
end

#signing_keyGoogle::Apis::ComputeAlpha::ShieldedInstanceIdentityEntry

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



38881
38882
38883
# File 'lib/google/apis/compute_alpha/classes.rb', line 38881

def signing_key
  @signing_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



38888
38889
38890
38891
38892
38893
38894
# File 'lib/google/apis/compute_alpha/classes.rb', line 38888

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