Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSingleRegionKey
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSingleRegionKey
- 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) ⇒ GoogleCloudDiscoveryengineV1betaSingleRegionKey
constructor
A new instance of GoogleCloudDiscoveryengineV1betaSingleRegionKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSingleRegionKey
Returns a new instance of GoogleCloudDiscoveryengineV1betaSingleRegionKey.
22157 22158 22159 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 22157 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`
22155 22156 22157 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 22155 def kms_key @kms_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22162 22163 22164 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 22162 def update!(**args) @kms_key = args[:kms_key] if args.key?(:kms_key) end |