@@ -39,22 +39,17 @@ class DatastoreMountConfig extends \Google\Collection
3939 * NFS 3
4040 */
4141 public const NFS_VERSION_NFS_V3 = 'NFS_V3 ' ;
42- /**
43- * The default value. This value should never be used.
44- */
45- public const SECURITY_TYPE_SECURITY_TYPE_UNSPECIFIED = 'SECURITY_TYPE_UNSPECIFIED ' ;
4642 protected $ collection_key = 'servers ' ;
4743 /**
48- * Optional. NFS is accessed by hosts in read mode Optional. Default value
49- * used will be READ_WRITE
44+ * Optional. The access mode of the NFS volume. Optional. Default value used
45+ * will be READ_WRITE
5046 *
5147 * @var string
5248 */
5349 public $ accessMode ;
5450 /**
55- * Required. The resource name of the datastore to unmount. The datastore
56- * requested to be mounted should be in same region/zone as the cluster.
57- * Resource names are schemeless URIs that follow the conventions in
51+ * Required. The resource name of the datastore to mount. Resource names are
52+ * schemeless URIs that follow the conventions in
5853 * https://cloud.google.com/apis/design/resource_names. For example:
5954 * `projects/my-project/locations/us-central1/datastores/my-datastore`
6055 *
@@ -76,12 +71,6 @@ class DatastoreMountConfig extends \Google\Collection
7671 * @var string
7772 */
7873 public $ nfsVersion ;
79- /**
80- * Optional. ONLY required when NFS 4.1 version is used
81- *
82- * @var string
83- */
84- public $ securityType ;
8574 /**
8675 * Output only. Server IP addresses of the NFS volume. For NFS 3, you can only
8776 * provide a single server IP address or DNS names.
@@ -91,8 +80,8 @@ class DatastoreMountConfig extends \Google\Collection
9180 public $ servers ;
9281
9382 /**
94- * Optional. NFS is accessed by hosts in read mode Optional. Default value
95- * used will be READ_WRITE
83+ * Optional. The access mode of the NFS volume. Optional. Default value used
84+ * will be READ_WRITE
9685 *
9786 * Accepted values: ACCESS_MODE_UNSPECIFIED, READ_ONLY, READ_WRITE
9887 *
@@ -110,9 +99,8 @@ public function getAccessMode()
11099 return $ this ->accessMode ;
111100 }
112101 /**
113- * Required. The resource name of the datastore to unmount. The datastore
114- * requested to be mounted should be in same region/zone as the cluster.
115- * Resource names are schemeless URIs that follow the conventions in
102+ * Required. The resource name of the datastore to mount. Resource names are
103+ * schemeless URIs that follow the conventions in
116104 * https://cloud.google.com/apis/design/resource_names. For example:
117105 * `projects/my-project/locations/us-central1/datastores/my-datastore`
118106 *
@@ -180,24 +168,6 @@ public function getNfsVersion()
180168 {
181169 return $ this ->nfsVersion ;
182170 }
183- /**
184- * Optional. ONLY required when NFS 4.1 version is used
185- *
186- * Accepted values: SECURITY_TYPE_UNSPECIFIED
187- *
188- * @param self::SECURITY_TYPE_* $securityType
189- */
190- public function setSecurityType ($ securityType )
191- {
192- $ this ->securityType = $ securityType ;
193- }
194- /**
195- * @return self::SECURITY_TYPE_*
196- */
197- public function getSecurityType ()
198- {
199- return $ this ->securityType ;
200- }
201171 /**
202172 * Output only. Server IP addresses of the NFS volume. For NFS 3, you can only
203173 * provide a single server IP address or DNS names.
0 commit comments