Class: Google::Apis::RedisV1beta1::CertificateAuthority

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

Overview

Redis cluster certificate authority

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CertificateAuthority

Returns a new instance of CertificateAuthority.



195
196
197
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 195

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

Instance Attribute Details

#managed_server_caGoogle::Apis::RedisV1beta1::ManagedCertificateAuthority

Corresponds to the JSON property managedServerCa



186
187
188
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 186

def managed_server_ca
  @managed_server_ca
end

#nameString

Identifier. Unique name of the resource in this scope including project, location and cluster using the form: projects/project/locations/location/ clusters/cluster/certificateAuthority Corresponds to the JSON property name

Returns:

  • (String)


193
194
195
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 193

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



200
201
202
203
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 200

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