Class: Google::Apis::RedisV1::CertificateAuthority

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/redis_v1/classes.rb,
lib/google/apis/redis_v1/representations.rb,
lib/google/apis/redis_v1/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.



204
205
206
# File 'lib/google/apis/redis_v1/classes.rb', line 204

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

Instance Attribute Details

#managed_server_caGoogle::Apis::RedisV1::ManagedCertificateAuthority

Corresponds to the JSON property managedServerCa



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

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)


202
203
204
# File 'lib/google/apis/redis_v1/classes.rb', line 202

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



209
210
211
212
# File 'lib/google/apis/redis_v1/classes.rb', line 209

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