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 18class Google_Service_Compute_InstanceGroup extends Google_Collection 19{ 20 protected $collection_key = 'namedPorts'; 21 public $creationTimestamp; 22 public $description; 23 public $fingerprint; 24 public $id; 25 public $kind; 26 public $name; 27 protected $namedPortsType = 'Google_Service_Compute_NamedPort'; 28 protected $namedPortsDataType = 'array'; 29 public $network; 30 public $region; 31 public $selfLink; 32 public $size; 33 public $subnetwork; 34 public $zone; 35 36 public function setCreationTimestamp($creationTimestamp) 37 { 38 $this->creationTimestamp = $creationTimestamp; 39 } 40 public function getCreationTimestamp() 41 { 42 return $this->creationTimestamp; 43 } 44 public function setDescription($description) 45 { 46 $this->description = $description; 47 } 48 public function getDescription() 49 { 50 return $this->description; 51 } 52 public function setFingerprint($fingerprint) 53 { 54 $this->fingerprint = $fingerprint; 55 } 56 public function getFingerprint() 57 { 58 return $this->fingerprint; 59 } 60 public function setId($id) 61 { 62 $this->id = $id; 63 } 64 public function getId() 65 { 66 return $this->id; 67 } 68 public function setKind($kind) 69 { 70 $this->kind = $kind; 71 } 72 public function getKind() 73 { 74 return $this->kind; 75 } 76 public function setName($name) 77 { 78 $this->name = $name; 79 } 80 public function getName() 81 { 82 return $this->name; 83 } 84 /** 85 * @param Google_Service_Compute_NamedPort 86 */ 87 public function setNamedPorts($namedPorts) 88 { 89 $this->namedPorts = $namedPorts; 90 } 91 /** 92 * @return Google_Service_Compute_NamedPort 93 */ 94 public function getNamedPorts() 95 { 96 return $this->namedPorts; 97 } 98 public function setNetwork($network) 99 { 100 $this->network = $network; 101 } 102 public function getNetwork() 103 { 104 return $this->network; 105 } 106 public function setRegion($region) 107 { 108 $this->region = $region; 109 } 110 public function getRegion() 111 { 112 return $this->region; 113 } 114 public function setSelfLink($selfLink) 115 { 116 $this->selfLink = $selfLink; 117 } 118 public function getSelfLink() 119 { 120 return $this->selfLink; 121 } 122 public function setSize($size) 123 { 124 $this->size = $size; 125 } 126 public function getSize() 127 { 128 return $this->size; 129 } 130 public function setSubnetwork($subnetwork) 131 { 132 $this->subnetwork = $subnetwork; 133 } 134 public function getSubnetwork() 135 { 136 return $this->subnetwork; 137 } 138 public function setZone($zone) 139 { 140 $this->zone = $zone; 141 } 142 public function getZone() 143 { 144 return $this->zone; 145 } 146} 147