Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap

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

Overview

A collection of key, value string pairs

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1KeyValueMap

Returns a new instance of GoogleCloudApigeeV1KeyValueMap.


3006
3007
3008
# File 'generated/google/apis/apigee_v1/classes.rb', line 3006

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

Instance Attribute Details

#encryptedBoolean Also known as: encrypted?

Optional. If true entry values will be encrypted. Corresponds to the JSON property encrypted

Returns:

  • (Boolean)

2998
2999
3000
# File 'generated/google/apis/apigee_v1/classes.rb', line 2998

def encrypted
  @encrypted
end

#nameString

Required. The id of the key value map. Corresponds to the JSON property name

Returns:

  • (String)

3004
3005
3006
# File 'generated/google/apis/apigee_v1/classes.rb', line 3004

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3011
3012
3013
3014
# File 'generated/google/apis/apigee_v1/classes.rb', line 3011

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