Class: Google::Cloud::AIPlatform::V1::PredictRequestResponseLoggingConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/endpoint.rb

Overview

Configuration for logging request-response to a BigQuery table.

Instance Attribute Summary collapse

Instance Attribute Details

#bigquery_destination::Google::Cloud::AIPlatform::V1::BigQueryDestination

Returns BigQuery table for logging. If only given a project, a new dataset will be created with name logging_<endpoint-display-name>_<endpoint-id> where will be made BigQuery-dataset-name compatible (e.g. most special characters will become underscores). If no table name is given, a new table will be created with name request_response_logging.

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 will be made BigQuery-dataset-name compatible (e.g. most special characters will become underscores). If no table name is given, a new table will be created with name request_response_logging



313
314
315
316
# File 'proto_docs/google/cloud/aiplatform/v1/endpoint.rb', line 313

class PredictRequestResponseLoggingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#enabled::Boolean

Returns If logging is enabled or not.

Returns:

  • (::Boolean)

    If logging is enabled or not.



313
314
315
316
# File 'proto_docs/google/cloud/aiplatform/v1/endpoint.rb', line 313

class PredictRequestResponseLoggingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#sampling_rate::Float

Returns 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].



313
314
315
316
# File 'proto_docs/google/cloud/aiplatform/v1/endpoint.rb', line 313

class PredictRequestResponseLoggingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end