Resources.calendars: insert

Requires authorization

Inserts a calendar resource. Try it now.

Request

HTTP request

POST https://www.googleapis.com/admin/directory/v1/customer/customer/resources/calendars

Parameters

Parameter name Value Description
Path parameters
customer string The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/admin.directory.resource.calendar

Request body

In the request body, supply a Resources.calendars resource with the following properties:

Property name Value Description Notes
Required Properties
resourceId string The unique ID for the calendar resource.
resourceName string The name of the calendar resource. For example, "Training Room 1A". writable
Optional Properties
buildingId string Unique ID for the building a resource is located in. writable
capacity integer Capacity of a resource, number of seats in a room. writable
featureInstances string Instances of features for the calendar resource. writable
floorName string Name of the floor a resource is located on. writable
floorSection string Name of the section within a floor a resource is located in. writable
resourceCategory string The category of the calendar resource. Either CONFERENCE_ROOM or OTHER. Legacy data is set to CATEGORY_UNKNOWN.

Acceptable values are:
  • "CATEGORY_UNKNOWN"
  • "CONFERENCE_ROOM"
  • "OTHER"
writable
resourceDescription string Description of the resource, visible only to admins. writable
resourceType string The type of the calendar resource, intended for non-room resources. writable
userVisibleDescription string Description of the resource, visible to users and admins. writable

Response

If successful, this method returns a Resources.calendars resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Enviar comentarios sobre…

¿Necesitas ayuda? Visita nuestra página de asistencia.