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

Inherits:
Object
  • Object
show all
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

Collection of key/value string pairs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1KeyValueMap

Returns a new instance of GoogleCloudApigeeV1KeyValueMap.



4369
4370
4371
# File 'lib/google/apis/apigee_v1/classes.rb', line 4369

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

Instance Attribute Details

#encryptedBoolean Also known as: encrypted?

Optional. Flag that specifies whether entry values will be encrypted. You must set this value to true. Apigee X and hybrid do not support unencrytped key value maps. Corresponds to the JSON property encrypted

Returns:

  • (Boolean)


4361
4362
4363
# File 'lib/google/apis/apigee_v1/classes.rb', line 4361

def encrypted
  @encrypted
end

#nameString

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

Returns:

  • (String)


4367
4368
4369
# File 'lib/google/apis/apigee_v1/classes.rb', line 4367

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4374
4375
4376
4377
# File 'lib/google/apis/apigee_v1/classes.rb', line 4374

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