Class EventGuest

EventGuest

代表活動的邀請對象。

方法

方法傳回類型簡短說明
getAdditionalGuests()Integer取得這位訪客表示會出席的額外人數。
getEmail()String取得訪客的電子郵件地址。
getGuestStatus()GuestStatus取得活動邀請對象的狀態。
getName()String取得訪客姓名。

內容詳盡的說明文件

getAdditionalGuests()

取得這位訪客表示會出席的額外人數。

回攻員

Integer:這位房客表示會額外攜帶的人數

授權

使用這個方法的指令碼需要透過下列一或多個範圍相關 REST API 中的適當範圍授權:

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

getEmail()

取得訪客的電子郵件地址。

回攻員

String:訪客的電子郵件地址

授權

使用這個方法的指令碼需要透過下列一或多個範圍相關 REST API 中的適當範圍授權:

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

getGuestStatus()

取得活動邀請對象的狀態。

回攻員

GuestStatus:這位房客的狀態

授權

使用這個方法的指令碼需要透過下列一或多個範圍相關 REST API 中的適當範圍授權:

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

getName()

取得訪客姓名。如果無法取得邀請對象的名稱,這個方法會傳回邀請對象的電子郵件地址。

回攻員

String - 邀請對象的名稱,如果沒有名稱,則為電子郵件地址

授權

使用這個方法的指令碼需要透過下列一或多個範圍相關 REST API 中的適當範圍授權:

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

已淘汰的方法