Class: Google::Apis::RedisV1::ConnectionDetail
- Inherits:
-
Object
- Object
- Google::Apis::RedisV1::ConnectionDetail
- 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
-
#psc_auto_connection ⇒ Google::Apis::RedisV1::PscAutoConnection
Details of consumer resources in a PSC connection that is created through Service Connectivity Automation.
-
#psc_connection ⇒ Google::Apis::RedisV1::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.
823 824 825 |
# File 'lib/google/apis/redis_v1/classes.rb', line 823 def initialize(**args) update!(**args) end |
Instance Attribute Details
#psc_auto_connection ⇒ Google::Apis::RedisV1::PscAutoConnection
Details of consumer resources in a PSC connection that is created through
Service Connectivity Automation.
Corresponds to the JSON property pscAutoConnection
816 817 818 |
# File 'lib/google/apis/redis_v1/classes.rb', line 816 def psc_auto_connection @psc_auto_connection end |
#psc_connection ⇒ Google::Apis::RedisV1::PscConnection
Details of consumer resources in a PSC connection.
Corresponds to the JSON property pscConnection
821 822 823 |
# File 'lib/google/apis/redis_v1/classes.rb', line 821 def psc_connection @psc_connection end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
828 829 830 831 |
# File 'lib/google/apis/redis_v1/classes.rb', line 828 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 |