Skip to content

Commit b14e7cc

Browse files
1 parent 468f14b commit b14e7cc

9 files changed

Lines changed: 859 additions & 2 deletions

src/AgentRegistry.php

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ class AgentRegistry extends \Google\Service
5151

5252
public $projects_locations;
5353
public $projects_locations_agents;
54+
public $projects_locations_bindings;
5455
public $projects_locations_endpoints;
5556
public $projects_locations_mcpServers;
5657
public $projects_locations_operations;
@@ -177,6 +178,128 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
177178
]
178179
]
179180
);
181+
$this->projects_locations_bindings = new AgentRegistry\Resource\ProjectsLocationsBindings(
182+
$this,
183+
$this->serviceName,
184+
'bindings',
185+
[
186+
'methods' => [
187+
'create' => [
188+
'path' => 'v1alpha/{+parent}/bindings',
189+
'httpMethod' => 'POST',
190+
'parameters' => [
191+
'parent' => [
192+
'location' => 'path',
193+
'type' => 'string',
194+
'required' => true,
195+
],
196+
'bindingId' => [
197+
'location' => 'query',
198+
'type' => 'string',
199+
],
200+
'requestId' => [
201+
'location' => 'query',
202+
'type' => 'string',
203+
],
204+
],
205+
],'delete' => [
206+
'path' => 'v1alpha/{+name}',
207+
'httpMethod' => 'DELETE',
208+
'parameters' => [
209+
'name' => [
210+
'location' => 'path',
211+
'type' => 'string',
212+
'required' => true,
213+
],
214+
'requestId' => [
215+
'location' => 'query',
216+
'type' => 'string',
217+
],
218+
],
219+
],'fetchAvailable' => [
220+
'path' => 'v1alpha/{+parent}/bindings:fetchAvailable',
221+
'httpMethod' => 'GET',
222+
'parameters' => [
223+
'parent' => [
224+
'location' => 'path',
225+
'type' => 'string',
226+
'required' => true,
227+
],
228+
'pageSize' => [
229+
'location' => 'query',
230+
'type' => 'integer',
231+
],
232+
'pageToken' => [
233+
'location' => 'query',
234+
'type' => 'string',
235+
],
236+
'sourceIdentifier' => [
237+
'location' => 'query',
238+
'type' => 'string',
239+
],
240+
'targetIdentifier' => [
241+
'location' => 'query',
242+
'type' => 'string',
243+
],
244+
],
245+
],'get' => [
246+
'path' => 'v1alpha/{+name}',
247+
'httpMethod' => 'GET',
248+
'parameters' => [
249+
'name' => [
250+
'location' => 'path',
251+
'type' => 'string',
252+
'required' => true,
253+
],
254+
],
255+
],'list' => [
256+
'path' => 'v1alpha/{+parent}/bindings',
257+
'httpMethod' => 'GET',
258+
'parameters' => [
259+
'parent' => [
260+
'location' => 'path',
261+
'type' => 'string',
262+
'required' => true,
263+
],
264+
'filter' => [
265+
'location' => 'query',
266+
'type' => 'string',
267+
],
268+
'orderBy' => [
269+
'location' => 'query',
270+
'type' => 'string',
271+
],
272+
'pageSize' => [
273+
'location' => 'query',
274+
'type' => 'integer',
275+
],
276+
'pageToken' => [
277+
'location' => 'query',
278+
'type' => 'string',
279+
],
280+
],
281+
],'patch' => [
282+
'path' => 'v1alpha/{+name}',
283+
'httpMethod' => 'PATCH',
284+
'parameters' => [
285+
'name' => [
286+
'location' => 'path',
287+
'type' => 'string',
288+
'required' => true,
289+
],
290+
'requestId' => [
291+
'location' => 'query',
292+
'type' => 'string',
293+
],
294+
'updateMask' => [
295+
'location' => 'query',
296+
'type' => 'string',
297+
],
298+
],
299+
],
300+
]
301+
]
302+
);
180303
$this->projects_locations_endpoints = new AgentRegistry\Resource\ProjectsLocationsEndpoints(
181304
$this,
182305
$this->serviceName,

src/AgentRegistry/Annotations.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Annotations extends \Google\Model
3030
/**
3131
* Output only. If true, calling the tool repeatedly with the same arguments
3232
* will have no additional effect on its environment. NOTE: This property is
33-
* meaningful only when `read_only_hint == false. Default: false
33+
* meaningful only when `read_only_hint == false` Default: false
3434
*
3535
* @var bool
3636
*/
@@ -79,7 +79,7 @@ public function getDestructiveHint()
7979
/**
8080
* Output only. If true, calling the tool repeatedly with the same arguments
8181
* will have no additional effect on its environment. NOTE: This property is
82-
* meaningful only when `read_only_hint == false. Default: false
82+
* meaningful only when `read_only_hint == false` Default: false
8383
*
8484
* @param bool $idempotentHint
8585
*/
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
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\AgentRegistry;
19+
20+
class AuthProviderBinding extends \Google\Collection
21+
{
22+
protected $collection_key = 'scopes';
23+
/**
24+
* Required. The resource name of the target AuthProvider. Format: *
25+
* `projects/{project}/locations/{location}/authProviders/{auth_provider}`
26+
*
27+
* @var string
28+
*/
29+
public $authProvider;
30+
/**
31+
* Optional. The continue URI of the AuthProvider. The URI is used to
32+
* reauthenticate the user and finalize the managed OAuth flow.
33+
*
34+
* @var string
35+
*/
36+
public $continueUri;
37+
/**
38+
* Optional. The list of OAuth2 scopes of the AuthProvider.
39+
*
40+
* @var string[]
41+
*/
42+
public $scopes;
43+
44+
/**
45+
* Required. The resource name of the target AuthProvider. Format: *
46+
* `projects/{project}/locations/{location}/authProviders/{auth_provider}`
47+
*
48+
* @param string $authProvider
49+
*/
50+
public function setAuthProvider($authProvider)
51+
{
52+
$this->authProvider = $authProvider;
53+
}
54+
/**
55+
* @return string
56+
*/
57+
public function getAuthProvider()
58+
{
59+
return $this->authProvider;
60+
}
61+
/**
62+
* Optional. The continue URI of the AuthProvider. The URI is used to
63+
* reauthenticate the user and finalize the managed OAuth flow.
64+
*
65+
* @param string $continueUri
66+
*/
67+
public function setContinueUri($continueUri)
68+
{
69+
$this->continueUri = $continueUri;
70+
}
71+
/**
72+
* @return string
73+
*/
74+
public function getContinueUri()
75+
{
76+
return $this->continueUri;
77+
}
78+
/**
79+
* Optional. The list of OAuth2 scopes of the AuthProvider.
80+
*
81+
* @param string[] $scopes
82+
*/
83+
public function setScopes($scopes)
84+
{
85+
$this->scopes = $scopes;
86+
}
87+
/**
88+
* @return string[]
89+
*/
90+
public function getScopes()
91+
{
92+
return $this->scopes;
93+
}
94+
}
95+
96+
// Adding a class alias for backwards compatibility with the previous class name.
97+
class_alias(AuthProviderBinding::class, 'Google_Service_AgentRegistry_AuthProviderBinding');

0 commit comments

Comments
 (0)