Class: Google::Apis::AlloydbV1beta::PscInstanceConfig
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1beta::PscInstanceConfig
- 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
PscInstanceConfig contains PSC related configuration at an instance level.
Instance Attribute Summary collapse
-
#allowed_consumer_projects ⇒ Array<String>
Optional.
-
#psc_dns_name ⇒ String
Output only.
-
#service_attachment_link ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PscInstanceConfig
constructor
A new instance of PscInstanceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PscInstanceConfig
Returns a new instance of PscInstanceConfig.
2053 2054 2055 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2053 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_consumer_projects ⇒ Array<String>
Optional. List of consumer projects that are allowed to create PSC endpoints
to service-attachments to this instance.
Corresponds to the JSON property allowedConsumerProjects
2038 2039 2040 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2038 def allowed_consumer_projects @allowed_consumer_projects end |
#psc_dns_name ⇒ String
Output only. The DNS name of the instance for PSC connectivity. Name
convention: ...alloydb-psc.goog
Corresponds to the JSON property pscDnsName
2044 2045 2046 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2044 def psc_dns_name @psc_dns_name end |
#service_attachment_link ⇒ String
Output only. The service attachment created when Private Service Connect (PSC)
is enabled for the instance. The name of the resource will be in the format of
projects//regions//serviceAttachments/
Corresponds to the JSON property serviceAttachmentLink
2051 2052 2053 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2051 def @service_attachment_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2058 2059 2060 2061 2062 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2058 def update!(**args) @allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects) @psc_dns_name = args[:psc_dns_name] if args.key?(:psc_dns_name) @service_attachment_link = args[:service_attachment_link] if args.key?(:service_attachment_link) end |