3030public final class MongodbProfile extends com .google .api .client .json .GenericJson {
3131
3232 /**
33- * Required. List of host addresses for a MongoDB cluster.
33+ * Required. List of host addresses for a MongoDB cluster. For SRV connection format, this list
34+ * must contain exactly one DNS host without a port. For Standard connection format, this list
35+ * must contain all the required hosts in the cluster with their respective ports.
3436 * The value may be {@code null}.
3537 */
3638 @ com .google .api .client .util .Key
@@ -52,7 +54,8 @@ public final class MongodbProfile extends com.google.api.client.json.GenericJson
5254
5355 /**
5456 * Optional. Name of the replica set. Only needed for self hosted replica set type MongoDB
55- * cluster.
57+ * cluster. For SRV connection format, this field must be empty. For Standard connection format,
58+ * this field must be specified.
5659 * The value may be {@code null}.
5760 */
5861 @ com .google .api .client .util .Key
@@ -88,15 +91,19 @@ public final class MongodbProfile extends com.google.api.client.json.GenericJson
8891 private java .lang .String username ;
8992
9093 /**
91- * Required. List of host addresses for a MongoDB cluster.
94+ * Required. List of host addresses for a MongoDB cluster. For SRV connection format, this list
95+ * must contain exactly one DNS host without a port. For Standard connection format, this list
96+ * must contain all the required hosts in the cluster with their respective ports.
9297 * @return value or {@code null} for none
9398 */
9499 public java .util .List <HostAddress > getHostAddresses () {
95100 return hostAddresses ;
96101 }
97102
98103 /**
99- * Required. List of host addresses for a MongoDB cluster.
104+ * Required. List of host addresses for a MongoDB cluster. For SRV connection format, this list
105+ * must contain exactly one DNS host without a port. For Standard connection format, this list
106+ * must contain all the required hosts in the cluster with their respective ports.
100107 * @param hostAddresses hostAddresses or {@code null} for none
101108 */
102109 public MongodbProfile setHostAddresses (java .util .List <HostAddress > hostAddresses ) {
@@ -125,7 +132,8 @@ public MongodbProfile setPassword(java.lang.String password) {
125132
126133 /**
127134 * Optional. Name of the replica set. Only needed for self hosted replica set type MongoDB
128- * cluster.
135+ * cluster. For SRV connection format, this field must be empty. For Standard connection format,
136+ * this field must be specified.
129137 * @return value or {@code null} for none
130138 */
131139 public java .lang .String getReplicaSet () {
@@ -134,7 +142,8 @@ public java.lang.String getReplicaSet() {
134142
135143 /**
136144 * Optional. Name of the replica set. Only needed for self hosted replica set type MongoDB
137- * cluster.
145+ * cluster. For SRV connection format, this field must be empty. For Standard connection format,
146+ * this field must be specified.
138147 * @param replicaSet replicaSet or {@code null} for none
139148 */
140149 public MongodbProfile setReplicaSet (java .lang .String replicaSet ) {
0 commit comments