Class: Google::Apis::RedisV1beta1::PscConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PscConfig

Returns a new instance of PscConfig.



1227
1228
1229
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1227

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

Instance Attribute Details

#networkString

Required. The consumer network where the IP address of the discovery endpoint will be reserved, in the form of projects/network_host_project/global/ networks/network_id. Corresponds to the JSON property network

Returns:

  • (String)


1225
1226
1227
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1225

def network
  @network
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1232
1233
1234
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1232

def update!(**args)
  @network = args[:network] if args.key?(:network)
end