REST Resource: resources.calendars
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zasób: CalendarResource
Interfejs publiczny API: Resources.calendars
Zapis JSON |
{
"kind": string,
"etags": string,
"resourceName": string,
"resourceDescription": string,
"resourceType": string,
"resourceEmail": string,
"resourceCategory": string,
"userVisibleDescription": string,
"generatedResourceName": string,
"featureInstances": value,
"resourceId": string,
"capacity": integer,
"floorName": string,
"buildingId": string,
"floorSection": string
} |
Pola |
kind |
string
Typ zasobu. W przypadku zasobów kalendarza wartość to admin#directory#resources#calendars#CalendarResource .
|
etags |
string
ETag zasobu.
|
resourceName |
string
Nazwa zasobu kalendarza. Na przykład „Sala konferencyjna 1A”.
|
resourceDescription |
string
Opis zasobu, widoczny tylko dla administratorów.
|
resourceType |
string
Typ zasobu kalendarza przeznaczony do zasobów innych niż sale konferencyjne.
|
resourceEmail |
string
Adres e-mail tylko do odczytu zasobu kalendarza. Generowany w ramach tworzenia nowego zasobu kalendarza.
|
resourceCategory |
string
Kategoria zasobu kalendarza. CONFERENCE_ROOM lub INNE. Dane starsze są ustawione na CATEGORY_UNKNOWN.
|
userVisibleDescription |
string
Opis zasobu, widoczny dla użytkowników i administratorów.
|
generatedResourceName |
string
Automatycznie wygenerowana nazwa zasobu kalendarza tylko do odczytu, która zawiera metadane o zasobie, takie jak nazwa budynku, piętro, pojemność itp. Przykład: „NYC-2-Sala szkoleniowa 1A (16)”.
|
featureInstances |
value (Value format)
Identyfikatory funkcji zasobu kalendarza.
|
resourceId |
string
Unikalny identyfikator zasobu kalendarza.
|
capacity |
integer
Pojemność zasobu, liczba miejsc w sali.
|
floorName |
string
Nazwa piętra, na którym znajduje się zasób.
|
buildingId |
string
Unikalny identyfikator budynku, w którym znajduje się zasób.
|
floorSection |
string
Nazwa sekcji na piętrze, w której znajduje się zasób.
|
Metody |
|
Usuwa zasób kalendarza. |
|
Pobiera zasób kalendarza. |
|
Wstawia zasób kalendarza. |
|
Pobiera listę zasobów kalendarza na koncie. |
|
Wprowadza poprawki w zasobie kalendarza. |
|
Aktualizuje zasób kalendarza. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-24 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-24 UTC."],[],[],null,["# REST Resource: resources.calendars\n\nResource: CalendarResource\n--------------------------\n\nPublic API: Resources.calendars\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"etags\": string, \"resourceName\": string, \"resourceDescription\": string, \"resourceType\": string, \"resourceEmail\": string, \"resourceCategory\": string, \"userVisibleDescription\": string, \"generatedResourceName\": string, \"featureInstances\": value, \"resourceId\": string, \"capacity\": integer, \"floorName\": string, \"buildingId\": string, \"floorSection\": string } ``` |\n\n| Fields ||\n|--------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` The type of the resource. For calendar resources, the value is `admin#directory#resources#calendars#CalendarResource`. |\n| `etags` | `string` ETag of the resource. |\n| `resourceName` | `string` The name of the calendar resource. For example, \"Training Room 1A\". |\n| `resourceDescription` | `string` Description of the resource, visible only to admins. |\n| `resourceType` | `string` The type of the calendar resource, intended for non-room resources. |\n| `resourceEmail` | `string` The read-only email for the calendar resource. Generated as part of creating a new calendar resource. |\n| `resourceCategory` | `string` The category of the calendar resource. Either CONFERENCE_ROOM or OTHER. Legacy data is set to CATEGORY_UNKNOWN. |\n| `userVisibleDescription` | `string` Description of the resource, visible to users and admins. |\n| `generatedResourceName` | `string` The read-only auto-generated name of the calendar resource which includes metadata about the resource such as building name, floor, capacity, etc. For example, \"NYC-2-Training Room 1A (16)\". |\n| `featureInstances` | `value (`[Value](https://protobuf.dev/reference/protobuf/google.protobuf/#value)` format)` Instances of features for the calendar resource. |\n| `resourceId` | `string` The unique ID for the calendar resource. |\n| `capacity` | `integer` Capacity of a resource, number of seats in a room. |\n| `floorName` | `string` Name of the floor a resource is located on. |\n| `buildingId` | `string` Unique ID for the building a resource is located in. |\n| `floorSection` | `string` Name of the section within a floor a resource is located in. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------------------------|--------------------------------------------------------|\n| ### [delete](/workspace/admin/directory/reference/rest/v1/resources.calendars/delete) | Deletes a calendar resource. |\n| ### [get](/workspace/admin/directory/reference/rest/v1/resources.calendars/get) | Retrieves a calendar resource. |\n| ### [insert](/workspace/admin/directory/reference/rest/v1/resources.calendars/insert) | Inserts a calendar resource. |\n| ### [list](/workspace/admin/directory/reference/rest/v1/resources.calendars/list) | Retrieves a list of calendar resources for an account. |\n| ### [patch](/workspace/admin/directory/reference/rest/v1/resources.calendars/patch) | Patches a calendar resource. |\n| ### [update](/workspace/admin/directory/reference/rest/v1/resources.calendars/update) | Updates a calendar resource. |"]]