Gemini Enterprise for Customer Experience v1 API - Class PythonFunction (1.0.0-beta01)

public sealed class PythonFunction : IMessage<PythonFunction>, IEquatable<PythonFunction>, IDeepCloneable<PythonFunction>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class PythonFunction.

A Python function tool.

Inheritance

object > PythonFunction

Namespace

Google.Cloud.Ces.V1

Assembly

Google.Cloud.Ces.V1.dll

Constructors

PythonFunction()

public PythonFunction()

PythonFunction(PythonFunction)

public PythonFunction(PythonFunction other)
Parameter
Name Description
other PythonFunction

Properties

Description

public string Description { get; set; }

Output only. The description of the Python function, parsed from the python code's docstring.

Property Value
Type Description
string

Name

public string Name { get; set; }

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.

Property Value
Type Description
string

PythonCode

public string PythonCode { get; set; }

Optional. The Python code to execute for the tool.

Property Value
Type Description
string