Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Keystore

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 datastore for Certificates and Aliases

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) ⇒ GoogleCloudApigeeV1Keystore

Returns a new instance of GoogleCloudApigeeV1Keystore.



2246
2247
2248
# File 'generated/google/apis/apigee_v1/classes.rb', line 2246

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

Instance Attribute Details

#aliasesArray<String>

Output only. The aliases in this keystore. Corresponds to the JSON property aliases

Returns:

  • (Array<String>)


2238
2239
2240
# File 'generated/google/apis/apigee_v1/classes.rb', line 2238

def aliases
  @aliases
end

#nameString

Required. The resource ID for this keystore. Values must match the regular expression [\w[:space:]-.]1,255`. Corresponds to the JSON propertyname`

Returns:

  • (String)


2244
2245
2246
# File 'generated/google/apis/apigee_v1/classes.rb', line 2244

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2251
2252
2253
2254
# File 'generated/google/apis/apigee_v1/classes.rb', line 2251

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