Skip to content

Commit

Permalink
Regenerate redis client (#5186)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Jun 3, 2024
1 parent ba5656c commit a6daf60
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/CloudRedis/Cluster.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ class Cluster extends \Google\Collection
* @var string
*/
public $uid;
protected $zoneDistributionConfigType = ZoneDistributionConfig::class;
protected $zoneDistributionConfigDataType = '';

/**
* @param string
Expand Down Expand Up @@ -326,6 +328,20 @@ public function getUid()
{
return $this->uid;
}
/**
* @param ZoneDistributionConfig
*/
public function setZoneDistributionConfig(ZoneDistributionConfig $zoneDistributionConfig)
{
$this->zoneDistributionConfig = $zoneDistributionConfig;
}
/**
* @return ZoneDistributionConfig
*/
public function getZoneDistributionConfig()
{
return $this->zoneDistributionConfig;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
Expand Down
62 changes: 62 additions & 0 deletions src/CloudRedis/ZoneDistributionConfig.php
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\CloudRedis;

class ZoneDistributionConfig extends \Google\Model
{
/**
* @var string
*/
public $mode;
/**
* @var string
*/
public $zone;

/**
* @param string
*/
public function setMode($mode)
{
$this->mode = $mode;
}
/**
* @return string
*/
public function getMode()
{
return $this->mode;
}
/**
* @param string
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @return string
*/
public function getZone()
{
return $this->zone;
}
}

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

0 comments on commit a6daf60

Please sign in to comment.