Class: Google::Cloud::ContactCenterInsights::V1::QaScorecardResult

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

Overview

The results of scoring a single conversation against a QaScorecard. Contains a collection of QaAnswers and aggregate score.

Defined Under Namespace

Classes: QaTagResult, ScoreSource

Instance Attribute Summary collapse

Instance Attribute Details

#agent_id::String

Returns ID of the agent that handled the conversation.

Returns:

  • (::String)

    ID of the agent that handled the conversation.



2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 2107

class QaScorecardResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Tags and their corresponding results.
  # @!attribute [rw] tag
  #   @return [::String]
  #     The tag the score applies to.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The score the tag applies to.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The potential score the tag applies to.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score the tag applies to.
  class QaTagResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A scorecard result may have multiple sets of scores from varying sources,
  # one of which becomes the "main" answer above. A ScoreSource represents
  # each individual set of scores.
  # @!attribute [rw] source_type
  #   @return [::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::ScoreSource::SourceType]
  #     What created the score.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The overall numerical score of the result.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The maximum potential overall score of the scorecard. Any questions
  #     answered using `na_value` are excluded from this calculation.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score, which is the score divided by the potential score.
  # @!attribute [rw] qa_tag_results
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::QaTagResult>]
  #     Collection of tags and their scores.
  class ScoreSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # What created the score.
    module SourceType
      # Source type is unspecified.
      SOURCE_TYPE_UNSPECIFIED = 0

      # Score is derived only from system-generated answers.
      SYSTEM_GENERATED_ONLY = 1

      # Score is derived from both system-generated answers, and includes
      # any manual edits if they exist.
      INCLUDES_MANUAL_EDITS = 2
    end
  end
end

#conversation::String

Returns The conversation scored by this result.

Returns:

  • (::String)

    The conversation scored by this result.



2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 2107

class QaScorecardResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Tags and their corresponding results.
  # @!attribute [rw] tag
  #   @return [::String]
  #     The tag the score applies to.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The score the tag applies to.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The potential score the tag applies to.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score the tag applies to.
  class QaTagResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A scorecard result may have multiple sets of scores from varying sources,
  # one of which becomes the "main" answer above. A ScoreSource represents
  # each individual set of scores.
  # @!attribute [rw] source_type
  #   @return [::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::ScoreSource::SourceType]
  #     What created the score.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The overall numerical score of the result.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The maximum potential overall score of the scorecard. Any questions
  #     answered using `na_value` are excluded from this calculation.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score, which is the score divided by the potential score.
  # @!attribute [rw] qa_tag_results
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::QaTagResult>]
  #     Collection of tags and their scores.
  class ScoreSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # What created the score.
    module SourceType
      # Source type is unspecified.
      SOURCE_TYPE_UNSPECIFIED = 0

      # Score is derived only from system-generated answers.
      SYSTEM_GENERATED_ONLY = 1

      # Score is derived from both system-generated answers, and includes
      # any manual edits if they exist.
      INCLUDES_MANUAL_EDITS = 2
    end
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The timestamp that the revision was created.

Returns:



2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 2107

class QaScorecardResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Tags and their corresponding results.
  # @!attribute [rw] tag
  #   @return [::String]
  #     The tag the score applies to.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The score the tag applies to.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The potential score the tag applies to.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score the tag applies to.
  class QaTagResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A scorecard result may have multiple sets of scores from varying sources,
  # one of which becomes the "main" answer above. A ScoreSource represents
  # each individual set of scores.
  # @!attribute [rw] source_type
  #   @return [::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::ScoreSource::SourceType]
  #     What created the score.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The overall numerical score of the result.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The maximum potential overall score of the scorecard. Any questions
  #     answered using `na_value` are excluded from this calculation.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score, which is the score divided by the potential score.
  # @!attribute [rw] qa_tag_results
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::QaTagResult>]
  #     Collection of tags and their scores.
  class ScoreSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # What created the score.
    module SourceType
      # Source type is unspecified.
      SOURCE_TYPE_UNSPECIFIED = 0

      # Score is derived only from system-generated answers.
      SYSTEM_GENERATED_ONLY = 1

      # Score is derived from both system-generated answers, and includes
      # any manual edits if they exist.
      INCLUDES_MANUAL_EDITS = 2
    end
  end
end

#name::String

Returns Identifier. The name of the scorecard result. Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}.

Returns:

  • (::String)

    Identifier. The name of the scorecard result. Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}



2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 2107

class QaScorecardResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Tags and their corresponding results.
  # @!attribute [rw] tag
  #   @return [::String]
  #     The tag the score applies to.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The score the tag applies to.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The potential score the tag applies to.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score the tag applies to.
  class QaTagResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A scorecard result may have multiple sets of scores from varying sources,
  # one of which becomes the "main" answer above. A ScoreSource represents
  # each individual set of scores.
  # @!attribute [rw] source_type
  #   @return [::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::ScoreSource::SourceType]
  #     What created the score.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The overall numerical score of the result.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The maximum potential overall score of the scorecard. Any questions
  #     answered using `na_value` are excluded from this calculation.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score, which is the score divided by the potential score.
  # @!attribute [rw] qa_tag_results
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::QaTagResult>]
  #     Collection of tags and their scores.
  class ScoreSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # What created the score.
    module SourceType
      # Source type is unspecified.
      SOURCE_TYPE_UNSPECIFIED = 0

      # Score is derived only from system-generated answers.
      SYSTEM_GENERATED_ONLY = 1

      # Score is derived from both system-generated answers, and includes
      # any manual edits if they exist.
      INCLUDES_MANUAL_EDITS = 2
    end
  end
end

#normalized_score::Float

Returns The normalized score, which is the score divided by the potential score. Any manual edits are included if they exist.

Returns:

  • (::Float)

    The normalized score, which is the score divided by the potential score. Any manual edits are included if they exist.



2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 2107

class QaScorecardResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Tags and their corresponding results.
  # @!attribute [rw] tag
  #   @return [::String]
  #     The tag the score applies to.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The score the tag applies to.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The potential score the tag applies to.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score the tag applies to.
  class QaTagResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A scorecard result may have multiple sets of scores from varying sources,
  # one of which becomes the "main" answer above. A ScoreSource represents
  # each individual set of scores.
  # @!attribute [rw] source_type
  #   @return [::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::ScoreSource::SourceType]
  #     What created the score.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The overall numerical score of the result.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The maximum potential overall score of the scorecard. Any questions
  #     answered using `na_value` are excluded from this calculation.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score, which is the score divided by the potential score.
  # @!attribute [rw] qa_tag_results
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::QaTagResult>]
  #     Collection of tags and their scores.
  class ScoreSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # What created the score.
    module SourceType
      # Source type is unspecified.
      SOURCE_TYPE_UNSPECIFIED = 0

      # Score is derived only from system-generated answers.
      SYSTEM_GENERATED_ONLY = 1

      # Score is derived from both system-generated answers, and includes
      # any manual edits if they exist.
      INCLUDES_MANUAL_EDITS = 2
    end
  end
end

#potential_score::Float

Returns The maximum potential overall score of the scorecard. Any questions answered using na_value are excluded from this calculation.

Returns:

  • (::Float)

    The maximum potential overall score of the scorecard. Any questions answered using na_value are excluded from this calculation.



2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 2107

class QaScorecardResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Tags and their corresponding results.
  # @!attribute [rw] tag
  #   @return [::String]
  #     The tag the score applies to.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The score the tag applies to.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The potential score the tag applies to.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score the tag applies to.
  class QaTagResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A scorecard result may have multiple sets of scores from varying sources,
  # one of which becomes the "main" answer above. A ScoreSource represents
  # each individual set of scores.
  # @!attribute [rw] source_type
  #   @return [::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::ScoreSource::SourceType]
  #     What created the score.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The overall numerical score of the result.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The maximum potential overall score of the scorecard. Any questions
  #     answered using `na_value` are excluded from this calculation.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score, which is the score divided by the potential score.
  # @!attribute [rw] qa_tag_results
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::QaTagResult>]
  #     Collection of tags and their scores.
  class ScoreSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # What created the score.
    module SourceType
      # Source type is unspecified.
      SOURCE_TYPE_UNSPECIFIED = 0

      # Score is derived only from system-generated answers.
      SYSTEM_GENERATED_ONLY = 1

      # Score is derived from both system-generated answers, and includes
      # any manual edits if they exist.
      INCLUDES_MANUAL_EDITS = 2
    end
  end
end

#qa_answers::Array<::Google::Cloud::ContactCenterInsights::V1::QaAnswer>

Returns Set of QaAnswers represented in the result.

Returns:



2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 2107

class QaScorecardResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Tags and their corresponding results.
  # @!attribute [rw] tag
  #   @return [::String]
  #     The tag the score applies to.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The score the tag applies to.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The potential score the tag applies to.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score the tag applies to.
  class QaTagResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A scorecard result may have multiple sets of scores from varying sources,
  # one of which becomes the "main" answer above. A ScoreSource represents
  # each individual set of scores.
  # @!attribute [rw] source_type
  #   @return [::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::ScoreSource::SourceType]
  #     What created the score.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The overall numerical score of the result.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The maximum potential overall score of the scorecard. Any questions
  #     answered using `na_value` are excluded from this calculation.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score, which is the score divided by the potential score.
  # @!attribute [rw] qa_tag_results
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::QaTagResult>]
  #     Collection of tags and their scores.
  class ScoreSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # What created the score.
    module SourceType
      # Source type is unspecified.
      SOURCE_TYPE_UNSPECIFIED = 0

      # Score is derived only from system-generated answers.
      SYSTEM_GENERATED_ONLY = 1

      # Score is derived from both system-generated answers, and includes
      # any manual edits if they exist.
      INCLUDES_MANUAL_EDITS = 2
    end
  end
end

#qa_scorecard_revision::String

Returns The QaScorecardRevision scored by this result.

Returns:

  • (::String)

    The QaScorecardRevision scored by this result.



2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 2107

class QaScorecardResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Tags and their corresponding results.
  # @!attribute [rw] tag
  #   @return [::String]
  #     The tag the score applies to.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The score the tag applies to.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The potential score the tag applies to.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score the tag applies to.
  class QaTagResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A scorecard result may have multiple sets of scores from varying sources,
  # one of which becomes the "main" answer above. A ScoreSource represents
  # each individual set of scores.
  # @!attribute [rw] source_type
  #   @return [::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::ScoreSource::SourceType]
  #     What created the score.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The overall numerical score of the result.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The maximum potential overall score of the scorecard. Any questions
  #     answered using `na_value` are excluded from this calculation.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score, which is the score divided by the potential score.
  # @!attribute [rw] qa_tag_results
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::QaTagResult>]
  #     Collection of tags and their scores.
  class ScoreSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # What created the score.
    module SourceType
      # Source type is unspecified.
      SOURCE_TYPE_UNSPECIFIED = 0

      # Score is derived only from system-generated answers.
      SYSTEM_GENERATED_ONLY = 1

      # Score is derived from both system-generated answers, and includes
      # any manual edits if they exist.
      INCLUDES_MANUAL_EDITS = 2
    end
  end
end

#qa_tag_results::Array<::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::QaTagResult>

Returns Collection of tags and their scores.

Returns:



2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 2107

class QaScorecardResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Tags and their corresponding results.
  # @!attribute [rw] tag
  #   @return [::String]
  #     The tag the score applies to.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The score the tag applies to.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The potential score the tag applies to.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score the tag applies to.
  class QaTagResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A scorecard result may have multiple sets of scores from varying sources,
  # one of which becomes the "main" answer above. A ScoreSource represents
  # each individual set of scores.
  # @!attribute [rw] source_type
  #   @return [::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::ScoreSource::SourceType]
  #     What created the score.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The overall numerical score of the result.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The maximum potential overall score of the scorecard. Any questions
  #     answered using `na_value` are excluded from this calculation.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score, which is the score divided by the potential score.
  # @!attribute [rw] qa_tag_results
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::QaTagResult>]
  #     Collection of tags and their scores.
  class ScoreSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # What created the score.
    module SourceType
      # Source type is unspecified.
      SOURCE_TYPE_UNSPECIFIED = 0

      # Score is derived only from system-generated answers.
      SYSTEM_GENERATED_ONLY = 1

      # Score is derived from both system-generated answers, and includes
      # any manual edits if they exist.
      INCLUDES_MANUAL_EDITS = 2
    end
  end
end

#score::Float

Returns The overall numerical score of the result, incorporating any manual edits if they exist.

Returns:

  • (::Float)

    The overall numerical score of the result, incorporating any manual edits if they exist.



2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 2107

class QaScorecardResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Tags and their corresponding results.
  # @!attribute [rw] tag
  #   @return [::String]
  #     The tag the score applies to.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The score the tag applies to.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The potential score the tag applies to.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score the tag applies to.
  class QaTagResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A scorecard result may have multiple sets of scores from varying sources,
  # one of which becomes the "main" answer above. A ScoreSource represents
  # each individual set of scores.
  # @!attribute [rw] source_type
  #   @return [::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::ScoreSource::SourceType]
  #     What created the score.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The overall numerical score of the result.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The maximum potential overall score of the scorecard. Any questions
  #     answered using `na_value` are excluded from this calculation.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score, which is the score divided by the potential score.
  # @!attribute [rw] qa_tag_results
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::QaTagResult>]
  #     Collection of tags and their scores.
  class ScoreSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # What created the score.
    module SourceType
      # Source type is unspecified.
      SOURCE_TYPE_UNSPECIFIED = 0

      # Score is derived only from system-generated answers.
      SYSTEM_GENERATED_ONLY = 1

      # Score is derived from both system-generated answers, and includes
      # any manual edits if they exist.
      INCLUDES_MANUAL_EDITS = 2
    end
  end
end

#score_sources::Array<::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::ScoreSource>

Returns List of all individual score sets.

Returns:



2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 2107

class QaScorecardResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Tags and their corresponding results.
  # @!attribute [rw] tag
  #   @return [::String]
  #     The tag the score applies to.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The score the tag applies to.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The potential score the tag applies to.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score the tag applies to.
  class QaTagResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A scorecard result may have multiple sets of scores from varying sources,
  # one of which becomes the "main" answer above. A ScoreSource represents
  # each individual set of scores.
  # @!attribute [rw] source_type
  #   @return [::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::ScoreSource::SourceType]
  #     What created the score.
  # @!attribute [rw] score
  #   @return [::Float]
  #     The overall numerical score of the result.
  # @!attribute [rw] potential_score
  #   @return [::Float]
  #     The maximum potential overall score of the scorecard. Any questions
  #     answered using `na_value` are excluded from this calculation.
  # @!attribute [rw] normalized_score
  #   @return [::Float]
  #     The normalized score, which is the score divided by the potential score.
  # @!attribute [rw] qa_tag_results
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::QaScorecardResult::QaTagResult>]
  #     Collection of tags and their scores.
  class ScoreSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # What created the score.
    module SourceType
      # Source type is unspecified.
      SOURCE_TYPE_UNSPECIFIED = 0

      # Score is derived only from system-generated answers.
      SYSTEM_GENERATED_ONLY = 1

      # Score is derived from both system-generated answers, and includes
      # any manual edits if they exist.
      INCLUDES_MANUAL_EDITS = 2
    end
  end
end