Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSingleRegionKey

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

Instance Method Summary collapse

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_keyString

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 propertykmsKey`

Returns:

  • (String)


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