Class ProjectsResource.LocationsResource.EndpointsResource.GenerateContentRequest
Generate content with multimodal inputs.
Inheritance
ProjectsResource.LocationsResource.EndpointsResource.GenerateContentRequest
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class ProjectsResource.LocationsResource.EndpointsResource.GenerateContentRequest : AiplatformBaseServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>, IClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>, IClientServiceRequest
Constructors
GenerateContentRequest(IClientService, GoogleCloudAiplatformV1GenerateContentRequest, string)
Constructs a new GenerateContent request.
Declaration
public GenerateContentRequest(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 GenerateContent parameter list.
Declaration
protected override void InitParameters()