Interface PredictRequestResponseLoggingConfigOrBuilder (3.5.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.v1.BigQueryDestination bigquery_destination = 3;

Returns
TypeDescription
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.v1.BigQueryDestination bigquery_destination = 3;

Returns
TypeDescription
BigQueryDestinationOrBuilder

getEnabled()

public abstract boolean getEnabled()

If logging is enabled or not.

bool enabled = 1;

Returns
TypeDescription
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
TypeDescription
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.v1.BigQueryDestination bigquery_destination = 3;

Returns
TypeDescription
boolean

Whether the bigqueryDestination field is set.