Class: Google::Apis::RedisV1beta1::CertChain

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CertChain

Returns a new instance of CertChain.



421
422
423
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 421

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

Instance Attribute Details

#certificatesArray<String>

The certificates that form the CA chain, from leaf to root order. Corresponds to the JSON property certificates

Returns:

  • (Array<String>)


419
420
421
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 419

def certificates
  @certificates
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



426
427
428
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 426

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