Class PredictRequestResponseLoggingConfig (1.5.0)

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

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 project, a new dataset will be created with name logging_&lt;endpoint-display-name>_&lt;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