Class ProjectsResource.LocationsResource.EndpointsResource.DeployedModelsResource.InvokeResource
The "invoke" collection of methods.
Inheritance
ProjectsResource.LocationsResource.EndpointsResource.DeployedModelsResource.InvokeResource
Inherited Members
Namespace: Google.Apis.Aiplatform.v1
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class ProjectsResource.LocationsResource.EndpointsResource.DeployedModelsResource.InvokeResource
Constructors
InvokeResource(IClientService)
Constructs a new resource.
Declaration
public InvokeResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Invoke(GoogleCloudAiplatformV1InvokeRequest, string, string, 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.DeployedModelsResource.InvokeResource.InvokeRequest Invoke(GoogleCloudAiplatformV1InvokeRequest body, string endpoint, string deployedModelId, string invokeId)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudAiplatformV1InvokeRequest | body | The body of the request. |
| string | endpoint | Required. The name of the Endpoint requested to serve the prediction. Format:
|
| string | deployedModelId | ID of the DeployedModel that serves the invoke request. |
| string | invokeId |
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.EndpointsResource.DeployedModelsResource.InvokeResource.InvokeRequest |