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

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LocationMetadata

Returns a new instance of LocationMetadata



1136
1137
1138
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1136

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

Instance Attribute Details

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


1133
1134
1135
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1133

def hsm_available
  @hsm_available
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1141
1142
1143
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1141

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