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\Monitoring;
19
20class Service extends \Google\Model
21{
22  protected $appEngineType = AppEngine::class;
23  protected $appEngineDataType = '';
24  protected $cloudEndpointsType = CloudEndpoints::class;
25  protected $cloudEndpointsDataType = '';
26  protected $clusterIstioType = ClusterIstio::class;
27  protected $clusterIstioDataType = '';
28  protected $customType = Custom::class;
29  protected $customDataType = '';
30  /**
31   * @var string
32   */
33  public $displayName;
34  protected $istioCanonicalServiceType = IstioCanonicalService::class;
35  protected $istioCanonicalServiceDataType = '';
36  protected $meshIstioType = MeshIstio::class;
37  protected $meshIstioDataType = '';
38  /**
39   * @var string
40   */
41  public $name;
42  protected $telemetryType = Telemetry::class;
43  protected $telemetryDataType = '';
44  /**
45   * @var string[]
46   */
47  public $userLabels;
48
49  /**
50   * @param AppEngine
51   */
52  public function setAppEngine(AppEngine $appEngine)
53  {
54    $this->appEngine = $appEngine;
55  }
56  /**
57   * @return AppEngine
58   */
59  public function getAppEngine()
60  {
61    return $this->appEngine;
62  }
63  /**
64   * @param CloudEndpoints
65   */
66  public function setCloudEndpoints(CloudEndpoints $cloudEndpoints)
67  {
68    $this->cloudEndpoints = $cloudEndpoints;
69  }
70  /**
71   * @return CloudEndpoints
72   */
73  public function getCloudEndpoints()
74  {
75    return $this->cloudEndpoints;
76  }
77  /**
78   * @param ClusterIstio
79   */
80  public function setClusterIstio(ClusterIstio $clusterIstio)
81  {
82    $this->clusterIstio = $clusterIstio;
83  }
84  /**
85   * @return ClusterIstio
86   */
87  public function getClusterIstio()
88  {
89    return $this->clusterIstio;
90  }
91  /**
92   * @param Custom
93   */
94  public function setCustom(Custom $custom)
95  {
96    $this->custom = $custom;
97  }
98  /**
99   * @return Custom
100   */
101  public function getCustom()
102  {
103    return $this->custom;
104  }
105  /**
106   * @param string
107   */
108  public function setDisplayName($displayName)
109  {
110    $this->displayName = $displayName;
111  }
112  /**
113   * @return string
114   */
115  public function getDisplayName()
116  {
117    return $this->displayName;
118  }
119  /**
120   * @param IstioCanonicalService
121   */
122  public function setIstioCanonicalService(IstioCanonicalService $istioCanonicalService)
123  {
124    $this->istioCanonicalService = $istioCanonicalService;
125  }
126  /**
127   * @return IstioCanonicalService
128   */
129  public function getIstioCanonicalService()
130  {
131    return $this->istioCanonicalService;
132  }
133  /**
134   * @param MeshIstio
135   */
136  public function setMeshIstio(MeshIstio $meshIstio)
137  {
138    $this->meshIstio = $meshIstio;
139  }
140  /**
141   * @return MeshIstio
142   */
143  public function getMeshIstio()
144  {
145    return $this->meshIstio;
146  }
147  /**
148   * @param string
149   */
150  public function setName($name)
151  {
152    $this->name = $name;
153  }
154  /**
155   * @return string
156   */
157  public function getName()
158  {
159    return $this->name;
160  }
161  /**
162   * @param Telemetry
163   */
164  public function setTelemetry(Telemetry $telemetry)
165  {
166    $this->telemetry = $telemetry;
167  }
168  /**
169   * @return Telemetry
170   */
171  public function getTelemetry()
172  {
173    return $this->telemetry;
174  }
175  /**
176   * @param string[]
177   */
178  public function setUserLabels($userLabels)
179  {
180    $this->userLabels = $userLabels;
181  }
182  /**
183   * @return string[]
184   */
185  public function getUserLabels()
186  {
187    return $this->userLabels;
188  }
189}
190
191// Adding a class alias for backwards compatibility with the previous class name.
192class_alias(Service::class, 'Google_Service_Monitoring_Service');
193