Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 123 additions & 0 deletions src/AgentRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class AgentRegistry extends \Google\Service

public $projects_locations;
public $projects_locations_agents;
public $projects_locations_bindings;
public $projects_locations_endpoints;
public $projects_locations_mcpServers;
public $projects_locations_operations;
Expand Down Expand Up @@ -177,6 +178,128 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
]
]
);
$this->projects_locations_bindings = new AgentRegistry\Resource\ProjectsLocationsBindings(
$this,
$this->serviceName,
'bindings',
[
'methods' => [
'create' => [
'path' => 'v1alpha/{+parent}/bindings',
'httpMethod' => 'POST',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'bindingId' => [
'location' => 'query',
'type' => 'string',
],
'requestId' => [
'location' => 'query',
'type' => 'string',
],
],
],'delete' => [
'path' => 'v1alpha/{+name}',
'httpMethod' => 'DELETE',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'requestId' => [
'location' => 'query',
'type' => 'string',
],
],
],'fetchAvailable' => [
'path' => 'v1alpha/{+parent}/bindings:fetchAvailable',
'httpMethod' => 'GET',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
'sourceIdentifier' => [
'location' => 'query',
'type' => 'string',
],
'targetIdentifier' => [
'location' => 'query',
'type' => 'string',
],
],
],'get' => [
'path' => 'v1alpha/{+name}',
'httpMethod' => 'GET',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'list' => [
'path' => 'v1alpha/{+parent}/bindings',
'httpMethod' => 'GET',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'filter' => [
'location' => 'query',
'type' => 'string',
],
'orderBy' => [
'location' => 'query',
'type' => 'string',
],
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
],
],'patch' => [
'path' => 'v1alpha/{+name}',
'httpMethod' => 'PATCH',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'requestId' => [
'location' => 'query',
'type' => 'string',
],
'updateMask' => [
'location' => 'query',
'type' => 'string',
],
],
],
]
]
);
$this->projects_locations_endpoints = new AgentRegistry\Resource\ProjectsLocationsEndpoints(
$this,
$this->serviceName,
Expand Down
4 changes: 2 additions & 2 deletions src/AgentRegistry/Annotations.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Annotations extends \Google\Model
/**
* Output only. If true, calling the tool repeatedly with the same arguments
* will have no additional effect on its environment. NOTE: This property is
* meaningful only when `read_only_hint == false. Default: false
* meaningful only when `read_only_hint == false` Default: false
*
* @var bool
*/
Expand Down Expand Up @@ -79,7 +79,7 @@ public function getDestructiveHint()
/**
* Output only. If true, calling the tool repeatedly with the same arguments
* will have no additional effect on its environment. NOTE: This property is
* meaningful only when `read_only_hint == false. Default: false
* meaningful only when `read_only_hint == false` Default: false
*
* @param bool $idempotentHint
*/
Expand Down
97 changes: 97 additions & 0 deletions src/AgentRegistry/AuthProviderBinding.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

namespace Google\Service\AgentRegistry;

class AuthProviderBinding extends \Google\Collection
{
protected $collection_key = 'scopes';
/**
* Required. The resource name of the target AuthProvider. Format: *
* `projects/{project}/locations/{location}/authProviders/{auth_provider}`
*
* @var string
*/
public $authProvider;
/**
* Optional. The continue URI of the AuthProvider. The URI is used to
* reauthenticate the user and finalize the managed OAuth flow.
*
* @var string
*/
public $continueUri;
/**
* Optional. The list of OAuth2 scopes of the AuthProvider.
*
* @var string[]
*/
public $scopes;

/**
* Required. The resource name of the target AuthProvider. Format: *
* `projects/{project}/locations/{location}/authProviders/{auth_provider}`
*
* @param string $authProvider
*/
public function setAuthProvider($authProvider)
{
$this->authProvider = $authProvider;
}
/**
* @return string
*/
public function getAuthProvider()
{
return $this->authProvider;
}
/**
* Optional. The continue URI of the AuthProvider. The URI is used to
* reauthenticate the user and finalize the managed OAuth flow.
*
* @param string $continueUri
*/
public function setContinueUri($continueUri)
{
$this->continueUri = $continueUri;
}
/**
* @return string
*/
public function getContinueUri()
{
return $this->continueUri;
}
/**
* Optional. The list of OAuth2 scopes of the AuthProvider.
*
* @param string[] $scopes
*/
public function setScopes($scopes)
{
$this->scopes = $scopes;
}
/**
* @return string[]
*/
public function getScopes()
{
return $this->scopes;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthProviderBinding::class, 'Google_Service_AgentRegistry_AuthProviderBinding');
Loading
Loading