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.



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

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)


1060
1061
1062
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1060

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)


1066
1067
1068
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1066

def psc_service_route
  @psc_service_route
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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