Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1SingleRegionKey

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) ⇒ 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_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)


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