Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerate workloadmanager client #6022

Merged
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
18 changes: 18 additions & 0 deletions src/WorkloadManager/Evaluation.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ class Evaluation extends \Google\Collection
* @var string
*/
public $description;
/**
* @var string
*/
public $evaluationType;
/**
* @var string[]
*/
Expand Down Expand Up @@ -119,6 +123,20 @@ public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEvaluationType($evaluationType)
{
$this->evaluationType = $evaluationType;
}
/**
* @return string
*/
public function getEvaluationType()
{
return $this->evaluationType;
}
/**
* @param string[]
*/
Expand Down
16 changes: 16 additions & 0 deletions src/WorkloadManager/Execution.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ class Execution extends \Google\Collection
public $name;
protected $noticesType = Notice::class;
protected $noticesDataType = 'array';
protected $resultSummaryType = Summary::class;
protected $resultSummaryDataType = '';
protected $ruleResultsType = RuleExecutionResult::class;
protected $ruleResultsDataType = 'array';
/**
Expand Down Expand Up @@ -157,6 +159,20 @@ public function getNotices()
{
return $this->notices;
}
/**
* @param Summary
*/
public function setResultSummary(Summary $resultSummary)
{
$this->resultSummary = $resultSummary;
}
/**
* @return Summary
*/
public function getResultSummary()
{
return $this->resultSummary;
}
/**
* @param RuleExecutionResult[]
*/
Expand Down
16 changes: 16 additions & 0 deletions src/WorkloadManager/Insight.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ class Insight extends \Google\Model
public $sentTime;
protected $sqlserverValidationType = SqlserverValidation::class;
protected $sqlserverValidationDataType = '';
protected $torsoValidationType = TorsoValidation::class;
protected $torsoValidationDataType = '';

/**
* @param string
Expand Down Expand Up @@ -104,6 +106,20 @@ public function getSqlserverValidation()
{
return $this->sqlserverValidation;
}
/**
* @param TorsoValidation
*/
public function setTorsoValidation(TorsoValidation $torsoValidation)
{
$this->torsoValidation = $torsoValidation;
}
/**
* @return TorsoValidation
*/
public function getTorsoValidation()
{
return $this->torsoValidation;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ProjectsLocationsOperations extends \Google\Service\Resource
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
Expand Down
80 changes: 80 additions & 0 deletions src/WorkloadManager/Summary.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?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 Summary extends \Google\Model
{
/**
* @var string
*/
public $failures;
/**
* @var string
*/
public $newFailures;
/**
* @var string
*/
public $newFixes;

/**
* @param string
*/
public function setFailures($failures)
{
$this->failures = $failures;
}
/**
* @return string
*/
public function getFailures()
{
return $this->failures;
}
/**
* @param string
*/
public function setNewFailures($newFailures)
{
$this->newFailures = $newFailures;
}
/**
* @return string
*/
public function getNewFailures()
{
return $this->newFailures;
}
/**
* @param string
*/
public function setNewFixes($newFixes)
{
$this->newFixes = $newFixes;
}
/**
* @return string
*/
public function getNewFixes()
{
return $this->newFixes;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Summary::class, 'Google_Service_WorkloadManager_Summary');
116 changes: 116 additions & 0 deletions src/WorkloadManager/TorsoValidation.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
<?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 TorsoValidation extends \Google\Model
{
/**
* @var string
*/
public $agentVersion;
/**
* @var string
*/
public $instanceName;
/**
* @var string
*/
public $projectId;
/**
* @var string[]
*/
public $validationDetails;
/**
* @var string
*/
public $workloadType;

/**
* @param string
*/
public function setAgentVersion($agentVersion)
{
$this->agentVersion = $agentVersion;
}
/**
* @return string
*/
public function getAgentVersion()
{
return $this->agentVersion;
}
/**
* @param string
*/
public function setInstanceName($instanceName)
{
$this->instanceName = $instanceName;
}
/**
* @return string
*/
public function getInstanceName()
{
return $this->instanceName;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param string[]
*/
public function setValidationDetails($validationDetails)
{
$this->validationDetails = $validationDetails;
}
/**
* @return string[]
*/
public function getValidationDetails()
{
return $this->validationDetails;
}
/**
* @param string
*/
public function setWorkloadType($workloadType)
{
$this->workloadType = $workloadType;
}
/**
* @return string
*/
public function getWorkloadType()
{
return $this->workloadType;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TorsoValidation::class, 'Google_Service_WorkloadManager_TorsoValidation');