Class BetaAnalyticsConnectorCoworkMetrics
-
- All Implemented Interfaces:
public final class BetaAnalyticsConnectorCoworkMetricsCowork activity metrics for a single connector on a given day.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaAnalyticsConnectorCoworkMetrics.BuilderA builder for BetaAnalyticsConnectorCoworkMetrics.
-
Method Summary
Modifier and Type Method Description final Optional<Long>distinctSessionConnectorUsedCount()Number of distinct Cowork sessions in which the connector was used. final JsonField<Long>_distinctSessionConnectorUsedCount()Returns the raw JSON value of distinctSessionConnectorUsedCount. final Map<String, JsonValue>_additionalProperties()final BetaAnalyticsConnectorCoworkMetrics.BuildertoBuilder()final BetaAnalyticsConnectorCoworkMetricsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaAnalyticsConnectorCoworkMetrics.Builderbuilder()Returns a mutable builder for constructing an instance of BetaAnalyticsConnectorCoworkMetrics. final static BetaAnalyticsConnectorCoworkMetricsof(Long distinctSessionConnectorUsedCount)Returns an immutable instance of BetaAnalyticsConnectorCoworkMetrics with the required distinctSessionConnectorUsedCount set to the given value. final static BetaAnalyticsConnectorCoworkMetricsof(Long distinctSessionConnectorUsedCount)Alias for of. final static BetaAnalyticsConnectorCoworkMetricsof(Optional<Long> distinctSessionConnectorUsedCount)Alias for calling of with distinctSessionConnectorUsedCount.orElse(null).-
-
Method Detail
-
distinctSessionConnectorUsedCount
final Optional<Long> distinctSessionConnectorUsedCount()
Number of distinct Cowork sessions in which the connector was used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
-
_distinctSessionConnectorUsedCount
final JsonField<Long> _distinctSessionConnectorUsedCount()
Returns the raw JSON value of distinctSessionConnectorUsedCount.
Unlike distinctSessionConnectorUsedCount, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaAnalyticsConnectorCoworkMetrics.Builder toBuilder()
-
validate
final BetaAnalyticsConnectorCoworkMetrics 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 BetaAnalyticsConnectorCoworkMetrics.Builder builder()
Returns a mutable builder for constructing an instance of BetaAnalyticsConnectorCoworkMetrics.
The following fields are required:
.distinctSessionConnectorUsedCount()
-
of
final static BetaAnalyticsConnectorCoworkMetrics of(Long distinctSessionConnectorUsedCount)
Returns an immutable instance of BetaAnalyticsConnectorCoworkMetrics with the required distinctSessionConnectorUsedCount set to the given value.
-
of
final static BetaAnalyticsConnectorCoworkMetrics of(Long distinctSessionConnectorUsedCount)
Alias for of.
This unboxed primitive overload exists for backwards compatibility.
-
of
final static BetaAnalyticsConnectorCoworkMetrics of(Optional<Long> distinctSessionConnectorUsedCount)
Alias for calling of with
distinctSessionConnectorUsedCount.orElse(null).
-
-
-
-