Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1SingleRegionKey
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1SingleRegionKey
- 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) ⇒ GoogleCloudDiscoveryengineV1SingleRegionKey
constructor
A new instance of GoogleCloudDiscoveryengineV1SingleRegionKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SingleRegionKey
Returns a new instance of GoogleCloudDiscoveryengineV1SingleRegionKey.
3377 3378 3379 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3377 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`
3375 3376 3377 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3375 def kms_key @kms_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3382 3383 3384 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3382 def update!(**args) @kms_key = args[:kms_key] if args.key?(:kms_key) end |