diff --git a/src/VMwareEngine.php b/src/VMwareEngine.php index 6b4e3b93a5c..64ae17a723e 100644 --- a/src/VMwareEngine.php +++ b/src/VMwareEngine.php @@ -340,6 +340,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null) 'location' => 'query', 'type' => 'string', ], + 'validateOnly' => [ + 'location' => 'query', + 'type' => 'boolean', + ], ], ],'delete' => [ 'path' => 'v1/{+name}', @@ -408,6 +412,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null) 'location' => 'query', 'type' => 'string', ], + 'validateOnly' => [ + 'location' => 'query', + 'type' => 'boolean', + ], ], ], ] @@ -468,6 +476,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null) 'location' => 'query', 'type' => 'string', ], + 'validateOnly' => [ + 'location' => 'query', + 'type' => 'boolean', + ], ], ],'delete' => [ 'path' => 'v1/{+name}', @@ -554,6 +566,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null) 'location' => 'query', 'type' => 'string', ], + 'validateOnly' => [ + 'location' => 'query', + 'type' => 'boolean', + ], ], ], ] @@ -582,6 +598,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null) 'location' => 'query', 'type' => 'string', ], + 'validateOnly' => [ + 'location' => 'query', + 'type' => 'boolean', + ], ], ],'delete' => [ 'path' => 'v1/{+name}', @@ -650,6 +670,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null) 'location' => 'query', 'type' => 'string', ], + 'validateOnly' => [ + 'location' => 'query', + 'type' => 'boolean', + ], ], ], ] @@ -880,6 +904,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null) 'location' => 'query', 'type' => 'string', ], + 'validateOnly' => [ + 'location' => 'query', + 'type' => 'boolean', + ], ], ],'privateCloudDeletionNow' => [ 'path' => 'v1/{+name}:privateCloudDeletionNow', @@ -1206,6 +1234,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null) 'location' => 'query', 'type' => 'string', ], + 'validateOnly' => [ + 'location' => 'query', + 'type' => 'boolean', + ], ], ],'delete' => [ 'path' => 'v1/{+name}', @@ -1274,6 +1306,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null) 'location' => 'query', 'type' => 'string', ], + 'validateOnly' => [ + 'location' => 'query', + 'type' => 'boolean', + ], ], ], ] @@ -1710,6 +1746,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null) 'location' => 'query', 'type' => 'string', ], + 'validateOnly' => [ + 'location' => 'query', + 'type' => 'boolean', + ], ], ],'delete' => [ 'path' => 'v1/{+name}', @@ -1778,6 +1818,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null) 'location' => 'query', 'type' => 'string', ], + 'validateOnly' => [ + 'location' => 'query', + 'type' => 'boolean', + ], ], ], ] @@ -1830,6 +1874,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null) 'location' => 'query', 'type' => 'string', ], + 'validateOnly' => [ + 'location' => 'query', + 'type' => 'boolean', + ], 'vmwareEngineNetworkId' => [ 'location' => 'query', 'type' => 'string', @@ -1906,6 +1954,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null) 'location' => 'query', 'type' => 'string', ], + 'validateOnly' => [ + 'location' => 'query', + 'type' => 'boolean', + ], ], ], ] diff --git a/src/VMwareEngine/MountDatastoreRequest.php b/src/VMwareEngine/MountDatastoreRequest.php index 0a3d18cea9b..d8dfb047d7b 100644 --- a/src/VMwareEngine/MountDatastoreRequest.php +++ b/src/VMwareEngine/MountDatastoreRequest.php @@ -38,6 +38,13 @@ class MountDatastoreRequest extends \Google\Model * @var string */ public $requestId; + /** + * Optional. If set to `true`, only validates the request but doesn’t execute + * the request. If set to `false`, validates and executes the request. + * + * @var bool + */ + public $validateOnly; /** * Required. The datastore mount configuration. @@ -92,6 +99,23 @@ public function getRequestId() { return $this->requestId; } + /** + * Optional. If set to `true`, only validates the request but doesn’t execute + * the request. If set to `false`, validates and executes the request. + * + * @param bool $validateOnly + */ + public function setValidateOnly($validateOnly) + { + $this->validateOnly = $validateOnly; + } + /** + * @return bool + */ + public function getValidateOnly() + { + return $this->validateOnly; + } } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/src/VMwareEngine/Resource/ProjectsLocations.php b/src/VMwareEngine/Resource/ProjectsLocations.php index 4a6825bf9fd..230aef8e3be 100644 --- a/src/VMwareEngine/Resource/ProjectsLocations.php +++ b/src/VMwareEngine/Resource/ProjectsLocations.php @@ -69,11 +69,16 @@ public function getDnsBindPermission($name, $optParams = []) } /** * Lists information about the supported locations for this service. This method - * can be called in two ways: * **List all public locations:** Use the path `GET - * /v1/locations`. * **List project-visible locations:** Use the path `GET - * /v1/projects/{project_id}/locations`. This may include public locations as - * well as private or other locations specifically visible to the project. - * (locations.listProjectsLocations) + * lists locations based on the resource scope provided in the + * [ListLocationsRequest.name] field: * **Global locations**: If `name` is + * empty, the method lists the public locations available to all projects. * + * **Project-specific locations**: If `name` follows the format + * `projects/{project}`, the method lists locations visible to that specific + * project. This includes public, private, or other project-specific locations + * enabled for the project. For gRPC and client library implementations, the + * resource name is passed as the `name` field. For direct service calls, the + * resource name is incorporated into the request path based on the specific + * service implementation and version. (locations.listProjectsLocations) * * @param string $name The resource that owns the locations collection, if * applicable. diff --git a/src/VMwareEngine/Resource/ProjectsLocationsNetworkPeerings.php b/src/VMwareEngine/Resource/ProjectsLocationsNetworkPeerings.php index 8d71c51fbee..587bf45d947 100644 --- a/src/VMwareEngine/Resource/ProjectsLocationsNetworkPeerings.php +++ b/src/VMwareEngine/Resource/ProjectsLocationsNetworkPeerings.php @@ -64,6 +64,9 @@ class ProjectsLocationsNetworkPeerings extends \Google\Service\Resource * second request. This prevents clients from accidentally creating duplicate * commitments. The request ID must be a valid UUID with the exception that zero * UUID is not supported (00000000-0000-0000-0000-000000000000). + * @opt_param bool validateOnly Optional. If set to `true`, only validates the + * request but doesn’t execute the request. If set to `false`, validates and + * executes the request. * @return Operation * @throws \Google\Service\Exception */ @@ -197,6 +200,9 @@ public function listProjectsLocationsNetworkPeerings($parent, $optParams = []) * fields specified in the `update_mask` are relative to the resource, not the * full request. A field will be overwritten if it is in the mask. If the user * does not provide a mask then all fields will be overwritten. + * @opt_param bool validateOnly Optional. If set to `true`, only validates the + * request but doesn’t execute the request. If set to `false`, validates and + * executes the request. * @return Operation * @throws \Google\Service\Exception */ diff --git a/src/VMwareEngine/Resource/ProjectsLocationsNetworkPolicies.php b/src/VMwareEngine/Resource/ProjectsLocationsNetworkPolicies.php index c0d471d94e5..3c83d08c85b 100644 --- a/src/VMwareEngine/Resource/ProjectsLocationsNetworkPolicies.php +++ b/src/VMwareEngine/Resource/ProjectsLocationsNetworkPolicies.php @@ -64,6 +64,9 @@ class ProjectsLocationsNetworkPolicies extends \Google\Service\Resource * second request. This prevents clients from accidentally creating duplicate * commitments. The request ID must be a valid UUID with the exception that zero * UUID is not supported (00000000-0000-0000-0000-000000000000). + * @opt_param bool validateOnly Optional. If set to `true`, only validates the + * request but doesn’t execute the request. If set to `false`, validates and + * executes the request. * @return Operation * @throws \Google\Service\Exception */ @@ -228,6 +231,9 @@ public function listProjectsLocationsNetworkPolicies($parent, $optParams = []) * fields specified in the `update_mask` are relative to the resource, not the * full request. A field will be overwritten if it is in the mask. If the user * does not provide a mask then all fields will be overwritten. + * @opt_param bool validateOnly Optional. If set to `true`, only validates the + * request but doesn’t execute the request. If set to `false`, validates and + * executes the request. * @return Operation * @throws \Google\Service\Exception */ diff --git a/src/VMwareEngine/Resource/ProjectsLocationsNetworkPoliciesExternalAccessRules.php b/src/VMwareEngine/Resource/ProjectsLocationsNetworkPoliciesExternalAccessRules.php index 9a568ffcb68..421d544df48 100644 --- a/src/VMwareEngine/Resource/ProjectsLocationsNetworkPoliciesExternalAccessRules.php +++ b/src/VMwareEngine/Resource/ProjectsLocationsNetworkPoliciesExternalAccessRules.php @@ -62,6 +62,9 @@ class ProjectsLocationsNetworkPoliciesExternalAccessRules extends \Google\Servic * prevents clients from accidentally creating duplicate commitments. The * request ID must be a valid UUID with the exception that zero UUID is not * supported (00000000-0000-0000-0000-000000000000). + * @opt_param bool validateOnly Optional. If set to `true`, only validates the + * request but doesn’t execute the request. If set to `false`, validates and + * executes the request. * @return Operation * @throws \Google\Service\Exception */ @@ -191,6 +194,9 @@ public function listProjectsLocationsNetworkPoliciesExternalAccessRules($parent, * The fields specified in the `update_mask` are relative to the resource, not * the full request. A field will be overwritten if it is in the mask. If the * user does not provide a mask then all fields will be overwritten. + * @opt_param bool validateOnly Optional. If set to `true`, only validates the + * request but doesn’t execute the// request. If set to `false`, validates and + * executes the request. * @return Operation * @throws \Google\Service\Exception */ diff --git a/src/VMwareEngine/Resource/ProjectsLocationsPrivateClouds.php b/src/VMwareEngine/Resource/ProjectsLocationsPrivateClouds.php index 8c267a17b6e..0a67b97cbf8 100644 --- a/src/VMwareEngine/Resource/ProjectsLocationsPrivateClouds.php +++ b/src/VMwareEngine/Resource/ProjectsLocationsPrivateClouds.php @@ -66,8 +66,9 @@ class ProjectsLocationsPrivateClouds extends \Google\Service\Resource * @opt_param string requestId Optional. The request ID must be a valid UUID * with the exception that zero UUID is not supported * (00000000-0000-0000-0000-000000000000). - * @opt_param bool validateOnly Optional. True if you want the request to be - * validated and not executed; false otherwise. + * @opt_param bool validateOnly Optional. If set to `true`, only validates the + * request but doesn’t execute the request. If set to `false`, validates and + * executes the request. * @return Operation * @throws \Google\Service\Exception */ @@ -257,6 +258,9 @@ public function listProjectsLocationsPrivateClouds($parent, $optParams = []) * fields specified in `updateMask` are relative to the resource, not the full * request. A field will be overwritten if it is in the mask. If the user does * not provide a mask then all fields will be overwritten. + * @opt_param bool validateOnly Optional. If set to `true`, only validates the + * request but doesn’t execute the request. If set to `false`, validates and + * executes the request. * @return Operation * @throws \Google\Service\Exception */ diff --git a/src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsClusters.php b/src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsClusters.php index 8b23c4ccb05..c9a305e96a8 100644 --- a/src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsClusters.php +++ b/src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsClusters.php @@ -60,8 +60,9 @@ class ProjectsLocationsPrivateCloudsClusters extends \Google\Service\Resource * @opt_param string requestId Optional. The request ID must be a valid UUID * with the exception that zero UUID is not supported * (00000000-0000-0000-0000-000000000000). - * @opt_param bool validateOnly Optional. True if you want the request to be - * validated and not executed; false otherwise. + * @opt_param bool validateOnly Optional. If set to `true`, only validates the + * request but doesn’t execute the request. If set to `false`, validates and + * executes the request. * @return Operation * @throws \Google\Service\Exception */ @@ -223,8 +224,9 @@ public function mountDatastore($name, MountDatastoreRequest $postBody, $optParam * specified in the `updateMask` are relative to the resource, not the full * request. A field will be overwritten if it is in the mask. If the user does * not provide a mask then all fields will be overwritten. - * @opt_param bool validateOnly Optional. True if you want the request to be - * validated and not executed; false otherwise. + * @opt_param bool validateOnly Optional. If set to `true`, only validates the + * request but doesn’t execute the request. If set to `false`, validates and + * executes the request. * @return Operation * @throws \Google\Service\Exception */ diff --git a/src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsExternalAddresses.php b/src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsExternalAddresses.php index 7433fa62842..202c7fa37de 100644 --- a/src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsExternalAddresses.php +++ b/src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsExternalAddresses.php @@ -64,6 +64,9 @@ class ProjectsLocationsPrivateCloudsExternalAddresses extends \Google\Service\Re * second request. This prevents clients from accidentally creating duplicate * commitments. The request ID must be a valid UUID with the exception that zero * UUID is not supported (00000000-0000-0000-0000-000000000000). + * @opt_param bool validateOnly Optional. If set to `true`, only validates the + * request but doesn’t execute the request. If set to `false`, validates and + * executes the request. * @return Operation * @throws \Google\Service\Exception */ @@ -198,6 +201,9 @@ public function listProjectsLocationsPrivateCloudsExternalAddresses($parent, $op * fields specified in the `update_mask` are relative to the resource, not the * full request. A field will be overwritten if it is in the mask. If the user * does not provide a mask then all fields will be overwritten. + * @opt_param bool validateOnly Optional. If set to `true`, only validates the + * request but doesn’t execute the request. If set to `false`, validates and + * executes the request. * @return Operation * @throws \Google\Service\Exception */ diff --git a/src/VMwareEngine/Resource/ProjectsLocationsPrivateConnections.php b/src/VMwareEngine/Resource/ProjectsLocationsPrivateConnections.php index fddcaab3176..49753cc9808 100644 --- a/src/VMwareEngine/Resource/ProjectsLocationsPrivateConnections.php +++ b/src/VMwareEngine/Resource/ProjectsLocationsPrivateConnections.php @@ -62,6 +62,9 @@ class ProjectsLocationsPrivateConnections extends \Google\Service\Resource * second request. This prevents clients from accidentally creating duplicate * commitments. The request ID must be a valid UUID with the exception that zero * UUID is not supported (00000000-0000-0000-0000-000000000000). + * @opt_param bool validateOnly Optional. If set to `true`, only validates the + * request but doesn’t execute the request. If set to `false`, validates and + * executes the request. * @return Operation * @throws \Google\Service\Exception */ @@ -192,6 +195,9 @@ public function listProjectsLocationsPrivateConnections($parent, $optParams = [] * The fields specified in the `update_mask` are relative to the resource, not * the full request. A field will be overwritten if it is in the mask. If the * user does not provide a mask then all fields will be overwritten. + * @opt_param bool validateOnly Optional. If set to `true`, only validates the + * request but doesn’t execute the request. If set to `false`, validates and + * executes the request. * @return Operation * @throws \Google\Service\Exception */ diff --git a/src/VMwareEngine/Resource/ProjectsLocationsVmwareEngineNetworks.php b/src/VMwareEngine/Resource/ProjectsLocationsVmwareEngineNetworks.php index 4191063f28d..94e29b9e1e3 100644 --- a/src/VMwareEngine/Resource/ProjectsLocationsVmwareEngineNetworks.php +++ b/src/VMwareEngine/Resource/ProjectsLocationsVmwareEngineNetworks.php @@ -55,6 +55,9 @@ class ProjectsLocationsVmwareEngineNetworks extends \Google\Service\Resource * second request. This prevents clients from accidentally creating duplicate * commitments. The request ID must be a valid UUID with the exception that zero * UUID is not supported (00000000-0000-0000-0000-000000000000). + * @opt_param bool validateOnly Optional. If set to `true`, only validates the + * request but doesn’t execute the request. If set to `false`, validates and + * executes the request. * @opt_param string vmwareEngineNetworkId Required. The user-provided * identifier of the new VMware Engine network. This identifier must be unique * among VMware Engine network resources within the parent and becomes the final @@ -202,6 +205,9 @@ public function listProjectsLocationsVmwareEngineNetworks($parent, $optParams = * the full request. A field will be overwritten if it is in the mask. If the * user does not provide a mask then all fields will be overwritten. Only the * following fields can be updated: `description`. + * @opt_param bool validateOnly Optional. If set to `true`, only validates the + * request but doesn’t execute the request. If set to `false`, validates and + * executes the request. * @return Operation * @throws \Google\Service\Exception */ diff --git a/src/VMwareEngine/UnmountDatastoreRequest.php b/src/VMwareEngine/UnmountDatastoreRequest.php index d896d041c18..63c199e1920 100644 --- a/src/VMwareEngine/UnmountDatastoreRequest.php +++ b/src/VMwareEngine/UnmountDatastoreRequest.php @@ -35,6 +35,13 @@ class UnmountDatastoreRequest extends \Google\Model * @var string */ public $requestId; + /** + * Optional. If set to `true`, only validates the request but doesn’t execute + * the request. If set to `false`, validates and executes the request. + * + * @var bool + */ + public $validateOnly; /** * Required. The resource name of the datastore to unmount. Resource names are @@ -72,6 +79,23 @@ public function getRequestId() { return $this->requestId; } + /** + * Optional. If set to `true`, only validates the request but doesn’t execute + * the request. If set to `false`, validates and executes the request. + * + * @param bool $validateOnly + */ + public function setValidateOnly($validateOnly) + { + $this->validateOnly = $validateOnly; + } + /** + * @return bool + */ + public function getValidateOnly() + { + return $this->validateOnly; + } } // Adding a class alias for backwards compatibility with the previous class name.