Class: Google::Apis::RedisV1beta1::ConnectionDetail

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

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.



848
849
850
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 848

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

Instance Attribute Details

#psc_auto_connectionGoogle::Apis::RedisV1beta1::PscAutoConnection

Details of consumer resources in a PSC connection that is created through Service Connectivity Automation. Corresponds to the JSON property pscAutoConnection



841
842
843
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 841

def psc_auto_connection
  @psc_auto_connection
end

#psc_connectionGoogle::Apis::RedisV1beta1::PscConnection

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



846
847
848
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 846

def psc_connection
  @psc_connection
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



853
854
855
856
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 853

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