Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::PredictRequestResponseLoggingConfig.
Configuration for logging request-response to a BigQuery table.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#bigquery_destination
def bigquery_destination() -> ::Google::Cloud::AIPlatform::V1::BigQueryDestination
Returns
-
(::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
#bigquery_destination=
def bigquery_destination=(value) -> ::Google::Cloud::AIPlatform::V1::BigQueryDestination
Parameter
-
value (::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
Returns
-
(::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
#enabled
def enabled() -> ::Boolean
Returns
- (::Boolean) — If logging is enabled or not.
#enabled=
def enabled=(value) -> ::Boolean
Parameter
- value (::Boolean) — If logging is enabled or not.
Returns
- (::Boolean) — If logging is enabled or not.
#sampling_rate
def sampling_rate() -> ::Float
Returns
- (::Float) — Percentage of requests to be logged, expressed as a fraction in range(0,1].
#sampling_rate=
def sampling_rate=(value) -> ::Float
Parameter
- value (::Float) — Percentage of requests to be logged, expressed as a fraction in range(0,1].
Returns
- (::Float) — Percentage of requests to be logged, expressed as a fraction in range(0,1].