PythonFunction(mapping=None, *, ignore_unknown_fields=False, **kwargs)A Python function tool.
Attributes |
|
|---|---|
| Name | Description |
name |
str
Optional. The name of the Python function to execute. Must match a Python function name defined in the python code. Case sensitive. If the name is not provided, the first function defined in the python code will be used. |
python_code |
str
Optional. The Python code to execute for the tool. |
description |
str
Output only. The description of the Python function, parsed from the python code's docstring. |
service_directory_config |
google.cloud.ces_v1beta.types.ServiceDirectoryConfig
Optional. Service Directory configuration for the tool. |