Class: Google::Apis::CloudkmsV1::LocationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::LocationMetadata
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudkms_v1/classes.rb,
lib/google/apis/cloudkms_v1/representations.rb,
lib/google/apis/cloudkms_v1/representations.rb
Overview
Cloud KMS metadata for the given google.cloud.location.Location.
Instance Attribute Summary collapse
-
#ekm_available ⇒ Boolean
(also: #ekm_available?)
Indicates whether CryptoKeys with protection_level EXTERNAL can be created in this location.
-
#hsm_available ⇒ Boolean
(also: #hsm_available?)
Indicates whether CryptoKeys with protection_level HSM can be created in this location.
-
#hsm_single_tenant_available ⇒ Boolean
(also: #hsm_single_tenant_available?)
Indicates whether CryptoKeys with protection_level HSM_SINGLE_TENANT 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.
Constructor Details
#initialize(**args) ⇒ LocationMetadata
Returns a new instance of LocationMetadata.
2427 2428 2429 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2427 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ekm_available ⇒ Boolean Also known as: ekm_available?
Indicates whether CryptoKeys with protection_level EXTERNAL can be created in
this location.
Corresponds to the JSON property ekmAvailable
2410 2411 2412 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2410 def ekm_available @ekm_available end |
#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
2417 2418 2419 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2417 def hsm_available @hsm_available end |
#hsm_single_tenant_available ⇒ Boolean Also known as: hsm_single_tenant_available?
Indicates whether CryptoKeys with protection_level HSM_SINGLE_TENANT can be
created in this location.
Corresponds to the JSON property hsmSingleTenantAvailable
2424 2425 2426 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2424 def hsm_single_tenant_available @hsm_single_tenant_available end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2432 2433 2434 2435 2436 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2432 def update!(**args) @ekm_available = args[:ekm_available] if args.key?(:ekm_available) @hsm_available = args[:hsm_available] if args.key?(:hsm_available) @hsm_single_tenant_available = args[:hsm_single_tenant_available] if args.key?(:hsm_single_tenant_available) end |