Class ProjectsResource.LocationsResource.EndpointsResource.RawPredictRequest
Perform an online prediction with an arbitrary HTTP payload. The response includes the following
HTTP headers: * X-Vertex-AI-Endpoint-Id
: ID of the Endpoint that served this prediction. *
X-Vertex-AI-Deployed-Model-Id
: ID of the Endpoint's DeployedModel that served this prediction.
Inheritance
ProjectsResource.LocationsResource.EndpointsResource.RawPredictRequest
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.EndpointsResource.RawPredictRequest : AiplatformBaseServiceRequest<GoogleApiHttpBody>, IClientServiceRequest<GoogleApiHttpBody>, IClientServiceRequest
Constructors
RawPredictRequest(IClientService, GoogleCloudAiplatformV1beta1RawPredictRequest, string)
Constructs a new RawPredict request.
Declaration
public RawPredictRequest(IClientService service, GoogleCloudAiplatformV1beta1RawPredictRequest body, string endpoint)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudAiplatformV1beta1RawPredictRequest | body | |
string | endpoint |
Properties
Endpoint
Required. The name of the Endpoint requested to serve the prediction. Format:
projects/{project}/locations/{location}/endpoints/{endpoint}
Declaration
[RequestParameter("endpoint", RequestParameterType.Path)]
public virtual string Endpoint { get; }
Property Value
Type | Description |
---|---|
string |
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
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 RawPredict parameter list.
Declaration
protected override void InitParameters()