Class: Google::Apis::RedisV1::PscConfig
- Inherits:
-
Object
- Object
- Google::Apis::RedisV1::PscConfig
- 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
Instance Attribute Summary collapse
-
#network ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PscConfig
constructor
A new instance of PscConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PscConfig
Returns a new instance of PscConfig.
3729 3730 3731 |
# File 'lib/google/apis/redis_v1/classes.rb', line 3729 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network ⇒ String
Required. The network where the IP address of the discovery endpoint will be
reserved, in the form of projects/network_project/global/networks/
network_id.
Corresponds to the JSON property network
3727 3728 3729 |
# File 'lib/google/apis/redis_v1/classes.rb', line 3727 def network @network end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3734 3735 3736 |
# File 'lib/google/apis/redis_v1/classes.rb', line 3734 def update!(**args) @network = args[:network] if args.key?(:network) end |