Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
- 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
Key value map pair where the value represents the data associated with the corresponding key. Note: Supported for Apigee hybrid 1.8.x and higher.
Instance Attribute Summary collapse
-
#name ⇒ String
Resource URI that can be used to identify the scope of the key value map entries.
-
#value ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1KeyValueEntry
constructor
A new instance of GoogleCloudApigeeV1KeyValueEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1KeyValueEntry
Returns a new instance of GoogleCloudApigeeV1KeyValueEntry.
5573 5574 5575 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5573 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Resource URI that can be used to identify the scope of the key value map
entries.
Corresponds to the JSON property name
5565 5566 5567 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5565 def name @name end |
#value ⇒ String
Required. Data or payload that is being retrieved and associated with the
unique key.
Corresponds to the JSON property value
5571 5572 5573 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5571 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5578 5579 5580 5581 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5578 def update!(**args) @name = args[:name] if args.key?(:name) @value = args[:value] if args.key?(:value) end |