/// <summary>Constructs a new Predict request.</summary> public PredictRequest(Google.Apis.Services.IClientService service, Google.Apis.Prediction.v1_4.Data.Input body, string id) : base(service) { Id = id; Body = body; InitParameters(); }
/// <summary>Constructs a new Predict request.</summary> public PredictRequest(Google.Apis.Services.IClientService service, Google.Apis.Prediction.v1_4.Data.Input body, string hostedModelName) : base(service) { HostedModelName = hostedModelName; Body = body; InitParameters(); }
/// <summary>Submit model id and request a prediction</summary> /// <param name="body">The body of the request.</param> /// <param name="id">The unique name for the predictive model.</param> public virtual PredictRequest Predict(Google.Apis.Prediction.v1_4.Data.Input body, string id) { return(new PredictRequest(service, body, id)); }
/// <summary>Submit input and request an output against a hosted model.</summary> /// <param name="body">The body of the request.</param> /// <param name="hostedModelName">The name of a hosted model.</param> public virtual PredictRequest Predict(Google.Apis.Prediction.v1_4.Data.Input body, string hostedModelName) { return(new PredictRequest(service, body, hostedModelName)); }