Class: Google::Apis::AlloydbV1beta::PscConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alloydb_v1beta/classes.rb,
lib/google/apis/alloydb_v1beta/representations.rb,
lib/google/apis/alloydb_v1beta/representations.rb

Overview

PscConfig contains PSC related configuration at a cluster level.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PscConfig

Returns a new instance of PscConfig.



2273
2274
2275
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2273

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

Instance Attribute Details

#psc_enabledBoolean 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

Returns:

  • (Boolean)


2270
2271
2272
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2270

def psc_enabled
  @psc_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2278
2279
2280
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2278

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