L'API
Google Business Performance ha un metodo
NOVITÀ che consente di recuperare più `dailyMetrics` in un'unica richiesta API.
Consulta il
calendario del ritiro e le istruzioni per eseguire la migrazione dal metodo API ReportInsights della versione 4 all'API Performance di Google Profilo.
TimeRange
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Un intervallo di tempo. I dati verranno estratti nell'intervallo come inverval semiaperto (ovvero [startTime, endTime)).
Rappresentazione JSON |
{
"startTime": string,
"endTime": string
} |
Campi |
startTime |
string (Timestamp format)
Timestamp dell'inizio dell'intervallo (incluso). Un timestamp nel formato RFC3339 UTC "Zulu" con risoluzione in nanosecondi e fino a nove cifre frazionarie. Esempi: "2014-10-02T15:01:23Z" e "2014-10-02T15:01:23.045123456Z" .
|
endTime |
string (Timestamp format)
Timestamp per la fine dell'intervallo (escluso). Un timestamp nel formato RFC3339 UTC "Zulu" con risoluzione in nanosecondi e fino a nove cifre frazionarie. Esempi: "2014-10-02T15:01:23Z" e "2014-10-02T15:01:23.045123456Z" .
|
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 2025-07-25 UTC."],[[["\u003cp\u003eThe Time Range is defined by a start and end time, represented in JSON format using the \u003ccode\u003estartTime\u003c/code\u003e and \u003ccode\u003eendTime\u003c/code\u003e fields.\u003c/p\u003e\n"],["\u003cp\u003eData is extracted within a half-open interval, including the \u003ccode\u003estartTime\u003c/code\u003e but excluding the \u003ccode\u003eendTime\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eBoth \u003ccode\u003estartTime\u003c/code\u003e and \u003ccode\u003eendTime\u003c/code\u003e utilize the RFC3339 UTC "Zulu" format with nanosecond resolution for precision.\u003c/p\u003e\n"],["\u003cp\u003eThe Time Range leverages Google Protocol Buffers' Timestamp format for consistent and standardized representation.\u003c/p\u003e\n"]]],["Data is retrieved over a time range defined by a half-open interval, \\[startTime, endTime). The JSON representation includes `startTime` and `endTime` fields, both strings in RFC3339 UTC \"Zulu\" timestamp format. `startTime` marks the inclusive beginning of the range, and `endTime` marks the exclusive end. These timestamps use nanosecond resolution with up to nine fractional digits, as demonstrated by the given examples.\n"],null,["# TimeRange\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nA range of time. Data will be pulled over the range as a half-open inverval (that is, \\[startTime, endTime)).\n\n| JSON representation ||\n|----------------------------------------------------|---|\n| ``` { \"startTime\": string, \"endTime\": string } ``` |\n\n| Fields ||\n|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `startTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` Epoch timestamp for the start of the range (inclusive). A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n| `endTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` Epoch timestamp for the end of the range (exclusive). A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |"]]