source: vendor/google/apiclient-services/src/Spanner/BackupSchedule.php

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

Upload project files

  • Property mode set to 100644
File size: 3.2 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\Spanner;
19
20class BackupSchedule extends \Google\Model
21{
22 protected $encryptionConfigType = CreateBackupEncryptionConfig::class;
23 protected $encryptionConfigDataType = '';
24 protected $fullBackupSpecType = FullBackupSpec::class;
25 protected $fullBackupSpecDataType = '';
26 protected $incrementalBackupSpecType = IncrementalBackupSpec::class;
27 protected $incrementalBackupSpecDataType = '';
28 /**
29 * @var string
30 */
31 public $name;
32 /**
33 * @var string
34 */
35 public $retentionDuration;
36 protected $specType = BackupScheduleSpec::class;
37 protected $specDataType = '';
38 /**
39 * @var string
40 */
41 public $updateTime;
42
43 /**
44 * @param CreateBackupEncryptionConfig
45 */
46 public function setEncryptionConfig(CreateBackupEncryptionConfig $encryptionConfig)
47 {
48 $this->encryptionConfig = $encryptionConfig;
49 }
50 /**
51 * @return CreateBackupEncryptionConfig
52 */
53 public function getEncryptionConfig()
54 {
55 return $this->encryptionConfig;
56 }
57 /**
58 * @param FullBackupSpec
59 */
60 public function setFullBackupSpec(FullBackupSpec $fullBackupSpec)
61 {
62 $this->fullBackupSpec = $fullBackupSpec;
63 }
64 /**
65 * @return FullBackupSpec
66 */
67 public function getFullBackupSpec()
68 {
69 return $this->fullBackupSpec;
70 }
71 /**
72 * @param IncrementalBackupSpec
73 */
74 public function setIncrementalBackupSpec(IncrementalBackupSpec $incrementalBackupSpec)
75 {
76 $this->incrementalBackupSpec = $incrementalBackupSpec;
77 }
78 /**
79 * @return IncrementalBackupSpec
80 */
81 public function getIncrementalBackupSpec()
82 {
83 return $this->incrementalBackupSpec;
84 }
85 /**
86 * @param string
87 */
88 public function setName($name)
89 {
90 $this->name = $name;
91 }
92 /**
93 * @return string
94 */
95 public function getName()
96 {
97 return $this->name;
98 }
99 /**
100 * @param string
101 */
102 public function setRetentionDuration($retentionDuration)
103 {
104 $this->retentionDuration = $retentionDuration;
105 }
106 /**
107 * @return string
108 */
109 public function getRetentionDuration()
110 {
111 return $this->retentionDuration;
112 }
113 /**
114 * @param BackupScheduleSpec
115 */
116 public function setSpec(BackupScheduleSpec $spec)
117 {
118 $this->spec = $spec;
119 }
120 /**
121 * @return BackupScheduleSpec
122 */
123 public function getSpec()
124 {
125 return $this->spec;
126 }
127 /**
128 * @param string
129 */
130 public function setUpdateTime($updateTime)
131 {
132 $this->updateTime = $updateTime;
133 }
134 /**
135 * @return string
136 */
137 public function getUpdateTime()
138 {
139 return $this->updateTime;
140 }
141}
142
143// Adding a class alias for backwards compatibility with the previous class name.
144class_alias(BackupSchedule::class, 'Google_Service_Spanner_BackupSchedule');
Note: See TracBrowser for help on using the repository browser.