/// <summary>Constructs a new Predict request.</summary> public PredictRequest(Google.Apis.Services.IClientService service, Google.Apis.Prediction.v1_2.Data.Input body, string hostedModelName) : base(service) { HostedModelName = hostedModelName; Body = body; InitParameters(); }
/// <summary>Constructs a new Predict request.</summary> public PredictRequest(Google.Apis.Services.IClientService service, Google.Apis.Prediction.v1_2.Data.Input body, string data) : base(service) { Data = data; Body = body; InitParameters(); }
/// <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_2.Data.Input body, string hostedModelName) { return(new PredictRequest(service, body, hostedModelName)); }
/// <summary>Submit data and request a prediction</summary> /// <param name="body">The body of the request.</param> /// <param name="data">mybucket%2Fmydata resource in Google Storage</param> public virtual PredictRequest Predict(Google.Apis.Prediction.v1_2.Data.Input body, string data) { return(new PredictRequest(this, body, data)); }
public PredictRequest(Google.Apis.Discovery.IRequestProvider service, Google.Apis.Prediction.v1_2.Data.Input body, string data) : base(service) { this.Body = body; this._data = data; }
public PredictRequest(Google.Apis.Discovery.IRequestProvider service, Google.Apis.Prediction.v1_2.Data.Input body, string hostedModelName) : base(service) { this.Body = body; this._hostedModelName = hostedModelName; }