Skip to content

Commit 08f3e97

Browse files
Regenerate discoveryengine client
1 parent 65550d5 commit 08f3e97

File tree

53 files changed

+4670
-17
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+4670
-17
lines changed

src/DiscoveryEngine.php

Lines changed: 195 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,11 @@ class DiscoveryEngine extends \Google\Service
7878
public $projects_locations_collections_dataStores_widgetConfigs;
7979
public $projects_locations_collections_engines;
8080
public $projects_locations_collections_engines_assistants;
81+
public $projects_locations_collections_engines_assistants_agents;
82+
public $projects_locations_collections_engines_assistants_agents_message;
8183
public $projects_locations_collections_engines_assistants_agents_operations;
84+
public $projects_locations_collections_engines_assistants_agents_tasks;
85+
public $projects_locations_collections_engines_assistants_agents_tasks_pushNotificationConfigs;
8286
public $projects_locations_collections_engines_completionConfig;
8387
public $projects_locations_collections_engines_controls;
8488
public $projects_locations_collections_engines_conversations;
@@ -2008,6 +2012,56 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
20082012
]
20092013
]
20102014
);
2015+
$this->projects_locations_collections_engines_assistants_agents = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsEnginesAssistantsAgents(
2016+
$this,
2017+
$this->serviceName,
2018+
'agents',
2019+
[
2020+
'methods' => [
2021+
'getCard' => [
2022+
'path' => '{+tenant}/card',
2023+
'httpMethod' => 'GET',
2024+
'parameters' => [
2025+
'tenant' => [
2026+
'location' => 'path',
2027+
'type' => 'string',
2028+
'required' => true,
2029+
],
2030+
],
2031+
],
2032+
]
2033+
]
2034+
);
2035+
$this->projects_locations_collections_engines_assistants_agents_message = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsEnginesAssistantsAgentsMessage(
2036+
$this,
2037+
$this->serviceName,
2038+
'message',
2039+
[
2040+
'methods' => [
2041+
'send' => [
2042+
'path' => '{+tenant}/message:send',
2043+
'httpMethod' => 'POST',
2044+
'parameters' => [
2045+
'tenant' => [
2046+
'location' => 'path',
2047+
'type' => 'string',
2048+
'required' => true,
2049+
],
2050+
],
2051+
],'stream' => [
2052+
'path' => '{+tenant}/message:stream',
2053+
'httpMethod' => 'POST',
2054+
'parameters' => [
2055+
'tenant' => [
2056+
'location' => 'path',
2057+
'type' => 'string',
2058+
'required' => true,
2059+
],
2060+
],
2061+
],
2062+
]
2063+
]
2064+
);
20112065
$this->projects_locations_collections_engines_assistants_agents_operations = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsEnginesAssistantsAgentsOperations(
20122066
$this,
20132067
$this->serviceName,
@@ -2028,6 +2082,147 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
20282082
]
20292083
]
20302084
);
2085+
$this->projects_locations_collections_engines_assistants_agents_tasks = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsEnginesAssistantsAgentsTasks(
2086+
$this,
2087+
$this->serviceName,
2088+
'tasks',
2089+
[
2090+
'methods' => [
2091+
'cancel' => [
2092+
'path' => '{+tenant}/{+name}:cancel',
2093+
'httpMethod' => 'POST',
2094+
'parameters' => [
2095+
'tenant' => [
2096+
'location' => 'path',
2097+
'type' => 'string',
2098+
'required' => true,
2099+
],
2100+
'name' => [
2101+
'location' => 'path',
2102+
'type' => 'string',
2103+
'required' => true,
2104+
],
2105+
],
2106+
],'get' => [
2107+
'path' => '{+tenant}/{+name}',
2108+
'httpMethod' => 'GET',
2109+
'parameters' => [
2110+
'tenant' => [
2111+
'location' => 'path',
2112+
'type' => 'string',
2113+
'required' => true,
2114+
],
2115+
'name' => [
2116+
'location' => 'path',
2117+
'type' => 'string',
2118+
'required' => true,
2119+
],
2120+
'historyLength' => [
2121+
'location' => 'query',
2122+
'type' => 'integer',
2123+
],
2124+
],
2125+
],'subscribe' => [
2126+
'path' => '{+tenant}/{+name}:subscribe',
2127+
'httpMethod' => 'GET',
2128+
'parameters' => [
2129+
'tenant' => [
2130+
'location' => 'path',
2131+
'type' => 'string',
2132+
'required' => true,
2133+
],
2134+
'name' => [
2135+
'location' => 'path',
2136+
'type' => 'string',
2137+
'required' => true,
2138+
],
2139+
],
2140+
],
2141+
]
2142+
]
2143+
);
2144+
$this->projects_locations_collections_engines_assistants_agents_tasks_pushNotificationConfigs = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsEnginesAssistantsAgentsTasksPushNotificationConfigs(
2145+
$this,
2146+
$this->serviceName,
2147+
'pushNotificationConfigs',
2148+
[
2149+
'methods' => [
2150+
'create' => [
2151+
'path' => '{+tenant}/{+parent}',
2152+
'httpMethod' => 'POST',
2153+
'parameters' => [
2154+
'tenant' => [
2155+
'location' => 'path',
2156+
'type' => 'string',
2157+
'required' => true,
2158+
],
2159+
'parent' => [
2160+
'location' => 'path',
2161+
'type' => 'string',
2162+
'required' => true,
2163+
],
2164+
'configId' => [
2165+
'location' => 'query',
2166+
'type' => 'string',
2167+
],
2168+
],
2169+
],'delete' => [
2170+
'path' => '{+tenant}/{+name}',
2171+
'httpMethod' => 'DELETE',
2172+
'parameters' => [
2173+
'tenant' => [
2174+
'location' => 'path',
2175+
'type' => 'string',
2176+
'required' => true,
2177+
],
2178+
'name' => [
2179+
'location' => 'path',
2180+
'type' => 'string',
2181+
'required' => true,
2182+
],
2183+
],
2184+
],'get' => [
2185+
'path' => '{+tenant}/{+name}',
2186+
'httpMethod' => 'GET',
2187+
'parameters' => [
2188+
'tenant' => [
2189+
'location' => 'path',
2190+
'type' => 'string',
2191+
'required' => true,
2192+
],
2193+
'name' => [
2194+
'location' => 'path',
2195+
'type' => 'string',
2196+
'required' => true,
2197+
],
2198+
],
2199+
],'list' => [
2200+
'path' => '{+tenant}/{+parent}/pushNotificationConfigs',
2201+
'httpMethod' => 'GET',
2202+
'parameters' => [
2203+
'tenant' => [
2204+
'location' => 'path',
2205+
'type' => 'string',
2206+
'required' => true,
2207+
],
2208+
'parent' => [
2209+
'location' => 'path',
2210+
'type' => 'string',
2211+
'required' => true,
2212+
],
2213+
'pageSize' => [
2214+
'location' => 'query',
2215+
'type' => 'integer',
2216+
],
2217+
'pageToken' => [
2218+
'location' => 'query',
2219+
'type' => 'string',
2220+
],
2221+
],
2222+
],
2223+
]
2224+
]
2225+
);
20312226
$this->projects_locations_collections_engines_completionConfig = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsEnginesCompletionConfig(
20322227
$this,
20332228
$this->serviceName,
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
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\DiscoveryEngine;
19+
20+
class A2aV1APIKeySecurityScheme extends \Google\Model
21+
{
22+
/**
23+
* Description of this security scheme.
24+
*
25+
* @var string
26+
*/
27+
public $description;
28+
/**
29+
* Location of the API key, valid values are "query", "header", or "cookie"
30+
*
31+
* @var string
32+
*/
33+
public $location;
34+
/**
35+
* Name of the header, query or cookie parameter to be used.
36+
*
37+
* @var string
38+
*/
39+
public $name;
40+
41+
/**
42+
* Description of this security scheme.
43+
*
44+
* @param string $description
45+
*/
46+
public function setDescription($description)
47+
{
48+
$this->description = $description;
49+
}
50+
/**
51+
* @return string
52+
*/
53+
public function getDescription()
54+
{
55+
return $this->description;
56+
}
57+
/**
58+
* Location of the API key, valid values are "query", "header", or "cookie"
59+
*
60+
* @param string $location
61+
*/
62+
public function setLocation($location)
63+
{
64+
$this->location = $location;
65+
}
66+
/**
67+
* @return string
68+
*/
69+
public function getLocation()
70+
{
71+
return $this->location;
72+
}
73+
/**
74+
* Name of the header, query or cookie parameter to be used.
75+
*
76+
* @param string $name
77+
*/
78+
public function setName($name)
79+
{
80+
$this->name = $name;
81+
}
82+
/**
83+
* @return string
84+
*/
85+
public function getName()
86+
{
87+
return $this->name;
88+
}
89+
}
90+
91+
// Adding a class alias for backwards compatibility with the previous class name.
92+
class_alias(A2aV1APIKeySecurityScheme::class, 'Google_Service_DiscoveryEngine_A2aV1APIKeySecurityScheme');
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
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\DiscoveryEngine;
19+
20+
class A2aV1AgentCapabilities extends \Google\Collection
21+
{
22+
protected $collection_key = 'extensions';
23+
protected $extensionsType = A2aV1AgentExtension::class;
24+
protected $extensionsDataType = 'array';
25+
/**
26+
* If the agent can send push notifications to the clients webhook
27+
*
28+
* @var bool
29+
*/
30+
public $pushNotifications;
31+
/**
32+
* If the agent will support streaming responses
33+
*
34+
* @var bool
35+
*/
36+
public $streaming;
37+
38+
/**
39+
* Extensions supported by this agent.
40+
*
41+
* @param A2aV1AgentExtension[] $extensions
42+
*/
43+
public function setExtensions($extensions)
44+
{
45+
$this->extensions = $extensions;
46+
}
47+
/**
48+
* @return A2aV1AgentExtension[]
49+
*/
50+
public function getExtensions()
51+
{
52+
return $this->extensions;
53+
}
54+
/**
55+
* If the agent can send push notifications to the clients webhook
56+
*
57+
* @param bool $pushNotifications
58+
*/
59+
public function setPushNotifications($pushNotifications)
60+
{
61+
$this->pushNotifications = $pushNotifications;
62+
}
63+
/**
64+
* @return bool
65+
*/
66+
public function getPushNotifications()
67+
{
68+
return $this->pushNotifications;
69+
}
70+
/**
71+
* If the agent will support streaming responses
72+
*
73+
* @param bool $streaming
74+
*/
75+
public function setStreaming($streaming)
76+
{
77+
$this->streaming = $streaming;
78+
}
79+
/**
80+
* @return bool
81+
*/
82+
public function getStreaming()
83+
{
84+
return $this->streaming;
85+
}
86+
}
87+
88+
// Adding a class alias for backwards compatibility with the previous class name.
89+
class_alias(A2aV1AgentCapabilities::class, 'Google_Service_DiscoveryEngine_A2aV1AgentCapabilities');

0 commit comments

Comments
 (0)