Class BetaAnalyticsSkillCoworkMetrics
-
- All Implemented Interfaces:
public final class BetaAnalyticsSkillCoworkMetricsCowork activity metrics for a single skill on a given day.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaAnalyticsSkillCoworkMetrics.BuilderA builder for BetaAnalyticsSkillCoworkMetrics.
-
Method Summary
Modifier and Type Method Description final Optional<Long>distinctSessionSkillUsedCount()Number of distinct Cowork sessions in which the skill was used. final JsonField<Long>_distinctSessionSkillUsedCount()Returns the raw JSON value of distinctSessionSkillUsedCount. final Map<String, JsonValue>_additionalProperties()final BetaAnalyticsSkillCoworkMetrics.BuildertoBuilder()final BetaAnalyticsSkillCoworkMetricsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaAnalyticsSkillCoworkMetrics.Builderbuilder()Returns a mutable builder for constructing an instance of BetaAnalyticsSkillCoworkMetrics. final static BetaAnalyticsSkillCoworkMetricsof(Long distinctSessionSkillUsedCount)Returns an immutable instance of BetaAnalyticsSkillCoworkMetrics with the required distinctSessionSkillUsedCount set to the given value. final static BetaAnalyticsSkillCoworkMetricsof(Long distinctSessionSkillUsedCount)Alias for of. final static BetaAnalyticsSkillCoworkMetricsof(Optional<Long> distinctSessionSkillUsedCount)Alias for calling of with distinctSessionSkillUsedCount.orElse(null).-
-
Method Detail
-
distinctSessionSkillUsedCount
final Optional<Long> distinctSessionSkillUsedCount()
Number of distinct Cowork sessions in which the skill was used. A skill counts as used only when it is explicitly activated — the model (or the user, via the skill's slash command) invokes it, reading its instructions into context as part of that activation. Skills that are merely installed or listed as available, or whose content reaches the context without an activation (preloaded, hook-injected, or read as a plain file), are not counted. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
-
_distinctSessionSkillUsedCount
final JsonField<Long> _distinctSessionSkillUsedCount()
Returns the raw JSON value of distinctSessionSkillUsedCount.
Unlike distinctSessionSkillUsedCount, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaAnalyticsSkillCoworkMetrics.Builder toBuilder()
-
validate
final BetaAnalyticsSkillCoworkMetrics 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 BetaAnalyticsSkillCoworkMetrics.Builder builder()
Returns a mutable builder for constructing an instance of BetaAnalyticsSkillCoworkMetrics.
The following fields are required:
.distinctSessionSkillUsedCount()
-
of
final static BetaAnalyticsSkillCoworkMetrics of(Long distinctSessionSkillUsedCount)
Returns an immutable instance of BetaAnalyticsSkillCoworkMetrics with the required distinctSessionSkillUsedCount set to the given value.
-
of
final static BetaAnalyticsSkillCoworkMetrics of(Long distinctSessionSkillUsedCount)
Alias for of.
This unboxed primitive overload exists for backwards compatibility.
-
of
final static BetaAnalyticsSkillCoworkMetrics of(Optional<Long> distinctSessionSkillUsedCount)
Alias for calling of with
distinctSessionSkillUsedCount.orElse(null).
-
-
-
-