Google Cloud Ai Platform V1 Client - Class PredictRequestResponseLoggingConfig (0.13.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

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月13日 UTC.