DecisionsService class
Service for evaluating structured decision questions (POST /{api_version}/decisions).
Mirrors client.decisions.create in the upstream @google/genai (JS/TS)
and google-genai (Python) SDKs.
Constructors
- DecisionsService(ApiClient _apiClient)
-
Creates a DecisionsService backed by the given
ApiClient.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(
CreateDecisionRequest request, {String? apiVersion, HttpOptions? httpOptions}) → Future< CreateDecisionResponse> - Evaluates a batch of structured decision questions against a shared input context.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited