Skip to content

Commit 8a0483a

Browse files
hkt74copybara-github
authored andcommitted
chore: update comments
PiperOrigin-RevId: 890061886
1 parent 1ba8e2e commit 8a0483a

29 files changed

Lines changed: 42 additions & 42 deletions

google/genai/_interactions/types/code_execution_call_content.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class CodeExecutionCallContent(BaseModel):
2828
"""Code execution content."""
2929

3030
id: str
31-
"""A unique ID for this specific tool call."""
31+
"""Required. A unique ID for this specific tool call."""
3232

3333
arguments: CodeExecutionCallArguments
3434
"""Required. The arguments to pass to the code execution."""

google/genai/_interactions/types/code_execution_call_content_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class CodeExecutionCallContentParam(TypedDict, total=False):
3232
"""Code execution content."""
3333

3434
id: Required[str]
35-
"""A unique ID for this specific tool call."""
35+
"""Required. A unique ID for this specific tool call."""
3636

3737
arguments: Required[CodeExecutionCallArgumentsParam]
3838
"""Required. The arguments to pass to the code execution."""

google/genai/_interactions/types/code_execution_result_content.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class CodeExecutionResultContent(BaseModel):
2727
"""Code execution result content."""
2828

2929
call_id: str
30-
"""ID to match the ID from the code execution call block."""
30+
"""Required. ID to match the ID from the function call block."""
3131

3232
result: str
3333
"""Required. The output of the code execution."""

google/genai/_interactions/types/code_execution_result_content_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class CodeExecutionResultContentParam(TypedDict, total=False):
3131
"""Code execution result content."""
3232

3333
call_id: Required[str]
34-
"""ID to match the ID from the code execution call block."""
34+
"""Required. ID to match the ID from the function call block."""
3535

3636
result: Required[str]
3737
"""Required. The output of the code execution."""

google/genai/_interactions/types/content_delta.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class DeltaThoughtSignature(BaseModel):
164164

165165
class DeltaFunctionCall(BaseModel):
166166
id: str
167-
"""A unique ID for this specific tool call."""
167+
"""Required. A unique ID for this specific tool call."""
168168

169169
arguments: Dict[str, object]
170170

@@ -178,7 +178,7 @@ class DeltaFunctionCall(BaseModel):
178178

179179
class DeltaCodeExecutionCall(BaseModel):
180180
id: str
181-
"""A unique ID for this specific tool call."""
181+
"""Required. A unique ID for this specific tool call."""
182182

183183
arguments: CodeExecutionCallArguments
184184
"""The arguments to pass to the code execution."""
@@ -191,7 +191,7 @@ class DeltaCodeExecutionCall(BaseModel):
191191

192192
class DeltaURLContextCall(BaseModel):
193193
id: str
194-
"""A unique ID for this specific tool call."""
194+
"""Required. A unique ID for this specific tool call."""
195195

196196
arguments: URLContextCallArguments
197197
"""The arguments to pass to the URL context."""
@@ -204,7 +204,7 @@ class DeltaURLContextCall(BaseModel):
204204

205205
class DeltaGoogleSearchCall(BaseModel):
206206
id: str
207-
"""A unique ID for this specific tool call."""
207+
"""Required. A unique ID for this specific tool call."""
208208

209209
arguments: GoogleSearchCallArguments
210210
"""The arguments to pass to Google Search."""
@@ -217,7 +217,7 @@ class DeltaGoogleSearchCall(BaseModel):
217217

218218
class DeltaMCPServerToolCall(BaseModel):
219219
id: str
220-
"""A unique ID for this specific tool call."""
220+
"""Required. A unique ID for this specific tool call."""
221221

222222
arguments: Dict[str, object]
223223

@@ -233,7 +233,7 @@ class DeltaMCPServerToolCall(BaseModel):
233233

234234
class DeltaFileSearchCall(BaseModel):
235235
id: str
236-
"""A unique ID for this specific tool call."""
236+
"""Required. A unique ID for this specific tool call."""
237237

238238
type: Literal["file_search_call"]
239239

@@ -243,7 +243,7 @@ class DeltaFileSearchCall(BaseModel):
243243

244244
class DeltaGoogleMapsCall(BaseModel):
245245
id: str
246-
"""A unique ID for this specific tool call."""
246+
"""Required. A unique ID for this specific tool call."""
247247

248248
type: Literal["google_maps_call"]
249249

@@ -261,7 +261,7 @@ class DeltaGoogleMapsCall(BaseModel):
261261

262262
class DeltaFunctionResult(BaseModel):
263263
call_id: str
264-
"""ID to match the ID from the function call block."""
264+
"""Required. ID to match the ID from the function call block."""
265265

266266
result: Union[List[DeltaFunctionResultResultFunctionResultSubcontentList], str, object]
267267

@@ -277,7 +277,7 @@ class DeltaFunctionResult(BaseModel):
277277

278278
class DeltaCodeExecutionResult(BaseModel):
279279
call_id: str
280-
"""ID to match the ID from the function call block."""
280+
"""Required. ID to match the ID from the function call block."""
281281

282282
result: str
283283

@@ -291,7 +291,7 @@ class DeltaCodeExecutionResult(BaseModel):
291291

292292
class DeltaURLContextResult(BaseModel):
293293
call_id: str
294-
"""ID to match the ID from the function call block."""
294+
"""Required. ID to match the ID from the function call block."""
295295

296296
result: List[URLContextResult]
297297

@@ -305,7 +305,7 @@ class DeltaURLContextResult(BaseModel):
305305

306306
class DeltaGoogleSearchResult(BaseModel):
307307
call_id: str
308-
"""ID to match the ID from the function call block."""
308+
"""Required. ID to match the ID from the function call block."""
309309

310310
result: List[GoogleSearchResult]
311311

@@ -324,7 +324,7 @@ class DeltaGoogleSearchResult(BaseModel):
324324

325325
class DeltaMCPServerToolResult(BaseModel):
326326
call_id: str
327-
"""ID to match the ID from the function call block."""
327+
"""Required. ID to match the ID from the function call block."""
328328

329329
result: Union[List[DeltaMCPServerToolResultResultFunctionResultSubcontentList], str, object]
330330

@@ -347,7 +347,7 @@ class DeltaFileSearchResultResult(BaseModel):
347347

348348
class DeltaFileSearchResult(BaseModel):
349349
call_id: str
350-
"""ID to match the ID from the function call block."""
350+
"""Required. ID to match the ID from the function call block."""
351351

352352
result: List[DeltaFileSearchResultResult]
353353

@@ -359,7 +359,7 @@ class DeltaFileSearchResult(BaseModel):
359359

360360
class DeltaGoogleMapsResult(BaseModel):
361361
call_id: str
362-
"""ID to match the ID from the function call block."""
362+
"""Required. ID to match the ID from the function call block."""
363363

364364
type: Literal["google_maps_result"]
365365

google/genai/_interactions/types/file_search_call_content.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class FileSearchCallContent(BaseModel):
2727
"""File Search content."""
2828

2929
id: str
30-
"""A unique ID for this specific tool call."""
30+
"""Required. A unique ID for this specific tool call."""
3131

3232
type: Literal["file_search_call"]
3333

google/genai/_interactions/types/file_search_call_content_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class FileSearchCallContentParam(TypedDict, total=False):
3131
"""File Search content."""
3232

3333
id: Required[str]
34-
"""A unique ID for this specific tool call."""
34+
"""Required. A unique ID for this specific tool call."""
3535

3636
type: Required[Literal["file_search_call"]]
3737

google/genai/_interactions/types/file_search_result_content.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class FileSearchResultContent(BaseModel):
3434
"""File Search result content."""
3535

3636
call_id: str
37-
"""ID to match the ID from the file search call block."""
37+
"""Required. ID to match the ID from the function call block."""
3838

3939
result: List[Result]
4040
"""Required. The results of the File Search."""

google/genai/_interactions/types/file_search_result_content_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class FileSearchResultContentParam(TypedDict, total=False):
3838
"""File Search result content."""
3939

4040
call_id: Required[str]
41-
"""ID to match the ID from the file search call block."""
41+
"""Required. ID to match the ID from the function call block."""
4242

4343
result: Required[Iterable[Result]]
4444
"""Required. The results of the File Search."""

google/genai/_interactions/types/function_call_content.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class FunctionCallContent(BaseModel):
2727
"""A function tool call content block."""
2828

2929
id: str
30-
"""A unique ID for this specific tool call."""
30+
"""Required. A unique ID for this specific tool call."""
3131

3232
arguments: Dict[str, object]
3333
"""Required. The arguments to pass to the function."""

0 commit comments

Comments
 (0)