Skip to content

Commit bdf6740

Browse files
Regenerate networkmanagement client
1 parent c9fa9d7 commit bdf6740

File tree

6 files changed

+210
-1
lines changed

6 files changed

+210
-1
lines changed

src/NetworkManagement.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
8787
'type' => 'string',
8888
'required' => true,
8989
],
90+
'extraLocationTypes' => [
91+
'location' => 'query',
92+
'type' => 'string',
93+
'repeated' => true,
94+
],
9095
'filter' => [
9196
'location' => 'query',
9297
'type' => 'string',

src/NetworkManagement/DeliverInfo.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919

2020
class DeliverInfo extends \Google\Model
2121
{
22+
/**
23+
* @var string
24+
*/
25+
public $googleServiceType;
2226
/**
2327
* @var string
2428
*/
@@ -40,6 +44,20 @@ class DeliverInfo extends \Google\Model
4044
*/
4145
public $target;
4246

47+
/**
48+
* @param string
49+
*/
50+
public function setGoogleServiceType($googleServiceType)
51+
{
52+
$this->googleServiceType = $googleServiceType;
53+
}
54+
/**
55+
* @return string
56+
*/
57+
public function getGoogleServiceType()
58+
{
59+
return $this->googleServiceType;
60+
}
4361
/**
4462
* @param string
4563
*/

src/NetworkManagement/InstanceInfo.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ class InstanceInfo extends \Google\Collection
4848
* @var string
4949
*/
5050
public $pscNetworkAttachmentUri;
51+
/**
52+
* @var bool
53+
*/
54+
public $running;
5155
/**
5256
* @var string
5357
*/
@@ -155,6 +159,20 @@ public function getPscNetworkAttachmentUri()
155159
{
156160
return $this->pscNetworkAttachmentUri;
157161
}
162+
/**
163+
* @param bool
164+
*/
165+
public function setRunning($running)
166+
{
167+
$this->running = $running;
168+
}
169+
/**
170+
* @return bool
171+
*/
172+
public function getRunning()
173+
{
174+
return $this->running;
175+
}
158176
/**
159177
* @param string
160178
*/

src/NetworkManagement/ProbingDetails.php

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,25 @@
1717

1818
namespace Google\Service\NetworkManagement;
1919

20-
class ProbingDetails extends \Google\Model
20+
class ProbingDetails extends \Google\Collection
2121
{
22+
protected $collection_key = 'edgeResponses';
2223
/**
2324
* @var string
2425
*/
2526
public $abortCause;
2627
protected $destinationEgressLocationType = EdgeLocation::class;
2728
protected $destinationEgressLocationDataType = '';
29+
protected $edgeResponsesType = SingleEdgeResponse::class;
30+
protected $edgeResponsesDataType = 'array';
2831
protected $endpointInfoType = EndpointInfo::class;
2932
protected $endpointInfoDataType = '';
3033
protected $errorType = Status::class;
3134
protected $errorDataType = '';
35+
/**
36+
* @var bool
37+
*/
38+
public $probedAllDevices;
3239
protected $probingLatencyType = LatencyDistribution::class;
3340
protected $probingLatencyDataType = '';
3441
/**
@@ -76,6 +83,20 @@ public function getDestinationEgressLocation()
7683
{
7784
return $this->destinationEgressLocation;
7885
}
86+
/**
87+
* @param SingleEdgeResponse[]
88+
*/
89+
public function setEdgeResponses($edgeResponses)
90+
{
91+
$this->edgeResponses = $edgeResponses;
92+
}
93+
/**
94+
* @return SingleEdgeResponse[]
95+
*/
96+
public function getEdgeResponses()
97+
{
98+
return $this->edgeResponses;
99+
}
79100
/**
80101
* @param EndpointInfo
81102
*/
@@ -104,6 +125,20 @@ public function getError()
104125
{
105126
return $this->error;
106127
}
128+
/**
129+
* @param bool
130+
*/
131+
public function setProbedAllDevices($probedAllDevices)
132+
{
133+
$this->probedAllDevices = $probedAllDevices;
134+
}
135+
/**
136+
* @return bool
137+
*/
138+
public function getProbedAllDevices()
139+
{
140+
return $this->probedAllDevices;
141+
}
107142
/**
108143
* @param LatencyDistribution
109144
*/

src/NetworkManagement/Resource/ProjectsLocations.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ public function get($name, $optParams = [])
5252
* applicable.
5353
* @param array $optParams Optional parameters.
5454
*
55+
* @opt_param string extraLocationTypes Optional. A list of extra location types
56+
* that should be used as conditions for controlling the visibility of the
57+
* locations.
5558
* @opt_param string filter A filter to narrow down results to a preferred
5659
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
5760
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).
Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
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 SingleEdgeResponse extends \Google\Model
21+
{
22+
protected $destinationEgressLocationType = EdgeLocation::class;
23+
protected $destinationEgressLocationDataType = '';
24+
/**
25+
* @var string
26+
*/
27+
public $destinationRouter;
28+
protected $probingLatencyType = LatencyDistribution::class;
29+
protected $probingLatencyDataType = '';
30+
/**
31+
* @var string
32+
*/
33+
public $result;
34+
/**
35+
* @var int
36+
*/
37+
public $sentProbeCount;
38+
/**
39+
* @var int
40+
*/
41+
public $successfulProbeCount;
42+
43+
/**
44+
* @param EdgeLocation
45+
*/
46+
public function setDestinationEgressLocation(EdgeLocation $destinationEgressLocation)
47+
{
48+
$this->destinationEgressLocation = $destinationEgressLocation;
49+
}
50+
/**
51+
* @return EdgeLocation
52+
*/
53+
public function getDestinationEgressLocation()
54+
{
55+
return $this->destinationEgressLocation;
56+
}
57+
/**
58+
* @param string
59+
*/
60+
public function setDestinationRouter($destinationRouter)
61+
{
62+
$this->destinationRouter = $destinationRouter;
63+
}
64+
/**
65+
* @return string
66+
*/
67+
public function getDestinationRouter()
68+
{
69+
return $this->destinationRouter;
70+
}
71+
/**
72+
* @param LatencyDistribution
73+
*/
74+
public function setProbingLatency(LatencyDistribution $probingLatency)
75+
{
76+
$this->probingLatency = $probingLatency;
77+
}
78+
/**
79+
* @return LatencyDistribution
80+
*/
81+
public function getProbingLatency()
82+
{
83+
return $this->probingLatency;
84+
}
85+
/**
86+
* @param string
87+
*/
88+
public function setResult($result)
89+
{
90+
$this->result = $result;
91+
}
92+
/**
93+
* @return string
94+
*/
95+
public function getResult()
96+
{
97+
return $this->result;
98+
}
99+
/**
100+
* @param int
101+
*/
102+
public function setSentProbeCount($sentProbeCount)
103+
{
104+
$this->sentProbeCount = $sentProbeCount;
105+
}
106+
/**
107+
* @return int
108+
*/
109+
public function getSentProbeCount()
110+
{
111+
return $this->sentProbeCount;
112+
}
113+
/**
114+
* @param int
115+
*/
116+
public function setSuccessfulProbeCount($successfulProbeCount)
117+
{
118+
$this->successfulProbeCount = $successfulProbeCount;
119+
}
120+
/**
121+
* @return int
122+
*/
123+
public function getSuccessfulProbeCount()
124+
{
125+
return $this->successfulProbeCount;
126+
}
127+
}
128+
129+
// Adding a class alias for backwards compatibility with the previous class name.
130+
class_alias(SingleEdgeResponse::class, 'Google_Service_NetworkManagement_SingleEdgeResponse');

0 commit comments

Comments
 (0)