Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSingleRegionKey
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSingleRegionKey
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Metadata for single-regional CMEKs.
Instance Attribute Summary collapse
-
#kms_key ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSingleRegionKey
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaSingleRegionKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSingleRegionKey
Returns a new instance of GoogleCloudDiscoveryengineV1alphaSingleRegionKey.
17361 17362 17363 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 17361 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kms_key ⇒ String
Required. Single-regional kms key resource name which will be used to encrypt
resources projects/
project/locations/
location/keyRings/
keyRing/
cryptoKeys/
keyId`.
Corresponds to the JSON property
kmsKey`
17359 17360 17361 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 17359 def kms_key @kms_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17366 17367 17368 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 17366 def update!(**args) @kms_key = args[:kms_key] if args.key?(:kms_key) end |