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.



1249
1250
1251
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1249

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



1242
1243
1244
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1242

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



1247
1248
1249
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1247

def psc_connection
  @psc_connection
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1254
1255
1256
1257
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1254

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