GenaiVertexV1Interaction class
Response for InteractionService.CreateInteraction.
Constructors
-
GenaiVertexV1Interaction({GenaiVertexV1AgentInteraction? agentInteraction, GenaiVertexV1Content? content, String? created, String? envId, String? environmentId, List<
GenaiVertexV1Error> ? errors, String? id, Map<String, String> ? labels, GenaiVertexV1ModelInteraction? modelInteraction, String? previousInteractionId, GenaiVertexV1ResponseFormatList? responseFormatList, GenaiVertexV1ResponseFormat? responseFormatSingleton, List<GenaiVertexV1SafetySetting> ? safetySettings, String? serviceTier, String? status, GenaiVertexV1StepList? stepList, List<GenaiVertexV1Step> ? steps, String? stringContent, String? systemInstruction, List<GenaiVertexV1Tool> ? tools, String? updated, GenaiVertexV1InteractionUsage? usage}) - GenaiVertexV1Interaction.fromJson(Map json_)
Properties
- agentInteraction ↔ GenaiVertexV1AgentInteraction?
-
Interaction for generating the completion using agents.
getter/setter pair
- content ↔ GenaiVertexV1Content?
-
The content for the interaction.
getter/setter pair
- created ↔ String?
-
The time at which the response was created in ISO 8601 format
(YYYY-MM-DDThh:mm:ssZ).
getter/setter pair
- envId ↔ String?
-
The environment ID for the interaction.
getter/setter pair
- environmentId ↔ String?
-
The environment ID for the interaction.
getter/setter pair
-
errors
↔ List<
GenaiVertexV1Error> ? -
Diagnostic faults / platform errors recorded on the interaction.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
A unique identifier for the interaction completion.
getter/setter pair
-
labels
↔ Map<
String, String> ? -
The labels with user-defined metadata for the request.
getter/setter pair
- modelInteraction ↔ GenaiVertexV1ModelInteraction?
-
Interaction for generating the completion using models.
getter/setter pair
- previousInteractionId ↔ String?
-
The ID of the previous interaction, if any.
getter/setter pair
- responseFormatList ↔ GenaiVertexV1ResponseFormatList?
-
getter/setter pair
- responseFormatSingleton ↔ GenaiVertexV1ResponseFormat?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
safetySettings
↔ List<
GenaiVertexV1SafetySetting> ? -
Safety settings for the interaction.
getter/setter pair
- serviceTier ↔ String?
-
The service tier for the interaction.
Possible string values are:
getter/setter pair
- status ↔ String?
-
The status of the interaction.
getter/setter pair
- stepList ↔ GenaiVertexV1StepList?
-
Input only.
getter/setter pair
-
steps
↔ List<
GenaiVertexV1Step> ? -
The steps that make up the interaction, when included in the response.
getter/setter pair
- stringContent ↔ String?
-
A string input for the interaction, it will be processed as a single text
input.
getter/setter pair
- systemInstruction ↔ String?
-
System instruction for the interaction.
getter/setter pair
-
tools
↔ List<
GenaiVertexV1Tool> ? -
A list of tool declarations the model may call during interaction.
getter/setter pair
- updated ↔ String?
-
The time at which the response was last updated in ISO 8601 format
(YYYY-MM-DDThh:mm:ssZ).
getter/setter pair
- usage ↔ GenaiVertexV1InteractionUsage?
-
Statistics on the interaction request's token usage.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited