Skip to content

Commit 1369c6f

Browse files
1 parent 7d54940 commit 1369c6f

2 files changed

Lines changed: 34 additions & 2 deletions

File tree

src/NetworkServices/Resource/ProjectsLocations.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@ public function get($name, $optParams = [])
4545
return $this->call('get', [$params], Location::class);
4646
}
4747
/**
48-
* Lists information about the supported locations for this service.
48+
* Lists information about the supported locations for this service. This method
49+
* can be called in two ways: * **List all public locations:** Use the path `GET
50+
* /v1/locations`. * **List project-visible locations:** Use the path `GET
51+
* /v1/projects/{project_id}/locations`. This may include public locations as
52+
* well as private or other locations specifically visible to the project.
4953
* (locations.listProjectsLocations)
5054
*
5155
* @param string $name The resource that owns the locations collection, if

src/NetworkServices/TlsRoute.php

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class TlsRoute extends \Google\Collection
2121
{
22-
protected $collection_key = 'rules';
22+
protected $collection_key = 'targetProxies';
2323
/**
2424
* Output only. The timestamp when the resource was created.
2525
*
@@ -72,6 +72,15 @@ class TlsRoute extends \Google\Collection
7272
* @var string
7373
*/
7474
public $selfLink;
75+
/**
76+
* Optional. TargetProxies defines a list of TargetTcpProxies this TlsRoute is
77+
* attached to, as one of the routing rules to route the requests served by
78+
* the TargetTcpProxy. Each TargetTcpProxy reference should match the pattern:
79+
* `projects/locations/targetTcpProxies/`
80+
*
81+
* @var string[]
82+
*/
83+
public $targetProxies;
7584
/**
7685
* Output only. The timestamp when the resource was updated.
7786
*
@@ -217,6 +226,25 @@ public function getSelfLink()
217226
{
218227
return $this->selfLink;
219228
}
229+
/**
230+
* Optional. TargetProxies defines a list of TargetTcpProxies this TlsRoute is
231+
* attached to, as one of the routing rules to route the requests served by
232+
* the TargetTcpProxy. Each TargetTcpProxy reference should match the pattern:
233+
* `projects/locations/targetTcpProxies/`
234+
*
235+
* @param string[] $targetProxies
236+
*/
237+
public function setTargetProxies($targetProxies)
238+
{
239+
$this->targetProxies = $targetProxies;
240+
}
241+
/**
242+
* @return string[]
243+
*/
244+
public function getTargetProxies()
245+
{
246+
return $this->targetProxies;
247+
}
220248
/**
221249
* Output only. The timestamp when the resource was updated.
222250
*

0 commit comments

Comments
 (0)