Class ProjectsResource.LocationsResource.PublishersResource.ModelsResource.GenerateContentRequest
Generate content with multimodal inputs.
Inheritance
ProjectsResource.LocationsResource.PublishersResource.ModelsResource.GenerateContentRequest
Implements
Inherited Members
Namespace: Google.Apis.FirebaseML.v2beta
Assembly: Google.Apis.FirebaseML.v2beta.dll
Syntax
public class ProjectsResource.LocationsResource.PublishersResource.ModelsResource.GenerateContentRequest : FirebaseMLBaseServiceRequest<GoogleCloudAiplatformV1beta1GenerateContentResponse>, IClientServiceRequest<GoogleCloudAiplatformV1beta1GenerateContentResponse>, IClientServiceRequest
Constructors
GenerateContentRequest(IClientService, GoogleCloudAiplatformV1beta1GenerateContentRequest, string)
Constructs a new GenerateContent request.
Declaration
public GenerateContentRequest(IClientService service, GoogleCloudAiplatformV1beta1GenerateContentRequest body, string model)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudAiplatformV1beta1GenerateContentRequest | 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()