Skip to content

Commit fefaf85

Browse files
Regenerate migrationcenter client
1 parent c9fa9d7 commit fefaf85

7 files changed

+161
-0
lines changed

src/MigrationCenterAPI.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
235235
'location' => 'query',
236236
'type' => 'string',
237237
],
238+
'showHidden' => [
239+
'location' => 'query',
240+
'type' => 'boolean',
241+
],
238242
'view' => [
239243
'location' => 'query',
240244
'type' => 'string',

src/MigrationCenterAPI/AggregateAssetsValuesRequest.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ class AggregateAssetsValuesRequest extends \Google\Collection
2626
* @var string
2727
*/
2828
public $filter;
29+
/**
30+
* @var bool
31+
*/
32+
public $showHidden;
2933

3034
/**
3135
* @param Aggregation[]
@@ -55,6 +59,20 @@ public function getFilter()
5559
{
5660
return $this->filter;
5761
}
62+
/**
63+
* @param bool
64+
*/
65+
public function setShowHidden($showHidden)
66+
{
67+
$this->showHidden = $showHidden;
68+
}
69+
/**
70+
* @return bool
71+
*/
72+
public function getShowHidden()
73+
{
74+
return $this->showHidden;
75+
}
5876
}
5977

6078
// Adding a class alias for backwards compatibility with the previous class name.

src/MigrationCenterAPI/Asset.php

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,18 @@ class Asset extends \Google\Collection
3636
protected $databaseDeploymentDetailsDataType = '';
3737
protected $databaseDetailsType = DatabaseDetails::class;
3838
protected $databaseDetailsDataType = '';
39+
/**
40+
* @var bool
41+
*/
42+
public $hidden;
43+
/**
44+
* @var string
45+
*/
46+
public $hideReason;
47+
/**
48+
* @var string
49+
*/
50+
public $hideTime;
3951
protected $insightListType = InsightList::class;
4052
protected $insightListDataType = '';
4153
/**
@@ -133,6 +145,48 @@ public function getDatabaseDetails()
133145
{
134146
return $this->databaseDetails;
135147
}
148+
/**
149+
* @param bool
150+
*/
151+
public function setHidden($hidden)
152+
{
153+
$this->hidden = $hidden;
154+
}
155+
/**
156+
* @return bool
157+
*/
158+
public function getHidden()
159+
{
160+
return $this->hidden;
161+
}
162+
/**
163+
* @param string
164+
*/
165+
public function setHideReason($hideReason)
166+
{
167+
$this->hideReason = $hideReason;
168+
}
169+
/**
170+
* @return string
171+
*/
172+
public function getHideReason()
173+
{
174+
return $this->hideReason;
175+
}
176+
/**
177+
* @param string
178+
*/
179+
public function setHideTime($hideTime)
180+
{
181+
$this->hideTime = $hideTime;
182+
}
183+
/**
184+
* @return string
185+
*/
186+
public function getHideTime()
187+
{
188+
return $this->hideTime;
189+
}
136190
/**
137191
* @param InsightList
138192
*/

src/MigrationCenterAPI/BatchDeleteAssetsRequest.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ class BatchDeleteAssetsRequest extends \Google\Collection
2424
* @var bool
2525
*/
2626
public $allowMissing;
27+
protected $cascadingRulesType = CascadingRule::class;
28+
protected $cascadingRulesDataType = 'array';
2729
/**
2830
* @var string[]
2931
*/
@@ -43,6 +45,20 @@ public function getAllowMissing()
4345
{
4446
return $this->allowMissing;
4547
}
48+
/**
49+
* @param CascadingRule[]
50+
*/
51+
public function setCascadingRules($cascadingRules)
52+
{
53+
$this->cascadingRules = $cascadingRules;
54+
}
55+
/**
56+
* @return CascadingRule[]
57+
*/
58+
public function getCascadingRules()
59+
{
60+
return $this->cascadingRules;
61+
}
4662
/**
4763
* @param string[]
4864
*/
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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\MigrationCenterAPI;
19+
20+
class CascadeLogicalDBsRule extends \Google\Model
21+
{
22+
}
23+
24+
// Adding a class alias for backwards compatibility with the previous class name.
25+
class_alias(CascadeLogicalDBsRule::class, 'Google_Service_MigrationCenterAPI_CascadeLogicalDBsRule');
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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\MigrationCenterAPI;
19+
20+
class CascadingRule extends \Google\Model
21+
{
22+
protected $cascadeLogicalDbsType = CascadeLogicalDBsRule::class;
23+
protected $cascadeLogicalDbsDataType = '';
24+
25+
/**
26+
* @param CascadeLogicalDBsRule
27+
*/
28+
public function setCascadeLogicalDbs(CascadeLogicalDBsRule $cascadeLogicalDbs)
29+
{
30+
$this->cascadeLogicalDbs = $cascadeLogicalDbs;
31+
}
32+
/**
33+
* @return CascadeLogicalDBsRule
34+
*/
35+
public function getCascadeLogicalDbs()
36+
{
37+
return $this->cascadeLogicalDbs;
38+
}
39+
}
40+
41+
// Adding a class alias for backwards compatibility with the previous class name.
42+
class_alias(CascadingRule::class, 'Google_Service_MigrationCenterAPI_CascadingRule');

src/MigrationCenterAPI/Resource/ProjectsLocationsAssets.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ public function get($name, $optParams = [])
141141
* than requested. If unspecified, server will pick an appropriate default.
142142
* @opt_param string pageToken A token identifying a page of results the server
143143
* should return.
144+
* @opt_param bool showHidden Optional. When this value is set to 'true,' the
145+
* response will include all assets, including those that are hidden.
144146
* @opt_param string view View of the assets. Defaults to BASIC.
145147
* @return ListAssetsResponse
146148
* @throws \Google\Service\Exception

0 commit comments

Comments
 (0)