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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LocationMetadata

Returns a new instance of LocationMetadata.



2629
2630
2631
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2629

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)


2612
2613
2614
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2612

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)


2619
2620
2621
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2619

def hsm_available
  @hsm_available
end

#hsm_single_tenant_availableBoolean 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

Returns:

  • (Boolean)


2626
2627
2628
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2626

def hsm_single_tenant_available
  @hsm_single_tenant_available
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2634
2635
2636
2637
2638
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2634

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