Skip to content

Commit 9787808

Browse files
1 parent cf578b4 commit 9787808

7 files changed

Lines changed: 545 additions & 4 deletions

src/NetworkServices.php

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class NetworkServices extends \Google\Service
4848
public $projects_locations_gateways_routeViews;
4949
public $projects_locations_grpcRoutes;
5050
public $projects_locations_httpRoutes;
51+
public $projects_locations_lbEdgeExtensions;
5152
public $projects_locations_lbRouteExtensions;
5253
public $projects_locations_lbTrafficExtensions;
5354
public $projects_locations_meshes;
@@ -707,6 +708,102 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
707708
]
708709
]
709710
);
711+
$this->projects_locations_lbEdgeExtensions = new NetworkServices\Resource\ProjectsLocationsLbEdgeExtensions(
712+
$this,
713+
$this->serviceName,
714+
'lbEdgeExtensions',
715+
[
716+
'methods' => [
717+
'create' => [
718+
'path' => 'v1/{+parent}/lbEdgeExtensions',
719+
'httpMethod' => 'POST',
720+
'parameters' => [
721+
'parent' => [
722+
'location' => 'path',
723+
'type' => 'string',
724+
'required' => true,
725+
],
726+
'lbEdgeExtensionId' => [
727+
'location' => 'query',
728+
'type' => 'string',
729+
],
730+
'requestId' => [
731+
'location' => 'query',
732+
'type' => 'string',
733+
],
734+
],
735+
],'delete' => [
736+
'path' => 'v1/{+name}',
737+
'httpMethod' => 'DELETE',
738+
'parameters' => [
739+
'name' => [
740+
'location' => 'path',
741+
'type' => 'string',
742+
'required' => true,
743+
],
744+
'requestId' => [
745+
'location' => 'query',
746+
'type' => 'string',
747+
],
748+
],
749+
],'get' => [
750+
'path' => 'v1/{+name}',
751+
'httpMethod' => 'GET',
752+
'parameters' => [
753+
'name' => [
754+
'location' => 'path',
755+
'type' => 'string',
756+
'required' => true,
757+
],
758+
],
759+
],'list' => [
760+
'path' => 'v1/{+parent}/lbEdgeExtensions',
761+
'httpMethod' => 'GET',
762+
'parameters' => [
763+
'parent' => [
764+
'location' => 'path',
765+
'type' => 'string',
766+
'required' => true,
767+
],
768+
'filter' => [
769+
'location' => 'query',
770+
'type' => 'string',
771+
],
772+
'orderBy' => [
773+
'location' => 'query',
774+
'type' => 'string',
775+
],
776+
'pageSize' => [
777+
'location' => 'query',
778+
'type' => 'integer',
779+
],
780+
'pageToken' => [
781+
'location' => 'query',
782+
'type' => 'string',
783+
],
784+
],
785+
],'patch' => [
786+
'path' => 'v1/{+name}',
787+
'httpMethod' => 'PATCH',
788+
'parameters' => [
789+
'name' => [
790+
'location' => 'path',
791+
'type' => 'string',
792+
'required' => true,
793+
],
794+
'requestId' => [
795+
'location' => 'query',
796+
'type' => 'string',
797+
],
798+
'updateMask' => [
799+
'location' => 'query',
800+
'type' => 'string',
801+
],
802+
],
803+
],
804+
]
805+
]
806+
);
710807
$this->projects_locations_lbRouteExtensions = new NetworkServices\Resource\ProjectsLocationsLbRouteExtensions(
711808
$this,
712809
$this->serviceName,
@@ -1074,6 +1171,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
10741171
'location' => 'query',
10751172
'type' => 'string',
10761173
],
1174+
'returnPartialSuccess' => [
1175+
'location' => 'query',
1176+
'type' => 'boolean',
1177+
],
10771178
],
10781179
],
10791180
]
Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
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\NetworkServices;
19+
20+
class LbEdgeExtension extends \Google\Collection
21+
{
22+
protected $collection_key = 'forwardingRules';
23+
/**
24+
* @var string
25+
*/
26+
public $createTime;
27+
/**
28+
* @var string
29+
*/
30+
public $description;
31+
protected $extensionChainsType = ExtensionChain::class;
32+
protected $extensionChainsDataType = 'array';
33+
/**
34+
* @var string[]
35+
*/
36+
public $forwardingRules;
37+
/**
38+
* @var string[]
39+
*/
40+
public $labels;
41+
/**
42+
* @var string
43+
*/
44+
public $loadBalancingScheme;
45+
/**
46+
* @var string
47+
*/
48+
public $name;
49+
/**
50+
* @var string
51+
*/
52+
public $updateTime;
53+
54+
/**
55+
* @param string
56+
*/
57+
public function setCreateTime($createTime)
58+
{
59+
$this->createTime = $createTime;
60+
}
61+
/**
62+
* @return string
63+
*/
64+
public function getCreateTime()
65+
{
66+
return $this->createTime;
67+
}
68+
/**
69+
* @param string
70+
*/
71+
public function setDescription($description)
72+
{
73+
$this->description = $description;
74+
}
75+
/**
76+
* @return string
77+
*/
78+
public function getDescription()
79+
{
80+
return $this->description;
81+
}
82+
/**
83+
* @param ExtensionChain[]
84+
*/
85+
public function setExtensionChains($extensionChains)
86+
{
87+
$this->extensionChains = $extensionChains;
88+
}
89+
/**
90+
* @return ExtensionChain[]
91+
*/
92+
public function getExtensionChains()
93+
{
94+
return $this->extensionChains;
95+
}
96+
/**
97+
* @param string[]
98+
*/
99+
public function setForwardingRules($forwardingRules)
100+
{
101+
$this->forwardingRules = $forwardingRules;
102+
}
103+
/**
104+
* @return string[]
105+
*/
106+
public function getForwardingRules()
107+
{
108+
return $this->forwardingRules;
109+
}
110+
/**
111+
* @param string[]
112+
*/
113+
public function setLabels($labels)
114+
{
115+
$this->labels = $labels;
116+
}
117+
/**
118+
* @return string[]
119+
*/
120+
public function getLabels()
121+
{
122+
return $this->labels;
123+
}
124+
/**
125+
* @param string
126+
*/
127+
public function setLoadBalancingScheme($loadBalancingScheme)
128+
{
129+
$this->loadBalancingScheme = $loadBalancingScheme;
130+
}
131+
/**
132+
* @return string
133+
*/
134+
public function getLoadBalancingScheme()
135+
{
136+
return $this->loadBalancingScheme;
137+
}
138+
/**
139+
* @param string
140+
*/
141+
public function setName($name)
142+
{
143+
$this->name = $name;
144+
}
145+
/**
146+
* @return string
147+
*/
148+
public function getName()
149+
{
150+
return $this->name;
151+
}
152+
/**
153+
* @param string
154+
*/
155+
public function setUpdateTime($updateTime)
156+
{
157+
$this->updateTime = $updateTime;
158+
}
159+
/**
160+
* @return string
161+
*/
162+
public function getUpdateTime()
163+
{
164+
return $this->updateTime;
165+
}
166+
}
167+
168+
// Adding a class alias for backwards compatibility with the previous class name.
169+
class_alias(LbEdgeExtension::class, 'Google_Service_NetworkServices_LbEdgeExtension');
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
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\NetworkServices;
19+
20+
class ListLbEdgeExtensionsResponse extends \Google\Collection
21+
{
22+
protected $collection_key = 'unreachable';
23+
protected $lbEdgeExtensionsType = LbEdgeExtension::class;
24+
protected $lbEdgeExtensionsDataType = 'array';
25+
/**
26+
* @var string
27+
*/
28+
public $nextPageToken;
29+
/**
30+
* @var string[]
31+
*/
32+
public $unreachable;
33+
34+
/**
35+
* @param LbEdgeExtension[]
36+
*/
37+
public function setLbEdgeExtensions($lbEdgeExtensions)
38+
{
39+
$this->lbEdgeExtensions = $lbEdgeExtensions;
40+
}
41+
/**
42+
* @return LbEdgeExtension[]
43+
*/
44+
public function getLbEdgeExtensions()
45+
{
46+
return $this->lbEdgeExtensions;
47+
}
48+
/**
49+
* @param string
50+
*/
51+
public function setNextPageToken($nextPageToken)
52+
{
53+
$this->nextPageToken = $nextPageToken;
54+
}
55+
/**
56+
* @return string
57+
*/
58+
public function getNextPageToken()
59+
{
60+
return $this->nextPageToken;
61+
}
62+
/**
63+
* @param string[]
64+
*/
65+
public function setUnreachable($unreachable)
66+
{
67+
$this->unreachable = $unreachable;
68+
}
69+
/**
70+
* @return string[]
71+
*/
72+
public function getUnreachable()
73+
{
74+
return $this->unreachable;
75+
}
76+
}
77+
78+
// Adding a class alias for backwards compatibility with the previous class name.
79+
class_alias(ListLbEdgeExtensionsResponse::class, 'Google_Service_NetworkServices_ListLbEdgeExtensionsResponse');

0 commit comments

Comments
 (0)