代表活動的邀請對象。
方法
| 方法 | 傳回類型 | 簡短說明 | 
|---|---|---|
get | Integer | 取得這位房客表示會參加的額外人數。 | 
get | String | 取得訪客的電子郵件地址。 | 
get | Guest | 取得活動邀請對象的狀態。 | 
get | String | 取得訪客的名稱。 | 
內容詳盡的說明文件
get Additional Guests()
取得這位房客表示會參加的額外人數。
回攻員
Integer:這位客人表示會參加的額外人數
授權
使用這個方法的腳本需要具備下列一或多個範圍的授權,或是相關 REST API 中的適當範圍:
- 
https://www.googleapis.com/auth/calendar - 
https://www.googleapis.com/auth/calendar.readonly - 
https://www.google.com/calendar/feeds 
get Email()
取得訪客的電子郵件地址。
回攻員
String:訪客的電子郵件地址
授權
使用這個方法的腳本需要具備下列一或多個範圍的授權,或是相關 REST API 中的適當範圍:
- 
https://www.googleapis.com/auth/calendar - 
https://www.googleapis.com/auth/calendar.readonly - 
https://www.google.com/calendar/feeds 
get Guest Status()
取得活動邀請對象的狀態。
回攻員
Guest:這位房客的狀態
授權
使用這個方法的腳本需要具備下列一或多個範圍的授權,或是相關 REST API 中的適當範圍:
- 
https://www.googleapis.com/auth/calendar - 
https://www.googleapis.com/auth/calendar.readonly - 
https://www.google.com/calendar/feeds 
get Name()
取得訪客的名稱。如果無法取得訪客的名稱,這個方法會傳回訪客的電子郵件地址。
回攻員
String:訪客的姓名,如果沒有姓名,則為電子郵件地址
授權
使用這個方法的腳本需要具備下列一或多個範圍的授權,或是相關 REST API 中的適當範圍:
- 
https://www.googleapis.com/auth/calendar - 
https://www.googleapis.com/auth/calendar.readonly - 
https://www.google.com/calendar/feeds