Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions src/VMwareEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'location' => 'query',
'type' => 'string',
],
'validateOnly' => [
'location' => 'query',
'type' => 'boolean',
],
],
],'delete' => [
'path' => 'v1/{+name}',
Expand Down Expand Up @@ -408,6 +412,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'location' => 'query',
'type' => 'string',
],
'validateOnly' => [
'location' => 'query',
'type' => 'boolean',
],
],
],
]
Expand Down Expand Up @@ -468,6 +476,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'location' => 'query',
'type' => 'string',
],
'validateOnly' => [
'location' => 'query',
'type' => 'boolean',
],
],
],'delete' => [
'path' => 'v1/{+name}',
Expand Down Expand Up @@ -554,6 +566,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'location' => 'query',
'type' => 'string',
],
'validateOnly' => [
'location' => 'query',
'type' => 'boolean',
],
],
],
]
Expand Down Expand Up @@ -582,6 +598,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'location' => 'query',
'type' => 'string',
],
'validateOnly' => [
'location' => 'query',
'type' => 'boolean',
],
],
],'delete' => [
'path' => 'v1/{+name}',
Expand Down Expand Up @@ -650,6 +670,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'location' => 'query',
'type' => 'string',
],
'validateOnly' => [
'location' => 'query',
'type' => 'boolean',
],
],
],
]
Expand Down Expand Up @@ -880,6 +904,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'location' => 'query',
'type' => 'string',
],
'validateOnly' => [
'location' => 'query',
'type' => 'boolean',
],
],
],'privateCloudDeletionNow' => [
'path' => 'v1/{+name}:privateCloudDeletionNow',
Expand Down Expand Up @@ -1206,6 +1234,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'location' => 'query',
'type' => 'string',
],
'validateOnly' => [
'location' => 'query',
'type' => 'boolean',
],
],
],'delete' => [
'path' => 'v1/{+name}',
Expand Down Expand Up @@ -1274,6 +1306,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'location' => 'query',
'type' => 'string',
],
'validateOnly' => [
'location' => 'query',
'type' => 'boolean',
],
],
],
]
Expand Down Expand Up @@ -1710,6 +1746,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'location' => 'query',
'type' => 'string',
],
'validateOnly' => [
'location' => 'query',
'type' => 'boolean',
],
],
],'delete' => [
'path' => 'v1/{+name}',
Expand Down Expand Up @@ -1778,6 +1818,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'location' => 'query',
'type' => 'string',
],
'validateOnly' => [
'location' => 'query',
'type' => 'boolean',
],
],
],
]
Expand Down Expand Up @@ -1830,6 +1874,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'location' => 'query',
'type' => 'string',
],
'validateOnly' => [
'location' => 'query',
'type' => 'boolean',
],
'vmwareEngineNetworkId' => [
'location' => 'query',
'type' => 'string',
Expand Down Expand Up @@ -1906,6 +1954,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'location' => 'query',
'type' => 'string',
],
'validateOnly' => [
'location' => 'query',
'type' => 'boolean',
],
],
],
]
Expand Down
24 changes: 24 additions & 0 deletions src/VMwareEngine/MountDatastoreRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
15 changes: 10 additions & 5 deletions src/VMwareEngine/Resource/ProjectsLocations.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
*/
Expand Down
Loading
Loading