Skip to content

Commit 45a8dc0

Browse files
1 parent d7d6a84 commit 45a8dc0

4 files changed

Lines changed: 120 additions & 1 deletion

File tree

src/VMwareEngine.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
114114
'type' => 'string',
115115
'required' => true,
116116
],
117+
'extraLocationTypes' => [
118+
'location' => 'query',
119+
'type' => 'string',
120+
'repeated' => true,
121+
],
117122
'filter' => [
118123
'location' => 'query',
119124
'type' => 'string',

src/VMwareEngine/Constraints.php

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@
1717

1818
namespace Google\Service\VMwareEngine;
1919

20-
class Constraints extends \Google\Model
20+
class Constraints extends \Google\Collection
2121
{
22+
protected $collection_key = 'disallowedIntervals';
23+
protected $disallowedIntervalsType = WeeklyTimeInterval::class;
24+
protected $disallowedIntervalsDataType = 'array';
2225
/**
2326
* @var int
2427
*/
@@ -30,6 +33,20 @@ class Constraints extends \Google\Model
3033
protected $rescheduleDateRangeType = Interval::class;
3134
protected $rescheduleDateRangeDataType = '';
3235

36+
/**
37+
* @param WeeklyTimeInterval[]
38+
*/
39+
public function setDisallowedIntervals($disallowedIntervals)
40+
{
41+
$this->disallowedIntervals = $disallowedIntervals;
42+
}
43+
/**
44+
* @return WeeklyTimeInterval[]
45+
*/
46+
public function getDisallowedIntervals()
47+
{
48+
return $this->disallowedIntervals;
49+
}
3350
/**
3451
* @param int
3552
*/

src/VMwareEngine/Resource/ProjectsLocations.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ public function getDnsBindPermission($name, $optParams = [])
7575
* applicable.
7676
* @param array $optParams Optional parameters.
7777
*
78+
* @opt_param string extraLocationTypes Optional. A list of extra location types
79+
* that should be used as conditions for controlling the visibility of the
80+
* locations.
7881
* @opt_param string filter A filter to narrow down results to a preferred
7982
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
8083
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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\VMwareEngine;
19+
20+
class WeeklyTimeInterval extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $endDay;
26+
protected $endTimeType = TimeOfDay::class;
27+
protected $endTimeDataType = '';
28+
/**
29+
* @var string
30+
*/
31+
public $startDay;
32+
protected $startTimeType = TimeOfDay::class;
33+
protected $startTimeDataType = '';
34+
35+
/**
36+
* @param string
37+
*/
38+
public function setEndDay($endDay)
39+
{
40+
$this->endDay = $endDay;
41+
}
42+
/**
43+
* @return string
44+
*/
45+
public function getEndDay()
46+
{
47+
return $this->endDay;
48+
}
49+
/**
50+
* @param TimeOfDay
51+
*/
52+
public function setEndTime(TimeOfDay $endTime)
53+
{
54+
$this->endTime = $endTime;
55+
}
56+
/**
57+
* @return TimeOfDay
58+
*/
59+
public function getEndTime()
60+
{
61+
return $this->endTime;
62+
}
63+
/**
64+
* @param string
65+
*/
66+
public function setStartDay($startDay)
67+
{
68+
$this->startDay = $startDay;
69+
}
70+
/**
71+
* @return string
72+
*/
73+
public function getStartDay()
74+
{
75+
return $this->startDay;
76+
}
77+
/**
78+
* @param TimeOfDay
79+
*/
80+
public function setStartTime(TimeOfDay $startTime)
81+
{
82+
$this->startTime = $startTime;
83+
}
84+
/**
85+
* @return TimeOfDay
86+
*/
87+
public function getStartTime()
88+
{
89+
return $this->startTime;
90+
}
91+
}
92+
93+
// Adding a class alias for backwards compatibility with the previous class name.
94+
class_alias(WeeklyTimeInterval::class, 'Google_Service_VMwareEngine_WeeklyTimeInterval');

0 commit comments

Comments
 (0)