Class: Google::Apis::CloudkmsV1::LocationMetadata

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LocationMetadata

Returns a new instance of LocationMetadata.



1377
1378
1379
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1377

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

Instance Attribute Details

#ekm_availableBoolean Also known as: ekm_available?

Indicates whether CryptoKeys with protection_level EXTERNAL can be created in this location. Corresponds to the JSON property ekmAvailable

Returns:

  • (Boolean)


1367
1368
1369
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1367

def ekm_available
  @ekm_available
end

#hsm_availableBoolean Also known as: hsm_available?

Indicates whether CryptoKeys with protection_level HSM can be created in this location. Corresponds to the JSON property hsmAvailable

Returns:

  • (Boolean)


1374
1375
1376
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1374

def hsm_available
  @hsm_available
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1382
1383
1384
1385
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1382

def update!(**args)
  @ekm_available = args[:ekm_available] if args.key?(:ekm_available)
  @hsm_available = args[:hsm_available] if args.key?(:hsm_available)
end