Class GoogleCloudMlV1RouteMap
Specifies HTTP paths served by a custom container. AI Platform Prediction sends requests to these paths on the container; the custom container must run an HTTP server that responds to these requests with appropriate responses. Read Custom container requirements for details on how to create your container image to meet these requirements.
Implements
Inherited Members
Namespace: Google.Apis.CloudMachineLearningEngine.v1.Data
Assembly: Google.Apis.CloudMachineLearningEngine.v1.dll
Syntax
public class GoogleCloudMlV1RouteMap : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Health
HTTP path on the container to send health checkss to. AI Platform Prediction intermittently sends GET
requests to this path on the container's IP address and port to check that the container is healthy. Read
more about health checks. For example,
if you set this field to /bar
, then AI Platform Prediction intermittently sends a GET request to the
/bar
path on the port of your container specified by the first value of Version.container.ports. If you
don't specify this field, it defaults to the following value: /v1/models/ MODEL/versions/VERSION The
placeholders in this value are replaced as follows: * MODEL: The name of the parent Model. This does not
include the "projects/PROJECT_ID/models/" prefix that the API returns in output; it is the bare model name,
as provided to projects.models.create. * VERSION: The name of the model version. This does not include the
"projects/PROJECT_ID /models/MODEL/versions/" prefix that the API returns in output; it is the bare version
name, as provided to projects.models.versions.create.
Declaration
[JsonProperty("health")]
public virtual string Health { get; set; }
Property Value
Type | Description |
---|---|
string |
Predict
HTTP path on the container to send prediction requests to. AI Platform Prediction forwards requests sent
using projects.predict to this path on the container's IP address and port. AI Platform Prediction then
returns the container's response in the API response. For example, if you set this field to /foo
, then
when AI Platform Prediction receives a prediction request, it forwards the request body in a POST request to
the /foo
path on the port of your container specified by the first value of Version.container.ports. If
you don't specify this field, it defaults to the following value: /v1/models/MODEL/versions/VERSION:predict
The placeholders in this value are replaced as follows: * MODEL: The name of the parent Model. This does not
include the "projects/PROJECT_ID/models/" prefix that the API returns in output; it is the bare model name,
as provided to projects.models.create. * VERSION: The name of the model version. This does not include the
"projects/PROJECT_ID/models/MODEL/versions/" prefix that the API returns in output; it is the bare version
name, as provided to projects.models.versions.create.
Declaration
[JsonProperty("predict")]
public virtual string Predict { get; set; }
Property Value
Type | Description |
---|---|
string |