Class: Google::Apis::RedisV1::PrivateServiceConnect
- Inherits:
-
Object
- Object
- Google::Apis::RedisV1::PrivateServiceConnect
- 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
Contains private service connect specific options.
Instance Attribute Summary collapse
-
#psc_service ⇒ String
Output only.
-
#psc_service_route ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrivateServiceConnect
constructor
A new instance of PrivateServiceConnect.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PrivateServiceConnect
Returns a new instance of PrivateServiceConnect.
1065 1066 1067 |
# File 'lib/google/apis/redis_v1/classes.rb', line 1065 def initialize(**args) update!(**args) end |
Instance Attribute Details
#psc_service ⇒ String
Output only. The address of the Private Service Connect (PSC) service that the
customer can use to connect this instance to their local network.
Corresponds to the JSON property pscService
1057 1058 1059 |
# File 'lib/google/apis/redis_v1/classes.rb', line 1057 def psc_service @psc_service end |
#psc_service_route ⇒ String
Optional. The service route to connect using Private Service Connect. On
Instance creation, this will automatically connect this route to this instance.
Corresponds to the JSON property pscServiceRoute
1063 1064 1065 |
# File 'lib/google/apis/redis_v1/classes.rb', line 1063 def psc_service_route @psc_service_route end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1070 1071 1072 1073 |
# File 'lib/google/apis/redis_v1/classes.rb', line 1070 def update!(**args) @psc_service = args[:psc_service] if args.key?(:psc_service) @psc_service_route = args[:psc_service_route] if args.key?(:psc_service_route) end |