Colors
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इस संसाधन के लिए उपलब्ध तरीकों की सूची देखने के लिए, इस पेज के आखिर में देखें.
संसाधन निरूपण
{
"kind": "calendar#colors",
"updated": datetime,
"calendar": {
(key): {
"background": string,
"foreground": string
}
},
"event": {
(key): {
"background": string,
"foreground": string
}
}
}
प्रॉपर्टी का नाम |
मान |
ब्यौरा |
नोट |
calendar |
object |
कैलेंडर के रंगों का ग्लोबल पैलेट, रंग आईडी से लेकर इसकी परिभाषा तक मैप करना. calendarListEntry संसाधन, अपने colorId फ़ील्ड में इनमें से किसी एक कलर आईडी के बारे में बताता है. सिर्फ़ पढ़ने के लिए. |
|
calendar.(key) |
nested object |
कैलेंडर के रंग की परिभाषा. |
|
calendar.(key).background |
string |
रंग की इस परिभाषा से जुड़ा बैकग्राउंड रंग. |
|
calendar.(key).foreground |
string |
फ़ोरग्राउंड का रंग, जिसका इस्तेमाल 'बैकग्राउंड' की मदद से बैकग्राउंड पर लिखने के लिए किया जा सकता है रंग. |
|
event |
object |
इवेंट के रंगों का ग्लोबल पैलेट, जो कलर आईडी से उसकी परिभाषा तक मैप करता है. event संसाधन अपने colorId फ़ील्ड में, इनमें से किसी कलर आईडी का इस्तेमाल कर सकता है. सिर्फ़ पढ़ने के लिए. |
|
event.(key) |
nested object |
इवेंट के रंग की परिभाषा. |
|
event.(key).background |
string |
रंग की इस परिभाषा से जुड़ा बैकग्राउंड रंग. |
|
event.(key).foreground |
string |
फ़ोरग्राउंड का रंग, जिसका इस्तेमाल 'बैकग्राउंड' की मदद से बैकग्राउंड पर लिखने के लिए किया जा सकता है रंग. |
|
kind |
string |
संसाधन का टाइप ("calendar#colors "). |
|
updated |
datetime |
रंग पटल में पिछली बार बदलाव करने का समय (RFC3339 टाइमस्टैंप के तौर पर). सिर्फ़ पढ़ने के लिए. |
|
तरीके
- पाएं
- कैलेंडर और इवेंट के लिए रंग की परिभाषाएं दिखाता है.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# Colors\n\n\u003cbr /\u003e\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\n\nResource representations\n------------------------\n\n\u003cbr /\u003e\n\n```verilog\n{\n \"kind\": \"calendar#colors\",\n \"updated\": datetime,\n \"calendar\": {\n (key): {\n \"background\": string,\n \"foreground\": string\n }\n },\n \"event\": {\n (key): {\n \"background\": string,\n \"foreground\": string\n }\n }\n}\n```\n\n| Property name | Value | Description | Notes |\n|-----------------------------|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `calendar` | `object` | A global palette of calendar colors, mapping from the color ID to its definition. A `calendarListEntry` resource refers to one of these color IDs in its `colorId` field. Read-only. | |\n| calendar.`(key)` | `nested object` | A calendar color definition. | |\n| calendar.(key).`background` | `string` | The background color associated with this color definition. | |\n| calendar.(key).`foreground` | `string` | The foreground color that can be used to write on top of a background with 'background' color. | |\n| `event` | `object` | A global palette of event colors, mapping from the color ID to its definition. An `event` resource may refer to one of these color IDs in its `colorId` field. Read-only. | |\n| event.`(key)` | `nested object` | An event color definition. | |\n| event.(key).`background` | `string` | The background color associated with this color definition. | |\n| event.(key).`foreground` | `string` | The foreground color that can be used to write on top of a background with 'background' color. | |\n| `kind` | `string` | Type of the resource (\"`calendar#colors`\"). | |\n| `updated` | `datetime` | Last modification time of the color palette (as a [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp). Read-only. | |\n\nMethods\n-------\n\n[get](/workspace/calendar/api/v3/reference/colors/get)\n: Returns the color definitions for calendars and events."]]