# frozen_string_literal: true # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Auto-generated by gapic-generator-ruby. DO NOT EDIT! module Google module Cloud module AIPlatform module V1 # A collection of metrics calculated by comparing Model's predictions on a # slice of the test data against ground truth annotations. # @!attribute [r] name # @return [::String] # Output only. The resource name of the ModelEvaluationSlice. # @!attribute [r] slice # @return [::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice::Slice] # Output only. The slice of the test data that is used to evaluate the Model. # @!attribute [r] metrics_schema_uri # @return [::String] # Output only. Points to a YAML file stored on Google Cloud Storage # describing the # {::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice#metrics metrics} of this # ModelEvaluationSlice. The schema is defined as an OpenAPI 3.0.2 [Schema # Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). # @!attribute [r] metrics # @return [::Google::Protobuf::Value] # Output only. Sliced evaluation metrics of the Model. The schema of the # metrics is stored in # {::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice#metrics_schema_uri metrics_schema_uri} # @!attribute [r] create_time # @return [::Google::Protobuf::Timestamp] # Output only. Timestamp when this ModelEvaluationSlice was created. class ModelEvaluationSlice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Definition of a slice. # @!attribute [r] dimension # @return [::String] # Output only. The dimension of the slice. # Well-known dimensions are: # * `annotationSpec`: This slice is on the test data that has either # ground truth or prediction with # {::Google::Cloud::AIPlatform::V1::AnnotationSpec#display_name AnnotationSpec.display_name} # equals to # {::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice::Slice#value value}. # @!attribute [r] value # @return [::String] # Output only. The value of the dimension in this slice. class Slice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end end end end