Class: Google::Apis::RedisV1::ConnectionDetail

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

Detailed information of each PSC connection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConnectionDetail

Returns a new instance of ConnectionDetail.



561
562
563
# File 'lib/google/apis/redis_v1/classes.rb', line 561

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

Instance Attribute Details

#psc_connectionGoogle::Apis::RedisV1::PscConnection

Details of consumer resources in a PSC connection. Corresponds to the JSON property pscConnection



559
560
561
# File 'lib/google/apis/redis_v1/classes.rb', line 559

def psc_connection
  @psc_connection
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



566
567
568
# File 'lib/google/apis/redis_v1/classes.rb', line 566

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