Class BetaAnalyticsChatCoworkUnifiedChatMetrics

    • Constructor Detail

    • Method Detail

      • connectorsUsedCount

         final Long connectorsUsedCount()

        Same measure as chat_metrics.connectors_used_count, for activity recorded while members had Chat and Cowork unified turned on.

      • distinctArtifactsCreatedCount

         final Long distinctArtifactsCreatedCount()

        Same measure as chat_metrics.distinct_artifacts_created_count, for activity recorded while members had Chat and Cowork unified turned on. Exact in date-range mode: a creation belongs to exactly one day, so the per-day counts never overlap and their sum over the window is the exact count of distinct creations in it.

      • distinctConnectorsUsedCount

         final Optional<Long> distinctConnectorsUsedCount()

        Same measure as chat_metrics.distinct_connectors_used_count, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.

      • distinctConversationCount

         final Optional<Long> distinctConversationCount()

        Same measure as chat_metrics.distinct_conversation_count, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.

      • distinctFilesUploadedCount

         final Optional<Long> distinctFilesUploadedCount()

        Same measure as chat_metrics.distinct_files_uploaded_count, for activity recorded while members had Chat and Cowork unified turned on. It counts uploaded files as well as files Claude created and images returned by Claude's tools, such as screenshots. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.

      • distinctProjectsCreatedCount

         final Long distinctProjectsCreatedCount()

        Same measure as chat_metrics.distinct_projects_created_count, for activity recorded while members had Chat and Cowork unified turned on. Exact in date-range mode: a creation belongs to exactly one day, so the per-day counts never overlap and their sum over the window is the exact count of distinct creations in it.

      • distinctProjectsUsedCount

         final Optional<Long> distinctProjectsUsedCount()

        Same measure as chat_metrics.distinct_projects_used_count, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.

      • distinctSkillsUsedCount

         final Optional<Long> distinctSkillsUsedCount()

        Same measure as chat_metrics.distinct_skills_used_count, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.

      • messageCount

         final Long messageCount()

        Same measure as chat_metrics.message_count, for activity recorded while members had Chat and Cowork unified turned on.

      • sharedConversationsViewedCount

         final Long sharedConversationsViewedCount()

        Same measure as chat_metrics.shared_conversations_viewed_count, for activity recorded while members had Chat and Cowork unified turned on.

      • thinkingMessageCount

         final Long thinkingMessageCount()

        Same measure as chat_metrics.thinking_message_count, for activity recorded while members had Chat and Cowork unified turned on.

      • _connectorsUsedCount

         final JsonField<Long> _connectorsUsedCount()

        Returns the raw JSON value of connectorsUsedCount.

        Unlike connectorsUsedCount, this method doesn't throw if the JSON field has an unexpected type.

      • _distinctArtifactsCreatedCount

         final JsonField<Long> _distinctArtifactsCreatedCount()

        Returns the raw JSON value of distinctArtifactsCreatedCount.

        Unlike distinctArtifactsCreatedCount, this method doesn't throw if the JSON field has an unexpected type.

      • _distinctConnectorsUsedCount

         final JsonField<Long> _distinctConnectorsUsedCount()

        Returns the raw JSON value of distinctConnectorsUsedCount.

        Unlike distinctConnectorsUsedCount, this method doesn't throw if the JSON field has an unexpected type.

      • _distinctConversationCount

         final JsonField<Long> _distinctConversationCount()

        Returns the raw JSON value of distinctConversationCount.

        Unlike distinctConversationCount, this method doesn't throw if the JSON field has an unexpected type.

      • _distinctFilesUploadedCount

         final JsonField<Long> _distinctFilesUploadedCount()

        Returns the raw JSON value of distinctFilesUploadedCount.

        Unlike distinctFilesUploadedCount, this method doesn't throw if the JSON field has an unexpected type.

      • _distinctProjectsCreatedCount

         final JsonField<Long> _distinctProjectsCreatedCount()

        Returns the raw JSON value of distinctProjectsCreatedCount.

        Unlike distinctProjectsCreatedCount, this method doesn't throw if the JSON field has an unexpected type.

      • _distinctProjectsUsedCount

         final JsonField<Long> _distinctProjectsUsedCount()

        Returns the raw JSON value of distinctProjectsUsedCount.

        Unlike distinctProjectsUsedCount, this method doesn't throw if the JSON field has an unexpected type.

      • _distinctSharedArtifactsViewedCount

         final JsonField<Long> _distinctSharedArtifactsViewedCount()

        Returns the raw JSON value of distinctSharedArtifactsViewedCount.

        Unlike distinctSharedArtifactsViewedCount, this method doesn't throw if the JSON field has an unexpected type.

      • _distinctSkillsUsedCount

         final JsonField<Long> _distinctSkillsUsedCount()

        Returns the raw JSON value of distinctSkillsUsedCount.

        Unlike distinctSkillsUsedCount, this method doesn't throw if the JSON field has an unexpected type.

      • _messageCount

         final JsonField<Long> _messageCount()

        Returns the raw JSON value of messageCount.

        Unlike messageCount, this method doesn't throw if the JSON field has an unexpected type.

      • _sharedConversationsViewedCount

         final JsonField<Long> _sharedConversationsViewedCount()

        Returns the raw JSON value of sharedConversationsViewedCount.

        Unlike sharedConversationsViewedCount, this method doesn't throw if the JSON field has an unexpected type.

      • _thinkingMessageCount

         final JsonField<Long> _thinkingMessageCount()

        Returns the raw JSON value of thinkingMessageCount.

        Unlike thinkingMessageCount, this method doesn't throw if the JSON field has an unexpected type.

      • validate

         final BetaAnalyticsChatCoworkUnifiedChatMetrics validate()

        Validates that the types of all values in this object match their expected types recursively.

        This method is not forwards compatible with new types from the API for existing fields.

      • builder

         final static BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder builder()

        Returns a mutable builder for constructing an instance of BetaAnalyticsChatCoworkUnifiedChatMetrics.

        The following fields are required:

        .connectorsUsedCount()
        .distinctArtifactsCreatedCount()
        .distinctConnectorsUsedCount()
        .distinctConversationCount()
        .distinctFilesUploadedCount()
        .distinctProjectsCreatedCount()
        .distinctProjectsUsedCount()
        .distinctSharedArtifactsViewedCount()
        .distinctSkillsUsedCount()
        .messageCount()
        .sharedConversationsViewedCount()
        .thinkingMessageCount()