Class: Google::Apis::CloudkmsV1::LocationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::LocationMetadata
- Defined in:
- generated/google/apis/cloudkms_v1/classes.rb,
generated/google/apis/cloudkms_v1/representations.rb,
generated/google/apis/cloudkms_v1/representations.rb
Overview
Cloud KMS metadata for the given google.cloud.location.Location.
Instance Attribute Summary collapse
-
#hsm_available ⇒ Boolean
(also: #hsm_available?)
Indicates whether CryptoKeys with protection_level HSM can be created in this location.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LocationMetadata
constructor
A new instance of LocationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ LocationMetadata
Returns a new instance of LocationMetadata
918 919 920 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 918 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hsm_available ⇒ Boolean Also known as: hsm_available?
Indicates whether CryptoKeys with
protection_level
HSM can be created in this location.
Corresponds to the JSON property hsmAvailable
915 916 917 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 915 def hsm_available @hsm_available end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
923 924 925 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 923 def update!(**args) @hsm_available = args[:hsm_available] if args.key?(:hsm_available) end |