Class: Google::Apis::RedisV1beta1::PrivateServiceConnect

Inherits:
Object
  • Object
show all
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

Contains private service connect specific options.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PrivateServiceConnect

Returns a new instance of PrivateServiceConnect.



1079
1080
1081
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1079

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#psc_serviceString

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

Returns:

  • (String)


1071
1072
1073
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1071

def psc_service
  @psc_service
end

#psc_service_routeString

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

Returns:

  • (String)


1077
1078
1079
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1077

def psc_service_route
  @psc_service_route
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1084
1085
1086
1087
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1084

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