[e3d4e0a] | 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 |
|
---|
| 18 | namespace Google\Service\Monitoring;
|
---|
| 19 |
|
---|
| 20 | class Service extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $appEngineType = AppEngine::class;
|
---|
| 23 | protected $appEngineDataType = '';
|
---|
| 24 | protected $basicServiceType = BasicService::class;
|
---|
| 25 | protected $basicServiceDataType = '';
|
---|
| 26 | protected $cloudEndpointsType = CloudEndpoints::class;
|
---|
| 27 | protected $cloudEndpointsDataType = '';
|
---|
| 28 | protected $cloudRunType = CloudRun::class;
|
---|
| 29 | protected $cloudRunDataType = '';
|
---|
| 30 | protected $clusterIstioType = ClusterIstio::class;
|
---|
| 31 | protected $clusterIstioDataType = '';
|
---|
| 32 | protected $customType = Custom::class;
|
---|
| 33 | protected $customDataType = '';
|
---|
| 34 | /**
|
---|
| 35 | * @var string
|
---|
| 36 | */
|
---|
| 37 | public $displayName;
|
---|
| 38 | protected $gkeNamespaceType = GkeNamespace::class;
|
---|
| 39 | protected $gkeNamespaceDataType = '';
|
---|
| 40 | protected $gkeServiceType = GkeService::class;
|
---|
| 41 | protected $gkeServiceDataType = '';
|
---|
| 42 | protected $gkeWorkloadType = GkeWorkload::class;
|
---|
| 43 | protected $gkeWorkloadDataType = '';
|
---|
| 44 | protected $istioCanonicalServiceType = IstioCanonicalService::class;
|
---|
| 45 | protected $istioCanonicalServiceDataType = '';
|
---|
| 46 | protected $meshIstioType = MeshIstio::class;
|
---|
| 47 | protected $meshIstioDataType = '';
|
---|
| 48 | /**
|
---|
| 49 | * @var string
|
---|
| 50 | */
|
---|
| 51 | public $name;
|
---|
| 52 | protected $telemetryType = Telemetry::class;
|
---|
| 53 | protected $telemetryDataType = '';
|
---|
| 54 | /**
|
---|
| 55 | * @var string[]
|
---|
| 56 | */
|
---|
| 57 | public $userLabels;
|
---|
| 58 |
|
---|
| 59 | /**
|
---|
| 60 | * @param AppEngine
|
---|
| 61 | */
|
---|
| 62 | public function setAppEngine(AppEngine $appEngine)
|
---|
| 63 | {
|
---|
| 64 | $this->appEngine = $appEngine;
|
---|
| 65 | }
|
---|
| 66 | /**
|
---|
| 67 | * @return AppEngine
|
---|
| 68 | */
|
---|
| 69 | public function getAppEngine()
|
---|
| 70 | {
|
---|
| 71 | return $this->appEngine;
|
---|
| 72 | }
|
---|
| 73 | /**
|
---|
| 74 | * @param BasicService
|
---|
| 75 | */
|
---|
| 76 | public function setBasicService(BasicService $basicService)
|
---|
| 77 | {
|
---|
| 78 | $this->basicService = $basicService;
|
---|
| 79 | }
|
---|
| 80 | /**
|
---|
| 81 | * @return BasicService
|
---|
| 82 | */
|
---|
| 83 | public function getBasicService()
|
---|
| 84 | {
|
---|
| 85 | return $this->basicService;
|
---|
| 86 | }
|
---|
| 87 | /**
|
---|
| 88 | * @param CloudEndpoints
|
---|
| 89 | */
|
---|
| 90 | public function setCloudEndpoints(CloudEndpoints $cloudEndpoints)
|
---|
| 91 | {
|
---|
| 92 | $this->cloudEndpoints = $cloudEndpoints;
|
---|
| 93 | }
|
---|
| 94 | /**
|
---|
| 95 | * @return CloudEndpoints
|
---|
| 96 | */
|
---|
| 97 | public function getCloudEndpoints()
|
---|
| 98 | {
|
---|
| 99 | return $this->cloudEndpoints;
|
---|
| 100 | }
|
---|
| 101 | /**
|
---|
| 102 | * @param CloudRun
|
---|
| 103 | */
|
---|
| 104 | public function setCloudRun(CloudRun $cloudRun)
|
---|
| 105 | {
|
---|
| 106 | $this->cloudRun = $cloudRun;
|
---|
| 107 | }
|
---|
| 108 | /**
|
---|
| 109 | * @return CloudRun
|
---|
| 110 | */
|
---|
| 111 | public function getCloudRun()
|
---|
| 112 | {
|
---|
| 113 | return $this->cloudRun;
|
---|
| 114 | }
|
---|
| 115 | /**
|
---|
| 116 | * @param ClusterIstio
|
---|
| 117 | */
|
---|
| 118 | public function setClusterIstio(ClusterIstio $clusterIstio)
|
---|
| 119 | {
|
---|
| 120 | $this->clusterIstio = $clusterIstio;
|
---|
| 121 | }
|
---|
| 122 | /**
|
---|
| 123 | * @return ClusterIstio
|
---|
| 124 | */
|
---|
| 125 | public function getClusterIstio()
|
---|
| 126 | {
|
---|
| 127 | return $this->clusterIstio;
|
---|
| 128 | }
|
---|
| 129 | /**
|
---|
| 130 | * @param Custom
|
---|
| 131 | */
|
---|
| 132 | public function setCustom(Custom $custom)
|
---|
| 133 | {
|
---|
| 134 | $this->custom = $custom;
|
---|
| 135 | }
|
---|
| 136 | /**
|
---|
| 137 | * @return Custom
|
---|
| 138 | */
|
---|
| 139 | public function getCustom()
|
---|
| 140 | {
|
---|
| 141 | return $this->custom;
|
---|
| 142 | }
|
---|
| 143 | /**
|
---|
| 144 | * @param string
|
---|
| 145 | */
|
---|
| 146 | public function setDisplayName($displayName)
|
---|
| 147 | {
|
---|
| 148 | $this->displayName = $displayName;
|
---|
| 149 | }
|
---|
| 150 | /**
|
---|
| 151 | * @return string
|
---|
| 152 | */
|
---|
| 153 | public function getDisplayName()
|
---|
| 154 | {
|
---|
| 155 | return $this->displayName;
|
---|
| 156 | }
|
---|
| 157 | /**
|
---|
| 158 | * @param GkeNamespace
|
---|
| 159 | */
|
---|
| 160 | public function setGkeNamespace(GkeNamespace $gkeNamespace)
|
---|
| 161 | {
|
---|
| 162 | $this->gkeNamespace = $gkeNamespace;
|
---|
| 163 | }
|
---|
| 164 | /**
|
---|
| 165 | * @return GkeNamespace
|
---|
| 166 | */
|
---|
| 167 | public function getGkeNamespace()
|
---|
| 168 | {
|
---|
| 169 | return $this->gkeNamespace;
|
---|
| 170 | }
|
---|
| 171 | /**
|
---|
| 172 | * @param GkeService
|
---|
| 173 | */
|
---|
| 174 | public function setGkeService(GkeService $gkeService)
|
---|
| 175 | {
|
---|
| 176 | $this->gkeService = $gkeService;
|
---|
| 177 | }
|
---|
| 178 | /**
|
---|
| 179 | * @return GkeService
|
---|
| 180 | */
|
---|
| 181 | public function getGkeService()
|
---|
| 182 | {
|
---|
| 183 | return $this->gkeService;
|
---|
| 184 | }
|
---|
| 185 | /**
|
---|
| 186 | * @param GkeWorkload
|
---|
| 187 | */
|
---|
| 188 | public function setGkeWorkload(GkeWorkload $gkeWorkload)
|
---|
| 189 | {
|
---|
| 190 | $this->gkeWorkload = $gkeWorkload;
|
---|
| 191 | }
|
---|
| 192 | /**
|
---|
| 193 | * @return GkeWorkload
|
---|
| 194 | */
|
---|
| 195 | public function getGkeWorkload()
|
---|
| 196 | {
|
---|
| 197 | return $this->gkeWorkload;
|
---|
| 198 | }
|
---|
| 199 | /**
|
---|
| 200 | * @param IstioCanonicalService
|
---|
| 201 | */
|
---|
| 202 | public function setIstioCanonicalService(IstioCanonicalService $istioCanonicalService)
|
---|
| 203 | {
|
---|
| 204 | $this->istioCanonicalService = $istioCanonicalService;
|
---|
| 205 | }
|
---|
| 206 | /**
|
---|
| 207 | * @return IstioCanonicalService
|
---|
| 208 | */
|
---|
| 209 | public function getIstioCanonicalService()
|
---|
| 210 | {
|
---|
| 211 | return $this->istioCanonicalService;
|
---|
| 212 | }
|
---|
| 213 | /**
|
---|
| 214 | * @param MeshIstio
|
---|
| 215 | */
|
---|
| 216 | public function setMeshIstio(MeshIstio $meshIstio)
|
---|
| 217 | {
|
---|
| 218 | $this->meshIstio = $meshIstio;
|
---|
| 219 | }
|
---|
| 220 | /**
|
---|
| 221 | * @return MeshIstio
|
---|
| 222 | */
|
---|
| 223 | public function getMeshIstio()
|
---|
| 224 | {
|
---|
| 225 | return $this->meshIstio;
|
---|
| 226 | }
|
---|
| 227 | /**
|
---|
| 228 | * @param string
|
---|
| 229 | */
|
---|
| 230 | public function setName($name)
|
---|
| 231 | {
|
---|
| 232 | $this->name = $name;
|
---|
| 233 | }
|
---|
| 234 | /**
|
---|
| 235 | * @return string
|
---|
| 236 | */
|
---|
| 237 | public function getName()
|
---|
| 238 | {
|
---|
| 239 | return $this->name;
|
---|
| 240 | }
|
---|
| 241 | /**
|
---|
| 242 | * @param Telemetry
|
---|
| 243 | */
|
---|
| 244 | public function setTelemetry(Telemetry $telemetry)
|
---|
| 245 | {
|
---|
| 246 | $this->telemetry = $telemetry;
|
---|
| 247 | }
|
---|
| 248 | /**
|
---|
| 249 | * @return Telemetry
|
---|
| 250 | */
|
---|
| 251 | public function getTelemetry()
|
---|
| 252 | {
|
---|
| 253 | return $this->telemetry;
|
---|
| 254 | }
|
---|
| 255 | /**
|
---|
| 256 | * @param string[]
|
---|
| 257 | */
|
---|
| 258 | public function setUserLabels($userLabels)
|
---|
| 259 | {
|
---|
| 260 | $this->userLabels = $userLabels;
|
---|
| 261 | }
|
---|
| 262 | /**
|
---|
| 263 | * @return string[]
|
---|
| 264 | */
|
---|
| 265 | public function getUserLabels()
|
---|
| 266 | {
|
---|
| 267 | return $this->userLabels;
|
---|
| 268 | }
|
---|
| 269 | }
|
---|
| 270 |
|
---|
| 271 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 272 | class_alias(Service::class, 'Google_Service_Monitoring_Service');
|
---|