Debian Codegraph @

docs/dyn/aiplatform_v1beta1.reasoningEngines.runtimeRevisions.a2a.tasks.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="aiplatform_v1beta1.html">Agent Platform API</a> . <a href="aiplatform_v1beta1.reasoningEngines.html">reasoningEngines</a> . <a href="aiplatform_v1beta1.reasoningEngines.runtimeRevisions.html">runtimeRevisions</a> . <a href="aiplatform_v1beta1.reasoningEngines.runtimeRevisions.a2a.html">a2a</a> . <a href="aiplatform_v1beta1.reasoningEngines.runtimeRevisions.a2a.tasks.html">tasks</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="aiplatform_v1beta1.reasoningEngines.runtimeRevisions.a2a.tasks.pushNotificationConfigs.html">pushNotificationConfigs()</a></code>
79 </p>
80 <p class="firstline">Returns the pushNotificationConfigs Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#a2aGetReasoningEngine">a2aGetReasoningEngine(name, a2aEndpoint, historyLength=None, x__xgafv=None)</a></code></p>
84 <p class="firstline">Get request for reasoning engine instance via the A2A get protocol apis.</p>
85 <p class="toc_element">
86 <code><a href="#cancel">cancel(name, a2aEndpoint, body=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Send post request for reasoning engine instance via the A2A post protocol apis.</p>
88 <p class="toc_element">
89 <code><a href="#close">close()</a></code></p>
90 <p class="firstline">Close httplib2 connections.</p>
91 <p class="toc_element">
92 <code><a href="#subscribe">subscribe(name, a2aEndpoint, x__xgafv=None)</a></code></p>
93 <p class="firstline">Stream get request for reasoning engine instance via the A2A stream get protocol apis.</p>
94 <h3>Method Details</h3>
95 <div class="method">
96 <code class="details" id="a2aGetReasoningEngine">a2aGetReasoningEngine(name, a2aEndpoint, historyLength=None, x__xgafv=None)</code>
97 <pre>Get request for reasoning engine instance via the A2A get protocol apis.
98
99 Args:
100 name: string, Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` (required)
101 a2aEndpoint: string, Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123` (required)
102 historyLength: string, Optional. The optional query parameter for the getTask endpoint. Mapped from &quot;?history_length=&quot;. This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned.
103 x__xgafv: string, V1 error format.
104 Allowed values
105 1 - v1 error format
106 2 - v2 error format
107
108 Returns:
109 An object of the form:
110
111 {
112 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
113 }</pre>
114 </div>
115
116 <div class="method">
117 <code class="details" id="cancel">cancel(name, a2aEndpoint, body=None, x__xgafv=None)</code>
118 <pre>Send post request for reasoning engine instance via the A2A post protocol apis.
119
120 Args:
121 name: string, Required. The full resource path of the reasoning engine, captured from the URL. (required)
122 a2aEndpoint: string, Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send (required)
123 body: object, The request body.
124 x__xgafv: string, V1 error format.
125 Allowed values
126 1 - v1 error format
127 2 - v2 error format
128
129 Returns:
130 An object of the form:
131
132 {
133 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
134 }</pre>
135 </div>
136
137 <div class="method">
138 <code class="details" id="close">close()</code>
139 <pre>Close httplib2 connections.</pre>
140 </div>
141
142 <div class="method">
143 <code class="details" id="subscribe">subscribe(name, a2aEndpoint, x__xgafv=None)</code>
144 <pre>Stream get request for reasoning engine instance via the A2A stream get protocol apis.
145
146 Args:
147 name: string, Required. The full resource path of the reasoning engine, captured from the URL. (required)
148 a2aEndpoint: string, Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123:subscribe`. (required)
149 x__xgafv: string, V1 error format.
150 Allowed values
151 1 - v1 error format
152 2 - v2 error format
153
154 Returns:
155 An object of the form:
156
157 { # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can&#x27;t be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.
158 &quot;contentType&quot;: &quot;A String&quot;, # The HTTP Content-Type header value specifying the content type of the body.
159 &quot;data&quot;: &quot;A String&quot;, # The HTTP request/response body as raw binary.
160 &quot;extensions&quot;: [ # Application specific response metadata. Must be set in the first response for streaming APIs.
161 {
162 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
163 },
164 ],
165 }</pre>
166 </div>
167
168 </body></html>