Class GoogleCloudDiscoveryengineV1betaStreamAssistRequest
Request for the AssistantService.StreamAssist method.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1beta.Data
Assembly: Google.Apis.DiscoveryEngine.v1beta.dll
Syntax
public class GoogleCloudDiscoveryengineV1betaStreamAssistRequest : 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 GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec GenerationSpec { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec |
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 GoogleCloudDiscoveryengineV1betaQuery Query { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1betaQuery |
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 GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec ToolsSpec { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec |
UserMetadata
Optional. Information about the user initiating the query.
Declaration
[JsonProperty("userMetadata")]
public virtual GoogleCloudDiscoveryengineV1betaAssistUserMetadata UserMetadata { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1betaAssistUserMetadata |