|
廃止 |
|
2010/08/10 |
|
getGuests |
String[ ] |
すべてのゲストのメールアドレスを取得する |
|
getGuestsStatus |
EventGuest [ ] |
getGuestListと同義語 |
|
addLocation |
CalendarEvent |
setLocationと同義語 |
|
getSummary |
String |
getTitleと同義語 |
|
setSummary |
CalendarEvent |
setTitleと同義語 |
| Arguments : |
| name | Type | 説明 |
|
minutes | int |
イベントのどのくらい前に通知を送信するか |
addSmsReminder(minutes)
| Arguments : |
| name | Type | 説明 |
|
minutes | int |
イベントのどのくらい前に通知を送信するか |
anyoneCanAddSelf()
| 戻り値 : |
| Type | 説明 |
|
bool |
ゲストとして自身を追加できるか確認する
|
deleteTag(key)
| Arguments : |
| name | Type | 説明 |
|
key | String |
タグを削除するためのキー |
getAllTagKeys()
| 戻り値 : |
| Type | 説明 |
|
String [ ] |
キーの配列
|
getCreators()
| 戻り値 : |
| Type | 説明 |
|
String [ ] |
イベント作成者の配列
|
getDateCreated()
| 戻り値 : |
| Type | 説明 |
|
Date |
このイベントが作成された日付
|
getDescription()
| 戻り値 : |
| Type | 説明 |
|
String |
イベントの説明
|
| サンプル : |
// The code below will retrieve all the events for the users default calendar and
// provide the description of the first event
var cal = CalendarApp.getDefaultCalendar();
var events = cal.getEvents(new Date("July 21, 2009 EST"), new Date("July 22, 2009 EST"));
Browser.msgBox(events[0].getDescription());
|
getEmailReminders()
| 戻り値 : |
| Type | 説明 |
|
int [ ] |
お知らせメールのインデックスの配列
|
getGuestByEmail(email)
| Arguments : |
| name | Type | 説明 |
|
email | String |
ゲストのメール |
getGuestList()
getId()
| 戻り値 : |
| Type | 説明 |
|
String |
イベントのID
|
getLastUpdated()
| 戻り値 : |
| Type | 説明 |
|
Date |
イベントが更新された最終日
|
getLocation()
| 戻り値 : |
| Type | 説明 |
|
String |
イベントの地理的位置
|
getMyStatus()
| 戻り値 : |
| Type | 説明 |
|
GuestStatus |
ユーザー会議のステータス
|
| 戻り値 : |
| Type | 説明 |
|
int |
ポップアップアラームのインデックスの配列
|
getSmsReminders()
| 戻り値 : |
| Type | 説明 |
|
int [ ] |
SMS通知のインデックスの配列
|
getSummary()
| 戻り値 : |
| Type | 説明 |
|
String |
イベントの概要
|
| サンプル : |
// The code below will retrieve all the events for the users default calendar and
// display the "summary" of the first event
var cal = CalendarApp.getDefaultCalendar();
var events = cal.getEvents(new Date("July 21, 2009 EST"), new Date("July 22, 2009 EST"));
Browser.msgBox(events[0].getSummary());
|
getTag(key)
| Arguments : |
| name | Type | 説明 |
|
key | String |
タグの値を回収するためのキー |
getTitle()
| 戻り値 : |
| Type | 説明 |
|
String |
イベントのタイトル
|
| サンプル : |
// The code below will retrieve all the events for the users default calendar and
// display the "title" of the first event
var cal = CalendarApp.getDefaultCalendar();
var events = cal.getEvents(new Date("July 21, 2009 EST"), new Date("July 22, 2009 EST"));
Browser.msgBox(events[0].getTitle());
|
getVisibility()
| 戻り値 : |
| Type | 説明 |
|
Visibility |
列挙型の値の範囲
|
guestsCanInviteOthers()
| 戻り値 : |
| Type | 説明 |
|
Boolean |
trueならばゲストは他の人を招待できる
|
guestsCanModify()
| 戻り値 : |
| Type | 説明 |
|
bool |
trueならばゲストはイベントを変更できる
|
guestsCanSeeGuests()
| 戻り値 : |
| Type | 説明 |
|
Boolean |
trueならばゲストリストが表示されている
|
isOwnedByMe()
| 戻り値 : |
| Type | 説明 |
|
Boolean |
trueならばカレントユーザーが所有者
|
removeAllReminders
removeGuest(email)
| Arguments : |
| name | Type | 説明 |
|
email | String |
ゲストのメール |
resetRemindersToDefault()
setAnyoneCanAddSelf(value)
| Arguments : |
| name | Type | 説明 |
|
value | bool |
自分自身を招待できるかどうか |
setDescription(description)
| Arguments : |
| name | Type | 説明 |
|
description | String |
イベントの新しい説明 |
setGuestsCanInviteOthers(value)
| Arguments : |
| name | Type | 説明 |
|
value | bool |
ゲストが他人を招待できるかどうか |
setGuestsCanModify(value)
| Arguments : |
| name | Type | 説明 |
|
value | bool |
ゲストがイベントを変更できるかどうか |
setGuestsCanSeeGuests(value)
| Arguments : |
| name | Type | 説明 |
|
value | bool |
ゲストがゲストリスト閲覧ができるかどうか |
setLocation(location)
| Arguments : |
| name | Type | 説明 |
|
location | String |
イベントの新しい場所 |
setMyStatus(status)
-
イベントにおけるカレントユーザーのステータスを設定する
自分の所有していないイベントに自分のステータスを設定すしたり、自分独自のイベントを設定することはできない
( 参考 :getMyStatus)
| Arguments : |
| name | Type | 説明 |
|
status | GuestStatus |
自分の新しいステータス |
setTag(key, value)
-
イベントにおけるカレントユーザーのステータスを設定する
カレンダーではユーザーが任意のキーを追加できる:値は任意のイベントとのペア:このデータはカレンダーのユーザーインターフェイスには表示されない
( 参考 :getTag,deleteTag)
| Arguments : |
| name | Type | 説明 |
|
key | String |
タグ値を作成したり上書きするためのキー |
|
value | String |
新しい値 |
setTitle(title)
| Arguments : |
| name | Type | 説明 |
|
title | String |
新しいイベントのタイトル |
setVisibility(visibility)
| Arguments : |
| name | Type | 説明 |
|
visibility | Visibility |
新しい可視性の値 |
addEmailReminder(minutes)
| Arguments : |
| name | Type | 説明 |
|
minutes | int |
どのくらい前にイベント通知を送信するか |
addGuest(email)
| Arguments : |
| name | Type | 説明 |
|
email | String |
ゲストのメールアドレス |
| サンプル : |
// The code below will retrieve all events in the users default calendar
// and add a new guest to the first event
var cal = CalendarApp.getDefaultCalendar();
var events = cal.getEvents(new Date("July 21, 2009 EST"), new Date("July 22, 2009 EST"));
events[0].addGuest("karen@example.com");
|
deleteEvent()
getEndTime()
| 戻り値 : |
| Type | 説明 |
|
Date |
イベント終了の時刻
|
| サンプル : |
// The code below will retrieve all the events for the users default calendar and
// provide the "end time" of the first event
var cal = CalendarApp.getDefaultCalendar();
var events = cal.getEvents(new Date("July 21, 2009 EST"), new Date("July 22, 2009 EST"));
Browser.msgBox(events[0].getEndTime());
|
getEventSeries()
-
このイベントが属するCalendarEventSeriesを取得する
getStartTime()
| 戻り値 : |
| Type | 説明 |
|
Date |
イベントの開始時刻
|
| サンプル : |
// The code below will retrieve all the events for the users default calendar and
// provide the "start time" of the first event
var cal = CalendarApp.getDefaultCalendar();
var events = cal.getEvents(new Date("July 21, 2009 EST"), new Date("July 22, 2009 EST"));
Browser.msgBox(events[0].getStartTime());
|
isAllDayEvent()
| 戻り値 : |
| Type | 説明 |
|
Boolean |
trueならば終日のイベント
|
setAllDayDate(date)
| Arguments : |
| name | Type | 説明 |
|
date | Date |
イベントのある日の日付 |
setTime(startTime, endTime)
| Arguments : |
| name | Type | 説明 |
|
startTime | Date |
新しい開始時刻 |
|
endTime | Date |
新しい終了時刻 |
getGuests() 廃止-2010/08/10
| 戻り値 : |
| Type | 説明 |
|
String [ ] |
イベントゲストのメール
|
getGuestsStatus() 廃止-2010/08/10
| 戻り値 : |
| Type | 説明 |
|
EventGuest[ ] |
イベントのゲスト
|
addLocation(location) 廃止-2010/08/10
| Arguments : |
| name | Type | 説明 |
|
location | String |
新しいイベントの場所 |
| 戻り値 : |
| Type | 説明 |
|
CalendarEvent |
イベント
|
getSummary() 廃止-2010/08/10
| 戻り値 : |
| Type | 説明 |
|
String |
イベントタイトル
|
setSummary(summary) 廃止-2010/08/10
| Arguments : |
| name | Type | 説明 |
|
summary | String |
新しいイベントのタイトル |
|