Class: Google::Apis::RedisV1beta1::PscServiceAttachment
- Inherits:
-
Object
- Object
- Google::Apis::RedisV1beta1::PscServiceAttachment
- 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
Configuration of a service attachment of the cluster, for creating PSC connections.
Instance Attribute Summary collapse
-
#connection_type ⇒ String
Output only.
-
#service_attachment ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PscServiceAttachment
constructor
A new instance of PscServiceAttachment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PscServiceAttachment
Returns a new instance of PscServiceAttachment.
2903 2904 2905 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 2903 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connection_type ⇒ String
Output only. Type of a PSC connection targeting this service attachment.
Corresponds to the JSON property connectionType
2895 2896 2897 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 2895 def connection_type @connection_type end |
#service_attachment ⇒ String
Output only. Service attachment URI which your self-created PscConnection
should use as target
Corresponds to the JSON property serviceAttachment
2901 2902 2903 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 2901 def @service_attachment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2908 2909 2910 2911 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 2908 def update!(**args) @connection_type = args[:connection_type] if args.key?(:connection_type) @service_attachment = args[:service_attachment] if args.key?(:service_attachment) end |