Class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.StreamAssistRequest
Assists the user with a query in a streaming fashion.
Inheritance
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.StreamAssistRequest
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.StreamAssistRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1StreamAssistResponse>, IClientServiceRequest<GoogleCloudDiscoveryengineV1StreamAssistResponse>, IClientServiceRequest
Constructors
StreamAssistRequest(IClientService, GoogleCloudDiscoveryengineV1StreamAssistRequest, string)
Constructs a new StreamAssist request.
Declaration
public StreamAssistRequest(IClientService service, GoogleCloudDiscoveryengineV1StreamAssistRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDiscoveryengineV1StreamAssistRequest | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. The resource name of the Assistant. Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes StreamAssist parameter list.
Declaration
protected override void InitParameters()
Overrides
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1StreamAssistResponse>.InitParameters()