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

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
NameDescription
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
TypeDescription
bool

setEnabled

If logging is enabled or not.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getSamplingRate

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

Returns
TypeDescription
float

setSamplingRate

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

Parameter
NameDescription
var float
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Cloud\AIPlatform\V1\BigQueryDestination
Returns
TypeDescription
$this