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.



271
272
273
# File 'lib/google/apis/redis_v1/classes.rb', line 271

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

Instance Attribute Details

#managed_server_caGoogle::Apis::RedisV1::ManagedCertificateAuthority

Corresponds to the JSON property managedServerCa



262
263
264
# File 'lib/google/apis/redis_v1/classes.rb', line 262

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)


269
270
271
# File 'lib/google/apis/redis_v1/classes.rb', line 269

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



276
277
278
279
# File 'lib/google/apis/redis_v1/classes.rb', line 276

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