PredictRequestResponseLoggingConfig class final

Configuration for logging request-response to a BigQuery table.

Inheritance
  • Object
  • ProtoMessage
  • PredictRequestResponseLoggingConfig

Constructors

PredictRequestResponseLoggingConfig({bool enabled = false, double samplingRate = 0, BigQueryDestination? bigqueryDestination, String requestResponseLoggingSchemaVersion = '', bool enableOtelLogging = false})
PredictRequestResponseLoggingConfig.fromJson(Map<String, dynamic> json)
factory

Properties

bigqueryDestination BigQueryDestination?
BigQuery table for logging. If only given a project, a new dataset will be created with name logging_<endpoint-display-name>_<endpoint-id> where
final
enabled bool
If logging is enabled or not.
final
enableOtelLogging bool
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.
final
hashCode int
The hash code for this object.
no setterinherited
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
requestResponseLoggingSchemaVersion String
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".
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
samplingRate double
Percentage of requests to be logged, expressed as a fraction in range(0,1].
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String