CreateEventSchema#

class langchain_google_community.calendar.create_event.CreateEventSchema[source]#

Bases: BaseModel

Input for CalendarCreateEvent.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

param attendees: List[str] | None = None#

A list of attendees’ email addresses for the event.

param calendar_id: str = 'primary'#

The calendar ID to create the event in.

param color_id: str | None = None#

The color ID of the event. None for default. ‘1’: Lavender, ‘2’: Sage, ‘3’: Grape, ‘4’: Flamingo, ‘5’: Banana, ‘6’: Tangerine, ‘7’: Peacock, ‘8’: Graphite, ‘9’: Blueberry, ‘10’: Basil, ‘11’: Tomato.

param conference_data: bool | None = None#

Whether to include conference data.

param description: str | None = None#

The description of the event.

param end_datetime: str [Required]#

The end datetime for the event in ‘YYYY-MM-DD HH:MM:SS’ format. If the event is an all-day event, set the time to ‘YYYY-MM-DD’ format.

param location: str | None = None#

The location of the event.

param recurrence: Dict[str, Any] | None = None#

The recurrence of the event. Format: {‘FREQ’: <’DAILY’ or ‘WEEKLY’>, ‘INTERVAL’: <number>, ‘COUNT’: <number or None>, ‘UNTIL’: <’YYYYMMDD’ or None>, ‘BYDAY’: <’MO’, ‘TU’, ‘WE’, ‘TH’, ‘FR’, ‘SA’, ‘SU’ or None>}. Use either COUNT or UNTIL, but not both; set the other to None.

param reminders: None | bool | List[Dict[str, Any]] = None#

Reminders for the event. Set to True for default reminders, or provide a list like [{‘method’: ‘email’, ‘minutes’: <minutes>}, …]. Valid methods are ‘email’ and ‘popup’.

param start_datetime: str [Required]#

The start datetime for the event in ‘YYYY-MM-DD HH:MM:SS’ format.If the event is an all-day event, set the time to ‘YYYY-MM-DD’ format.If you do not know the current datetime, use the tool to get it.

param summary: str [Required]#

The title of the event.

param timezone: str [Required]#

The timezone of the event.

param transparency: str | None = None#

User availability for the event.transparent for available and opaque for busy.