Class ProjectsResource.LocationsResource.PublishersResource.ModelsResource.EmbedContentRequest
Embed content with multimodal inputs.
Inheritance
ProjectsResource.LocationsResource.PublishersResource.ModelsResource.EmbedContentRequest
Inherited Members
Namespace: Google.Apis.Aiplatform.v1
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class ProjectsResource.LocationsResource.PublishersResource.ModelsResource.EmbedContentRequest : AiplatformBaseServiceRequest<GoogleCloudAiplatformV1EmbedContentResponse>, IClientServiceRequest<GoogleCloudAiplatformV1EmbedContentResponse>, IClientServiceRequest
Constructors
EmbedContentRequest(IClientService, GoogleCloudAiplatformV1EmbedContentRequest, string)
Constructs a new EmbedContent request.
Declaration
public EmbedContentRequest(IClientService service, GoogleCloudAiplatformV1EmbedContentRequest body, string model)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudAiplatformV1EmbedContentRequest | 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 name of the publisher model requested to serve the prediction. Format:
projects/{project}/locations/{location}/publishers/*/models/*
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 EmbedContent parameter list.
Declaration
protected override void InitParameters()