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

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

A shielded Instance identity entry.

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) ⇒ ShieldedInstanceIdentity

Returns a new instance of ShieldedInstanceIdentity.



24460
24461
24462
# File 'generated/google/apis/compute_v1/classes.rb', line 24460

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

Instance Attribute Details

#encryption_keyGoogle::Apis::ComputeV1::ShieldedInstanceIdentityEntry

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



24447
24448
24449
# File 'generated/google/apis/compute_v1/classes.rb', line 24447

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)


24453
24454
24455
# File 'generated/google/apis/compute_v1/classes.rb', line 24453

def kind
  @kind
end

#signing_keyGoogle::Apis::ComputeV1::ShieldedInstanceIdentityEntry

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



24458
24459
24460
# File 'generated/google/apis/compute_v1/classes.rb', line 24458

def signing_key
  @signing_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24465
24466
24467
24468
24469
# File 'generated/google/apis/compute_v1/classes.rb', line 24465

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