@@ -40,12 +40,34 @@ class PscConfig extends \Google\Collection
4040 public $ networkAttachmentUri ;
4141 protected $ pscAutoConnectionsType = PscAutoConnectionConfig::class;
4242 protected $ pscAutoConnectionsDataType = 'array ' ;
43+ /**
44+ * Optional. Indicates whether PSC DNS automation is enabled for this
45+ * instance. When enabled, Cloud SQL provisions a universal DNS record across
46+ * all networks configured with Private Service Connect (PSC) auto-
47+ * connections. This will default to true for new instances when Private
48+ * Service Connect is enabled.
49+ *
50+ * @var bool
51+ */
52+ public $ pscAutoDnsEnabled ;
4353 /**
4454 * Whether PSC connectivity is enabled for this instance.
4555 *
4656 * @var bool
4757 */
4858 public $ pscEnabled ;
59+ /**
60+ * Optional. Indicates whether PSC write endpoint DNS automation is enabled
61+ * for this instance. When enabled, Cloud SQL provisions a universal global
62+ * DNS record across all networks configured with Private Service Connect
63+ * (PSC) auto-connections that always points to the cluster primary instance.
64+ * This feature is only supported for Enterprise Plus edition. This will
65+ * default to true for new Enterprise Plus instances when
66+ * `psc_auto_dns_enabled` is enabled.
67+ *
68+ * @var bool
69+ */
70+ public $ pscWriteEndpointDnsEnabled ;
4971
5072 /**
5173 * Optional. The list of consumer projects that are allow-listed for PSC
@@ -102,6 +124,26 @@ public function getPscAutoConnections()
102124 {
103125 return $ this ->pscAutoConnections ;
104126 }
127+ /**
128+ * Optional. Indicates whether PSC DNS automation is enabled for this
129+ * instance. When enabled, Cloud SQL provisions a universal DNS record across
130+ * all networks configured with Private Service Connect (PSC) auto-
131+ * connections. This will default to true for new instances when Private
132+ * Service Connect is enabled.
133+ *
134+ * @param bool $pscAutoDnsEnabled
135+ */
136+ public function setPscAutoDnsEnabled ($ pscAutoDnsEnabled )
137+ {
138+ $ this ->pscAutoDnsEnabled = $ pscAutoDnsEnabled ;
139+ }
140+ /**
141+ * @return bool
142+ */
143+ public function getPscAutoDnsEnabled ()
144+ {
145+ return $ this ->pscAutoDnsEnabled ;
146+ }
105147 /**
106148 * Whether PSC connectivity is enabled for this instance.
107149 *
@@ -118,6 +160,28 @@ public function getPscEnabled()
118160 {
119161 return $ this ->pscEnabled ;
120162 }
163+ /**
164+ * Optional. Indicates whether PSC write endpoint DNS automation is enabled
165+ * for this instance. When enabled, Cloud SQL provisions a universal global
166+ * DNS record across all networks configured with Private Service Connect
167+ * (PSC) auto-connections that always points to the cluster primary instance.
168+ * This feature is only supported for Enterprise Plus edition. This will
169+ * default to true for new Enterprise Plus instances when
170+ * `psc_auto_dns_enabled` is enabled.
171+ *
172+ * @param bool $pscWriteEndpointDnsEnabled
173+ */
174+ public function setPscWriteEndpointDnsEnabled ($ pscWriteEndpointDnsEnabled )
175+ {
176+ $ this ->pscWriteEndpointDnsEnabled = $ pscWriteEndpointDnsEnabled ;
177+ }
178+ /**
179+ * @return bool
180+ */
181+ public function getPscWriteEndpointDnsEnabled ()
182+ {
183+ return $ this ->pscWriteEndpointDnsEnabled ;
184+ }
121185}
122186
123187// Adding a class alias for backwards compatibility with the previous class name.
0 commit comments