source: vendor/google/apiclient-services/src/CloudAlloyDBAdmin/RestoreClusterRequest.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 2.8 KB
Line 
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
18namespace Google\Service\CloudAlloyDBAdmin;
19
20class RestoreClusterRequest extends \Google\Model
21{
22 protected $backupSourceType = BackupSource::class;
23 protected $backupSourceDataType = '';
24 protected $clusterType = Cluster::class;
25 protected $clusterDataType = '';
26 /**
27 * @var string
28 */
29 public $clusterId;
30 protected $continuousBackupSourceType = ContinuousBackupSource::class;
31 protected $continuousBackupSourceDataType = '';
32 /**
33 * @var string
34 */
35 public $requestId;
36 /**
37 * @var bool
38 */
39 public $validateOnly;
40
41 /**
42 * @param BackupSource
43 */
44 public function setBackupSource(BackupSource $backupSource)
45 {
46 $this->backupSource = $backupSource;
47 }
48 /**
49 * @return BackupSource
50 */
51 public function getBackupSource()
52 {
53 return $this->backupSource;
54 }
55 /**
56 * @param Cluster
57 */
58 public function setCluster(Cluster $cluster)
59 {
60 $this->cluster = $cluster;
61 }
62 /**
63 * @return Cluster
64 */
65 public function getCluster()
66 {
67 return $this->cluster;
68 }
69 /**
70 * @param string
71 */
72 public function setClusterId($clusterId)
73 {
74 $this->clusterId = $clusterId;
75 }
76 /**
77 * @return string
78 */
79 public function getClusterId()
80 {
81 return $this->clusterId;
82 }
83 /**
84 * @param ContinuousBackupSource
85 */
86 public function setContinuousBackupSource(ContinuousBackupSource $continuousBackupSource)
87 {
88 $this->continuousBackupSource = $continuousBackupSource;
89 }
90 /**
91 * @return ContinuousBackupSource
92 */
93 public function getContinuousBackupSource()
94 {
95 return $this->continuousBackupSource;
96 }
97 /**
98 * @param string
99 */
100 public function setRequestId($requestId)
101 {
102 $this->requestId = $requestId;
103 }
104 /**
105 * @return string
106 */
107 public function getRequestId()
108 {
109 return $this->requestId;
110 }
111 /**
112 * @param bool
113 */
114 public function setValidateOnly($validateOnly)
115 {
116 $this->validateOnly = $validateOnly;
117 }
118 /**
119 * @return bool
120 */
121 public function getValidateOnly()
122 {
123 return $this->validateOnly;
124 }
125}
126
127// Adding a class alias for backwards compatibility with the previous class name.
128class_alias(RestoreClusterRequest::class, 'Google_Service_CloudAlloyDBAdmin_RestoreClusterRequest');
Note: See TracBrowser for help on using the repository browser.