Class: Google::Apis::AlloydbV1::PscConfig
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1::PscConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1/classes.rb,
lib/google/apis/alloydb_v1/representations.rb,
lib/google/apis/alloydb_v1/representations.rb
Overview
PscConfig contains PSC related configuration at a cluster level.
Instance Attribute Summary collapse
-
#psc_enabled ⇒ Boolean
(also: #psc_enabled?)
Optional.
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.
1975 1976 1977 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 1975 def initialize(**args) update!(**args) end |
Instance Attribute Details
#psc_enabled ⇒ Boolean Also known as: psc_enabled?
Optional. Create an instance that allows connections from Private Service
Connect endpoints to the instance.
Corresponds to the JSON property pscEnabled
1972 1973 1974 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 1972 def psc_enabled @psc_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1980 1981 1982 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 1980 def update!(**args) @psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled) end |