Skip to content

Commit 6fa8905

Browse files
1 parent 7272b58 commit 6fa8905

12 files changed

+158
-11
lines changed

src/VMwareEngine.php

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
340340
'location' => 'query',
341341
'type' => 'string',
342342
],
343+
'validateOnly' => [
344+
'location' => 'query',
345+
'type' => 'boolean',
346+
],
343347
],
344348
],'delete' => [
345349
'path' => 'v1/{+name}',
@@ -408,6 +412,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
408412
'location' => 'query',
409413
'type' => 'string',
410414
],
415+
'validateOnly' => [
416+
'location' => 'query',
417+
'type' => 'boolean',
418+
],
411419
],
412420
],
413421
]
@@ -468,6 +476,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
468476
'location' => 'query',
469477
'type' => 'string',
470478
],
479+
'validateOnly' => [
480+
'location' => 'query',
481+
'type' => 'boolean',
482+
],
471483
],
472484
],'delete' => [
473485
'path' => 'v1/{+name}',
@@ -554,6 +566,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
554566
'location' => 'query',
555567
'type' => 'string',
556568
],
569+
'validateOnly' => [
570+
'location' => 'query',
571+
'type' => 'boolean',
572+
],
557573
],
558574
],
559575
]
@@ -582,6 +598,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
582598
'location' => 'query',
583599
'type' => 'string',
584600
],
601+
'validateOnly' => [
602+
'location' => 'query',
603+
'type' => 'boolean',
604+
],
585605
],
586606
],'delete' => [
587607
'path' => 'v1/{+name}',
@@ -650,6 +670,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
650670
'location' => 'query',
651671
'type' => 'string',
652672
],
673+
'validateOnly' => [
674+
'location' => 'query',
675+
'type' => 'boolean',
676+
],
653677
],
654678
],
655679
]
@@ -880,6 +904,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
880904
'location' => 'query',
881905
'type' => 'string',
882906
],
907+
'validateOnly' => [
908+
'location' => 'query',
909+
'type' => 'boolean',
910+
],
883911
],
884912
],'privateCloudDeletionNow' => [
885913
'path' => 'v1/{+name}:privateCloudDeletionNow',
@@ -1206,6 +1234,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
12061234
'location' => 'query',
12071235
'type' => 'string',
12081236
],
1237+
'validateOnly' => [
1238+
'location' => 'query',
1239+
'type' => 'boolean',
1240+
],
12091241
],
12101242
],'delete' => [
12111243
'path' => 'v1/{+name}',
@@ -1274,6 +1306,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
12741306
'location' => 'query',
12751307
'type' => 'string',
12761308
],
1309+
'validateOnly' => [
1310+
'location' => 'query',
1311+
'type' => 'boolean',
1312+
],
12771313
],
12781314
],
12791315
]
@@ -1710,6 +1746,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
17101746
'location' => 'query',
17111747
'type' => 'string',
17121748
],
1749+
'validateOnly' => [
1750+
'location' => 'query',
1751+
'type' => 'boolean',
1752+
],
17131753
],
17141754
],'delete' => [
17151755
'path' => 'v1/{+name}',
@@ -1778,6 +1818,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
17781818
'location' => 'query',
17791819
'type' => 'string',
17801820
],
1821+
'validateOnly' => [
1822+
'location' => 'query',
1823+
'type' => 'boolean',
1824+
],
17811825
],
17821826
],
17831827
]
@@ -1830,6 +1874,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
18301874
'location' => 'query',
18311875
'type' => 'string',
18321876
],
1877+
'validateOnly' => [
1878+
'location' => 'query',
1879+
'type' => 'boolean',
1880+
],
18331881
'vmwareEngineNetworkId' => [
18341882
'location' => 'query',
18351883
'type' => 'string',
@@ -1906,6 +1954,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
19061954
'location' => 'query',
19071955
'type' => 'string',
19081956
],
1957+
'validateOnly' => [
1958+
'location' => 'query',
1959+
'type' => 'boolean',
1960+
],
19091961
],
19101962
],
19111963
]

src/VMwareEngine/MountDatastoreRequest.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ class MountDatastoreRequest extends \Google\Model
3838
* @var string
3939
*/
4040
public $requestId;
41+
/**
42+
* Optional. If set to `true`, only validates the request but doesn’t execute
43+
* the request. If set to `false`, validates and executes the request.
44+
*
45+
* @var bool
46+
*/
47+
public $validateOnly;
4148

4249
/**
4350
* Required. The datastore mount configuration.
@@ -92,6 +99,23 @@ public function getRequestId()
9299
{
93100
return $this->requestId;
94101
}
102+
/**
103+
* Optional. If set to `true`, only validates the request but doesn’t execute
104+
* the request. If set to `false`, validates and executes the request.
105+
*
106+
* @param bool $validateOnly
107+
*/
108+
public function setValidateOnly($validateOnly)
109+
{
110+
$this->validateOnly = $validateOnly;
111+
}
112+
/**
113+
* @return bool
114+
*/
115+
public function getValidateOnly()
116+
{
117+
return $this->validateOnly;
118+
}
95119
}
96120

97121
// Adding a class alias for backwards compatibility with the previous class name.

src/VMwareEngine/Resource/ProjectsLocations.php

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,16 @@ public function getDnsBindPermission($name, $optParams = [])
6969
}
7070
/**
7171
* Lists information about the supported locations for this service. This method
72-
* can be called in two ways: * **List all public locations:** Use the path `GET
73-
* /v1/locations`. * **List project-visible locations:** Use the path `GET
74-
* /v1/projects/{project_id}/locations`. This may include public locations as
75-
* well as private or other locations specifically visible to the project.
76-
* (locations.listProjectsLocations)
72+
* lists locations based on the resource scope provided in the
73+
* [ListLocationsRequest.name] field: * **Global locations**: If `name` is
74+
* empty, the method lists the public locations available to all projects. *
75+
* **Project-specific locations**: If `name` follows the format
76+
* `projects/{project}`, the method lists locations visible to that specific
77+
* project. This includes public, private, or other project-specific locations
78+
* enabled for the project. For gRPC and client library implementations, the
79+
* resource name is passed as the `name` field. For direct service calls, the
80+
* resource name is incorporated into the request path based on the specific
81+
* service implementation and version. (locations.listProjectsLocations)
7782
*
7883
* @param string $name The resource that owns the locations collection, if
7984
* applicable.

src/VMwareEngine/Resource/ProjectsLocationsNetworkPeerings.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ class ProjectsLocationsNetworkPeerings extends \Google\Service\Resource
6464
* second request. This prevents clients from accidentally creating duplicate
6565
* commitments. The request ID must be a valid UUID with the exception that zero
6666
* UUID is not supported (00000000-0000-0000-0000-000000000000).
67+
* @opt_param bool validateOnly Optional. If set to `true`, only validates the
68+
* request but doesn’t execute the request. If set to `false`, validates and
69+
* executes the request.
6770
* @return Operation
6871
* @throws \Google\Service\Exception
6972
*/
@@ -197,6 +200,9 @@ public function listProjectsLocationsNetworkPeerings($parent, $optParams = [])
197200
* fields specified in the `update_mask` are relative to the resource, not the
198201
* full request. A field will be overwritten if it is in the mask. If the user
199202
* does not provide a mask then all fields will be overwritten.
203+
* @opt_param bool validateOnly Optional. If set to `true`, only validates the
204+
* request but doesn’t execute the request. If set to `false`, validates and
205+
* executes the request.
200206
* @return Operation
201207
* @throws \Google\Service\Exception
202208
*/

src/VMwareEngine/Resource/ProjectsLocationsNetworkPolicies.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ class ProjectsLocationsNetworkPolicies extends \Google\Service\Resource
6464
* second request. This prevents clients from accidentally creating duplicate
6565
* commitments. The request ID must be a valid UUID with the exception that zero
6666
* UUID is not supported (00000000-0000-0000-0000-000000000000).
67+
* @opt_param bool validateOnly Optional. If set to `true`, only validates the
68+
* request but doesn’t execute the request. If set to `false`, validates and
69+
* executes the request.
6770
* @return Operation
6871
* @throws \Google\Service\Exception
6972
*/
@@ -228,6 +231,9 @@ public function listProjectsLocationsNetworkPolicies($parent, $optParams = [])
228231
* fields specified in the `update_mask` are relative to the resource, not the
229232
* full request. A field will be overwritten if it is in the mask. If the user
230233
* does not provide a mask then all fields will be overwritten.
234+
* @opt_param bool validateOnly Optional. If set to `true`, only validates the
235+
* request but doesn’t execute the request. If set to `false`, validates and
236+
* executes the request.
231237
* @return Operation
232238
* @throws \Google\Service\Exception
233239
*/

src/VMwareEngine/Resource/ProjectsLocationsNetworkPoliciesExternalAccessRules.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ class ProjectsLocationsNetworkPoliciesExternalAccessRules extends \Google\Servic
6262
* prevents clients from accidentally creating duplicate commitments. The
6363
* request ID must be a valid UUID with the exception that zero UUID is not
6464
* supported (00000000-0000-0000-0000-000000000000).
65+
* @opt_param bool validateOnly Optional. If set to `true`, only validates the
66+
* request but doesn’t execute the request. If set to `false`, validates and
67+
* executes the request.
6568
* @return Operation
6669
* @throws \Google\Service\Exception
6770
*/
@@ -191,6 +194,9 @@ public function listProjectsLocationsNetworkPoliciesExternalAccessRules($parent,
191194
* The fields specified in the `update_mask` are relative to the resource, not
192195
* the full request. A field will be overwritten if it is in the mask. If the
193196
* user does not provide a mask then all fields will be overwritten.
197+
* @opt_param bool validateOnly Optional. If set to `true`, only validates the
198+
* request but doesn’t execute the// request. If set to `false`, validates and
199+
* executes the request.
194200
* @return Operation
195201
* @throws \Google\Service\Exception
196202
*/

src/VMwareEngine/Resource/ProjectsLocationsPrivateClouds.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@ class ProjectsLocationsPrivateClouds extends \Google\Service\Resource
6666
* @opt_param string requestId Optional. The request ID must be a valid UUID
6767
* with the exception that zero UUID is not supported
6868
* (00000000-0000-0000-0000-000000000000).
69-
* @opt_param bool validateOnly Optional. True if you want the request to be
70-
* validated and not executed; false otherwise.
69+
* @opt_param bool validateOnly Optional. If set to `true`, only validates the
70+
* request but doesn’t execute the request. If set to `false`, validates and
71+
* executes the request.
7172
* @return Operation
7273
* @throws \Google\Service\Exception
7374
*/
@@ -257,6 +258,9 @@ public function listProjectsLocationsPrivateClouds($parent, $optParams = [])
257258
* fields specified in `updateMask` are relative to the resource, not the full
258259
* request. A field will be overwritten if it is in the mask. If the user does
259260
* not provide a mask then all fields will be overwritten.
261+
* @opt_param bool validateOnly Optional. If set to `true`, only validates the
262+
* request but doesn’t execute the request. If set to `false`, validates and
263+
* executes the request.
260264
* @return Operation
261265
* @throws \Google\Service\Exception
262266
*/

src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsClusters.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@ class ProjectsLocationsPrivateCloudsClusters extends \Google\Service\Resource
6060
* @opt_param string requestId Optional. The request ID must be a valid UUID
6161
* with the exception that zero UUID is not supported
6262
* (00000000-0000-0000-0000-000000000000).
63-
* @opt_param bool validateOnly Optional. True if you want the request to be
64-
* validated and not executed; false otherwise.
63+
* @opt_param bool validateOnly Optional. If set to `true`, only validates the
64+
* request but doesn’t execute the request. If set to `false`, validates and
65+
* executes the request.
6566
* @return Operation
6667
* @throws \Google\Service\Exception
6768
*/
@@ -223,8 +224,9 @@ public function mountDatastore($name, MountDatastoreRequest $postBody, $optParam
223224
* specified in the `updateMask` are relative to the resource, not the full
224225
* request. A field will be overwritten if it is in the mask. If the user does
225226
* not provide a mask then all fields will be overwritten.
226-
* @opt_param bool validateOnly Optional. True if you want the request to be
227-
* validated and not executed; false otherwise.
227+
* @opt_param bool validateOnly Optional. If set to `true`, only validates the
228+
* request but doesn’t execute the request. If set to `false`, validates and
229+
* executes the request.
228230
* @return Operation
229231
* @throws \Google\Service\Exception
230232
*/

src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsExternalAddresses.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ class ProjectsLocationsPrivateCloudsExternalAddresses extends \Google\Service\Re
6464
* second request. This prevents clients from accidentally creating duplicate
6565
* commitments. The request ID must be a valid UUID with the exception that zero
6666
* UUID is not supported (00000000-0000-0000-0000-000000000000).
67+
* @opt_param bool validateOnly Optional. If set to `true`, only validates the
68+
* request but doesn’t execute the request. If set to `false`, validates and
69+
* executes the request.
6770
* @return Operation
6871
* @throws \Google\Service\Exception
6972
*/
@@ -198,6 +201,9 @@ public function listProjectsLocationsPrivateCloudsExternalAddresses($parent, $op
198201
* fields specified in the `update_mask` are relative to the resource, not the
199202
* full request. A field will be overwritten if it is in the mask. If the user
200203
* does not provide a mask then all fields will be overwritten.
204+
* @opt_param bool validateOnly Optional. If set to `true`, only validates the
205+
* request but doesn’t execute the request. If set to `false`, validates and
206+
* executes the request.
201207
* @return Operation
202208
* @throws \Google\Service\Exception
203209
*/

src/VMwareEngine/Resource/ProjectsLocationsPrivateConnections.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ class ProjectsLocationsPrivateConnections extends \Google\Service\Resource
6262
* second request. This prevents clients from accidentally creating duplicate
6363
* commitments. The request ID must be a valid UUID with the exception that zero
6464
* UUID is not supported (00000000-0000-0000-0000-000000000000).
65+
* @opt_param bool validateOnly Optional. If set to `true`, only validates the
66+
* request but doesn’t execute the request. If set to `false`, validates and
67+
* executes the request.
6568
* @return Operation
6669
* @throws \Google\Service\Exception
6770
*/
@@ -192,6 +195,9 @@ public function listProjectsLocationsPrivateConnections($parent, $optParams = []
192195
* The fields specified in the `update_mask` are relative to the resource, not
193196
* the full request. A field will be overwritten if it is in the mask. If the
194197
* user does not provide a mask then all fields will be overwritten.
198+
* @opt_param bool validateOnly Optional. If set to `true`, only validates the
199+
* request but doesn’t execute the request. If set to `false`, validates and
200+
* executes the request.
195201
* @return Operation
196202
* @throws \Google\Service\Exception
197203
*/

0 commit comments

Comments
 (0)