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 18namespace Google\Service\DataCatalog; 19 20class GoogleCloudDatacatalogV1beta1Taxonomy extends \Google\Collection 21{ 22 protected $collection_key = 'activatedPolicyTypes'; 23 public $activatedPolicyTypes; 24 public $description; 25 public $displayName; 26 public $name; 27 public $policyTagCount; 28 protected $taxonomyTimestampsType = GoogleCloudDatacatalogV1beta1SystemTimestamps::class; 29 protected $taxonomyTimestampsDataType = ''; 30 31 public function setActivatedPolicyTypes($activatedPolicyTypes) 32 { 33 $this->activatedPolicyTypes = $activatedPolicyTypes; 34 } 35 public function getActivatedPolicyTypes() 36 { 37 return $this->activatedPolicyTypes; 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 setDisplayName($displayName) 48 { 49 $this->displayName = $displayName; 50 } 51 public function getDisplayName() 52 { 53 return $this->displayName; 54 } 55 public function setName($name) 56 { 57 $this->name = $name; 58 } 59 public function getName() 60 { 61 return $this->name; 62 } 63 public function setPolicyTagCount($policyTagCount) 64 { 65 $this->policyTagCount = $policyTagCount; 66 } 67 public function getPolicyTagCount() 68 { 69 return $this->policyTagCount; 70 } 71 /** 72 * @param GoogleCloudDatacatalogV1beta1SystemTimestamps 73 */ 74 public function setTaxonomyTimestamps(GoogleCloudDatacatalogV1beta1SystemTimestamps $taxonomyTimestamps) 75 { 76 $this->taxonomyTimestamps = $taxonomyTimestamps; 77 } 78 /** 79 * @return GoogleCloudDatacatalogV1beta1SystemTimestamps 80 */ 81 public function getTaxonomyTimestamps() 82 { 83 return $this->taxonomyTimestamps; 84 } 85} 86 87// Adding a class alias for backwards compatibility with the previous class name. 88class_alias(GoogleCloudDatacatalogV1beta1Taxonomy::class, 'Google_Service_DataCatalog_GoogleCloudDatacatalogV1beta1Taxonomy'); 89