TimeInterval
Stay organized with collections
Save and categorize content based on your preferences.
JSON representation |
{
"kind": string,
"start": {
object (DateTime )
},
"end": {
object (DateTime )
}
} |
Fields |
kind (deprecated) |
string
Identifies what kind of resource this is. Value: the fixed string "walletobjects#timeInterval" .
|
start |
object (DateTime )
Start time of the interval. Offset is not required. If an offset is provided and end time is set, end must also include an offset.
|
end |
object (DateTime )
End time of the interval. Offset is not required. If an offset is provided and start time is set, start must also include an offset.
|
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 2024-10-23 UTC.
[null,null,["Last updated 2024-10-23 UTC."],[[["\u003cp\u003eJSON representation defines a time interval with a start and end time.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ekind\u003c/code\u003e field is deprecated and was used to identify the resource type.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003estart\u003c/code\u003e and \u003ccode\u003eend\u003c/code\u003e fields represent the start and end times of the interval, respectively, using the DateTime object.\u003c/p\u003e\n"],["\u003cp\u003eOffsets in \u003ccode\u003estart\u003c/code\u003e and \u003ccode\u003eend\u003c/code\u003e are optional but must be consistent if used in either field.\u003c/p\u003e\n"]]],["The JSON representation defines a time interval with `start` and `end` time objects, both referencing a `DateTime` schema. The `kind` field, a string, is deprecated. If an offset is provided for the `start` time, an offset must also be included in the `end` time, and vice-versa. Both the `start` and `end` fields are optional for offset inclusion.\n"],null,["# TimeInterval\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"start\": { object (/wallet/reference/rest/v1/DateTime) }, \"end\": { object (/wallet/reference/rest/v1/DateTime) } } ``` |\n\n| Fields ||\n|-------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` **(deprecated)** | `string` | This item is deprecated! Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#timeInterval\"`. |\n| `start` | `object (`[DateTime](/wallet/reference/rest/v1/DateTime)`)` Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. |\n| `end` | `object (`[DateTime](/wallet/reference/rest/v1/DateTime)`)` End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. |"]]