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_CloudFunctions_CloudFunction extends Google_Model 19{ 20 public $availableMemoryMb; 21 public $buildEnvironmentVariables; 22 public $buildId; 23 public $buildWorkerPool; 24 public $description; 25 public $entryPoint; 26 public $environmentVariables; 27 protected $eventTriggerType = 'Google_Service_CloudFunctions_EventTrigger'; 28 protected $eventTriggerDataType = ''; 29 protected $httpsTriggerType = 'Google_Service_CloudFunctions_HttpsTrigger'; 30 protected $httpsTriggerDataType = ''; 31 public $ingressSettings; 32 public $labels; 33 public $maxInstances; 34 public $name; 35 public $network; 36 public $runtime; 37 public $serviceAccountEmail; 38 public $sourceArchiveUrl; 39 protected $sourceRepositoryType = 'Google_Service_CloudFunctions_SourceRepository'; 40 protected $sourceRepositoryDataType = ''; 41 public $sourceToken; 42 public $sourceUploadUrl; 43 public $status; 44 public $timeout; 45 public $updateTime; 46 public $versionId; 47 public $vpcConnector; 48 public $vpcConnectorEgressSettings; 49 50 public function setAvailableMemoryMb($availableMemoryMb) 51 { 52 $this->availableMemoryMb = $availableMemoryMb; 53 } 54 public function getAvailableMemoryMb() 55 { 56 return $this->availableMemoryMb; 57 } 58 public function setBuildEnvironmentVariables($buildEnvironmentVariables) 59 { 60 $this->buildEnvironmentVariables = $buildEnvironmentVariables; 61 } 62 public function getBuildEnvironmentVariables() 63 { 64 return $this->buildEnvironmentVariables; 65 } 66 public function setBuildId($buildId) 67 { 68 $this->buildId = $buildId; 69 } 70 public function getBuildId() 71 { 72 return $this->buildId; 73 } 74 public function setBuildWorkerPool($buildWorkerPool) 75 { 76 $this->buildWorkerPool = $buildWorkerPool; 77 } 78 public function getBuildWorkerPool() 79 { 80 return $this->buildWorkerPool; 81 } 82 public function setDescription($description) 83 { 84 $this->description = $description; 85 } 86 public function getDescription() 87 { 88 return $this->description; 89 } 90 public function setEntryPoint($entryPoint) 91 { 92 $this->entryPoint = $entryPoint; 93 } 94 public function getEntryPoint() 95 { 96 return $this->entryPoint; 97 } 98 public function setEnvironmentVariables($environmentVariables) 99 { 100 $this->environmentVariables = $environmentVariables; 101 } 102 public function getEnvironmentVariables() 103 { 104 return $this->environmentVariables; 105 } 106 /** 107 * @param Google_Service_CloudFunctions_EventTrigger 108 */ 109 public function setEventTrigger(Google_Service_CloudFunctions_EventTrigger $eventTrigger) 110 { 111 $this->eventTrigger = $eventTrigger; 112 } 113 /** 114 * @return Google_Service_CloudFunctions_EventTrigger 115 */ 116 public function getEventTrigger() 117 { 118 return $this->eventTrigger; 119 } 120 /** 121 * @param Google_Service_CloudFunctions_HttpsTrigger 122 */ 123 public function setHttpsTrigger(Google_Service_CloudFunctions_HttpsTrigger $httpsTrigger) 124 { 125 $this->httpsTrigger = $httpsTrigger; 126 } 127 /** 128 * @return Google_Service_CloudFunctions_HttpsTrigger 129 */ 130 public function getHttpsTrigger() 131 { 132 return $this->httpsTrigger; 133 } 134 public function setIngressSettings($ingressSettings) 135 { 136 $this->ingressSettings = $ingressSettings; 137 } 138 public function getIngressSettings() 139 { 140 return $this->ingressSettings; 141 } 142 public function setLabels($labels) 143 { 144 $this->labels = $labels; 145 } 146 public function getLabels() 147 { 148 return $this->labels; 149 } 150 public function setMaxInstances($maxInstances) 151 { 152 $this->maxInstances = $maxInstances; 153 } 154 public function getMaxInstances() 155 { 156 return $this->maxInstances; 157 } 158 public function setName($name) 159 { 160 $this->name = $name; 161 } 162 public function getName() 163 { 164 return $this->name; 165 } 166 public function setNetwork($network) 167 { 168 $this->network = $network; 169 } 170 public function getNetwork() 171 { 172 return $this->network; 173 } 174 public function setRuntime($runtime) 175 { 176 $this->runtime = $runtime; 177 } 178 public function getRuntime() 179 { 180 return $this->runtime; 181 } 182 public function setServiceAccountEmail($serviceAccountEmail) 183 { 184 $this->serviceAccountEmail = $serviceAccountEmail; 185 } 186 public function getServiceAccountEmail() 187 { 188 return $this->serviceAccountEmail; 189 } 190 public function setSourceArchiveUrl($sourceArchiveUrl) 191 { 192 $this->sourceArchiveUrl = $sourceArchiveUrl; 193 } 194 public function getSourceArchiveUrl() 195 { 196 return $this->sourceArchiveUrl; 197 } 198 /** 199 * @param Google_Service_CloudFunctions_SourceRepository 200 */ 201 public function setSourceRepository(Google_Service_CloudFunctions_SourceRepository $sourceRepository) 202 { 203 $this->sourceRepository = $sourceRepository; 204 } 205 /** 206 * @return Google_Service_CloudFunctions_SourceRepository 207 */ 208 public function getSourceRepository() 209 { 210 return $this->sourceRepository; 211 } 212 public function setSourceToken($sourceToken) 213 { 214 $this->sourceToken = $sourceToken; 215 } 216 public function getSourceToken() 217 { 218 return $this->sourceToken; 219 } 220 public function setSourceUploadUrl($sourceUploadUrl) 221 { 222 $this->sourceUploadUrl = $sourceUploadUrl; 223 } 224 public function getSourceUploadUrl() 225 { 226 return $this->sourceUploadUrl; 227 } 228 public function setStatus($status) 229 { 230 $this->status = $status; 231 } 232 public function getStatus() 233 { 234 return $this->status; 235 } 236 public function setTimeout($timeout) 237 { 238 $this->timeout = $timeout; 239 } 240 public function getTimeout() 241 { 242 return $this->timeout; 243 } 244 public function setUpdateTime($updateTime) 245 { 246 $this->updateTime = $updateTime; 247 } 248 public function getUpdateTime() 249 { 250 return $this->updateTime; 251 } 252 public function setVersionId($versionId) 253 { 254 $this->versionId = $versionId; 255 } 256 public function getVersionId() 257 { 258 return $this->versionId; 259 } 260 public function setVpcConnector($vpcConnector) 261 { 262 $this->vpcConnector = $vpcConnector; 263 } 264 public function getVpcConnector() 265 { 266 return $this->vpcConnector; 267 } 268 public function setVpcConnectorEgressSettings($vpcConnectorEgressSettings) 269 { 270 $this->vpcConnectorEgressSettings = $vpcConnectorEgressSettings; 271 } 272 public function getVpcConnectorEgressSettings() 273 { 274 return $this->vpcConnectorEgressSettings; 275 } 276} 277