Class: Google::Apis::ApigeeregistryV1::Config

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apigeeregistry_v1/classes.rb,
lib/google/apis/apigeeregistry_v1/representations.rb,
lib/google/apis/apigeeregistry_v1/representations.rb

Overview

Available configurations to provision an Instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Config

Returns a new instance of Config.



611
612
613
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 611

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cmek_key_nameString

Required. The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/ keyRings/([^/]+)/cryptoKeys/([^/]+), where the location must match InstanceConfig.location. Corresponds to the JSON property cmekKeyName

Returns:

  • (String)


604
605
606
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 604

def cmek_key_name
  @cmek_key_name
end

#locationString

Output only. The GCP location where the Instance resides. Corresponds to the JSON property location

Returns:

  • (String)


609
610
611
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 609

def location
  @location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



616
617
618
619
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 616

def update!(**args)
  @cmek_key_name = args[:cmek_key_name] if args.key?(:cmek_key_name)
  @location = args[:location] if args.key?(:location)
end