Class: Google::Apis::RedisV1beta1::ConnectionDetail
- Inherits:
-
Object
- Object
- Google::Apis::RedisV1beta1::ConnectionDetail
- 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
-
#psc_auto_connection ⇒ Google::Apis::RedisV1beta1::PscAutoConnection
Details of consumer resources in a PSC connection that is created through Service Connectivity Automation.
-
#psc_connection ⇒ Google::Apis::RedisV1beta1::PscConnection
Details of consumer resources in a PSC connection.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConnectionDetail
constructor
A new instance of ConnectionDetail.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConnectionDetail
Returns a new instance of ConnectionDetail.
1426 1427 1428 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1426 def initialize(**args) update!(**args) end |
Instance Attribute Details
#psc_auto_connection ⇒ Google::Apis::RedisV1beta1::PscAutoConnection
Details of consumer resources in a PSC connection that is created through
Service Connectivity Automation.
Corresponds to the JSON property pscAutoConnection
1419 1420 1421 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1419 def psc_auto_connection @psc_auto_connection end |
#psc_connection ⇒ Google::Apis::RedisV1beta1::PscConnection
Details of consumer resources in a PSC connection.
Corresponds to the JSON property pscConnection
1424 1425 1426 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1424 def psc_connection @psc_connection end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1431 1432 1433 1434 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1431 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 |