[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\Dns;
|
---|
| 19 |
|
---|
| 20 | class ManagedZone extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'nameServers';
|
---|
| 23 | protected $cloudLoggingConfigType = ManagedZoneCloudLoggingConfig::class;
|
---|
| 24 | protected $cloudLoggingConfigDataType = '';
|
---|
| 25 | /**
|
---|
| 26 | * @var string
|
---|
| 27 | */
|
---|
| 28 | public $creationTime;
|
---|
| 29 | /**
|
---|
| 30 | * @var string
|
---|
| 31 | */
|
---|
| 32 | public $description;
|
---|
| 33 | /**
|
---|
| 34 | * @var string
|
---|
| 35 | */
|
---|
| 36 | public $dnsName;
|
---|
| 37 | protected $dnssecConfigType = ManagedZoneDnsSecConfig::class;
|
---|
| 38 | protected $dnssecConfigDataType = '';
|
---|
| 39 | protected $forwardingConfigType = ManagedZoneForwardingConfig::class;
|
---|
| 40 | protected $forwardingConfigDataType = '';
|
---|
| 41 | /**
|
---|
| 42 | * @var string
|
---|
| 43 | */
|
---|
| 44 | public $id;
|
---|
| 45 | /**
|
---|
| 46 | * @var string
|
---|
| 47 | */
|
---|
| 48 | public $kind;
|
---|
| 49 | /**
|
---|
| 50 | * @var string[]
|
---|
| 51 | */
|
---|
| 52 | public $labels;
|
---|
| 53 | /**
|
---|
| 54 | * @var string
|
---|
| 55 | */
|
---|
| 56 | public $name;
|
---|
| 57 | /**
|
---|
| 58 | * @var string
|
---|
| 59 | */
|
---|
| 60 | public $nameServerSet;
|
---|
| 61 | /**
|
---|
| 62 | * @var string[]
|
---|
| 63 | */
|
---|
| 64 | public $nameServers;
|
---|
| 65 | protected $peeringConfigType = ManagedZonePeeringConfig::class;
|
---|
| 66 | protected $peeringConfigDataType = '';
|
---|
| 67 | protected $privateVisibilityConfigType = ManagedZonePrivateVisibilityConfig::class;
|
---|
| 68 | protected $privateVisibilityConfigDataType = '';
|
---|
| 69 | protected $reverseLookupConfigType = ManagedZoneReverseLookupConfig::class;
|
---|
| 70 | protected $reverseLookupConfigDataType = '';
|
---|
| 71 | protected $serviceDirectoryConfigType = ManagedZoneServiceDirectoryConfig::class;
|
---|
| 72 | protected $serviceDirectoryConfigDataType = '';
|
---|
| 73 | /**
|
---|
| 74 | * @var string
|
---|
| 75 | */
|
---|
| 76 | public $visibility;
|
---|
| 77 |
|
---|
| 78 | /**
|
---|
| 79 | * @param ManagedZoneCloudLoggingConfig
|
---|
| 80 | */
|
---|
| 81 | public function setCloudLoggingConfig(ManagedZoneCloudLoggingConfig $cloudLoggingConfig)
|
---|
| 82 | {
|
---|
| 83 | $this->cloudLoggingConfig = $cloudLoggingConfig;
|
---|
| 84 | }
|
---|
| 85 | /**
|
---|
| 86 | * @return ManagedZoneCloudLoggingConfig
|
---|
| 87 | */
|
---|
| 88 | public function getCloudLoggingConfig()
|
---|
| 89 | {
|
---|
| 90 | return $this->cloudLoggingConfig;
|
---|
| 91 | }
|
---|
| 92 | /**
|
---|
| 93 | * @param string
|
---|
| 94 | */
|
---|
| 95 | public function setCreationTime($creationTime)
|
---|
| 96 | {
|
---|
| 97 | $this->creationTime = $creationTime;
|
---|
| 98 | }
|
---|
| 99 | /**
|
---|
| 100 | * @return string
|
---|
| 101 | */
|
---|
| 102 | public function getCreationTime()
|
---|
| 103 | {
|
---|
| 104 | return $this->creationTime;
|
---|
| 105 | }
|
---|
| 106 | /**
|
---|
| 107 | * @param string
|
---|
| 108 | */
|
---|
| 109 | public function setDescription($description)
|
---|
| 110 | {
|
---|
| 111 | $this->description = $description;
|
---|
| 112 | }
|
---|
| 113 | /**
|
---|
| 114 | * @return string
|
---|
| 115 | */
|
---|
| 116 | public function getDescription()
|
---|
| 117 | {
|
---|
| 118 | return $this->description;
|
---|
| 119 | }
|
---|
| 120 | /**
|
---|
| 121 | * @param string
|
---|
| 122 | */
|
---|
| 123 | public function setDnsName($dnsName)
|
---|
| 124 | {
|
---|
| 125 | $this->dnsName = $dnsName;
|
---|
| 126 | }
|
---|
| 127 | /**
|
---|
| 128 | * @return string
|
---|
| 129 | */
|
---|
| 130 | public function getDnsName()
|
---|
| 131 | {
|
---|
| 132 | return $this->dnsName;
|
---|
| 133 | }
|
---|
| 134 | /**
|
---|
| 135 | * @param ManagedZoneDnsSecConfig
|
---|
| 136 | */
|
---|
| 137 | public function setDnssecConfig(ManagedZoneDnsSecConfig $dnssecConfig)
|
---|
| 138 | {
|
---|
| 139 | $this->dnssecConfig = $dnssecConfig;
|
---|
| 140 | }
|
---|
| 141 | /**
|
---|
| 142 | * @return ManagedZoneDnsSecConfig
|
---|
| 143 | */
|
---|
| 144 | public function getDnssecConfig()
|
---|
| 145 | {
|
---|
| 146 | return $this->dnssecConfig;
|
---|
| 147 | }
|
---|
| 148 | /**
|
---|
| 149 | * @param ManagedZoneForwardingConfig
|
---|
| 150 | */
|
---|
| 151 | public function setForwardingConfig(ManagedZoneForwardingConfig $forwardingConfig)
|
---|
| 152 | {
|
---|
| 153 | $this->forwardingConfig = $forwardingConfig;
|
---|
| 154 | }
|
---|
| 155 | /**
|
---|
| 156 | * @return ManagedZoneForwardingConfig
|
---|
| 157 | */
|
---|
| 158 | public function getForwardingConfig()
|
---|
| 159 | {
|
---|
| 160 | return $this->forwardingConfig;
|
---|
| 161 | }
|
---|
| 162 | /**
|
---|
| 163 | * @param string
|
---|
| 164 | */
|
---|
| 165 | public function setId($id)
|
---|
| 166 | {
|
---|
| 167 | $this->id = $id;
|
---|
| 168 | }
|
---|
| 169 | /**
|
---|
| 170 | * @return string
|
---|
| 171 | */
|
---|
| 172 | public function getId()
|
---|
| 173 | {
|
---|
| 174 | return $this->id;
|
---|
| 175 | }
|
---|
| 176 | /**
|
---|
| 177 | * @param string
|
---|
| 178 | */
|
---|
| 179 | public function setKind($kind)
|
---|
| 180 | {
|
---|
| 181 | $this->kind = $kind;
|
---|
| 182 | }
|
---|
| 183 | /**
|
---|
| 184 | * @return string
|
---|
| 185 | */
|
---|
| 186 | public function getKind()
|
---|
| 187 | {
|
---|
| 188 | return $this->kind;
|
---|
| 189 | }
|
---|
| 190 | /**
|
---|
| 191 | * @param string[]
|
---|
| 192 | */
|
---|
| 193 | public function setLabels($labels)
|
---|
| 194 | {
|
---|
| 195 | $this->labels = $labels;
|
---|
| 196 | }
|
---|
| 197 | /**
|
---|
| 198 | * @return string[]
|
---|
| 199 | */
|
---|
| 200 | public function getLabels()
|
---|
| 201 | {
|
---|
| 202 | return $this->labels;
|
---|
| 203 | }
|
---|
| 204 | /**
|
---|
| 205 | * @param string
|
---|
| 206 | */
|
---|
| 207 | public function setName($name)
|
---|
| 208 | {
|
---|
| 209 | $this->name = $name;
|
---|
| 210 | }
|
---|
| 211 | /**
|
---|
| 212 | * @return string
|
---|
| 213 | */
|
---|
| 214 | public function getName()
|
---|
| 215 | {
|
---|
| 216 | return $this->name;
|
---|
| 217 | }
|
---|
| 218 | /**
|
---|
| 219 | * @param string
|
---|
| 220 | */
|
---|
| 221 | public function setNameServerSet($nameServerSet)
|
---|
| 222 | {
|
---|
| 223 | $this->nameServerSet = $nameServerSet;
|
---|
| 224 | }
|
---|
| 225 | /**
|
---|
| 226 | * @return string
|
---|
| 227 | */
|
---|
| 228 | public function getNameServerSet()
|
---|
| 229 | {
|
---|
| 230 | return $this->nameServerSet;
|
---|
| 231 | }
|
---|
| 232 | /**
|
---|
| 233 | * @param string[]
|
---|
| 234 | */
|
---|
| 235 | public function setNameServers($nameServers)
|
---|
| 236 | {
|
---|
| 237 | $this->nameServers = $nameServers;
|
---|
| 238 | }
|
---|
| 239 | /**
|
---|
| 240 | * @return string[]
|
---|
| 241 | */
|
---|
| 242 | public function getNameServers()
|
---|
| 243 | {
|
---|
| 244 | return $this->nameServers;
|
---|
| 245 | }
|
---|
| 246 | /**
|
---|
| 247 | * @param ManagedZonePeeringConfig
|
---|
| 248 | */
|
---|
| 249 | public function setPeeringConfig(ManagedZonePeeringConfig $peeringConfig)
|
---|
| 250 | {
|
---|
| 251 | $this->peeringConfig = $peeringConfig;
|
---|
| 252 | }
|
---|
| 253 | /**
|
---|
| 254 | * @return ManagedZonePeeringConfig
|
---|
| 255 | */
|
---|
| 256 | public function getPeeringConfig()
|
---|
| 257 | {
|
---|
| 258 | return $this->peeringConfig;
|
---|
| 259 | }
|
---|
| 260 | /**
|
---|
| 261 | * @param ManagedZonePrivateVisibilityConfig
|
---|
| 262 | */
|
---|
| 263 | public function setPrivateVisibilityConfig(ManagedZonePrivateVisibilityConfig $privateVisibilityConfig)
|
---|
| 264 | {
|
---|
| 265 | $this->privateVisibilityConfig = $privateVisibilityConfig;
|
---|
| 266 | }
|
---|
| 267 | /**
|
---|
| 268 | * @return ManagedZonePrivateVisibilityConfig
|
---|
| 269 | */
|
---|
| 270 | public function getPrivateVisibilityConfig()
|
---|
| 271 | {
|
---|
| 272 | return $this->privateVisibilityConfig;
|
---|
| 273 | }
|
---|
| 274 | /**
|
---|
| 275 | * @param ManagedZoneReverseLookupConfig
|
---|
| 276 | */
|
---|
| 277 | public function setReverseLookupConfig(ManagedZoneReverseLookupConfig $reverseLookupConfig)
|
---|
| 278 | {
|
---|
| 279 | $this->reverseLookupConfig = $reverseLookupConfig;
|
---|
| 280 | }
|
---|
| 281 | /**
|
---|
| 282 | * @return ManagedZoneReverseLookupConfig
|
---|
| 283 | */
|
---|
| 284 | public function getReverseLookupConfig()
|
---|
| 285 | {
|
---|
| 286 | return $this->reverseLookupConfig;
|
---|
| 287 | }
|
---|
| 288 | /**
|
---|
| 289 | * @param ManagedZoneServiceDirectoryConfig
|
---|
| 290 | */
|
---|
| 291 | public function setServiceDirectoryConfig(ManagedZoneServiceDirectoryConfig $serviceDirectoryConfig)
|
---|
| 292 | {
|
---|
| 293 | $this->serviceDirectoryConfig = $serviceDirectoryConfig;
|
---|
| 294 | }
|
---|
| 295 | /**
|
---|
| 296 | * @return ManagedZoneServiceDirectoryConfig
|
---|
| 297 | */
|
---|
| 298 | public function getServiceDirectoryConfig()
|
---|
| 299 | {
|
---|
| 300 | return $this->serviceDirectoryConfig;
|
---|
| 301 | }
|
---|
| 302 | /**
|
---|
| 303 | * @param string
|
---|
| 304 | */
|
---|
| 305 | public function setVisibility($visibility)
|
---|
| 306 | {
|
---|
| 307 | $this->visibility = $visibility;
|
---|
| 308 | }
|
---|
| 309 | /**
|
---|
| 310 | * @return string
|
---|
| 311 | */
|
---|
| 312 | public function getVisibility()
|
---|
| 313 | {
|
---|
| 314 | return $this->visibility;
|
---|
| 315 | }
|
---|
| 316 | }
|
---|
| 317 |
|
---|
| 318 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 319 | class_alias(ManagedZone::class, 'Google_Service_Dns_ManagedZone');
|
---|