Class: Google::Apis::RedisV1::ClusterEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::RedisV1::ClusterEndpoint
- 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
ClusterEndpoint consists of PSC connections that are created as a group in each VPC network for accessing the cluster. In each group, there shall be one connection for each service attachment in the cluster.
Instance Attribute Summary collapse
-
#connections ⇒ Array<Google::Apis::RedisV1::ConnectionDetail>
A group of PSC connections.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClusterEndpoint
constructor
A new instance of ClusterEndpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClusterEndpoint
Returns a new instance of ClusterEndpoint.
396 397 398 |
# File 'lib/google/apis/redis_v1/classes.rb', line 396 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connections ⇒ Array<Google::Apis::RedisV1::ConnectionDetail>
A group of PSC connections. They are created in the same VPC network, one for
each service attachment in the cluster.
Corresponds to the JSON property connections
394 395 396 |
# File 'lib/google/apis/redis_v1/classes.rb', line 394 def connections @connections end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
401 402 403 |
# File 'lib/google/apis/redis_v1/classes.rb', line 401 def update!(**args) @connections = args[:connections] if args.key?(:connections) end |