Skip to content

Commit d59feeb

Browse files
Regenerate beyondcorp client
1 parent c9fa9d7 commit d59feeb

File tree

3 files changed

+8
-38
lines changed

3 files changed

+8
-38
lines changed

src/BeyondCorp.php

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,11 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
221221
'type' => 'string',
222222
'required' => true,
223223
],
224+
'extraLocationTypes' => [
225+
'location' => 'query',
226+
'type' => 'string',
227+
'repeated' => true,
228+
],
224229
'filter' => [
225230
'location' => 'query',
226231
'type' => 'string',
@@ -674,24 +679,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
674679
'required' => true,
675680
],
676681
],
677-
],'shouldThrottle' => [
678-
'path' => 'v1/{+name}:shouldThrottle',
679-
'httpMethod' => 'GET',
680-
'parameters' => [
681-
'name' => [
682-
'location' => 'path',
683-
'type' => 'string',
684-
'required' => true,
685-
],
686-
'port' => [
687-
'location' => 'query',
688-
'type' => 'integer',
689-
],
690-
'requestedAmount' => [
691-
'location' => 'query',
692-
'type' => 'string',
693-
],
694-
],
695682
],'testIamPermissions' => [
696683
'path' => 'v1/{+resource}:testIamPermissions',
697684
'httpMethod' => 'POST',

src/BeyondCorp/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).

src/BeyondCorp/Resource/ProjectsLocationsAppGateways.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
use Google\Service\BeyondCorp\GoogleIamV1TestIamPermissionsResponse;
2525
use Google\Service\BeyondCorp\GoogleLongrunningOperation;
2626
use Google\Service\BeyondCorp\ListAppGatewaysResponse;
27-
use Google\Service\BeyondCorp\ShouldThrottleResponse;
2827

2928
/**
3029
* The "appGateways" collection of methods.
@@ -195,25 +194,6 @@ public function setIamPolicy($resource, GoogleIamV1SetIamPolicyRequest $postBody
195194
$params = array_merge($params, $optParams);
196195
return $this->call('setIamPolicy', [$params], GoogleIamV1Policy::class);
197196
}
198-
/**
199-
* Calls the Bouncer method ShouldThrottle to check if a request should be
200-
* throttled. (appGateways.shouldThrottle)
201-
*
202-
* @param string $name Required. Name of the resource
203-
* @param array $optParams Optional parameters.
204-
*
205-
* @opt_param int port Optional. The port that is being throttled
206-
* @opt_param string requestedAmount Optional. The current throughput through
207-
* the port (mbps)
208-
* @return ShouldThrottleResponse
209-
* @throws \Google\Service\Exception
210-
*/
211-
public function shouldThrottle($name, $optParams = [])
212-
{
213-
$params = ['name' => $name];
214-
$params = array_merge($params, $optParams);
215-
return $this->call('shouldThrottle', [$params], ShouldThrottleResponse::class);
216-
}
217197
/**
218198
* Returns permissions that a caller has on the specified resource. If the
219199
* resource does not exist, this will return an empty set of permissions, not a

0 commit comments

Comments
 (0)