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_Networkconnectivity_Operation extends Google_Collection
19{
20  protected $collection_key = 'traceSpans';
21  public $consumerId;
22  public $endTime;
23  public $extensions;
24  public $importance;
25  public $labels;
26  protected $logEntriesType = 'Google_Service_Networkconnectivity_LogEntry';
27  protected $logEntriesDataType = 'array';
28  protected $metricValueSetsType = 'Google_Service_Networkconnectivity_MetricValueSet';
29  protected $metricValueSetsDataType = 'array';
30  public $operationId;
31  public $operationName;
32  protected $quotaPropertiesType = 'Google_Service_Networkconnectivity_QuotaProperties';
33  protected $quotaPropertiesDataType = '';
34  protected $resourcesType = 'Google_Service_Networkconnectivity_ResourceInfo';
35  protected $resourcesDataType = 'array';
36  public $startTime;
37  protected $traceSpansType = 'Google_Service_Networkconnectivity_TraceSpan';
38  protected $traceSpansDataType = 'array';
39  public $userLabels;
40
41  public function setConsumerId($consumerId)
42  {
43    $this->consumerId = $consumerId;
44  }
45  public function getConsumerId()
46  {
47    return $this->consumerId;
48  }
49  public function setEndTime($endTime)
50  {
51    $this->endTime = $endTime;
52  }
53  public function getEndTime()
54  {
55    return $this->endTime;
56  }
57  public function setExtensions($extensions)
58  {
59    $this->extensions = $extensions;
60  }
61  public function getExtensions()
62  {
63    return $this->extensions;
64  }
65  public function setImportance($importance)
66  {
67    $this->importance = $importance;
68  }
69  public function getImportance()
70  {
71    return $this->importance;
72  }
73  public function setLabels($labels)
74  {
75    $this->labels = $labels;
76  }
77  public function getLabels()
78  {
79    return $this->labels;
80  }
81  /**
82   * @param Google_Service_Networkconnectivity_LogEntry[]
83   */
84  public function setLogEntries($logEntries)
85  {
86    $this->logEntries = $logEntries;
87  }
88  /**
89   * @return Google_Service_Networkconnectivity_LogEntry[]
90   */
91  public function getLogEntries()
92  {
93    return $this->logEntries;
94  }
95  /**
96   * @param Google_Service_Networkconnectivity_MetricValueSet[]
97   */
98  public function setMetricValueSets($metricValueSets)
99  {
100    $this->metricValueSets = $metricValueSets;
101  }
102  /**
103   * @return Google_Service_Networkconnectivity_MetricValueSet[]
104   */
105  public function getMetricValueSets()
106  {
107    return $this->metricValueSets;
108  }
109  public function setOperationId($operationId)
110  {
111    $this->operationId = $operationId;
112  }
113  public function getOperationId()
114  {
115    return $this->operationId;
116  }
117  public function setOperationName($operationName)
118  {
119    $this->operationName = $operationName;
120  }
121  public function getOperationName()
122  {
123    return $this->operationName;
124  }
125  /**
126   * @param Google_Service_Networkconnectivity_QuotaProperties
127   */
128  public function setQuotaProperties(Google_Service_Networkconnectivity_QuotaProperties $quotaProperties)
129  {
130    $this->quotaProperties = $quotaProperties;
131  }
132  /**
133   * @return Google_Service_Networkconnectivity_QuotaProperties
134   */
135  public function getQuotaProperties()
136  {
137    return $this->quotaProperties;
138  }
139  /**
140   * @param Google_Service_Networkconnectivity_ResourceInfo[]
141   */
142  public function setResources($resources)
143  {
144    $this->resources = $resources;
145  }
146  /**
147   * @return Google_Service_Networkconnectivity_ResourceInfo[]
148   */
149  public function getResources()
150  {
151    return $this->resources;
152  }
153  public function setStartTime($startTime)
154  {
155    $this->startTime = $startTime;
156  }
157  public function getStartTime()
158  {
159    return $this->startTime;
160  }
161  /**
162   * @param Google_Service_Networkconnectivity_TraceSpan[]
163   */
164  public function setTraceSpans($traceSpans)
165  {
166    $this->traceSpans = $traceSpans;
167  }
168  /**
169   * @return Google_Service_Networkconnectivity_TraceSpan[]
170   */
171  public function getTraceSpans()
172  {
173    return $this->traceSpans;
174  }
175  public function setUserLabels($userLabels)
176  {
177    $this->userLabels = $userLabels;
178  }
179  public function getUserLabels()
180  {
181    return $this->userLabels;
182  }
183}
184