Skip to content

Commit abf3e5e

Browse files
1 parent 5467cda commit abf3e5e

11 files changed

Lines changed: 669 additions & 3 deletions

src/CloudAlloyDBAdmin/Resource/ProjectsLocations.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +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.
55+
* @opt_param string extraLocationTypes Optional. Unless explicitly documented
56+
* otherwise, don't use this unsupported field which is primarily intended for
57+
* internal usage.
5858
* @opt_param string filter A filter to narrow down results to a preferred
5959
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
6060
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
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\CloudAlloyDBAdmin;
19+
20+
class StageSchedule extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $actualEndTime;
26+
/**
27+
* @var string
28+
*/
29+
public $actualStartTime;
30+
/**
31+
* @var string
32+
*/
33+
public $estimatedEndTime;
34+
/**
35+
* @var string
36+
*/
37+
public $estimatedStartTime;
38+
39+
/**
40+
* @param string
41+
*/
42+
public function setActualEndTime($actualEndTime)
43+
{
44+
$this->actualEndTime = $actualEndTime;
45+
}
46+
/**
47+
* @return string
48+
*/
49+
public function getActualEndTime()
50+
{
51+
return $this->actualEndTime;
52+
}
53+
/**
54+
* @param string
55+
*/
56+
public function setActualStartTime($actualStartTime)
57+
{
58+
$this->actualStartTime = $actualStartTime;
59+
}
60+
/**
61+
* @return string
62+
*/
63+
public function getActualStartTime()
64+
{
65+
return $this->actualStartTime;
66+
}
67+
/**
68+
* @param string
69+
*/
70+
public function setEstimatedEndTime($estimatedEndTime)
71+
{
72+
$this->estimatedEndTime = $estimatedEndTime;
73+
}
74+
/**
75+
* @return string
76+
*/
77+
public function getEstimatedEndTime()
78+
{
79+
return $this->estimatedEndTime;
80+
}
81+
/**
82+
* @param string
83+
*/
84+
public function setEstimatedStartTime($estimatedStartTime)
85+
{
86+
$this->estimatedStartTime = $estimatedStartTime;
87+
}
88+
/**
89+
* @return string
90+
*/
91+
public function getEstimatedStartTime()
92+
{
93+
return $this->estimatedStartTime;
94+
}
95+
}
96+
97+
// Adding a class alias for backwards compatibility with the previous class name.
98+
class_alias(StageSchedule::class, 'Google_Service_CloudAlloyDBAdmin_StageSchedule');

src/CloudAlloyDBAdmin/StageStatus.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ class StageStatus extends \Google\Model
2121
{
2222
protected $readPoolInstancesUpgradeType = ReadPoolInstancesUpgradeStageStatus::class;
2323
protected $readPoolInstancesUpgradeDataType = '';
24+
protected $scheduleType = StageSchedule::class;
25+
protected $scheduleDataType = '';
2426
/**
2527
* @var string
2628
*/
@@ -44,6 +46,20 @@ public function getReadPoolInstancesUpgrade()
4446
{
4547
return $this->readPoolInstancesUpgrade;
4648
}
49+
/**
50+
* @param StageSchedule
51+
*/
52+
public function setSchedule(StageSchedule $schedule)
53+
{
54+
$this->schedule = $schedule;
55+
}
56+
/**
57+
* @return StageSchedule
58+
*/
59+
public function getSchedule()
60+
{
61+
return $this->schedule;
62+
}
4763
/**
4864
* @param string
4965
*/
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\CloudAlloyDBAdmin;
19+
20+
class StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration extends \Google\Model
21+
{
22+
/**
23+
* @var bool
24+
*/
25+
public $backupdrManaged;
26+
27+
/**
28+
* @param bool
29+
*/
30+
public function setBackupdrManaged($backupdrManaged)
31+
{
32+
$this->backupdrManaged = $backupdrManaged;
33+
}
34+
/**
35+
* @return bool
36+
*/
37+
public function getBackupdrManaged()
38+
{
39+
return $this->backupdrManaged;
40+
}
41+
}
42+
43+
// Adding a class alias for backwards compatibility with the previous class name.
44+
class_alias(StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration::class, 'Google_Service_CloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration');
Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
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\CloudAlloyDBAdmin;
19+
20+
class StorageDatabasecenterPartnerapiV1mainBackupDRMetadata extends \Google\Model
21+
{
22+
protected $backupConfigurationType = StorageDatabasecenterPartnerapiV1mainBackupConfiguration::class;
23+
protected $backupConfigurationDataType = '';
24+
protected $backupRunType = StorageDatabasecenterPartnerapiV1mainBackupRun::class;
25+
protected $backupRunDataType = '';
26+
protected $backupdrConfigurationType = StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration::class;
27+
protected $backupdrConfigurationDataType = '';
28+
/**
29+
* @var string
30+
*/
31+
public $fullResourceName;
32+
/**
33+
* @var string
34+
*/
35+
public $lastRefreshTime;
36+
protected $resourceIdType = StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::class;
37+
protected $resourceIdDataType = '';
38+
39+
/**
40+
* @param StorageDatabasecenterPartnerapiV1mainBackupConfiguration
41+
*/
42+
public function setBackupConfiguration(StorageDatabasecenterPartnerapiV1mainBackupConfiguration $backupConfiguration)
43+
{
44+
$this->backupConfiguration = $backupConfiguration;
45+
}
46+
/**
47+
* @return StorageDatabasecenterPartnerapiV1mainBackupConfiguration
48+
*/
49+
public function getBackupConfiguration()
50+
{
51+
return $this->backupConfiguration;
52+
}
53+
/**
54+
* @param StorageDatabasecenterPartnerapiV1mainBackupRun
55+
*/
56+
public function setBackupRun(StorageDatabasecenterPartnerapiV1mainBackupRun $backupRun)
57+
{
58+
$this->backupRun = $backupRun;
59+
}
60+
/**
61+
* @return StorageDatabasecenterPartnerapiV1mainBackupRun
62+
*/
63+
public function getBackupRun()
64+
{
65+
return $this->backupRun;
66+
}
67+
/**
68+
* @param StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration
69+
*/
70+
public function setBackupdrConfiguration(StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration $backupdrConfiguration)
71+
{
72+
$this->backupdrConfiguration = $backupdrConfiguration;
73+
}
74+
/**
75+
* @return StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration
76+
*/
77+
public function getBackupdrConfiguration()
78+
{
79+
return $this->backupdrConfiguration;
80+
}
81+
/**
82+
* @param string
83+
*/
84+
public function setFullResourceName($fullResourceName)
85+
{
86+
$this->fullResourceName = $fullResourceName;
87+
}
88+
/**
89+
* @return string
90+
*/
91+
public function getFullResourceName()
92+
{
93+
return $this->fullResourceName;
94+
}
95+
/**
96+
* @param string
97+
*/
98+
public function setLastRefreshTime($lastRefreshTime)
99+
{
100+
$this->lastRefreshTime = $lastRefreshTime;
101+
}
102+
/**
103+
* @return string
104+
*/
105+
public function getLastRefreshTime()
106+
{
107+
return $this->lastRefreshTime;
108+
}
109+
/**
110+
* @param StorageDatabasecenterPartnerapiV1mainDatabaseResourceId
111+
*/
112+
public function setResourceId(StorageDatabasecenterPartnerapiV1mainDatabaseResourceId $resourceId)
113+
{
114+
$this->resourceId = $resourceId;
115+
}
116+
/**
117+
* @return StorageDatabasecenterPartnerapiV1mainDatabaseResourceId
118+
*/
119+
public function getResourceId()
120+
{
121+
return $this->resourceId;
122+
}
123+
}
124+
125+
// Adding a class alias for backwards compatibility with the previous class name.
126+
class_alias(StorageDatabasecenterPartnerapiV1mainBackupDRMetadata::class, 'Google_Service_CloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRMetadata');

0 commit comments

Comments
 (0)