public sealed class PredictRequestResponseLoggingConfig : IMessage<PredictRequestResponseLoggingConfig>, IEquatable<PredictRequestResponseLoggingConfig>, IDeepCloneable<PredictRequestResponseLoggingConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class PredictRequestResponseLoggingConfig.
Configuration for logging request-response to a BigQuery table.
Implements
IMessagePredictRequestResponseLoggingConfig, IEquatablePredictRequestResponseLoggingConfig, IDeepCloneablePredictRequestResponseLoggingConfig, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
PredictRequestResponseLoggingConfig()
public PredictRequestResponseLoggingConfig()
PredictRequestResponseLoggingConfig(PredictRequestResponseLoggingConfig)
public PredictRequestResponseLoggingConfig(PredictRequestResponseLoggingConfig other)
Parameter | |
---|---|
Name | Description |
other |
PredictRequestResponseLoggingConfig |
Properties
BigqueryDestination
public BigQueryDestination BigqueryDestination { get; set; }
BigQuery table for logging.
If only given a project, a new dataset will be created with name
logging_<endpoint-display-name>_<endpoint-id>
where
<endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
most special characters will become underscores). If no table name is
given, a new table will be created with name request_response_logging
Property Value | |
---|---|
Type | Description |
BigQueryDestination |
Enabled
public bool Enabled { get; set; }
If logging is enabled or not.
Property Value | |
---|---|
Type | Description |
bool |
SamplingRate
public double SamplingRate { get; set; }
Percentage of requests to be logged, expressed as a fraction in range(0,1].
Property Value | |
---|---|
Type | Description |
double |