Class PublishersResource.ModelsResource.StreamGenerateContentRequest
Generate content with multimodal inputs with streaming support.
Inheritance
PublishersResource.ModelsResource.StreamGenerateContentRequest
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class PublishersResource.ModelsResource.StreamGenerateContentRequest : AiplatformBaseServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>, IClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>, IClientServiceRequest
Constructors
StreamGenerateContentRequest(IClientService, GoogleCloudAiplatformV1GenerateContentRequest, string)
Constructs a new StreamGenerateContent request.
Declaration
public StreamGenerateContentRequest(IClientService service, GoogleCloudAiplatformV1GenerateContentRequest body, string model)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudAiplatformV1GenerateContentRequest | body | |
string | model |
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
Model
Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher
model format: projects/{project}/locations/{location}/publishers/*/models/*
Tuned model endpoint
format: projects/{project}/locations/{location}/endpoints/{endpoint}
Declaration
[RequestParameter("model", RequestParameterType.Path)]
public virtual string Model { 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 StreamGenerateContent parameter list.
Declaration
protected override void InitParameters()