ServicePeriod
Stay organized with collections
Save and categorize content based on your preferences.
A description of what time period or moment in time the product or service is being delivered over.
JSON representation |
{
"startTime": string,
"endTime": string
} |
Fields |
startTime |
string (Timestamp format)
Required. The start time of the service period. Time is inclusive. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30" .
|
endTime |
string (Timestamp format)
Optional. The end time of the service period. Time is exclusive. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30" .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-26 UTC.
[null,null,["Last updated 2025-03-26 UTC."],[[["\u003cp\u003eThe JSON representation describes a service period using \u003ccode\u003estartTime\u003c/code\u003e and \u003ccode\u003eendTime\u003c/code\u003e fields.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003estartTime\u003c/code\u003e is required and represents the inclusive start time of the service period in RFC3339 UTC "Zulu" format.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eendTime\u003c/code\u003e is optional and represents the exclusive end time of the service period, also in RFC3339 UTC "Zulu" format.\u003c/p\u003e\n"]]],["The content describes a service period using a JSON format with `startTime` and `endTime` fields. `startTime` (required) is a string representing the inclusive start of the period, formatted as a Timestamp (RFC 3339). `endTime` (optional) is a string for the exclusive end of the period, also in Timestamp format (RFC 3339). The timestamps are Z-normalized with fractional digits and can also accept other offsets.\n"],null,["# ServicePeriod\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nA description of what time period or moment in time the product or service is being delivered over.\n\n| JSON representation |\n|----------------------------------------------------|\n| ``` { \"startTime\": string, \"endTime\": string } ``` |\n\n| Fields ||\n|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `startTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Required. The start time of the service period. Time is inclusive. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `endTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Optional. The end time of the service period. Time is exclusive. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |"]]