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.



1064
1065
1066
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1064

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



1057
1058
1059
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1057

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



1062
1063
1064
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1062

def psc_connection
  @psc_connection
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1069
1070
1071
1072
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1069

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