暫無描述

Network.php 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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. class Google_Service_Compute_Network extends Google_Collection
  18. {
  19. protected $collection_key = 'subnetworks';
  20. protected $internal_gapi_mappings = array(
  21. "iPv4Range" => "IPv4Range",
  22. );
  23. public $iPv4Range;
  24. public $autoCreateSubnetworks;
  25. public $creationTimestamp;
  26. public $description;
  27. public $gatewayIPv4;
  28. public $id;
  29. public $kind;
  30. public $name;
  31. protected $peeringsType = 'Google_Service_Compute_NetworkPeering';
  32. protected $peeringsDataType = 'array';
  33. protected $routingConfigType = 'Google_Service_Compute_NetworkRoutingConfig';
  34. protected $routingConfigDataType = '';
  35. public $selfLink;
  36. public $subnetworks;
  37. public function setIPv4Range($iPv4Range)
  38. {
  39. $this->iPv4Range = $iPv4Range;
  40. }
  41. public function getIPv4Range()
  42. {
  43. return $this->iPv4Range;
  44. }
  45. public function setAutoCreateSubnetworks($autoCreateSubnetworks)
  46. {
  47. $this->autoCreateSubnetworks = $autoCreateSubnetworks;
  48. }
  49. public function getAutoCreateSubnetworks()
  50. {
  51. return $this->autoCreateSubnetworks;
  52. }
  53. public function setCreationTimestamp($creationTimestamp)
  54. {
  55. $this->creationTimestamp = $creationTimestamp;
  56. }
  57. public function getCreationTimestamp()
  58. {
  59. return $this->creationTimestamp;
  60. }
  61. public function setDescription($description)
  62. {
  63. $this->description = $description;
  64. }
  65. public function getDescription()
  66. {
  67. return $this->description;
  68. }
  69. public function setGatewayIPv4($gatewayIPv4)
  70. {
  71. $this->gatewayIPv4 = $gatewayIPv4;
  72. }
  73. public function getGatewayIPv4()
  74. {
  75. return $this->gatewayIPv4;
  76. }
  77. public function setId($id)
  78. {
  79. $this->id = $id;
  80. }
  81. public function getId()
  82. {
  83. return $this->id;
  84. }
  85. public function setKind($kind)
  86. {
  87. $this->kind = $kind;
  88. }
  89. public function getKind()
  90. {
  91. return $this->kind;
  92. }
  93. public function setName($name)
  94. {
  95. $this->name = $name;
  96. }
  97. public function getName()
  98. {
  99. return $this->name;
  100. }
  101. /**
  102. * @param Google_Service_Compute_NetworkPeering
  103. */
  104. public function setPeerings($peerings)
  105. {
  106. $this->peerings = $peerings;
  107. }
  108. /**
  109. * @return Google_Service_Compute_NetworkPeering
  110. */
  111. public function getPeerings()
  112. {
  113. return $this->peerings;
  114. }
  115. /**
  116. * @param Google_Service_Compute_NetworkRoutingConfig
  117. */
  118. public function setRoutingConfig(Google_Service_Compute_NetworkRoutingConfig $routingConfig)
  119. {
  120. $this->routingConfig = $routingConfig;
  121. }
  122. /**
  123. * @return Google_Service_Compute_NetworkRoutingConfig
  124. */
  125. public function getRoutingConfig()
  126. {
  127. return $this->routingConfig;
  128. }
  129. public function setSelfLink($selfLink)
  130. {
  131. $this->selfLink = $selfLink;
  132. }
  133. public function getSelfLink()
  134. {
  135. return $this->selfLink;
  136. }
  137. public function setSubnetworks($subnetworks)
  138. {
  139. $this->subnetworks = $subnetworks;
  140. }
  141. public function getSubnetworks()
  142. {
  143. return $this->subnetworks;
  144. }
  145. }