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\NetworkManagement;
|
---|
19 |
|
---|
20 | class ProbingDetails extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $abortCause;
|
---|
26 | protected $destinationEgressLocationType = EdgeLocation::class;
|
---|
27 | protected $destinationEgressLocationDataType = '';
|
---|
28 | protected $endpointInfoType = EndpointInfo::class;
|
---|
29 | protected $endpointInfoDataType = '';
|
---|
30 | protected $errorType = Status::class;
|
---|
31 | protected $errorDataType = '';
|
---|
32 | protected $probingLatencyType = LatencyDistribution::class;
|
---|
33 | protected $probingLatencyDataType = '';
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $result;
|
---|
38 | /**
|
---|
39 | * @var int
|
---|
40 | */
|
---|
41 | public $sentProbeCount;
|
---|
42 | /**
|
---|
43 | * @var int
|
---|
44 | */
|
---|
45 | public $successfulProbeCount;
|
---|
46 | /**
|
---|
47 | * @var string
|
---|
48 | */
|
---|
49 | public $verifyTime;
|
---|
50 |
|
---|
51 | /**
|
---|
52 | * @param string
|
---|
53 | */
|
---|
54 | public function setAbortCause($abortCause)
|
---|
55 | {
|
---|
56 | $this->abortCause = $abortCause;
|
---|
57 | }
|
---|
58 | /**
|
---|
59 | * @return string
|
---|
60 | */
|
---|
61 | public function getAbortCause()
|
---|
62 | {
|
---|
63 | return $this->abortCause;
|
---|
64 | }
|
---|
65 | /**
|
---|
66 | * @param EdgeLocation
|
---|
67 | */
|
---|
68 | public function setDestinationEgressLocation(EdgeLocation $destinationEgressLocation)
|
---|
69 | {
|
---|
70 | $this->destinationEgressLocation = $destinationEgressLocation;
|
---|
71 | }
|
---|
72 | /**
|
---|
73 | * @return EdgeLocation
|
---|
74 | */
|
---|
75 | public function getDestinationEgressLocation()
|
---|
76 | {
|
---|
77 | return $this->destinationEgressLocation;
|
---|
78 | }
|
---|
79 | /**
|
---|
80 | * @param EndpointInfo
|
---|
81 | */
|
---|
82 | public function setEndpointInfo(EndpointInfo $endpointInfo)
|
---|
83 | {
|
---|
84 | $this->endpointInfo = $endpointInfo;
|
---|
85 | }
|
---|
86 | /**
|
---|
87 | * @return EndpointInfo
|
---|
88 | */
|
---|
89 | public function getEndpointInfo()
|
---|
90 | {
|
---|
91 | return $this->endpointInfo;
|
---|
92 | }
|
---|
93 | /**
|
---|
94 | * @param Status
|
---|
95 | */
|
---|
96 | public function setError(Status $error)
|
---|
97 | {
|
---|
98 | $this->error = $error;
|
---|
99 | }
|
---|
100 | /**
|
---|
101 | * @return Status
|
---|
102 | */
|
---|
103 | public function getError()
|
---|
104 | {
|
---|
105 | return $this->error;
|
---|
106 | }
|
---|
107 | /**
|
---|
108 | * @param LatencyDistribution
|
---|
109 | */
|
---|
110 | public function setProbingLatency(LatencyDistribution $probingLatency)
|
---|
111 | {
|
---|
112 | $this->probingLatency = $probingLatency;
|
---|
113 | }
|
---|
114 | /**
|
---|
115 | * @return LatencyDistribution
|
---|
116 | */
|
---|
117 | public function getProbingLatency()
|
---|
118 | {
|
---|
119 | return $this->probingLatency;
|
---|
120 | }
|
---|
121 | /**
|
---|
122 | * @param string
|
---|
123 | */
|
---|
124 | public function setResult($result)
|
---|
125 | {
|
---|
126 | $this->result = $result;
|
---|
127 | }
|
---|
128 | /**
|
---|
129 | * @return string
|
---|
130 | */
|
---|
131 | public function getResult()
|
---|
132 | {
|
---|
133 | return $this->result;
|
---|
134 | }
|
---|
135 | /**
|
---|
136 | * @param int
|
---|
137 | */
|
---|
138 | public function setSentProbeCount($sentProbeCount)
|
---|
139 | {
|
---|
140 | $this->sentProbeCount = $sentProbeCount;
|
---|
141 | }
|
---|
142 | /**
|
---|
143 | * @return int
|
---|
144 | */
|
---|
145 | public function getSentProbeCount()
|
---|
146 | {
|
---|
147 | return $this->sentProbeCount;
|
---|
148 | }
|
---|
149 | /**
|
---|
150 | * @param int
|
---|
151 | */
|
---|
152 | public function setSuccessfulProbeCount($successfulProbeCount)
|
---|
153 | {
|
---|
154 | $this->successfulProbeCount = $successfulProbeCount;
|
---|
155 | }
|
---|
156 | /**
|
---|
157 | * @return int
|
---|
158 | */
|
---|
159 | public function getSuccessfulProbeCount()
|
---|
160 | {
|
---|
161 | return $this->successfulProbeCount;
|
---|
162 | }
|
---|
163 | /**
|
---|
164 | * @param string
|
---|
165 | */
|
---|
166 | public function setVerifyTime($verifyTime)
|
---|
167 | {
|
---|
168 | $this->verifyTime = $verifyTime;
|
---|
169 | }
|
---|
170 | /**
|
---|
171 | * @return string
|
---|
172 | */
|
---|
173 | public function getVerifyTime()
|
---|
174 | {
|
---|
175 | return $this->verifyTime;
|
---|
176 | }
|
---|
177 | }
|
---|
178 |
|
---|
179 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
180 | class_alias(ProbingDetails::class, 'Google_Service_NetworkManagement_ProbingDetails');
|
---|