Skip to content

Commit 8e50374

Browse files
hkt74copybara-github
authored andcommitted
chore: update comments for required fields
FUTURE_COPYBARA_INTEGRATE_REVIEW=#2108 from googleapis:release-please--branches--main 8f7cd3e PiperOrigin-RevId: 878827136
1 parent 267f9ff commit 8e50374

22 files changed

Lines changed: 34 additions & 33 deletions

google/genai/_interactions/types/code_execution_call_content.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class CodeExecutionCallContent(BaseModel):
3131
"""A unique ID for this specific tool call."""
3232

3333
arguments: CodeExecutionCallArguments
34-
"""The arguments to pass to the code execution."""
34+
"""Required. The arguments to pass to the code execution."""
3535

3636
type: Literal["code_execution_call"]
3737

google/genai/_interactions/types/code_execution_call_content_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class CodeExecutionCallContentParam(TypedDict, total=False):
3131
"""A unique ID for this specific tool call."""
3232

3333
arguments: Required[CodeExecutionCallArgumentsParam]
34-
"""The arguments to pass to the code execution."""
34+
"""Required. The arguments to pass to the code execution."""
3535

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

google/genai/_interactions/types/code_execution_result_content.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class CodeExecutionResultContent(BaseModel):
3030
"""ID to match the ID from the code execution call block."""
3131

3232
result: str
33-
"""The output of the code execution."""
33+
"""Required. The output of the code execution."""
3434

3535
type: Literal["code_execution_result"]
3636

google/genai/_interactions/types/code_execution_result_content_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class CodeExecutionResultContentParam(TypedDict, total=False):
2929
"""ID to match the ID from the code execution call block."""
3030

3131
result: Required[str]
32-
"""The output of the code execution."""
32+
"""Required. The output of the code execution."""
3333

3434
type: Required[Literal["code_execution_result"]]
3535

google/genai/_interactions/types/file_search_result_content.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class FileSearchResultContent(BaseModel):
4545
type: Literal["file_search_result"]
4646

4747
result: Optional[List[Result]] = None
48-
"""The results of the File Search."""
48+
"""Required. The results of the File Search."""
4949

5050
signature: Optional[str] = None
5151
"""A signature hash for backend validation."""

google/genai/_interactions/types/file_search_result_content_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class FileSearchResultContentParam(TypedDict, total=False):
4545
type: Required[Literal["file_search_result"]]
4646

4747
result: Iterable[Result]
48-
"""The results of the File Search."""
48+
"""Required. The results of the File Search."""
4949

5050
signature: str
5151
"""A signature hash for backend validation."""

google/genai/_interactions/types/function_call_content.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ class FunctionCallContent(BaseModel):
3030
"""A unique ID for this specific tool call."""
3131

3232
arguments: Dict[str, object]
33-
"""The arguments to pass to the function."""
33+
"""Required. The arguments to pass to the function."""
3434

3535
name: str
36-
"""The name of the tool to call."""
36+
"""Required. The name of the tool to call."""
3737

3838
type: Literal["function_call"]
3939

google/genai/_interactions/types/function_call_content_param.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ class FunctionCallContentParam(TypedDict, total=False):
3030
"""A unique ID for this specific tool call."""
3131

3232
arguments: Required[Dict[str, object]]
33-
"""The arguments to pass to the function."""
33+
"""Required. The arguments to pass to the function."""
3434

3535
name: Required[str]
36-
"""The name of the tool to call."""
36+
"""Required. The name of the tool to call."""
3737

3838
type: Required[Literal["function_call"]]
3939

google/genai/_interactions/types/google_search_call_content.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class GoogleSearchCallContent(BaseModel):
3131
"""A unique ID for this specific tool call."""
3232

3333
arguments: GoogleSearchCallArguments
34-
"""The arguments to pass to Google Search."""
34+
"""Required. The arguments to pass to Google Search."""
3535

3636
type: Literal["google_search_call"]
3737

google/genai/_interactions/types/google_search_call_content_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class GoogleSearchCallContentParam(TypedDict, total=False):
3131
"""A unique ID for this specific tool call."""
3232

3333
arguments: Required[GoogleSearchCallArgumentsParam]
34-
"""The arguments to pass to Google Search."""
34+
"""Required. The arguments to pass to Google Search."""
3535

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

0 commit comments

Comments
 (0)