Cloud AI Platform v1 API - Class PredictRequestResponseLoggingConfig (2.9.0)

public sealed class PredictRequestResponseLoggingConfig : IMessage<PredictRequestResponseLoggingConfig>, IEquatable<PredictRequestResponseLoggingConfig>, IDeepCloneable<PredictRequestResponseLoggingConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class PredictRequestResponseLoggingConfig.

Configuration for logging request-response to a BigQuery table.

Inheritance

Object > PredictRequestResponseLoggingConfig

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

PredictRequestResponseLoggingConfig()

public PredictRequestResponseLoggingConfig()

PredictRequestResponseLoggingConfig(PredictRequestResponseLoggingConfig)

public PredictRequestResponseLoggingConfig(PredictRequestResponseLoggingConfig other)
Parameter
NameDescription
otherPredictRequestResponseLoggingConfig

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
TypeDescription
BigQueryDestination

Enabled

public bool Enabled { get; set; }

If logging is enabled or not.

Property Value
TypeDescription
Boolean

SamplingRate

public double SamplingRate { get; set; }

Percentage of requests to be logged, expressed as a fraction in range(0,1].

Property Value
TypeDescription
Double