ml
v1
|
Configuration for logging request-response pairs to a BigQuery table. Online prediction requests to a model version and the responses to these requests are converted to raw strings and saved to the specified BigQuery table. Logging is constrained by BigQuery quotas and limits. If your project exceeds BigQuery quotas or limits, AI Platform Prediction does not log request-response pairs, but it continues to serve predictions. More...
Properties | |
virtual string | BigqueryTableName [get, set] |
Required. Fully qualified BigQuery table name in the following format: "project_id.dataset_name.table_name" More... | |
virtual System.Nullable< double > | SamplingPercentage [get, set] |
Percentage of requests to be logged, expressed as a fraction from 0 to 1. For example, if you want to log 10% of requests, enter 0.1 . The sampling window is the lifetime of the model version. Defaults to 0. More... | |
virtual string | ETag [get, set] |
The ETag of the item. More... | |
Properties inherited from Google::Apis::Requests::IDirectResponseSchema | |
string | ETag |
Configuration for logging request-response pairs to a BigQuery table. Online prediction requests to a model version and the responses to these requests are converted to raw strings and saved to the specified BigQuery table. Logging is constrained by BigQuery quotas and limits. If your project exceeds BigQuery quotas or limits, AI Platform Prediction does not log request-response pairs, but it continues to serve predictions.
If you are using continuous evaluation, you do not need to specify this configuration manually. Setting up continuous evaluation automatically enables logging of request-response pairs.
|
getset |
Required. Fully qualified BigQuery table name in the following format: "project_id.dataset_name.table_name"
The specified table must already exist, and the "Cloud ML Service Agent" for your project must have permission to write to it. The table must have the following schema:
Field nameType Mode modelSTRINGREQUIRED model_versionSTRINGREQUIRED timeTIMESTAMPREQUIRED raw_dataSTRINGREQUIRED raw_predictionSTRINGNULLABLE groundtruthSTRINGNULLABLE
|
getset |
The ETag of the item.
|
getset |
Percentage of requests to be logged, expressed as a fraction from 0 to 1. For example, if you want to log 10% of requests, enter 0.1
. The sampling window is the lifetime of the model version. Defaults to 0.