Class ProjectsResource.LocationsResource.EndpointsResource.OpenapiResource
The "openapi" collection of methods.
Inherited Members
Namespace: Google.Apis.Aiplatform.v1
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class ProjectsResource.LocationsResource.EndpointsResource.OpenapiResource
Constructors
OpenapiResource(IClientService)
Constructs a new resource.
Declaration
public OpenapiResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Embeddings(GoogleApiHttpBody, string)
Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request.
Declaration
public virtual ProjectsResource.LocationsResource.EndpointsResource.OpenapiResource.EmbeddingsRequest Embeddings(GoogleApiHttpBody body, string endpoint)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleApiHttpBody | body | The body of the request. |
| string | endpoint | Required. The name of the Endpoint requested to serve the prediction. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.EndpointsResource.OpenapiResource.EmbeddingsRequest |