Skip to content

Commit

Permalink
Regenerate workloadmanager client (#5780)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Oct 28, 2024
1 parent 0c5db17 commit 5a671ff
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/WorkloadManager/Execution.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ class Execution extends \Google\Collection
* @var string
*/
public $name;
protected $noticesType = Notice::class;
protected $noticesDataType = 'array';
protected $ruleResultsType = RuleExecutionResult::class;
protected $ruleResultsDataType = 'array';
/**
Expand Down Expand Up @@ -141,6 +143,20 @@ public function getName()
{
return $this->name;
}
/**
* @param Notice[]
*/
public function setNotices($notices)
{
$this->notices = $notices;
}
/**
* @return Notice[]
*/
public function getNotices()
{
return $this->notices;
}
/**
* @param RuleExecutionResult[]
*/
Expand Down
44 changes: 44 additions & 0 deletions src/WorkloadManager/Notice.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?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 Notice extends \Google\Model
{
/**
* @var string
*/
public $message;

/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}

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

0 comments on commit 5a671ff

Please sign in to comment.