Skip to content

Commit 197e061

Browse files
Regenerate netapp client
1 parent c9fa9d7 commit 197e061

File tree

6 files changed

+338
-0
lines changed

6 files changed

+338
-0
lines changed

src/NetAppFiles.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
9696
'type' => 'string',
9797
'required' => true,
9898
],
99+
'extraLocationTypes' => [
100+
'location' => 'query',
101+
'type' => 'string',
102+
'repeated' => true,
103+
],
99104
'filter' => [
100105
'location' => 'query',
101106
'type' => 'string',

src/NetAppFiles/Backup.php

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919

2020
class Backup extends \Google\Model
2121
{
22+
/**
23+
* @var string
24+
*/
25+
public $backupRegion;
2226
/**
2327
* @var string
2428
*/
@@ -35,6 +39,10 @@ class Backup extends \Google\Model
3539
* @var string
3640
*/
3741
public $description;
42+
/**
43+
* @var string
44+
*/
45+
public $enforcedRetentionEndTime;
3846
/**
3947
* @var string[]
4048
*/
@@ -63,11 +71,29 @@ class Backup extends \Google\Model
6371
* @var string
6472
*/
6573
public $state;
74+
/**
75+
* @var string
76+
*/
77+
public $volumeRegion;
6678
/**
6779
* @var string
6880
*/
6981
public $volumeUsageBytes;
7082

83+
/**
84+
* @param string
85+
*/
86+
public function setBackupRegion($backupRegion)
87+
{
88+
$this->backupRegion = $backupRegion;
89+
}
90+
/**
91+
* @return string
92+
*/
93+
public function getBackupRegion()
94+
{
95+
return $this->backupRegion;
96+
}
7197
/**
7298
* @param string
7399
*/
@@ -124,6 +150,20 @@ public function getDescription()
124150
{
125151
return $this->description;
126152
}
153+
/**
154+
* @param string
155+
*/
156+
public function setEnforcedRetentionEndTime($enforcedRetentionEndTime)
157+
{
158+
$this->enforcedRetentionEndTime = $enforcedRetentionEndTime;
159+
}
160+
/**
161+
* @return string
162+
*/
163+
public function getEnforcedRetentionEndTime()
164+
{
165+
return $this->enforcedRetentionEndTime;
166+
}
127167
/**
128168
* @param string[]
129169
*/
@@ -222,6 +262,20 @@ public function getState()
222262
{
223263
return $this->state;
224264
}
265+
/**
266+
* @param string
267+
*/
268+
public function setVolumeRegion($volumeRegion)
269+
{
270+
$this->volumeRegion = $volumeRegion;
271+
}
272+
/**
273+
* @return string
274+
*/
275+
public function getVolumeRegion()
276+
{
277+
return $this->volumeRegion;
278+
}
225279
/**
226280
* @param string
227281
*/
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
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\NetAppFiles;
19+
20+
class BackupRetentionPolicy extends \Google\Model
21+
{
22+
/**
23+
* @var int
24+
*/
25+
public $backupMinimumEnforcedRetentionDays;
26+
/**
27+
* @var bool
28+
*/
29+
public $dailyBackupImmutable;
30+
/**
31+
* @var bool
32+
*/
33+
public $manualBackupImmutable;
34+
/**
35+
* @var bool
36+
*/
37+
public $monthlyBackupImmutable;
38+
/**
39+
* @var bool
40+
*/
41+
public $weeklyBackupImmutable;
42+
43+
/**
44+
* @param int
45+
*/
46+
public function setBackupMinimumEnforcedRetentionDays($backupMinimumEnforcedRetentionDays)
47+
{
48+
$this->backupMinimumEnforcedRetentionDays = $backupMinimumEnforcedRetentionDays;
49+
}
50+
/**
51+
* @return int
52+
*/
53+
public function getBackupMinimumEnforcedRetentionDays()
54+
{
55+
return $this->backupMinimumEnforcedRetentionDays;
56+
}
57+
/**
58+
* @param bool
59+
*/
60+
public function setDailyBackupImmutable($dailyBackupImmutable)
61+
{
62+
$this->dailyBackupImmutable = $dailyBackupImmutable;
63+
}
64+
/**
65+
* @return bool
66+
*/
67+
public function getDailyBackupImmutable()
68+
{
69+
return $this->dailyBackupImmutable;
70+
}
71+
/**
72+
* @param bool
73+
*/
74+
public function setManualBackupImmutable($manualBackupImmutable)
75+
{
76+
$this->manualBackupImmutable = $manualBackupImmutable;
77+
}
78+
/**
79+
* @return bool
80+
*/
81+
public function getManualBackupImmutable()
82+
{
83+
return $this->manualBackupImmutable;
84+
}
85+
/**
86+
* @param bool
87+
*/
88+
public function setMonthlyBackupImmutable($monthlyBackupImmutable)
89+
{
90+
$this->monthlyBackupImmutable = $monthlyBackupImmutable;
91+
}
92+
/**
93+
* @return bool
94+
*/
95+
public function getMonthlyBackupImmutable()
96+
{
97+
return $this->monthlyBackupImmutable;
98+
}
99+
/**
100+
* @param bool
101+
*/
102+
public function setWeeklyBackupImmutable($weeklyBackupImmutable)
103+
{
104+
$this->weeklyBackupImmutable = $weeklyBackupImmutable;
105+
}
106+
/**
107+
* @return bool
108+
*/
109+
public function getWeeklyBackupImmutable()
110+
{
111+
return $this->weeklyBackupImmutable;
112+
}
113+
}
114+
115+
// Adding a class alias for backwards compatibility with the previous class name.
116+
class_alias(BackupRetentionPolicy::class, 'Google_Service_NetAppFiles_BackupRetentionPolicy');

src/NetAppFiles/BackupVault.php

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

2020
class BackupVault extends \Google\Model
2121
{
22+
/**
23+
* @var string
24+
*/
25+
public $backupRegion;
26+
protected $backupRetentionPolicyType = BackupRetentionPolicy::class;
27+
protected $backupRetentionPolicyDataType = '';
28+
/**
29+
* @var string
30+
*/
31+
public $backupVaultType;
2232
/**
2333
* @var string
2434
*/
@@ -27,6 +37,10 @@ class BackupVault extends \Google\Model
2737
* @var string
2838
*/
2939
public $description;
40+
/**
41+
* @var string
42+
*/
43+
public $destinationBackupVault;
3044
/**
3145
* @var string[]
3246
*/
@@ -35,11 +49,61 @@ class BackupVault extends \Google\Model
3549
* @var string
3650
*/
3751
public $name;
52+
/**
53+
* @var string
54+
*/
55+
public $sourceBackupVault;
56+
/**
57+
* @var string
58+
*/
59+
public $sourceRegion;
3860
/**
3961
* @var string
4062
*/
4163
public $state;
4264

65+
/**
66+
* @param string
67+
*/
68+
public function setBackupRegion($backupRegion)
69+
{
70+
$this->backupRegion = $backupRegion;
71+
}
72+
/**
73+
* @return string
74+
*/
75+
public function getBackupRegion()
76+
{
77+
return $this->backupRegion;
78+
}
79+
/**
80+
* @param BackupRetentionPolicy
81+
*/
82+
public function setBackupRetentionPolicy(BackupRetentionPolicy $backupRetentionPolicy)
83+
{
84+
$this->backupRetentionPolicy = $backupRetentionPolicy;
85+
}
86+
/**
87+
* @return BackupRetentionPolicy
88+
*/
89+
public function getBackupRetentionPolicy()
90+
{
91+
return $this->backupRetentionPolicy;
92+
}
93+
/**
94+
* @param string
95+
*/
96+
public function setBackupVaultType($backupVaultType)
97+
{
98+
$this->backupVaultType = $backupVaultType;
99+
}
100+
/**
101+
* @return string
102+
*/
103+
public function getBackupVaultType()
104+
{
105+
return $this->backupVaultType;
106+
}
43107
/**
44108
* @param string
45109
*/
@@ -68,6 +132,20 @@ public function getDescription()
68132
{
69133
return $this->description;
70134
}
135+
/**
136+
* @param string
137+
*/
138+
public function setDestinationBackupVault($destinationBackupVault)
139+
{
140+
$this->destinationBackupVault = $destinationBackupVault;
141+
}
142+
/**
143+
* @return string
144+
*/
145+
public function getDestinationBackupVault()
146+
{
147+
return $this->destinationBackupVault;
148+
}
71149
/**
72150
* @param string[]
73151
*/
@@ -96,6 +174,34 @@ public function getName()
96174
{
97175
return $this->name;
98176
}
177+
/**
178+
* @param string
179+
*/
180+
public function setSourceBackupVault($sourceBackupVault)
181+
{
182+
$this->sourceBackupVault = $sourceBackupVault;
183+
}
184+
/**
185+
* @return string
186+
*/
187+
public function getSourceBackupVault()
188+
{
189+
return $this->sourceBackupVault;
190+
}
191+
/**
192+
* @param string
193+
*/
194+
public function setSourceRegion($sourceRegion)
195+
{
196+
$this->sourceRegion = $sourceRegion;
197+
}
198+
/**
199+
* @return string
200+
*/
201+
public function getSourceRegion()
202+
{
203+
return $this->sourceRegion;
204+
}
99205
/**
100206
* @param string
101207
*/

src/NetAppFiles/Resource/ProjectsLocations.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ public function get($name, $optParams = [])
5252
* applicable.
5353
* @param array $optParams Optional parameters.
5454
*
55+
* @opt_param string extraLocationTypes Optional. A list of extra location types
56+
* that should be used as conditions for controlling the visibility of the
57+
* locations.
5558
* @opt_param string filter A filter to narrow down results to a preferred
5659
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
5760
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).

0 commit comments

Comments
 (0)