interface
Source: metadata.ts ↗
v1.PublisherRelativePeriodV2
The period the document reports on, in the date filter grammar without a dataset. Numbers for from and to make it relative; dates make it absolute. Both ends are inclusive.
export interface PublisherRelativePeriodV2
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
number | Offset from the current period, for example -1. | ||
“SECOND” | “MINUTE” | “HOUR” | “DAY” | “WEEK_US” | “MONTH” | “QUARTER” | “YEAR” | “FISCAL_YEAR” | “FISCAL_QUARTER” | “FISCAL_MONTH” | |||
number | Offset from the current period, for example -1. |
Property details
v1.PublisherRelativePeriodV2.fromproperty
Offset from the current period, for example -1.
from: number;
v1.PublisherRelativePeriodV2.granularityproperty
granularity: "SECOND" | "MINUTE" | "HOUR" | "DAY" | "WEEK_US" | "MONTH" | "QUARTER" | "YEAR" | "FISCAL_YEAR" | "FISCAL_QUARTER" | "FISCAL_MONTH";
v1.PublisherRelativePeriodV2.toproperty
Offset from the current period, for example -1.
to: number;