Interface PredictRequestResponseLoggingConfigOrBuilder (3.64.0)

public interface PredictRequestResponseLoggingConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBigqueryDestination()

public abstract BigQueryDestination getBigqueryDestination()

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

.google.cloud.aiplatform.v1beta1.BigQueryDestination bigquery_destination = 3;

Returns
Type Description
BigQueryDestination

The bigqueryDestination.

getBigqueryDestinationOrBuilder()

public abstract BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder()

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

.google.cloud.aiplatform.v1beta1.BigQueryDestination bigquery_destination = 3;

Returns
Type Description
BigQueryDestinationOrBuilder

getEnableOtelLogging()

public abstract boolean getEnableOtelLogging()

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.

bool enable_otel_logging = 6;

Returns
Type Description
boolean

The enableOtelLogging.

getEnabled()

public abstract boolean getEnabled()

If logging is enabled or not.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

getRequestResponseLoggingSchemaVersion()

public abstract String getRequestResponseLoggingSchemaVersion()

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".

string request_response_logging_schema_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The requestResponseLoggingSchemaVersion.

getRequestResponseLoggingSchemaVersionBytes()

public abstract ByteString getRequestResponseLoggingSchemaVersionBytes()

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".

string request_response_logging_schema_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for requestResponseLoggingSchemaVersion.

getSamplingRate()

public abstract double getSamplingRate()

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

double sampling_rate = 2;

Returns
Type Description
double

The samplingRate.

hasBigqueryDestination()

public abstract boolean hasBigqueryDestination()

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

.google.cloud.aiplatform.v1beta1.BigQueryDestination bigquery_destination = 3;

Returns
Type Description
boolean

Whether the bigqueryDestination field is set.