Colors
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
이 리소스에 대한 메소드 목록은 이 페이지의 하단에 나와 있습니다.
리소스 표현
{
"kind": "calendar#colors",
"updated": datetime,
"calendar": {
(key): {
"background": string,
"foreground": string
}
},
"event": {
(key): {
"background": string,
"foreground": string
}
}
}
속성 이름 |
값 |
설명 |
참고 |
calendar |
object |
색상 ID에서 정의로 매핑되는 캘린더 색상의 글로벌 팔레트입니다. calendarListEntry 리소스는 colorId 필드에서 이러한 색상 ID 중 하나를 참조합니다. 읽기 전용입니다. |
|
calendar.(key) |
nested object |
캘린더 색상 정의입니다. |
|
calendar.(key).background |
string |
이 색상 정의와 연결된 배경 색상입니다. |
|
calendar.(key).foreground |
string |
'배경'을 사용하여 배경 위에 쓰는 데 사용할 수 있는 전경 색상 color[색상] |
|
event |
object |
색상 ID에서 정의로 매핑되는 이벤트 색상의 글로벌 팔레트입니다. event 리소스는 colorId 필드에서 이러한 색상 ID 중 하나를 참조할 수 있습니다. 읽기 전용입니다. |
|
event.(key) |
nested object |
일정 색상 정의입니다. |
|
event.(key).background |
string |
이 색상 정의와 연결된 배경 색상입니다. |
|
event.(key).foreground |
string |
'배경'을 사용하여 배경 위에 쓰는 데 사용할 수 있는 전경 색상 color[색상] |
|
kind |
string |
리소스의 유형('calendar#colors ')입니다. |
|
updated |
datetime |
색상 팔레트의 마지막 수정 시간 (RFC3339 타임스탬프)입니다. 읽기 전용입니다. |
|
메서드
- get
- 캘린더 및 일정의 색상 정의를 반환합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 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."]]