Class: Google::Apis::AlloydbV1alpha::PscConfig

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

Overview

PscConfig contains PSC related configuration at a cluster level. NEXT ID: 2

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PscConfig

Returns a new instance of PscConfig.



1810
1811
1812
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 1810

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)


1807
1808
1809
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 1807

def psc_enabled
  @psc_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1815
1816
1817
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 1815

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