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\CloudDataplex; 19 20class GoogleCloudDataplexV1Asset extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $createTime; 26 /** 27 * @var string 28 */ 29 public $description; 30 protected $discoverySpecType = GoogleCloudDataplexV1AssetDiscoverySpec::class; 31 protected $discoverySpecDataType = ''; 32 protected $discoveryStatusType = GoogleCloudDataplexV1AssetDiscoveryStatus::class; 33 protected $discoveryStatusDataType = ''; 34 /** 35 * @var string 36 */ 37 public $displayName; 38 /** 39 * @var string[] 40 */ 41 public $labels; 42 /** 43 * @var string 44 */ 45 public $name; 46 protected $resourceSpecType = GoogleCloudDataplexV1AssetResourceSpec::class; 47 protected $resourceSpecDataType = ''; 48 protected $resourceStatusType = GoogleCloudDataplexV1AssetResourceStatus::class; 49 protected $resourceStatusDataType = ''; 50 protected $securityStatusType = GoogleCloudDataplexV1AssetSecurityStatus::class; 51 protected $securityStatusDataType = ''; 52 /** 53 * @var string 54 */ 55 public $state; 56 /** 57 * @var string 58 */ 59 public $uid; 60 /** 61 * @var string 62 */ 63 public $updateTime; 64 65 /** 66 * @param string 67 */ 68 public function setCreateTime($createTime) 69 { 70 $this->createTime = $createTime; 71 } 72 /** 73 * @return string 74 */ 75 public function getCreateTime() 76 { 77 return $this->createTime; 78 } 79 /** 80 * @param string 81 */ 82 public function setDescription($description) 83 { 84 $this->description = $description; 85 } 86 /** 87 * @return string 88 */ 89 public function getDescription() 90 { 91 return $this->description; 92 } 93 /** 94 * @param GoogleCloudDataplexV1AssetDiscoverySpec 95 */ 96 public function setDiscoverySpec(GoogleCloudDataplexV1AssetDiscoverySpec $discoverySpec) 97 { 98 $this->discoverySpec = $discoverySpec; 99 } 100 /** 101 * @return GoogleCloudDataplexV1AssetDiscoverySpec 102 */ 103 public function getDiscoverySpec() 104 { 105 return $this->discoverySpec; 106 } 107 /** 108 * @param GoogleCloudDataplexV1AssetDiscoveryStatus 109 */ 110 public function setDiscoveryStatus(GoogleCloudDataplexV1AssetDiscoveryStatus $discoveryStatus) 111 { 112 $this->discoveryStatus = $discoveryStatus; 113 } 114 /** 115 * @return GoogleCloudDataplexV1AssetDiscoveryStatus 116 */ 117 public function getDiscoveryStatus() 118 { 119 return $this->discoveryStatus; 120 } 121 /** 122 * @param string 123 */ 124 public function setDisplayName($displayName) 125 { 126 $this->displayName = $displayName; 127 } 128 /** 129 * @return string 130 */ 131 public function getDisplayName() 132 { 133 return $this->displayName; 134 } 135 /** 136 * @param string[] 137 */ 138 public function setLabels($labels) 139 { 140 $this->labels = $labels; 141 } 142 /** 143 * @return string[] 144 */ 145 public function getLabels() 146 { 147 return $this->labels; 148 } 149 /** 150 * @param string 151 */ 152 public function setName($name) 153 { 154 $this->name = $name; 155 } 156 /** 157 * @return string 158 */ 159 public function getName() 160 { 161 return $this->name; 162 } 163 /** 164 * @param GoogleCloudDataplexV1AssetResourceSpec 165 */ 166 public function setResourceSpec(GoogleCloudDataplexV1AssetResourceSpec $resourceSpec) 167 { 168 $this->resourceSpec = $resourceSpec; 169 } 170 /** 171 * @return GoogleCloudDataplexV1AssetResourceSpec 172 */ 173 public function getResourceSpec() 174 { 175 return $this->resourceSpec; 176 } 177 /** 178 * @param GoogleCloudDataplexV1AssetResourceStatus 179 */ 180 public function setResourceStatus(GoogleCloudDataplexV1AssetResourceStatus $resourceStatus) 181 { 182 $this->resourceStatus = $resourceStatus; 183 } 184 /** 185 * @return GoogleCloudDataplexV1AssetResourceStatus 186 */ 187 public function getResourceStatus() 188 { 189 return $this->resourceStatus; 190 } 191 /** 192 * @param GoogleCloudDataplexV1AssetSecurityStatus 193 */ 194 public function setSecurityStatus(GoogleCloudDataplexV1AssetSecurityStatus $securityStatus) 195 { 196 $this->securityStatus = $securityStatus; 197 } 198 /** 199 * @return GoogleCloudDataplexV1AssetSecurityStatus 200 */ 201 public function getSecurityStatus() 202 { 203 return $this->securityStatus; 204 } 205 /** 206 * @param string 207 */ 208 public function setState($state) 209 { 210 $this->state = $state; 211 } 212 /** 213 * @return string 214 */ 215 public function getState() 216 { 217 return $this->state; 218 } 219 /** 220 * @param string 221 */ 222 public function setUid($uid) 223 { 224 $this->uid = $uid; 225 } 226 /** 227 * @return string 228 */ 229 public function getUid() 230 { 231 return $this->uid; 232 } 233 /** 234 * @param string 235 */ 236 public function setUpdateTime($updateTime) 237 { 238 $this->updateTime = $updateTime; 239 } 240 /** 241 * @return string 242 */ 243 public function getUpdateTime() 244 { 245 return $this->updateTime; 246 } 247} 248 249// Adding a class alias for backwards compatibility with the previous class name. 250class_alias(GoogleCloudDataplexV1Asset::class, 'Google_Service_CloudDataplex_GoogleCloudDataplexV1Asset'); 251