Class GoogleCloudDiscoveryengineV1StreamAssistRequest
Request for the AssistantService.StreamAssist method.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1.Data
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class GoogleCloudDiscoveryengineV1StreamAssistRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
GenerationSpec
Optional. Specification of the generation configuration for the request.
Declaration
[JsonProperty("generationSpec")]
public virtual GoogleCloudDiscoveryengineV1StreamAssistRequestGenerationSpec GenerationSpec { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1StreamAssistRequestGenerationSpec |
Query
Optional. Current user query. Empty query is only supported if file_ids are provided. In this case, the
answer will be generated based on those context files.
Declaration
[JsonProperty("query")]
public virtual GoogleCloudDiscoveryengineV1Query Query { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1Query |
Session
Optional. The session to use for the request. If specified, the assistant has access to the session history,
and the query and the answer are stored there. If - is specified as the session ID, or it is left empty,
then a new session is created with an automatically generated ID. Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}
Declaration
[JsonProperty("session")]
public virtual string Session { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ToolsSpec
Optional. Specification of tools that are used to serve the request.
Declaration
[JsonProperty("toolsSpec")]
public virtual GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpec ToolsSpec { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpec |
UserMetadata
Optional. Information about the user initiating the query.
Declaration
[JsonProperty("userMetadata")]
public virtual GoogleCloudDiscoveryengineV1AssistUserMetadata UserMetadata { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1AssistUserMetadata |