Class: Google::Apis::AlloydbV1alpha::PscInstanceInfo
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1alpha::PscInstanceInfo
- 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
Information about the Private Service Connect (PSC) for the instance.
Instance Attribute Summary collapse
-
#effective_psc_auto_connection_policy ⇒ Boolean
(also: #effective_psc_auto_connection_policy?)
Output only.
-
#effective_psc_auto_dns_enabled ⇒ Boolean
(also: #effective_psc_auto_dns_enabled?)
Output only.
-
#psc_auto_dns_names ⇒ Array<String>
Output only.
-
#service_connection_policy ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PscInstanceInfo
constructor
A new instance of PscInstanceInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PscInstanceInfo
Returns a new instance of PscInstanceInfo.
3387 3388 3389 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3387 def initialize(**args) update!(**args) end |
Instance Attribute Details
#effective_psc_auto_connection_policy ⇒ Boolean Also known as: effective_psc_auto_connection_policy?
Output only. Indicates if the PSC auto connection policy is enabled for the
instance. For older instances, this will be off by default, but for newer
instances, this will be auto-enabled.
Corresponds to the JSON property effectivePscAutoConnectionPolicy
3367 3368 3369 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3367 def effective_psc_auto_connection_policy @effective_psc_auto_connection_policy end |
#effective_psc_auto_dns_enabled ⇒ Boolean Also known as: effective_psc_auto_dns_enabled?
Output only. The effective state of the PSC auto DNS for the instance.
Corresponds to the JSON property effectivePscAutoDnsEnabled
3373 3374 3375 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3373 def effective_psc_auto_dns_enabled @effective_psc_auto_dns_enabled end |
#psc_auto_dns_names ⇒ Array<String>
Output only. Specifies the auto DNS names for the instance.
Corresponds to the JSON property pscAutoDnsNames
3379 3380 3381 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3379 def psc_auto_dns_names @psc_auto_dns_names end |
#service_connection_policy ⇒ String
Output only. The PSC service connection policy name. The format is "projects//
regions//serviceConnectionPolicies/"
Corresponds to the JSON property serviceConnectionPolicy
3385 3386 3387 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3385 def service_connection_policy @service_connection_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3392 3393 3394 3395 3396 3397 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3392 def update!(**args) @effective_psc_auto_connection_policy = args[:effective_psc_auto_connection_policy] if args.key?(:effective_psc_auto_connection_policy) @effective_psc_auto_dns_enabled = args[:effective_psc_auto_dns_enabled] if args.key?(:effective_psc_auto_dns_enabled) @psc_auto_dns_names = args[:psc_auto_dns_names] if args.key?(:psc_auto_dns_names) @service_connection_policy = args[:service_connection_policy] if args.key?(:service_connection_policy) end |