Colors
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bu kaynağa yönelik yöntem listesi için bu sayfanın sonuna bakın.
Kaynak temsilleri
{
"kind": "calendar#colors",
"updated": datetime,
"calendar": {
(key): {
"background": string,
"foreground": string
}
},
"event": {
(key): {
"background": string,
"foreground": string
}
}
}
Mülk adı |
Değer |
Açıklama |
Notlar |
calendar |
object |
Renk kimliğinden tanımına eşlenen genel takvim renkleri paleti. calendarListEntry kaynağı, colorId alanında bu renk kimliklerinden birini belirtir. Salt okunur. |
|
calendar.(key) |
nested object |
Takvim rengi tanımı. |
|
calendar.(key).background |
string |
Bu renk tanımıyla ilişkilendirilen arka plan rengi. |
|
calendar.(key).foreground |
string |
"Arka plan" bulunan bir arka planın üzerine yazı yazmak için kullanılabilecek ön plan rengi rengi. |
|
event |
object |
Renk kimliğinden tanımına eşlenen etkinlik renklerinin genel bir paleti. Bir event kaynağı, colorId alanında bu renk kimliklerinden birine başvuruda bulunabilir. Salt okunur. |
|
event.(key) |
nested object |
Etkinlik rengi tanımı. |
|
event.(key).background |
string |
Bu renk tanımıyla ilişkilendirilen arka plan rengi. |
|
event.(key).foreground |
string |
"Arka plan" bulunan bir arka planın üzerine yazı yazmak için kullanılabilecek ön plan rengi rengi. |
|
kind |
string |
Kaynak türü ("calendar#colors "). |
|
updated |
datetime |
Renk paletinin son değiştirme zamanı (RFC3339 zaman damgası olarak). Salt okunur. |
|
Yöntemler
- al
- Takvimlerin ve etkinliklerin renk tanımlarını döndürür.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 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."]]