[e3d4e0a] | 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\BackupforGKE;
|
---|
| 19 |
|
---|
| 20 | class BackupConfig extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var bool
|
---|
| 24 | */
|
---|
| 25 | public $allNamespaces;
|
---|
| 26 | protected $encryptionKeyType = EncryptionKey::class;
|
---|
| 27 | protected $encryptionKeyDataType = '';
|
---|
| 28 | /**
|
---|
| 29 | * @var bool
|
---|
| 30 | */
|
---|
| 31 | public $includeSecrets;
|
---|
| 32 | /**
|
---|
| 33 | * @var bool
|
---|
| 34 | */
|
---|
| 35 | public $includeVolumeData;
|
---|
| 36 | /**
|
---|
| 37 | * @var bool
|
---|
| 38 | */
|
---|
| 39 | public $permissiveMode;
|
---|
| 40 | protected $selectedApplicationsType = NamespacedNames::class;
|
---|
| 41 | protected $selectedApplicationsDataType = '';
|
---|
| 42 | protected $selectedNamespacesType = Namespaces::class;
|
---|
| 43 | protected $selectedNamespacesDataType = '';
|
---|
| 44 |
|
---|
| 45 | /**
|
---|
| 46 | * @param bool
|
---|
| 47 | */
|
---|
| 48 | public function setAllNamespaces($allNamespaces)
|
---|
| 49 | {
|
---|
| 50 | $this->allNamespaces = $allNamespaces;
|
---|
| 51 | }
|
---|
| 52 | /**
|
---|
| 53 | * @return bool
|
---|
| 54 | */
|
---|
| 55 | public function getAllNamespaces()
|
---|
| 56 | {
|
---|
| 57 | return $this->allNamespaces;
|
---|
| 58 | }
|
---|
| 59 | /**
|
---|
| 60 | * @param EncryptionKey
|
---|
| 61 | */
|
---|
| 62 | public function setEncryptionKey(EncryptionKey $encryptionKey)
|
---|
| 63 | {
|
---|
| 64 | $this->encryptionKey = $encryptionKey;
|
---|
| 65 | }
|
---|
| 66 | /**
|
---|
| 67 | * @return EncryptionKey
|
---|
| 68 | */
|
---|
| 69 | public function getEncryptionKey()
|
---|
| 70 | {
|
---|
| 71 | return $this->encryptionKey;
|
---|
| 72 | }
|
---|
| 73 | /**
|
---|
| 74 | * @param bool
|
---|
| 75 | */
|
---|
| 76 | public function setIncludeSecrets($includeSecrets)
|
---|
| 77 | {
|
---|
| 78 | $this->includeSecrets = $includeSecrets;
|
---|
| 79 | }
|
---|
| 80 | /**
|
---|
| 81 | * @return bool
|
---|
| 82 | */
|
---|
| 83 | public function getIncludeSecrets()
|
---|
| 84 | {
|
---|
| 85 | return $this->includeSecrets;
|
---|
| 86 | }
|
---|
| 87 | /**
|
---|
| 88 | * @param bool
|
---|
| 89 | */
|
---|
| 90 | public function setIncludeVolumeData($includeVolumeData)
|
---|
| 91 | {
|
---|
| 92 | $this->includeVolumeData = $includeVolumeData;
|
---|
| 93 | }
|
---|
| 94 | /**
|
---|
| 95 | * @return bool
|
---|
| 96 | */
|
---|
| 97 | public function getIncludeVolumeData()
|
---|
| 98 | {
|
---|
| 99 | return $this->includeVolumeData;
|
---|
| 100 | }
|
---|
| 101 | /**
|
---|
| 102 | * @param bool
|
---|
| 103 | */
|
---|
| 104 | public function setPermissiveMode($permissiveMode)
|
---|
| 105 | {
|
---|
| 106 | $this->permissiveMode = $permissiveMode;
|
---|
| 107 | }
|
---|
| 108 | /**
|
---|
| 109 | * @return bool
|
---|
| 110 | */
|
---|
| 111 | public function getPermissiveMode()
|
---|
| 112 | {
|
---|
| 113 | return $this->permissiveMode;
|
---|
| 114 | }
|
---|
| 115 | /**
|
---|
| 116 | * @param NamespacedNames
|
---|
| 117 | */
|
---|
| 118 | public function setSelectedApplications(NamespacedNames $selectedApplications)
|
---|
| 119 | {
|
---|
| 120 | $this->selectedApplications = $selectedApplications;
|
---|
| 121 | }
|
---|
| 122 | /**
|
---|
| 123 | * @return NamespacedNames
|
---|
| 124 | */
|
---|
| 125 | public function getSelectedApplications()
|
---|
| 126 | {
|
---|
| 127 | return $this->selectedApplications;
|
---|
| 128 | }
|
---|
| 129 | /**
|
---|
| 130 | * @param Namespaces
|
---|
| 131 | */
|
---|
| 132 | public function setSelectedNamespaces(Namespaces $selectedNamespaces)
|
---|
| 133 | {
|
---|
| 134 | $this->selectedNamespaces = $selectedNamespaces;
|
---|
| 135 | }
|
---|
| 136 | /**
|
---|
| 137 | * @return Namespaces
|
---|
| 138 | */
|
---|
| 139 | public function getSelectedNamespaces()
|
---|
| 140 | {
|
---|
| 141 | return $this->selectedNamespaces;
|
---|
| 142 | }
|
---|
| 143 | }
|
---|
| 144 |
|
---|
| 145 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 146 | class_alias(BackupConfig::class, 'Google_Service_BackupforGKE_BackupConfig');
|
---|