-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regenerate workloadmanager client (#6227)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-php-client-services/actions/workflows/codegen.yaml
- Loading branch information
1 parent
eaf72a9
commit 8c34319
Showing
4 changed files
with
168 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
src/WorkloadManager/Resource/ProjectsLocationsSapSystems.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?php | ||
/* | ||
* Copyright 2014 Google Inc. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not | ||
* use this file except in compliance with the License. You may obtain a copy of | ||
* the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
* License for the specific language governing permissions and limitations under | ||
* the License. | ||
*/ | ||
|
||
namespace Google\Service\WorkloadManager\Resource; | ||
|
||
use Google\Service\WorkloadManager\WorkloadmanagerEmpty; | ||
|
||
/** | ||
* The "sapSystems" collection of methods. | ||
* Typical usage is: | ||
* <code> | ||
* $workloadmanagerService = new Google\Service\WorkloadManager(...); | ||
* $sapSystems = $workloadmanagerService->projects_locations_sapSystems; | ||
* </code> | ||
*/ | ||
class ProjectsLocationsSapSystems extends \Google\Service\Resource | ||
{ | ||
/** | ||
* Delete the data insights from workload manager data warehouse. | ||
* (sapSystems.delete) | ||
* | ||
* @param string $name Required. The system id of the SAP system resource to | ||
* delete. Formatted as | ||
* projects/{project}/locations/{location}/sapSystems/{sap_system_id} | ||
* @param array $optParams Optional parameters. | ||
* | ||
* @opt_param string requestId Optional. An optional request ID to identify | ||
* requests. Specify a unique request ID so that if you must retry your request, | ||
* the server will know to ignore the request if it has already been completed. | ||
* The server will guarantee that for at least 60 minutes since the first | ||
* request. For example, consider a situation where you make an initial request | ||
* and the request times out. If you make the request again with the same | ||
* request ID, the server can check if original operation with the same request | ||
* ID was received, and if so, will ignore the 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). | ||
* @return WorkloadmanagerEmpty | ||
* @throws \Google\Service\Exception | ||
*/ | ||
public function delete($name, $optParams = []) | ||
{ | ||
$params = ['name' => $name]; | ||
$params = array_merge($params, $optParams); | ||
return $this->call('delete', [$params], WorkloadmanagerEmpty::class); | ||
} | ||
} | ||
|
||
// Adding a class alias for backwards compatibility with the previous class name. | ||
class_alias(ProjectsLocationsSapSystems::class, 'Google_Service_WorkloadManager_Resource_ProjectsLocationsSapSystems'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
src/WorkloadManager/SapDiscoveryResourceInstancePropertiesDiskMount.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?php | ||
/* | ||
* Copyright 2014 Google Inc. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not | ||
* use this file except in compliance with the License. You may obtain a copy of | ||
* the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
* License for the specific language governing permissions and limitations under | ||
* the License. | ||
*/ | ||
|
||
namespace Google\Service\WorkloadManager; | ||
|
||
class SapDiscoveryResourceInstancePropertiesDiskMount extends \Google\Model | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public $mountPoint; | ||
/** | ||
* @var string | ||
*/ | ||
public $name; | ||
|
||
/** | ||
* @param string | ||
*/ | ||
public function setMountPoint($mountPoint) | ||
{ | ||
$this->mountPoint = $mountPoint; | ||
} | ||
/** | ||
* @return string | ||
*/ | ||
public function getMountPoint() | ||
{ | ||
return $this->mountPoint; | ||
} | ||
/** | ||
* @param string | ||
*/ | ||
public function setName($name) | ||
{ | ||
$this->name = $name; | ||
} | ||
/** | ||
* @return string | ||
*/ | ||
public function getName() | ||
{ | ||
return $this->name; | ||
} | ||
} | ||
|
||
// Adding a class alias for backwards compatibility with the previous class name. | ||
class_alias(SapDiscoveryResourceInstancePropertiesDiskMount::class, 'Google_Service_WorkloadManager_SapDiscoveryResourceInstancePropertiesDiskMount'); |