Reference documentation and code samples for the Google Cloud Ces V1 Client class PythonFunction.
A Python function tool.
Generated from protobuf message google.cloud.ces.v1.PythonFunction
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
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
string
Optional. The Python code to execute for the tool.
↳ description
string
Output only. The description of the Python function, parsed from the python code's docstring.
getName
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.
string
setName
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.
var
string
$this
getPythonCode
Optional. The Python code to execute for the tool.
string
setPythonCode
Optional. The Python code to execute for the tool.
var
string
$this
getDescription
Output only. The description of the Python function, parsed from the python code's docstring.
string
setDescription
Output only. The description of the Python function, parsed from the python code's docstring.
var
string
$this

