Class: Google::Apis::RedisV1::PrivateServiceConnect

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PrivateServiceConnect

Returns a new instance of PrivateServiceConnect.



1076
1077
1078
# File 'lib/google/apis/redis_v1/classes.rb', line 1076

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)


1068
1069
1070
# File 'lib/google/apis/redis_v1/classes.rb', line 1068

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)


1074
1075
1076
# File 'lib/google/apis/redis_v1/classes.rb', line 1074

def psc_service_route
  @psc_service_route
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1081
1082
1083
1084
# File 'lib/google/apis/redis_v1/classes.rb', line 1081

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