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

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

Datastore for Certificates and Aliases.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1Keystore

Returns a new instance of GoogleCloudApigeeV1Keystore.



5722
5723
5724
# File 'lib/google/apis/apigee_v1/classes.rb', line 5722

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

Instance Attribute Details

#aliasesArray<String>

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

Returns:

  • (Array<String>)


5714
5715
5716
# File 'lib/google/apis/apigee_v1/classes.rb', line 5714

def aliases
  @aliases
end

#nameString

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

Returns:

  • (String)


5720
5721
5722
# File 'lib/google/apis/apigee_v1/classes.rb', line 5720

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5727
5728
5729
5730
# File 'lib/google/apis/apigee_v1/classes.rb', line 5727

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