Skip to content

Commit 5dd29fa

Browse files
1 parent 88bc749 commit 5dd29fa

4 files changed

Lines changed: 45 additions & 7 deletions

File tree

src/NetworkSecurity/MirroringEndpointGroup.php

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ class MirroringEndpointGroup extends \Google\Collection
5454
* operation is to retry deleting the endpoint group.
5555
*/
5656
public const STATE_DELETE_FAILED = 'DELETE_FAILED';
57+
/**
58+
* Not set.
59+
*/
60+
public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
61+
/**
62+
* An endpoint group that sends packets to a single deployment group.
63+
*/
64+
public const TYPE_DIRECT = 'DIRECT';
5765
protected $collection_key = 'connectedDeploymentGroups';
5866
protected $associationsType = MirroringEndpointGroupAssociationDetails::class;
5967
protected $associationsDataType = 'array';
@@ -113,6 +121,13 @@ class MirroringEndpointGroup extends \Google\Collection
113121
* @var string
114122
*/
115123
public $state;
124+
/**
125+
* Immutable. The type of the endpoint group. If left unspecified, defaults to
126+
* DIRECT.
127+
*
128+
* @var string
129+
*/
130+
public $type;
116131
/**
117132
* Output only. The timestamp when the resource was most recently updated. See
118133
* https://google.aip.dev/148#timestamps.
@@ -281,6 +296,25 @@ public function getState()
281296
{
282297
return $this->state;
283298
}
299+
/**
300+
* Immutable. The type of the endpoint group. If left unspecified, defaults to
301+
* DIRECT.
302+
*
303+
* Accepted values: TYPE_UNSPECIFIED, DIRECT
304+
*
305+
* @param self::TYPE_* $type
306+
*/
307+
public function setType($type)
308+
{
309+
$this->type = $type;
310+
}
311+
/**
312+
* @return self::TYPE_*
313+
*/
314+
public function getType()
315+
{
316+
return $this->type;
317+
}
284318
/**
285319
* Output only. The timestamp when the resource was most recently updated. See
286320
* https://google.aip.dev/148#timestamps.

src/NetworkSecurity/Resource/OrganizationsLocationsSecurityProfileGroups.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ public function get($name, $optParams = [])
9898
* `projects|organizations/locations/{location}`.
9999
* @param array $optParams Optional parameters.
100100
*
101-
* @opt_param int pageSize Maximum number of SecurityProfileGroups to return per
102-
* call.
103-
* @opt_param string pageToken The value returned by the last
101+
* @opt_param int pageSize Optional. Maximum number of SecurityProfileGroups to
102+
* return per call.
103+
* @opt_param string pageToken Optional. The value returned by the last
104104
* `ListSecurityProfileGroupsResponse` Indicates that this is a continuation of
105105
* a prior `ListSecurityProfileGroups` call, and that the system should return
106106
* the next page of data.

src/NetworkSecurity/Resource/OrganizationsLocationsSecurityProfiles.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ public function get($name, $optParams = [])
9797
* `projects|organizations/locations/{location}`.
9898
* @param array $optParams Optional parameters.
9999
*
100-
* @opt_param int pageSize Maximum number of SecurityProfiles to return per
101-
* call.
102-
* @opt_param string pageToken The value returned by the last
100+
* @opt_param int pageSize Optional. Maximum number of SecurityProfiles to
101+
* return per call.
102+
* @opt_param string pageToken Optional. The value returned by the last
103103
* `ListSecurityProfilesResponse` Indicates that this is a continuation of a
104104
* prior `ListSecurityProfiles` call, and that the system should return the next
105105
* page of data.

src/NetworkSecurity/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

0 commit comments

Comments
 (0)