@@ -36,13 +36,32 @@ class DnsNameMapping extends \Google\Model
3636 */
3737 public const CONNECTION_TYPE_PRIVATE_SERVICE_CONNECT = 'PRIVATE_SERVICE_CONNECT ' ;
3838 /**
39- * Unknown DNS scope.
39+ * DNS scope not set. This value should not be used .
4040 */
4141 public const DNS_SCOPE_DNS_SCOPE_UNSPECIFIED = 'DNS_SCOPE_UNSPECIFIED ' ;
4242 /**
43- * Indicates a instance-level DNS name.
43+ * Indicates an instance-level DNS name.
4444 */
4545 public const DNS_SCOPE_INSTANCE = 'INSTANCE ' ;
46+ /**
47+ * Indicates a cluster-level DNS name.
48+ */
49+ public const DNS_SCOPE_CLUSTER = 'CLUSTER ' ;
50+ /**
51+ * Record manager not set. This value should not be used.
52+ */
53+ public const RECORD_MANAGER_RECORD_MANAGER_UNSPECIFIED = 'RECORD_MANAGER_UNSPECIFIED ' ;
54+ /**
55+ * The record may be managed by the customer. It is not automatically managed
56+ * by Cloud SQL automation.
57+ */
58+ public const RECORD_MANAGER_CUSTOMER = 'CUSTOMER ' ;
59+ /**
60+ * The record is managed by Cloud SQL, which will create, update, and delete
61+ * the DNS records for the zone automatically when the Cloud SQL database
62+ * instance is created or updated.
63+ */
64+ public const RECORD_MANAGER_CLOUD_SQL_AUTOMATION = 'CLOUD_SQL_AUTOMATION ' ;
4665 /**
4766 * Output only. The connection type of the DNS name.
4867 *
@@ -56,11 +75,17 @@ class DnsNameMapping extends \Google\Model
5675 */
5776 public $ dnsScope ;
5877 /**
59- * The DNS name.
78+ * Output only. The DNS name.
6079 *
6180 * @var string
6281 */
6382 public $ name ;
83+ /**
84+ * Output only. The manager for this DNS record.
85+ *
86+ * @var string
87+ */
88+ public $ recordManager ;
6489
6590 /**
6691 * Output only. The connection type of the DNS name.
@@ -84,7 +109,7 @@ public function getConnectionType()
84109 /**
85110 * Output only. The scope that the DNS name applies to.
86111 *
87- * Accepted values: DNS_SCOPE_UNSPECIFIED, INSTANCE
112+ * Accepted values: DNS_SCOPE_UNSPECIFIED, INSTANCE, CLUSTER
88113 *
89114 * @param self::DNS_SCOPE_* $dnsScope
90115 */
@@ -100,7 +125,7 @@ public function getDnsScope()
100125 return $ this ->dnsScope ;
101126 }
102127 /**
103- * The DNS name.
128+ * Output only. The DNS name.
104129 *
105130 * @param string $name
106131 */
@@ -115,6 +140,24 @@ public function getName()
115140 {
116141 return $ this ->name ;
117142 }
143+ /**
144+ * Output only. The manager for this DNS record.
145+ *
146+ * Accepted values: RECORD_MANAGER_UNSPECIFIED, CUSTOMER, CLOUD_SQL_AUTOMATION
147+ *
148+ * @param self::RECORD_MANAGER_* $recordManager
149+ */
150+ public function setRecordManager ($ recordManager )
151+ {
152+ $ this ->recordManager = $ recordManager ;
153+ }
154+ /**
155+ * @return self::RECORD_MANAGER_*
156+ */
157+ public function getRecordManager ()
158+ {
159+ return $ this ->recordManager ;
160+ }
118161}
119162
120163// Adding a class alias for backwards compatibility with the previous class name.
0 commit comments