Vertex AI v1beta1 API - Class PredictRequestResponseLoggingConfig (1.0.0-beta25)

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

Reference documentation and code samples for the Vertex AI v1beta1 API class PredictRequestResponseLoggingConfig.

Configuration for logging request-response to a BigQuery table.

Inheritance

object > PredictRequestResponseLoggingConfig

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

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

EnableOtelLogging

public bool EnableOtelLogging { get; set; }

This field is used for large models. If true, in addition to the original large model logs, logs will be converted in OTel schema format, and saved in otel_log column. Default value is false.

Property Value
Type Description
bool

Enabled

public bool Enabled { get; set; }

If logging is enabled or not.

Property Value
Type Description
bool

RequestResponseLoggingSchemaVersion

public string RequestResponseLoggingSchemaVersion { get; set; }

Output only. The schema version used in creating the BigQuery table for the request response logging. The versions are "v1" and "v2". The current default version is "v1".

Property Value
Type Description
string

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