Skip to content

Commit 5b6b445

Browse files
1 parent cf27919 commit 5b6b445

3 files changed

Lines changed: 96 additions & 0 deletions

File tree

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\Container;
19+
20+
class AutoscaledRolloutPolicy extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $waitForDrainDuration;
26+
27+
/**
28+
* @param string
29+
*/
30+
public function setWaitForDrainDuration($waitForDrainDuration)
31+
{
32+
$this->waitForDrainDuration = $waitForDrainDuration;
33+
}
34+
/**
35+
* @return string
36+
*/
37+
public function getWaitForDrainDuration()
38+
{
39+
return $this->waitForDrainDuration;
40+
}
41+
}
42+
43+
// Adding a class alias for backwards compatibility with the previous class name.
44+
class_alias(AutoscaledRolloutPolicy::class, 'Google_Service_Container_AutoscaledRolloutPolicy');

src/Container/BlueGreenSettings.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,29 @@
1919

2020
class BlueGreenSettings extends \Google\Model
2121
{
22+
protected $autoscaledRolloutPolicyType = AutoscaledRolloutPolicy::class;
23+
protected $autoscaledRolloutPolicyDataType = '';
2224
/**
2325
* @var string
2426
*/
2527
public $nodePoolSoakDuration;
2628
protected $standardRolloutPolicyType = StandardRolloutPolicy::class;
2729
protected $standardRolloutPolicyDataType = '';
2830

31+
/**
32+
* @param AutoscaledRolloutPolicy
33+
*/
34+
public function setAutoscaledRolloutPolicy(AutoscaledRolloutPolicy $autoscaledRolloutPolicy)
35+
{
36+
$this->autoscaledRolloutPolicy = $autoscaledRolloutPolicy;
37+
}
38+
/**
39+
* @return AutoscaledRolloutPolicy
40+
*/
41+
public function getAutoscaledRolloutPolicy()
42+
{
43+
return $this->autoscaledRolloutPolicy;
44+
}
2945
/**
3046
* @param string
3147
*/

src/Container/DNSEndpointConfig.php

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ class DNSEndpointConfig extends \Google\Model
2323
* @var bool
2424
*/
2525
public $allowExternalTraffic;
26+
/**
27+
* @var bool
28+
*/
29+
public $enableK8sCertsViaDns;
30+
/**
31+
* @var bool
32+
*/
33+
public $enableK8sTokensViaDns;
2634
/**
2735
* @var string
2836
*/
@@ -42,6 +50,34 @@ public function getAllowExternalTraffic()
4250
{
4351
return $this->allowExternalTraffic;
4452
}
53+
/**
54+
* @param bool
55+
*/
56+
public function setEnableK8sCertsViaDns($enableK8sCertsViaDns)
57+
{
58+
$this->enableK8sCertsViaDns = $enableK8sCertsViaDns;
59+
}
60+
/**
61+
* @return bool
62+
*/
63+
public function getEnableK8sCertsViaDns()
64+
{
65+
return $this->enableK8sCertsViaDns;
66+
}
67+
/**
68+
* @param bool
69+
*/
70+
public function setEnableK8sTokensViaDns($enableK8sTokensViaDns)
71+
{
72+
$this->enableK8sTokensViaDns = $enableK8sTokensViaDns;
73+
}
74+
/**
75+
* @return bool
76+
*/
77+
public function getEnableK8sTokensViaDns()
78+
{
79+
return $this->enableK8sTokensViaDns;
80+
}
4581
/**
4682
* @param string
4783
*/

0 commit comments

Comments
 (0)