| 1 |
<?php |
| 2 |
/* |
| 3 |
* Copyright 2010 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 |
/** |
| 19 |
* Service definition for Dns (v1beta1). |
| 20 |
* |
| 21 |
* <p> |
| 22 |
* The Google Cloud DNS API provides services for configuring and serving authoritative DNS records. |
| 23 |
* </p> |
| 24 |
* |
| 25 |
* <p> |
| 26 |
* For more information about this service, see the API |
| 27 |
* <a href="https://developers.google.com/cloud-dns" target="_blank">Documentation</a> |
| 28 |
* </p> |
| 29 |
* |
| 30 |
* @author Google, Inc. |
| 31 |
*/ |
| 32 |
class Analytify_Google_Service_Dns extends Analytify_Google_Service |
| 33 |
{ |
| 34 |
/** View and manage your data across Google Cloud Platform services. */ |
| 35 |
const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; |
| 36 |
/** View your DNS records hosted by Google Cloud DNS. */ |
| 37 |
const NDEV_CLOUDDNS_READONLY = "https://www.googleapis.com/auth/ndev.clouddns.readonly"; |
| 38 |
/** View and manage your DNS records hosted by Google Cloud DNS. */ |
| 39 |
const NDEV_CLOUDDNS_READWRITE = "https://www.googleapis.com/auth/ndev.clouddns.readwrite"; |
| 40 |
|
| 41 |
public $changes; |
| 42 |
public $managedZones; |
| 43 |
public $projects; |
| 44 |
public $resourceRecordSets; |
| 45 |
|
| 46 |
|
| 47 |
/** |
| 48 |
* Constructs the internal representation of the Dns service. |
| 49 |
* |
| 50 |
* @param Analytify_Google_Client $client |
| 51 |
*/ |
| 52 |
public function __construct(Analytify_Google_Client $client) |
| 53 |
{ |
| 54 |
parent::__construct($client); |
| 55 |
$this->servicePath = 'dns/v1beta1/projects/'; |
| 56 |
$this->version = 'v1beta1'; |
| 57 |
$this->serviceName = 'dns'; |
| 58 |
|
| 59 |
$this->changes = new Analytify_Google_Service_Dns_Changes_Resource( |
| 60 |
$this, |
| 61 |
$this->serviceName, |
| 62 |
'changes', |
| 63 |
array( |
| 64 |
'methods' => array( |
| 65 |
'create' => array( |
| 66 |
'path' => '{project}/managedZones/{managedZone}/changes', |
| 67 |
'httpMethod' => 'POST', |
| 68 |
'parameters' => array( |
| 69 |
'project' => array( |
| 70 |
'location' => 'path', |
| 71 |
'type' => 'string', |
| 72 |
'required' => true, |
| 73 |
), |
| 74 |
'managedZone' => array( |
| 75 |
'location' => 'path', |
| 76 |
'type' => 'string', |
| 77 |
'required' => true, |
| 78 |
), |
| 79 |
), |
| 80 |
),'get' => array( |
| 81 |
'path' => '{project}/managedZones/{managedZone}/changes/{changeId}', |
| 82 |
'httpMethod' => 'GET', |
| 83 |
'parameters' => array( |
| 84 |
'project' => array( |
| 85 |
'location' => 'path', |
| 86 |
'type' => 'string', |
| 87 |
'required' => true, |
| 88 |
), |
| 89 |
'managedZone' => array( |
| 90 |
'location' => 'path', |
| 91 |
'type' => 'string', |
| 92 |
'required' => true, |
| 93 |
), |
| 94 |
'changeId' => array( |
| 95 |
'location' => 'path', |
| 96 |
'type' => 'string', |
| 97 |
'required' => true, |
| 98 |
), |
| 99 |
), |
| 100 |
),'list' => array( |
| 101 |
'path' => '{project}/managedZones/{managedZone}/changes', |
| 102 |
'httpMethod' => 'GET', |
| 103 |
'parameters' => array( |
| 104 |
'project' => array( |
| 105 |
'location' => 'path', |
| 106 |
'type' => 'string', |
| 107 |
'required' => true, |
| 108 |
), |
| 109 |
'managedZone' => array( |
| 110 |
'location' => 'path', |
| 111 |
'type' => 'string', |
| 112 |
'required' => true, |
| 113 |
), |
| 114 |
'maxResults' => array( |
| 115 |
'location' => 'query', |
| 116 |
'type' => 'integer', |
| 117 |
), |
| 118 |
'pageToken' => array( |
| 119 |
'location' => 'query', |
| 120 |
'type' => 'string', |
| 121 |
), |
| 122 |
'sortBy' => array( |
| 123 |
'location' => 'query', |
| 124 |
'type' => 'string', |
| 125 |
), |
| 126 |
'sortOrder' => array( |
| 127 |
'location' => 'query', |
| 128 |
'type' => 'string', |
| 129 |
), |
| 130 |
), |
| 131 |
), |
| 132 |
) |
| 133 |
) |
| 134 |
); |
| 135 |
$this->managedZones = new Analytify_Google_Service_Dns_ManagedZones_Resource( |
| 136 |
$this, |
| 137 |
$this->serviceName, |
| 138 |
'managedZones', |
| 139 |
array( |
| 140 |
'methods' => array( |
| 141 |
'create' => array( |
| 142 |
'path' => '{project}/managedZones', |
| 143 |
'httpMethod' => 'POST', |
| 144 |
'parameters' => array( |
| 145 |
'project' => array( |
| 146 |
'location' => 'path', |
| 147 |
'type' => 'string', |
| 148 |
'required' => true, |
| 149 |
), |
| 150 |
), |
| 151 |
),'delete' => array( |
| 152 |
'path' => '{project}/managedZones/{managedZone}', |
| 153 |
'httpMethod' => 'DELETE', |
| 154 |
'parameters' => array( |
| 155 |
'project' => array( |
| 156 |
'location' => 'path', |
| 157 |
'type' => 'string', |
| 158 |
'required' => true, |
| 159 |
), |
| 160 |
'managedZone' => array( |
| 161 |
'location' => 'path', |
| 162 |
'type' => 'string', |
| 163 |
'required' => true, |
| 164 |
), |
| 165 |
), |
| 166 |
),'get' => array( |
| 167 |
'path' => '{project}/managedZones/{managedZone}', |
| 168 |
'httpMethod' => 'GET', |
| 169 |
'parameters' => array( |
| 170 |
'project' => array( |
| 171 |
'location' => 'path', |
| 172 |
'type' => 'string', |
| 173 |
'required' => true, |
| 174 |
), |
| 175 |
'managedZone' => array( |
| 176 |
'location' => 'path', |
| 177 |
'type' => 'string', |
| 178 |
'required' => true, |
| 179 |
), |
| 180 |
), |
| 181 |
),'list' => array( |
| 182 |
'path' => '{project}/managedZones', |
| 183 |
'httpMethod' => 'GET', |
| 184 |
'parameters' => array( |
| 185 |
'project' => array( |
| 186 |
'location' => 'path', |
| 187 |
'type' => 'string', |
| 188 |
'required' => true, |
| 189 |
), |
| 190 |
'pageToken' => array( |
| 191 |
'location' => 'query', |
| 192 |
'type' => 'string', |
| 193 |
), |
| 194 |
'maxResults' => array( |
| 195 |
'location' => 'query', |
| 196 |
'type' => 'integer', |
| 197 |
), |
| 198 |
), |
| 199 |
), |
| 200 |
) |
| 201 |
) |
| 202 |
); |
| 203 |
$this->projects = new Analytify_Google_Service_Dns_Projects_Resource( |
| 204 |
$this, |
| 205 |
$this->serviceName, |
| 206 |
'projects', |
| 207 |
array( |
| 208 |
'methods' => array( |
| 209 |
'get' => array( |
| 210 |
'path' => '{project}', |
| 211 |
'httpMethod' => 'GET', |
| 212 |
'parameters' => array( |
| 213 |
'project' => array( |
| 214 |
'location' => 'path', |
| 215 |
'type' => 'string', |
| 216 |
'required' => true, |
| 217 |
), |
| 218 |
), |
| 219 |
), |
| 220 |
) |
| 221 |
) |
| 222 |
); |
| 223 |
$this->resourceRecordSets = new Analytify_Google_Service_Dns_ResourceRecordSets_Resource( |
| 224 |
$this, |
| 225 |
$this->serviceName, |
| 226 |
'resourceRecordSets', |
| 227 |
array( |
| 228 |
'methods' => array( |
| 229 |
'list' => array( |
| 230 |
'path' => '{project}/managedZones/{managedZone}/rrsets', |
| 231 |
'httpMethod' => 'GET', |
| 232 |
'parameters' => array( |
| 233 |
'project' => array( |
| 234 |
'location' => 'path', |
| 235 |
'type' => 'string', |
| 236 |
'required' => true, |
| 237 |
), |
| 238 |
'managedZone' => array( |
| 239 |
'location' => 'path', |
| 240 |
'type' => 'string', |
| 241 |
'required' => true, |
| 242 |
), |
| 243 |
'name' => array( |
| 244 |
'location' => 'query', |
| 245 |
'type' => 'string', |
| 246 |
), |
| 247 |
'maxResults' => array( |
| 248 |
'location' => 'query', |
| 249 |
'type' => 'integer', |
| 250 |
), |
| 251 |
'pageToken' => array( |
| 252 |
'location' => 'query', |
| 253 |
'type' => 'string', |
| 254 |
), |
| 255 |
'type' => array( |
| 256 |
'location' => 'query', |
| 257 |
'type' => 'string', |
| 258 |
), |
| 259 |
), |
| 260 |
), |
| 261 |
) |
| 262 |
) |
| 263 |
); |
| 264 |
} |
| 265 |
} |
| 266 |
|
| 267 |
|
| 268 |
/** |
| 269 |
* The "changes" collection of methods. |
| 270 |
* Typical usage is: |
| 271 |
* <code> |
| 272 |
* $dnsService = new Analytify_Google_Service_Dns(...); |
| 273 |
* $changes = $dnsService->changes; |
| 274 |
* </code> |
| 275 |
*/ |
| 276 |
class Analytify_Google_Service_Dns_Changes_Resource extends Analytify_Google_Service_Resource |
| 277 |
{ |
| 278 |
|
| 279 |
/** |
| 280 |
* Atomically update the ResourceRecordSet collection. (changes.create) |
| 281 |
* |
| 282 |
* @param string $project |
| 283 |
* Identifies the project addressed by this request. |
| 284 |
* @param string $managedZone |
| 285 |
* Identifies the managed zone addressed by this request. Can be the managed zone name or id. |
| 286 |
* @param Analytify_Google_Change $postBody |
| 287 |
* @param array $optParams Optional parameters. |
| 288 |
* @return Analytify_Google_Service_Dns_Change |
| 289 |
*/ |
| 290 |
public function create($project, $managedZone, Analytify_Google_Service_Dns_Change $postBody, $optParams = array()) |
| 291 |
{ |
| 292 |
$params = array('project' => $project, 'managedZone' => $managedZone, 'postBody' => $postBody); |
| 293 |
$params = array_merge($params, $optParams); |
| 294 |
return $this->call('create', array($params), "Analytify_Google_Service_Dns_Change"); |
| 295 |
} |
| 296 |
/** |
| 297 |
* Fetch the representation of an existing Change. (changes.get) |
| 298 |
* |
| 299 |
* @param string $project |
| 300 |
* Identifies the project addressed by this request. |
| 301 |
* @param string $managedZone |
| 302 |
* Identifies the managed zone addressed by this request. Can be the managed zone name or id. |
| 303 |
* @param string $changeId |
| 304 |
* The identifier of the requested change, from a previous ResourceRecordSetsChangeResponse. |
| 305 |
* @param array $optParams Optional parameters. |
| 306 |
* @return Analytify_Google_Service_Dns_Change |
| 307 |
*/ |
| 308 |
public function get($project, $managedZone, $changeId, $optParams = array()) |
| 309 |
{ |
| 310 |
$params = array('project' => $project, 'managedZone' => $managedZone, 'changeId' => $changeId); |
| 311 |
$params = array_merge($params, $optParams); |
| 312 |
return $this->call('get', array($params), "Analytify_Google_Service_Dns_Change"); |
| 313 |
} |
| 314 |
/** |
| 315 |
* Enumerate Changes to a ResourceRecordSet collection. (changes.listChanges) |
| 316 |
* |
| 317 |
* @param string $project |
| 318 |
* Identifies the project addressed by this request. |
| 319 |
* @param string $managedZone |
| 320 |
* Identifies the managed zone addressed by this request. Can be the managed zone name or id. |
| 321 |
* @param array $optParams Optional parameters. |
| 322 |
* |
| 323 |
* @opt_param int maxResults |
| 324 |
* Optional. Maximum number of results to be returned. If unspecified, the server will decide how |
| 325 |
* many results to return. |
| 326 |
* @opt_param string pageToken |
| 327 |
* Optional. A tag returned by a previous list request that was truncated. Use this parameter to |
| 328 |
* continue a previous list request. |
| 329 |
* @opt_param string sortBy |
| 330 |
* Sorting criterion. The only supported value is change sequence. |
| 331 |
* @opt_param string sortOrder |
| 332 |
* Sorting order direction: 'ascending' or 'descending'. |
| 333 |
* @return Analytify_Google_Service_Dns_ChangesListResponse |
| 334 |
*/ |
| 335 |
public function listChanges($project, $managedZone, $optParams = array()) |
| 336 |
{ |
| 337 |
$params = array('project' => $project, 'managedZone' => $managedZone); |
| 338 |
$params = array_merge($params, $optParams); |
| 339 |
return $this->call('list', array($params), "Analytify_Google_Service_Dns_ChangesListResponse"); |
| 340 |
} |
| 341 |
} |
| 342 |
|
| 343 |
/** |
| 344 |
* The "managedZones" collection of methods. |
| 345 |
* Typical usage is: |
| 346 |
* <code> |
| 347 |
* $dnsService = new Analytify_Google_Service_Dns(...); |
| 348 |
* $managedZones = $dnsService->managedZones; |
| 349 |
* </code> |
| 350 |
*/ |
| 351 |
class Analytify_Google_Service_Dns_ManagedZones_Resource extends Analytify_Google_Service_Resource |
| 352 |
{ |
| 353 |
|
| 354 |
/** |
| 355 |
* Create a new ManagedZone. (managedZones.create) |
| 356 |
* |
| 357 |
* @param string $project |
| 358 |
* Identifies the project addressed by this request. |
| 359 |
* @param Analytify_Google_ManagedZone $postBody |
| 360 |
* @param array $optParams Optional parameters. |
| 361 |
* @return Analytify_Google_Service_Dns_ManagedZone |
| 362 |
*/ |
| 363 |
public function create($project, Analytify_Google_Service_Dns_ManagedZone $postBody, $optParams = array()) |
| 364 |
{ |
| 365 |
$params = array('project' => $project, 'postBody' => $postBody); |
| 366 |
$params = array_merge($params, $optParams); |
| 367 |
return $this->call('create', array($params), "Analytify_Google_Service_Dns_ManagedZone"); |
| 368 |
} |
| 369 |
/** |
| 370 |
* Delete a previously created ManagedZone. (managedZones.delete) |
| 371 |
* |
| 372 |
* @param string $project |
| 373 |
* Identifies the project addressed by this request. |
| 374 |
* @param string $managedZone |
| 375 |
* Identifies the managed zone addressed by this request. Can be the managed zone name or id. |
| 376 |
* @param array $optParams Optional parameters. |
| 377 |
*/ |
| 378 |
public function delete($project, $managedZone, $optParams = array()) |
| 379 |
{ |
| 380 |
$params = array('project' => $project, 'managedZone' => $managedZone); |
| 381 |
$params = array_merge($params, $optParams); |
| 382 |
return $this->call('delete', array($params)); |
| 383 |
} |
| 384 |
/** |
| 385 |
* Fetch the representation of an existing ManagedZone. (managedZones.get) |
| 386 |
* |
| 387 |
* @param string $project |
| 388 |
* Identifies the project addressed by this request. |
| 389 |
* @param string $managedZone |
| 390 |
* Identifies the managed zone addressed by this request. Can be the managed zone name or id. |
| 391 |
* @param array $optParams Optional parameters. |
| 392 |
* @return Analytify_Google_Service_Dns_ManagedZone |
| 393 |
*/ |
| 394 |
public function get($project, $managedZone, $optParams = array()) |
| 395 |
{ |
| 396 |
$params = array('project' => $project, 'managedZone' => $managedZone); |
| 397 |
$params = array_merge($params, $optParams); |
| 398 |
return $this->call('get', array($params), "Analytify_Google_Service_Dns_ManagedZone"); |
| 399 |
} |
| 400 |
/** |
| 401 |
* Enumerate ManagedZones that have been created but not yet deleted. |
| 402 |
* (managedZones.listManagedZones) |
| 403 |
* |
| 404 |
* @param string $project |
| 405 |
* Identifies the project addressed by this request. |
| 406 |
* @param array $optParams Optional parameters. |
| 407 |
* |
| 408 |
* @opt_param string pageToken |
| 409 |
* Optional. A tag returned by a previous list request that was truncated. Use this parameter to |
| 410 |
* continue a previous list request. |
| 411 |
* @opt_param int maxResults |
| 412 |
* Optional. Maximum number of results to be returned. If unspecified, the server will decide how |
| 413 |
* many results to return. |
| 414 |
* @return Analytify_Google_Service_Dns_ManagedZonesListResponse |
| 415 |
*/ |
| 416 |
public function listManagedZones($project, $optParams = array()) |
| 417 |
{ |
| 418 |
$params = array('project' => $project); |
| 419 |
$params = array_merge($params, $optParams); |
| 420 |
return $this->call('list', array($params), "Analytify_Google_Service_Dns_ManagedZonesListResponse"); |
| 421 |
} |
| 422 |
} |
| 423 |
|
| 424 |
/** |
| 425 |
* The "projects" collection of methods. |
| 426 |
* Typical usage is: |
| 427 |
* <code> |
| 428 |
* $dnsService = new Analytify_Google_Service_Dns(...); |
| 429 |
* $projects = $dnsService->projects; |
| 430 |
* </code> |
| 431 |
*/ |
| 432 |
class Analytify_Google_Service_Dns_Projects_Resource extends Analytify_Google_Service_Resource |
| 433 |
{ |
| 434 |
|
| 435 |
/** |
| 436 |
* Fetch the representation of an existing Project. (projects.get) |
| 437 |
* |
| 438 |
* @param string $project |
| 439 |
* Identifies the project addressed by this request. |
| 440 |
* @param array $optParams Optional parameters. |
| 441 |
* @return Analytify_Google_Service_Dns_Project |
| 442 |
*/ |
| 443 |
public function get($project, $optParams = array()) |
| 444 |
{ |
| 445 |
$params = array('project' => $project); |
| 446 |
$params = array_merge($params, $optParams); |
| 447 |
return $this->call('get', array($params), "Analytify_Google_Service_Dns_Project"); |
| 448 |
} |
| 449 |
} |
| 450 |
|
| 451 |
/** |
| 452 |
* The "resourceRecordSets" collection of methods. |
| 453 |
* Typical usage is: |
| 454 |
* <code> |
| 455 |
* $dnsService = new Analytify_Google_Service_Dns(...); |
| 456 |
* $resourceRecordSets = $dnsService->resourceRecordSets; |
| 457 |
* </code> |
| 458 |
*/ |
| 459 |
class Analytify_Google_Service_Dns_ResourceRecordSets_Resource extends Analytify_Google_Service_Resource |
| 460 |
{ |
| 461 |
|
| 462 |
/** |
| 463 |
* Enumerate ResourceRecordSets that have been created but not yet deleted. |
| 464 |
* (resourceRecordSets.listResourceRecordSets) |
| 465 |
* |
| 466 |
* @param string $project |
| 467 |
* Identifies the project addressed by this request. |
| 468 |
* @param string $managedZone |
| 469 |
* Identifies the managed zone addressed by this request. Can be the managed zone name or id. |
| 470 |
* @param array $optParams Optional parameters. |
| 471 |
* |
| 472 |
* @opt_param string name |
| 473 |
* Restricts the list to return only records with this fully qualified domain name. |
| 474 |
* @opt_param int maxResults |
| 475 |
* Optional. Maximum number of results to be returned. If unspecified, the server will decide how |
| 476 |
* many results to return. |
| 477 |
* @opt_param string pageToken |
| 478 |
* Optional. A tag returned by a previous list request that was truncated. Use this parameter to |
| 479 |
* continue a previous list request. |
| 480 |
* @opt_param string type |
| 481 |
* Restricts the list to return only records of this type. If present, the "name" parameter must |
| 482 |
* also be present. |
| 483 |
* @return Analytify_Google_Service_Dns_ResourceRecordSetsListResponse |
| 484 |
*/ |
| 485 |
public function listResourceRecordSets($project, $managedZone, $optParams = array()) |
| 486 |
{ |
| 487 |
$params = array('project' => $project, 'managedZone' => $managedZone); |
| 488 |
$params = array_merge($params, $optParams); |
| 489 |
return $this->call('list', array($params), "Analytify_Google_Service_Dns_ResourceRecordSetsListResponse"); |
| 490 |
} |
| 491 |
} |
| 492 |
|
| 493 |
|
| 494 |
|
| 495 |
|
| 496 |
class Analytify_Google_Service_Dns_Change extends Analytify_Google_Collection |
| 497 |
{ |
| 498 |
protected $additionsType = 'Analytify_Google_Service_Dns_ResourceRecordSet'; |
| 499 |
protected $additionsDataType = 'array'; |
| 500 |
protected $deletionsType = 'Analytify_Google_Service_Dns_ResourceRecordSet'; |
| 501 |
protected $deletionsDataType = 'array'; |
| 502 |
public $id; |
| 503 |
public $kind; |
| 504 |
public $startTime; |
| 505 |
public $status; |
| 506 |
|
| 507 |
public function setAdditions($additions) |
| 508 |
{ |
| 509 |
$this->additions = $additions; |
| 510 |
} |
| 511 |
|
| 512 |
public function getAdditions() |
| 513 |
{ |
| 514 |
return $this->additions; |
| 515 |
} |
| 516 |
|
| 517 |
public function setDeletions($deletions) |
| 518 |
{ |
| 519 |
$this->deletions = $deletions; |
| 520 |
} |
| 521 |
|
| 522 |
public function getDeletions() |
| 523 |
{ |
| 524 |
return $this->deletions; |
| 525 |
} |
| 526 |
|
| 527 |
public function setId($id) |
| 528 |
{ |
| 529 |
$this->id = $id; |
| 530 |
} |
| 531 |
|
| 532 |
public function getId() |
| 533 |
{ |
| 534 |
return $this->id; |
| 535 |
} |
| 536 |
|
| 537 |
public function setKind($kind) |
| 538 |
{ |
| 539 |
$this->kind = $kind; |
| 540 |
} |
| 541 |
|
| 542 |
public function getKind() |
| 543 |
{ |
| 544 |
return $this->kind; |
| 545 |
} |
| 546 |
|
| 547 |
public function setStartTime($startTime) |
| 548 |
{ |
| 549 |
$this->startTime = $startTime; |
| 550 |
} |
| 551 |
|
| 552 |
public function getStartTime() |
| 553 |
{ |
| 554 |
return $this->startTime; |
| 555 |
} |
| 556 |
|
| 557 |
public function setStatus($status) |
| 558 |
{ |
| 559 |
$this->status = $status; |
| 560 |
} |
| 561 |
|
| 562 |
public function getStatus() |
| 563 |
{ |
| 564 |
return $this->status; |
| 565 |
} |
| 566 |
} |
| 567 |
|
| 568 |
class Analytify_Google_Service_Dns_ChangesListResponse extends Analytify_Google_Collection |
| 569 |
{ |
| 570 |
protected $changesType = 'Analytify_Google_Service_Dns_Change'; |
| 571 |
protected $changesDataType = 'array'; |
| 572 |
public $kind; |
| 573 |
public $nextPageToken; |
| 574 |
|
| 575 |
public function setChanges($changes) |
| 576 |
{ |
| 577 |
$this->changes = $changes; |
| 578 |
} |
| 579 |
|
| 580 |
public function getChanges() |
| 581 |
{ |
| 582 |
return $this->changes; |
| 583 |
} |
| 584 |
|
| 585 |
public function setKind($kind) |
| 586 |
{ |
| 587 |
$this->kind = $kind; |
| 588 |
} |
| 589 |
|
| 590 |
public function getKind() |
| 591 |
{ |
| 592 |
return $this->kind; |
| 593 |
} |
| 594 |
|
| 595 |
public function setNextPageToken($nextPageToken) |
| 596 |
{ |
| 597 |
$this->nextPageToken = $nextPageToken; |
| 598 |
} |
| 599 |
|
| 600 |
public function getNextPageToken() |
| 601 |
{ |
| 602 |
return $this->nextPageToken; |
| 603 |
} |
| 604 |
} |
| 605 |
|
| 606 |
class Analytify_Google_Service_Dns_ManagedZone extends Analytify_Google_Collection |
| 607 |
{ |
| 608 |
public $creationTime; |
| 609 |
public $description; |
| 610 |
public $dnsName; |
| 611 |
public $id; |
| 612 |
public $kind; |
| 613 |
public $name; |
| 614 |
public $nameServers; |
| 615 |
|
| 616 |
public function setCreationTime($creationTime) |
| 617 |
{ |
| 618 |
$this->creationTime = $creationTime; |
| 619 |
} |
| 620 |
|
| 621 |
public function getCreationTime() |
| 622 |
{ |
| 623 |
return $this->creationTime; |
| 624 |
} |
| 625 |
|
| 626 |
public function setDescription($description) |
| 627 |
{ |
| 628 |
$this->description = $description; |
| 629 |
} |
| 630 |
|
| 631 |
public function getDescription() |
| 632 |
{ |
| 633 |
return $this->description; |
| 634 |
} |
| 635 |
|
| 636 |
public function setDnsName($dnsName) |
| 637 |
{ |
| 638 |
$this->dnsName = $dnsName; |
| 639 |
} |
| 640 |
|
| 641 |
public function getDnsName() |
| 642 |
{ |
| 643 |
return $this->dnsName; |
| 644 |
} |
| 645 |
|
| 646 |
public function setId($id) |
| 647 |
{ |
| 648 |
$this->id = $id; |
| 649 |
} |
| 650 |
|
| 651 |
public function getId() |
| 652 |
{ |
| 653 |
return $this->id; |
| 654 |
} |
| 655 |
|
| 656 |
public function setKind($kind) |
| 657 |
{ |
| 658 |
$this->kind = $kind; |
| 659 |
} |
| 660 |
|
| 661 |
public function getKind() |
| 662 |
{ |
| 663 |
return $this->kind; |
| 664 |
} |
| 665 |
|
| 666 |
public function setName($name) |
| 667 |
{ |
| 668 |
$this->name = $name; |
| 669 |
} |
| 670 |
|
| 671 |
public function getName() |
| 672 |
{ |
| 673 |
return $this->name; |
| 674 |
} |
| 675 |
|
| 676 |
public function setNameServers($nameServers) |
| 677 |
{ |
| 678 |
$this->nameServers = $nameServers; |
| 679 |
} |
| 680 |
|
| 681 |
public function getNameServers() |
| 682 |
{ |
| 683 |
return $this->nameServers; |
| 684 |
} |
| 685 |
} |
| 686 |
|
| 687 |
class Analytify_Google_Service_Dns_ManagedZonesListResponse extends Analytify_Google_Collection |
| 688 |
{ |
| 689 |
public $kind; |
| 690 |
protected $managedZonesType = 'Analytify_Google_Service_Dns_ManagedZone'; |
| 691 |
protected $managedZonesDataType = 'array'; |
| 692 |
public $nextPageToken; |
| 693 |
|
| 694 |
public function setKind($kind) |
| 695 |
{ |
| 696 |
$this->kind = $kind; |
| 697 |
} |
| 698 |
|
| 699 |
public function getKind() |
| 700 |
{ |
| 701 |
return $this->kind; |
| 702 |
} |
| 703 |
|
| 704 |
public function setManagedZones($managedZones) |
| 705 |
{ |
| 706 |
$this->managedZones = $managedZones; |
| 707 |
} |
| 708 |
|
| 709 |
public function getManagedZones() |
| 710 |
{ |
| 711 |
return $this->managedZones; |
| 712 |
} |
| 713 |
|
| 714 |
public function setNextPageToken($nextPageToken) |
| 715 |
{ |
| 716 |
$this->nextPageToken = $nextPageToken; |
| 717 |
} |
| 718 |
|
| 719 |
public function getNextPageToken() |
| 720 |
{ |
| 721 |
return $this->nextPageToken; |
| 722 |
} |
| 723 |
} |
| 724 |
|
| 725 |
class Analytify_Google_Service_Dns_Project extends Analytify_Google_Model |
| 726 |
{ |
| 727 |
public $id; |
| 728 |
public $kind; |
| 729 |
public $number; |
| 730 |
protected $quotaType = 'Analytify_Google_Service_Dns_Quota'; |
| 731 |
protected $quotaDataType = ''; |
| 732 |
|
| 733 |
public function setId($id) |
| 734 |
{ |
| 735 |
$this->id = $id; |
| 736 |
} |
| 737 |
|
| 738 |
public function getId() |
| 739 |
{ |
| 740 |
return $this->id; |
| 741 |
} |
| 742 |
|
| 743 |
public function setKind($kind) |
| 744 |
{ |
| 745 |
$this->kind = $kind; |
| 746 |
} |
| 747 |
|
| 748 |
public function getKind() |
| 749 |
{ |
| 750 |
return $this->kind; |
| 751 |
} |
| 752 |
|
| 753 |
public function setNumber($number) |
| 754 |
{ |
| 755 |
$this->number = $number; |
| 756 |
} |
| 757 |
|
| 758 |
public function getNumber() |
| 759 |
{ |
| 760 |
return $this->number; |
| 761 |
} |
| 762 |
|
| 763 |
public function setQuota(Analytify_Google_Service_Dns_Quota $quota) |
| 764 |
{ |
| 765 |
$this->quota = $quota; |
| 766 |
} |
| 767 |
|
| 768 |
public function getQuota() |
| 769 |
{ |
| 770 |
return $this->quota; |
| 771 |
} |
| 772 |
} |
| 773 |
|
| 774 |
class Analytify_Google_Service_Dns_Quota extends Analytify_Google_Model |
| 775 |
{ |
| 776 |
public $kind; |
| 777 |
public $managedZones; |
| 778 |
public $resourceRecordsPerRrset; |
| 779 |
public $rrsetAdditionsPerChange; |
| 780 |
public $rrsetDeletionsPerChange; |
| 781 |
public $rrsetsPerManagedZone; |
| 782 |
public $totalRrdataSizePerChange; |
| 783 |
|
| 784 |
public function setKind($kind) |
| 785 |
{ |
| 786 |
$this->kind = $kind; |
| 787 |
} |
| 788 |
|
| 789 |
public function getKind() |
| 790 |
{ |
| 791 |
return $this->kind; |
| 792 |
} |
| 793 |
|
| 794 |
public function setManagedZones($managedZones) |
| 795 |
{ |
| 796 |
$this->managedZones = $managedZones; |
| 797 |
} |
| 798 |
|
| 799 |
public function getManagedZones() |
| 800 |
{ |
| 801 |
return $this->managedZones; |
| 802 |
} |
| 803 |
|
| 804 |
public function setResourceRecordsPerRrset($resourceRecordsPerRrset) |
| 805 |
{ |
| 806 |
$this->resourceRecordsPerRrset = $resourceRecordsPerRrset; |
| 807 |
} |
| 808 |
|
| 809 |
public function getResourceRecordsPerRrset() |
| 810 |
{ |
| 811 |
return $this->resourceRecordsPerRrset; |
| 812 |
} |
| 813 |
|
| 814 |
public function setRrsetAdditionsPerChange($rrsetAdditionsPerChange) |
| 815 |
{ |
| 816 |
$this->rrsetAdditionsPerChange = $rrsetAdditionsPerChange; |
| 817 |
} |
| 818 |
|
| 819 |
public function getRrsetAdditionsPerChange() |
| 820 |
{ |
| 821 |
return $this->rrsetAdditionsPerChange; |
| 822 |
} |
| 823 |
|
| 824 |
public function setRrsetDeletionsPerChange($rrsetDeletionsPerChange) |
| 825 |
{ |
| 826 |
$this->rrsetDeletionsPerChange = $rrsetDeletionsPerChange; |
| 827 |
} |
| 828 |
|
| 829 |
public function getRrsetDeletionsPerChange() |
| 830 |
{ |
| 831 |
return $this->rrsetDeletionsPerChange; |
| 832 |
} |
| 833 |
|
| 834 |
public function setRrsetsPerManagedZone($rrsetsPerManagedZone) |
| 835 |
{ |
| 836 |
$this->rrsetsPerManagedZone = $rrsetsPerManagedZone; |
| 837 |
} |
| 838 |
|
| 839 |
public function getRrsetsPerManagedZone() |
| 840 |
{ |
| 841 |
return $this->rrsetsPerManagedZone; |
| 842 |
} |
| 843 |
|
| 844 |
public function setTotalRrdataSizePerChange($totalRrdataSizePerChange) |
| 845 |
{ |
| 846 |
$this->totalRrdataSizePerChange = $totalRrdataSizePerChange; |
| 847 |
} |
| 848 |
|
| 849 |
public function getTotalRrdataSizePerChange() |
| 850 |
{ |
| 851 |
return $this->totalRrdataSizePerChange; |
| 852 |
} |
| 853 |
} |
| 854 |
|
| 855 |
class Analytify_Google_Service_Dns_ResourceRecordSet extends Analytify_Google_Collection |
| 856 |
{ |
| 857 |
public $kind; |
| 858 |
public $name; |
| 859 |
public $rrdatas; |
| 860 |
public $ttl; |
| 861 |
public $type; |
| 862 |
|
| 863 |
public function setKind($kind) |
| 864 |
{ |
| 865 |
$this->kind = $kind; |
| 866 |
} |
| 867 |
|
| 868 |
public function getKind() |
| 869 |
{ |
| 870 |
return $this->kind; |
| 871 |
} |
| 872 |
|
| 873 |
public function setName($name) |
| 874 |
{ |
| 875 |
$this->name = $name; |
| 876 |
} |
| 877 |
|
| 878 |
public function getName() |
| 879 |
{ |
| 880 |
return $this->name; |
| 881 |
} |
| 882 |
|
| 883 |
public function setRrdatas($rrdatas) |
| 884 |
{ |
| 885 |
$this->rrdatas = $rrdatas; |
| 886 |
} |
| 887 |
|
| 888 |
public function getRrdatas() |
| 889 |
{ |
| 890 |
return $this->rrdatas; |
| 891 |
} |
| 892 |
|
| 893 |
public function setTtl($ttl) |
| 894 |
{ |
| 895 |
$this->ttl = $ttl; |
| 896 |
} |
| 897 |
|
| 898 |
public function getTtl() |
| 899 |
{ |
| 900 |
return $this->ttl; |
| 901 |
} |
| 902 |
|
| 903 |
public function setType($type) |
| 904 |
{ |
| 905 |
$this->type = $type; |
| 906 |
} |
| 907 |
|
| 908 |
public function getType() |
| 909 |
{ |
| 910 |
return $this->type; |
| 911 |
} |
| 912 |
} |
| 913 |
|
| 914 |
class Analytify_Google_Service_Dns_ResourceRecordSetsListResponse extends Analytify_Google_Collection |
| 915 |
{ |
| 916 |
public $kind; |
| 917 |
public $nextPageToken; |
| 918 |
protected $rrsetsType = 'Analytify_Google_Service_Dns_ResourceRecordSet'; |
| 919 |
protected $rrsetsDataType = 'array'; |
| 920 |
|
| 921 |
public function setKind($kind) |
| 922 |
{ |
| 923 |
$this->kind = $kind; |
| 924 |
} |
| 925 |
|
| 926 |
public function getKind() |
| 927 |
{ |
| 928 |
return $this->kind; |
| 929 |
} |
| 930 |
|
| 931 |
public function setNextPageToken($nextPageToken) |
| 932 |
{ |
| 933 |
$this->nextPageToken = $nextPageToken; |
| 934 |
} |
| 935 |
|
| 936 |
public function getNextPageToken() |
| 937 |
{ |
| 938 |
return $this->nextPageToken; |
| 939 |
} |
| 940 |
|
| 941 |
public function setRrsets($rrsets) |
| 942 |
{ |
| 943 |
$this->rrsets = $rrsets; |
| 944 |
} |
| 945 |
|
| 946 |
public function getRrsets() |
| 947 |
{ |
| 948 |
return $this->rrsets; |
| 949 |
} |
| 950 |
} |
| 951 |
|