Class EventGuest

Event Guest

Represents a guest of an event.

Methods

Method Return type Brief description
Integer Gets the number of additional people that this guest has said are attending.
String Gets the email address of the guest.
Guest Status Gets the status of the guest for the event.
String Gets the name of the guest.

Detailed documentation

get Additional Guests()

Gets the number of additional people that this guest has said are attending.

Return

Integer — the number of additional people this guest has said are attending

Authorization

Scripts that use this method require authorization with one or more of the following scopes or appropriate scopes from the related REST API :

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

get Email()

Gets the email address of the guest.

Return

String — the guest's email address

Authorization

Scripts that use this method require authorization with one or more of the following scopes or appropriate scopes from the related REST API :

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

get Guest Status()

Gets the status of the guest for the event.

Return

Guest Status — the status of this guest

Authorization

Scripts that use this method require authorization with one or more of the following scopes or appropriate scopes from the related REST API :

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

get Name()

Gets the name of the guest. If the name of the guest is not available, this method returns the guest's email address.

Return

String — the guest's name, or the guest's email address if the name is not available

Authorization

Scripts that use this method require authorization with one or more of the following scopes or appropriate scopes from the related REST API :

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

Deprecated methods

Design a Mobile Site
View Site in Mobile | Classic
Share by: