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_SecurityPolicy extends Google_Collection 19{ 20 protected $collection_key = 'rules'; 21 public $creationTimestamp; 22 public $description; 23 public $fingerprint; 24 public $id; 25 public $kind; 26 public $name; 27 protected $rulesType = 'Google_Service_Compute_SecurityPolicyRule'; 28 protected $rulesDataType = 'array'; 29 public $selfLink; 30 31 public function setCreationTimestamp($creationTimestamp) 32 { 33 $this->creationTimestamp = $creationTimestamp; 34 } 35 public function getCreationTimestamp() 36 { 37 return $this->creationTimestamp; 38 } 39 public function setDescription($description) 40 { 41 $this->description = $description; 42 } 43 public function getDescription() 44 { 45 return $this->description; 46 } 47 public function setFingerprint($fingerprint) 48 { 49 $this->fingerprint = $fingerprint; 50 } 51 public function getFingerprint() 52 { 53 return $this->fingerprint; 54 } 55 public function setId($id) 56 { 57 $this->id = $id; 58 } 59 public function getId() 60 { 61 return $this->id; 62 } 63 public function setKind($kind) 64 { 65 $this->kind = $kind; 66 } 67 public function getKind() 68 { 69 return $this->kind; 70 } 71 public function setName($name) 72 { 73 $this->name = $name; 74 } 75 public function getName() 76 { 77 return $this->name; 78 } 79 /** 80 * @param Google_Service_Compute_SecurityPolicyRule 81 */ 82 public function setRules($rules) 83 { 84 $this->rules = $rules; 85 } 86 /** 87 * @return Google_Service_Compute_SecurityPolicyRule 88 */ 89 public function getRules() 90 { 91 return $this->rules; 92 } 93 public function setSelfLink($selfLink) 94 { 95 $this->selfLink = $selfLink; 96 } 97 public function getSelfLink() 98 { 99 return $this->selfLink; 100 } 101} 102