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
|
getEnabled
If logging is enabled or not.
Generated from protobuf field bool enabled = 1;
Returns | |
---|---|
Type | Description |
bool |
setEnabled
If logging is enabled or not.
Generated from protobuf field bool enabled = 1;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getSamplingRate
Percentage of requests to be logged, expressed as a fraction in range(0,1].
Generated from protobuf field double sampling_rate = 2;
Returns | |
---|---|
Type | Description |
float |
setSamplingRate
Percentage of requests to be logged, expressed as a fraction in range(0,1].
Generated from protobuf field double sampling_rate = 2;
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
Generated from protobuf field .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3;
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
Generated from protobuf field .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AIPlatform\V1\BigQueryDestination
|
Returns | |
---|---|
Type | Description |
$this |