Google Cloud Ai Platform V1 Client - Class PredictRequestResponseLoggingConfig (0.37.1)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class PredictRequestResponseLoggingConfig.

Configuration for logging request-response to a BigQuery table.

Generated from protobuf message google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enabled bool

If logging is enabled or not.

↳ sampling_rate float

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

↳ bigquery_destination Google\Cloud\AIPlatform\V1\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

getEnabled

If logging is enabled or not.

Returns
Type Description
bool

setEnabled

If logging is enabled or not.

Parameter
Name Description
var bool
Returns
Type Description
$this

getSamplingRate

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

Returns
Type Description
float

setSamplingRate

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

Parameter
Name Description
var float
Returns
Type Description
$this

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

Returns
Type Description
Google\Cloud\AIPlatform\V1\BigQueryDestination|null

hasBigqueryDestination

clearBigqueryDestination

setBigqueryDestination

BigQuery table for logging.

If only given a project, a new dataset will be created with name logging_<endpoint-display-name>_<endpoint-id> where

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\BigQueryDestination
Returns
Type Description
$this