Class: Google::Apis::ApigeeregistryV1::Config
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeregistryV1::Config
- 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
-
#cmek_key_name ⇒ String
Required.
-
#location ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Config
constructor
A new instance of Config.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Config
Returns a new instance of Config.
677 678 679 |
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 677 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cmek_key_name ⇒ String
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
670 671 672 |
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 670 def cmek_key_name @cmek_key_name end |
#location ⇒ String
Output only. The GCP location where the Instance resides.
Corresponds to the JSON property location
675 676 677 |
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 675 def location @location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
682 683 684 685 |
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 682 def update!(**args) @cmek_key_name = args[:cmek_key_name] if args.key?(:cmek_key_name) @location = args[:location] if args.key?(:location) end |