Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Overview
A collection of key, value string pairs
Instance Attribute Summary collapse
-
#encrypted ⇒ Boolean
(also: #encrypted?)
Optional.
-
#name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1KeyValueMap
constructor
A new instance of GoogleCloudApigeeV1KeyValueMap.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1KeyValueMap
Returns a new instance of GoogleCloudApigeeV1KeyValueMap.
3375 3376 3377 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3375 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encrypted ⇒ Boolean Also known as: encrypted?
Optional. If true entry values will be encrypted.
Corresponds to the JSON property encrypted
3367 3368 3369 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3367 def encrypted @encrypted end |
#name ⇒ String
Required. The id of the key value map.
Corresponds to the JSON property name
3373 3374 3375 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3373 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3380 3381 3382 3383 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3380 def update!(**args) @encrypted = args[:encrypted] if args.key?(:encrypted) @name = args[:name] if args.key?(:name) end |