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 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],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."]]