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.


3032
3033
3034
# File 'generated/google/apis/apigee_v1/classes.rb', line 3032

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

3024
3025
3026
# File 'generated/google/apis/apigee_v1/classes.rb', line 3024

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)

3030
3031
3032
# File 'generated/google/apis/apigee_v1/classes.rb', line 3030

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3037
3038
3039
3040
# File 'generated/google/apis/apigee_v1/classes.rb', line 3037

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