Interface PredictRequestResponseLoggingConfigOrBuilder (3.47.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

getEnabled()

public abstract boolean getEnabled()

If logging is enabled or not.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

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.