Interface PredictRequestResponseLoggingConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PredictRequestResponseLoggingConfig, PredictRequestResponseLoggingConfig.Builder

@Generated public interface PredictRequestResponseLoggingConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getEnabled

      boolean getEnabled()
       If logging is enabled or not.
       
      bool enabled = 1;
      Returns:
      The enabled.
    • getSamplingRate

      double getSamplingRate()
       Percentage of requests to be logged, expressed as a fraction in
       range(0,1].
       
      double sampling_rate = 2;
      Returns:
      The samplingRate.
    • hasBigqueryDestination

      boolean hasBigqueryDestination()
       BigQuery table for logging.
       If only given a project, a new dataset will be created with name
       `logging_<endpoint-display-name>_<endpoint-id>` where
       <endpoint-display-name> 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`
       
      .google.cloud.aiplatform.v1beta1.BigQueryDestination bigquery_destination = 3;
      Returns:
      Whether the bigqueryDestination field is set.
    • getBigqueryDestination

      BigQueryDestination 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
       <endpoint-display-name> 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`
       
      .google.cloud.aiplatform.v1beta1.BigQueryDestination bigquery_destination = 3;
      Returns:
      The bigqueryDestination.
    • getBigqueryDestinationOrBuilder

      BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder()
       BigQuery table for logging.
       If only given a project, a new dataset will be created with name
       `logging_<endpoint-display-name>_<endpoint-id>` where
       <endpoint-display-name> 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`
       
      .google.cloud.aiplatform.v1beta1.BigQueryDestination bigquery_destination = 3;
    • getRequestResponseLoggingSchemaVersion

      String getRequestResponseLoggingSchemaVersion()
       Output only. The schema version used in creating the BigQuery table for the
       request response logging. The versions are "v1" and "v2". The current
       default version is "v1".
       
      string request_response_logging_schema_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The requestResponseLoggingSchemaVersion.
    • getRequestResponseLoggingSchemaVersionBytes

      com.google.protobuf.ByteString getRequestResponseLoggingSchemaVersionBytes()
       Output only. The schema version used in creating the BigQuery table for the
       request response logging. The versions are "v1" and "v2". The current
       default version is "v1".
       
      string request_response_logging_schema_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for requestResponseLoggingSchemaVersion.
    • getEnableOtelLogging

      boolean getEnableOtelLogging()
       This field is used for large models. If true, in addition to the
       original large model logs, logs will be converted in OTel schema format,
       and saved in otel_log column. Default value is false.
       
      bool enable_otel_logging = 6;
      Returns:
      The enableOtelLogging.