Class BetaAnalyticsCostItem
-
- All Implemented Interfaces:
public final class BetaAnalyticsCostItem
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaAnalyticsCostItem.BuilderA builder for BetaAnalyticsCostItem.
-
Method Summary
Modifier and Type Method Description final BetaAnalyticsCostMetricscost()Cost for this row. final OffsetDateTimeendingAt()End of the period this row covers (exclusive), as an RFC 3339 UTC timestamp: the end of the row's time bucket when a time-bucket width is set; otherwise the requested ending_at(or, when omitted, the earlier of now andstarting_atplus 31 days) rounded down to the hour, because without a time bucket the report covers whole hours.final BetaAnalyticsCostGroupgroup()The dimension values this row's cost is broken out by. final OffsetDateTimestartingAt()Start of the period this row covers (inclusive), as an RFC 3339 UTC timestamp: the start of the row's time bucket when a time-bucket width is set, otherwise the requested starting_atrounded down to the hour.final JsonField<BetaAnalyticsCostMetrics>_cost()Returns the raw JSON value of cost. final JsonField<OffsetDateTime>_endingAt()Returns the raw JSON value of endingAt. final JsonField<BetaAnalyticsCostGroup>_group()Returns the raw JSON value of group. final JsonField<OffsetDateTime>_startingAt()Returns the raw JSON value of startingAt. final Map<String, JsonValue>_additionalProperties()final BetaAnalyticsCostItem.BuildertoBuilder()final BetaAnalyticsCostItemvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaAnalyticsCostItem.Builderbuilder()Returns a mutable builder for constructing an instance of BetaAnalyticsCostItem. -
-
Method Detail
-
cost
final BetaAnalyticsCostMetrics cost()
Cost for this row.
-
endingAt
final OffsetDateTime endingAt()
End of the period this row covers (exclusive), as an RFC 3339 UTC timestamp: the end of the row's time bucket when a time-bucket width is set; otherwise the requested
ending_at(or, when omitted, the earlier of now andstarting_atplus 31 days) rounded down to the hour, because without a time bucket the report covers whole hours.
-
group
final BetaAnalyticsCostGroup group()
The dimension values this row's cost is broken out by.
-
startingAt
final OffsetDateTime startingAt()
Start of the period this row covers (inclusive), as an RFC 3339 UTC timestamp: the start of the row's time bucket when a time-bucket width is set, otherwise the requested
starting_atrounded down to the hour.
-
_cost
final JsonField<BetaAnalyticsCostMetrics> _cost()
Returns the raw JSON value of cost.
Unlike cost, this method doesn't throw if the JSON field has an unexpected type.
-
_endingAt
final JsonField<OffsetDateTime> _endingAt()
Returns the raw JSON value of endingAt.
Unlike endingAt, this method doesn't throw if the JSON field has an unexpected type.
-
_group
final JsonField<BetaAnalyticsCostGroup> _group()
Returns the raw JSON value of group.
Unlike group, this method doesn't throw if the JSON field has an unexpected type.
-
_startingAt
final JsonField<OffsetDateTime> _startingAt()
Returns the raw JSON value of startingAt.
Unlike startingAt, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaAnalyticsCostItem.Builder toBuilder()
-
validate
final BetaAnalyticsCostItem 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 BetaAnalyticsCostItem.Builder builder()
Returns a mutable builder for constructing an instance of BetaAnalyticsCostItem.
The following fields are required:
.cost() .endingAt() .group() .startingAt()
-
-
-
-