CData Sync App は、Google Calendar データをデータベース、データレイク、またはデータウェアハウスに継続的にパイプライン化する簡単な方法を提供し、分析、レポート、AI、および機械学習で簡単に利用できるようにします。
Google Calendar コネクタはCData Sync アプリケーションから使用可能で、Google Calendar からデータを取得して、サポートされている任意の同期先に移動できます。
Sync AppはGoogle Calendar API のバージョン3 をデフォルトとしています。
必須プロパティについては、設定タブを参照してください。
通常必須ではない接続プロパティについては、高度な設定タブを参照してください。
Sync App は、認証にユーザーアカウントおよびGCP インスタンスアカウントの使用をサポートします。
以下のセクションでは、Google Calendar の利用可能な認証スキームについて説明します。
AuthScheme は、すべてのユーザーアカウントフローでOAuth に設定する必要があります。
OAuth アクセストークンの取得
次の接続プロパティを設定し、OAuthAccessToken を取得します。
続いてストアドプロシージャを呼び出し、OAuth 交換を完了します。
アクセストークンとリフレッシュトークンを取得すると、データに接続し、OAuth アクセストークンを自動または手動でリフレッシュすることができるようになります。
OAuth アクセストークンの自動リフレッシュ
ドライバーがOAuth アクセストークンを自動的にリフレッシュするようにするには、最初のデータ接続で次のように設定します。
OAuth アクセストークンの手動リフレッシュ
データ接続時に手動でOAuth アクセストークンをリフレッシュするために必要な値は、OAuth リフレッシュトークンのみです。
GetOAuthAccessToken によって返されたExpiresIn パラメータ値が経過した後に、RefreshOAuthAccessToken ストアドプロシージャを使用し、手動でOAuthAccessToken をリフレッシュします。次の接続プロパティを設定します。
次に、RefreshOAuthAccessToken を呼び出し、OAuthRefreshToken にGetOAuthAccessToken によって返されたOAuth リフレッシュトークンを指定します。新しいトークンが取得できたら、OAuthAccessToken プロパティにRefreshOAuthAccessToken によって返された値を設定し、新しい接続をオープンします。
最後に、OAuth リフレッシュトークンを保存し、OAuth アクセストークンの有効期限が切れた後に手動でリフレッシュできるようにします。
オプション1:Verifier code を取得および交換
Verifier code を取得するには、OAuth Authorization URL で認証する必要があります。
インターネットブラウザに対応したマシンから認証してOAuthVerifier 接続プロパティを取得する方法は次のとおりです。
ヘッドレスマシンでは、次の接続プロパティを設定してOAuth 認証値を取得します。
OAuth 設定ファイルが生成されたら、以下のように接続プロパティをリセットする必要があります。
オプション2:OAuth 設定を転送
ヘッドレスマシンでの接続に先立ち、インターネットブラウザに対応したデバイスでドライバとの接続を作成し、インストールする必要があります。上述の「デスクトップアプリケーション」の説明に従って、接続プロパティを設定します。
「デスクトップアプリケーション」の手順が完了すると、生成された認証値は、OAuthSettingsLocation で指定された場所に暗号化されて書き込まれます。デフォルトのファイル名はOAuthSettings.txt です。
接続が正常にテストされたら、OAuth 設定ファイルをヘッドレスマシンにコピーします。
ヘッドレスマシンで、次の接続プロパティを設定し、データに接続します。
GCP 仮想マシン上で実行している場合は、Sync App は仮想マシンに関連付けられたサービスアカウントを使用して認証できます。 このモードを使用するには、AuthScheme をGCPInstanceAccount に設定します。
これらの権限はアクセススコープによって定義され、アプリケーションがアクセス可能なデータと実行可能なアクションを決定します。
このトピックでは、Google Calendar プロバイダーに必要なアクセススコープとエンドポイントドメインについての情報を提供します。
スコープは、ユーザーのデータへのアプリケーションによるアクセスを制限するための手段です。これは、アプリケーションがユーザーに代わって実行できる特定のアクションを定義します。
例えば、読み取り専用スコープではアプリケーションにデータの閲覧を許可し、フルアクセススコープではデータの変更を許可することができます。
| スコープ | 説明 |
| googleapis.com/auth/calendar | Google Calendar は読み取り専用のスコープを提供しますが、ドライバーはフルスコープのみを対象にします。このスコープは、読み書き権限のフルアクセスに必要です。 |
| googleapis.com/auth/calendar.events | このスコープは、読み取り専用アクセスに必要です。 |
エンドポイントドメインとは、アプリケーションが認証、レコードの取得、その他の重要な操作を実行するために通信する必要がある特定のURL を指します。
これらのドメインを許可することで、アプリケーションとAPI 間のネットワークトラフィックがファイアウォールやセキュリティ設定によってブロックされることがなくなります。
Note: ほとんどのユーザーは特別な設定をする必要はありません。許可リストは通常、送信ネットワークトラフィックの制限など、厳格なセキュリティ対策が施された環境でのみ必要となります。
| ドメイン | 常に必須 | 説明 |
| accounts.google.com | TRUE | OAuth に使用するサブドメイン。 |
| googleapis.com | TRUE | 各種サービスへのアクセスに使用するドメイン。 |
このセクションでは、Google Calendar Sync App の高度な機能を厳選して説明します。
Sync App はユーザー定義ビューの使用をサポートします。これは事前設定されたユーザー定義クエリによって内容が決定される仮想テーブルです。 このビューは、ドライバーに発行されるクエリを直接制御できない場合に有効です。 カスタムビューの作成と設定の概要については、ユーザー定義ビュー を参照してください。
SSL の設定 を使用して、Sync App が証明書のネゴシエーションをどのように扱うかを調整します。さまざまな証明書形式を選択できます。詳しくは、「接続文字列オプション」にあるSSLServerCert プロパティを参照してください。
Windows プロキシとHTTP プロキシを含むファイアウォールとプロキシ に合致するようSync App を設定します。トンネル接続を設定することもできます。
詳しくは、クエリ処理 を参照してください。
デフォルトでは、Sync App はサーバーとのTLS のネゴシエーションを試みます。サーバー証明書は、デフォルトのシステム信頼済み証明書ストアで検証されます。SSLServerCert 接続プロパティを使用して、証明書の検証方法をオーバーライドできます。
別の証明書を指定するには、SSLServerCert 接続プロパティを参照してください。
HTTP プロキシへの認証には、以下のように設定します。
次のプロパティを設定します。
CData Sync App は、Google Calendar API をリレーショナルテーブル、ビュー、およびストアドプロシージャにモデル化します。 Sync App は、Google Calendar API を使用してサポートされているフィルタを処理します。その他のフィルタは、Sync App 内でクライアント側で処理されます。
Sync App はアカウントにアクセス可能なカレンダーのテーブル定義を動的に取得します。テーブル は、サンプルカレンダーのカラムと、カレンダーのリスト、作成、変更、削除に使用できるCalendars テーブルについて説明します。
ビュー は、カレンダーの別の側面を表すGoogle Calendar のいくつかの追加的なメタデータ情報を提供します。
ストアドプロシージャ は、データソースのファンクションライクなインターフェースです。
イベントとその関連エンティティをEventsAttachments、AllCalendars、またはダイナミックイベントテーブルを通じて扱う場合、デフォルトではシングルイベントと定期的なイベント(例外)のみが含まれ、定期的なイベントのインスタンスは含まれません。この動作を変更するには、EventsScope を使用します。
Note:例外とは、親となる定期的なイベントと何らかの点で異なる定期的なイベントのインスタンスです。
Note:シングルイベントは非定期的なイベントです。
イベントとその関連エンティティをEventsAttachments、AllCalendars、またはダイナミックイベントテーブルを通じて扱う場合、削除 / キャンセルされたイベントはデフォルトでは含まれません。この動作を変更するには、ShowDeleted を有効にするか、対応するテーブル / ビューで擬似カラムを使用します。その場合、ステータスが「cancelled」のイベントも結果に含まれます。疑似カラムで指定された値は、ShowDeleted で指定された値よりも優先されます。
Sync App はGoogle Calendar のデータを、標準のSQL ステートメントを使用してクエリできるリレーショナルデータベースのテーブルのリストとしてモデル化します。
| Name | Description |
| AccessControlRules | Create, update, delete, and query access control rules to calendars' resources. |
| AllCalendars | Create, update, delete, and query all calendar events in your Google Account. |
| Calendars | Googleでカレンダーを作成、更新、削除、およびクエリします。 |
| EventsAttachments | Query the attachments metadata from the events in your Google calendar. |
| MyCalendar | Create, update, delete, and query events of the calendar. |
Create, update, delete, and query access control rules to calendars' resources.
To query access control rules of all calendars you can execute a query as below.
SELECT * FROM [AccessControlRules]
The CalendarId, and Id and CalendarId (both specified at the same time) columns support server side filtering only for the = operator.
To query the access control rules of a certain calendar you will need to specify the CalendarId as a WHERE clause criterion.
SELECT * FROM [AccessControlRules] WHERE CalendarId = '[email protected]'
To query a specific access control rule of a certain calendar you will need to specify the CalendarId and Id as WHERE clause criteria.
SELECT * FROM [AccessControlRules] WHERE CalendarId = '[email protected]' AND Id = 'domain:cdatatest.page'
To add a new access control rule to a specific calendar, for example to share the calendar with a user, group or domain, or to make the calendar publicly available (ScopeType='default'), you will need to at least specify the CalendarId, Role, ScopeType and optionally the ScopeValue (required if you haven't specified the default ScopeType).
For example, to share a calendar with a specific user you can execute a query as below.
INSERT INTO [AccessControlRules] (CalendarId, Role, ScopeType, ScopeValue) VALUES ('[email protected]', 'writer', 'user', '[email protected]')
For example, to share a calendar with a specific domain you can execute a query as below.
INSERT INTO [AccessControlRules] (calendarId, Role, ScopeType, ScopeValue, SendNotification) VALUES ('[email protected]', 'writer', 'domain', 'cdatatest.page', 'true')
Note: Sharing a calendar with a user no longer automatically inserts the calendar into their CalendarList. If the user should be able to perform CRUD operations on the shared calendar, they will need to execute an INSERT statement by specifying at least the existing CalendarId in the statement. For more information, refer to the Calendars table section.
To update an access control rule of a specific calendar, you will need to specify the CalendarId along with the Id in the WHERE clause criteria.
UPDATE [AccessControlRules] SET Role = 'writer', ScopeType = 'user' WHERE Id = 'user:[email protected]' AND CalendarId = '[email protected]'
To delete an access control rule from a specific calendar, you will need to specify the CalendarId along with the Id in the WHERE clause criteria.
DELETE FROM [AccessControlRules] WHERE Id = 'user:[email protected]' AND CalendarId = '[email protected]'
| Name | Type | ReadOnly | Description |
| CalendarId [KEY] | String | False |
The calendar identifier. |
| Id [KEY] | String | True |
The identifier of the ACL rule. |
| Etag | String | True |
The ETag of the resource. |
| Kind | String | True |
The type of the resource. |
| Role | String | False |
The role assigned to the scope. Possible values are: none, freeBusyReader, reader, writer and owner. |
| ScopeType | String | False |
The type of the scope. Possible values are: default, user, group and domain. |
| ScopeValue | String | False |
The email address of a user or group, or the name of a domain, depending on the scope type. Not applicable for type 'default'. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| SendNotification | String |
This value sets whether or not to send notifications about the calendar sharing change. デフォルト値はTrueです。 |
Create, update, delete, and query all calendar events in your Google Account.
This is an example on how all calendar events in your account are exposed in a single table.
Query events of all calendars.
SELECT * FROM [AllCalendars]
Create a new event in a certain calendar. At least StartDateTime, EndDateTime and CalendarId must be specified.
INSERT INTO [AllCalendars] (Summary, Description, StartDateTime, EndDateTime, CalendarId) VALUES ('Great Event', 'Description for event', '8/27/2017', '8/28/2017', '[email protected]')
You can create an All-Day event by setting the StartDate and EndDate columns to the actual start and end dates of the event.
INSERT INTO [AllCalendars] (Summary, Description, StartDate, EndDate, CalendarId) VALUES ('Google Cal Test Event 1', 'Example All Day Event', '2017-01-01', '2017-01-09', '[email protected]')
You can create a Time Limited event by setting the StartDateTime and EndDateTime columns to the actual start and end dates and times of the event.
INSERT INTO [AllCalendars] (Summary, Description, StartDateTime, EndDateTime, CalendarId) VALUES ('Google Cal Test Event 2', 'Example Time Limited Event', '2017-09-05T22:13:03', '2017-09-11T13:24:10', '[email protected]')
Update details of a specific event. At least the Id of the event being updated must be specified.
UPDATE AllCalendars SET Summary = 'Test Event' WHERE id = '6bjelf33p0al4d8ei5ft5ghqjs' AND CalendarId = '[email protected]'
You can update a Time Limited event to an All-Day one by setting the StartDate and EndDate columns to the actual start and end dates of the event, and the StartDateTime and EndDateTime columns to Null-s.
UPDATE [AllCalendars] SET StartDate = '2017-09-05', EndDate = '2017-09-11', StartDateTime = NULL, EndDateTime = NULL WHERE Id = '8ba774m3anenroqcepfi7ka6ok' AND CalendarId = '[email protected]'
You can update an All-Day event to a Time Limited one by setting the StartDateTime and EndDateTime columns to the actual start and end dates and times of the event, and the StartDate and EndDate columns to Null-s.
UPDATE [AllCalendars] SET StartDate = NULL, EndDate = NULL, StartDateTime = '2017-09-05T22:13:03', EndDateTime = '2017-09-11T13:24:10' WHERE Id = '8ba774m3anenroqcepfi7ka6ok' AND CalendarId = '[email protected]'
Delete an event from AllCalendars by specifying at least its Id.
DELETE FROM [AllCalendars] WHERE Id = '8ba774m3anenroqcepfi7ka6ok' AND CalendarId = '[email protected]'
When you query from AllCalendars table, the events will not be ordered by the StartDate, but rather by the CalendarId. You can order the calendars by either the StartDate or StartDateTime column, depending if the event is an AllDayEvent or not. Alternatively, you can order both Event types using the example query below.
SELECT CalendarId, Id, Summary,
CASE
WHEN StartDateTime IS NULL THEN startDate
ELSE StartDateTime
END AS EventDate
FROM AllCalendars ORDER BY EventDate ASC
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | True |
The Id of the event. |
| CalendarId | String | False |
Calendar Id. This can be used to override the Calendar Id for which you are querying events. |
| Summary | String | False |
The title of the event. |
| Description | String | False |
The description of the event. |
| Location | String | False |
The geographic location of the event as free-form text. |
| AllDayEvent | Boolean | True |
This value indicates whether or not the event is an all-day event. |
| StartDate | Date | False |
The start date if this is an all-day event. |
| StartDateTime | Datetime | False |
The (inclusive) start time of the event. For a recurring event, this value is the start time of the first instance. |
| StartDateTimeZone | String | False |
The time zone in which the start date time is specified. |
| EndDate | Date | False |
The end date if this is an all-day event. |
| EndDateTime | Datetime | False |
The (exclusive) end time of the event. For a recurring event, this value is the end time of the first instance. |
| EndDateTimeZone | String | False |
The time zone in which the end date time is specified. |
| OriginalStartTimeDateTime | Datetime | False |
For an instance of a recurring event, this value is the time when the event would start according to the recurrence data in the recurring event identified by RecurringEventId. |
| SendNotification | Boolean | False |
This value sets whether to send a notification when performing an insert or update. |
| Kind | String | True |
The type of the resource, returned in the format calendar#event. |
| ETag | String | True |
The ETag of the resource. |
| Status | String | False |
The status of the event. |
| HTML_Link | String | True |
The absolute link to the event in the Google Calendar Web UI. |
| Locked | Boolean | True |
Whether this is a locked event copy where no changes can be made to the main event fields 'summary', 'description', 'location', 'start', 'end' or 'recurrence'. The default is False. |
| SourceTitle | String | False |
Title of the source; for example a title of a web page or an email subject. |
| SourceURL | String | False |
URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS. |
| HangoutLink | String | True |
An absolute link to the Google+ hangout associated with this event, if there is any. |
| Created | Datetime | True |
The creation time of the event. |
| Updated | Datetime | True |
The latest modification time of the event. |
| ColorId | Integer | False |
The color of the event. This value is an Id referring to an entry in the event section of the colors definitions. |
| CreatorEmail | String | True |
The creator's email address, if available. |
| CreatorDisplayName | String | True |
The creator's name, if available. |
| OrganizerEmail | String | True |
The organizer's email address, if available. |
| OrganizerDisplayName | String | True |
The organizer's name, if available. |
| Recurrences | String | False |
A pipe-separated list of RRULE, EXRULE, RDATE, and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events. OriginalStartTimeDateTime must be set in order to modify this value. |
| RecurringEventId | String | True |
For an instance of a recurring event, this value is the event Id of the recurring event itself. |
| Transparency | String | False |
This value sets whether the event blocks time on the calendar. If set to transparent, the event does not block time on the calendar. If set to opaque, the event blocks time; this is the default value. |
| Visibility | String | False |
The visibility of the event. 使用できる値は次のとおりです。default, public, private, confidential |
| ICalUid | String | True |
The event Id in the iCalendar format. |
| Sequence | String | False |
The sequence number as per iCalendar. |
| AttendeesEmails | String | False |
A comma-separated list of attendee's email addresses, if available. |
| AttendeesDisplayNames | String | False |
A comma-separated list of attendee's names, if available. |
| AttendeesResponseStatus | String | False |
A comma-separated list of attendee's response status, if available. |
| AttendeesOptional | String | False |
A comma-separated list of whether the attendee's are optional, if available. |
| AttendeesOmitted | Boolean | True |
This field sets whether attendees have been omitted from the event's representation. When updating an event, this field can be used to update only the participant's response. When retrieving an event, the attendees that are returned are restricted to only the participant by the MaxAttendees query parameter. |
| ExtendedPropertiesPrivateKey | String | False |
This field contains properties that are private to the copy of the event that appears on the calendar. |
| ExtendedPropertiesPrivateValue | String | False |
This field contains properties that are private to the copy of the event that appears on the calendar. |
| ExtendedPropertiesSharedKey | String | False |
This field contains properties that are shared between copies of the event on other attendees' calendars. |
| ExtendedPropertiesSharedValue | String | False |
This field contains properties that are shared between copies of the event on other attendees' calendars. |
| GuestsCanInviteOthers | Boolean | False |
This value sets whether attendees other than the organizer can invite others to the event. |
| GuestsCanSeeOtherGuests | Boolean | False |
This value sets whether attendees other than the organizer can see who the event's attendees are. |
| GuestsCanModify | Boolean | False |
Whether attendees other than the organizer can modify the event. |
| PrivateCopy | Boolean | True |
This value sets whether this is a private event copy where changes are not shared with other copies on other calendars. |
| RemindersUseDefault | Boolean | False |
This value sets whether the default reminders of the calendar apply to the event. |
| ReminderOverrideMethods | String | False |
A comma-separated list of the methods used by the reminder. The possible values are EMAIL, SMS, and POPUP. |
| ReminderOverrideMinutes | String | False |
A comma-separated list of the minutes before the start of the event when the corresponding ReminderOverrideMethod should trigger. |
| ConferenceId | String | False |
The Id of the conference. Can be used by developers to keep track of conferences, should not be displayed to users. |
| ConferenceNotes | String | False |
Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. |
| ConferenceSignature | String | False |
The signature of the conference data. Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied. |
| ConferenceSolutionName | String | False |
The user-visible name of this solution. Not localized. |
| ConferenceSolutionKeyType | String | False |
The conference solution type. If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications. Valid values are: (1) 'eventHangout' for Hangouts for consumers (http://hangouts.google.com) -- (2) 'eventNamedHangout' for classic Hangouts for G Suite users (http://hangouts.google.com) -- (3) 'hangoutsMeet' for Hangouts Meet (http://meet.google.com) -- (4) 'addOn' for 3P conference providers. 使用できる値は次のとおりです。eventHangout, eventNamedHangout, hangoutsMeet, addOn |
| ConferenceSolutionIconUri | String | False |
The user-visible icon for this solution. |
| ConferenceRequestId | String | False |
The client-generated unique ID for this request. Clients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored. |
| ConferenceRequestKey | String | False |
The conference solution, such as Hangouts or Hangouts Meet. |
| ConferenceRequestKeyType | String | False |
The conference solution type. If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications. Valid values are: (1) 'eventHangout' for Hangouts for consumers (http://hangouts.google.com) -- (2) 'eventNamedHangout' for classic Hangouts for G Suite users (http://hangouts.google.com) -- (3) 'hangoutsMeet' for Hangouts Meet (http://meet.google.com) -- (4) 'addOn' for 3P conference providers. |
| ConferenceRequestStatus | String | False |
The status of the conference create request. |
| ConferenceRequestStatusCode | String | True |
The current status of the conference create request. The possible values are: (1) 'pending': the conference create request is still being processed. -- (2) 'success': the conference create request succeeded, the entry points are populated. -- (3) 'failure': the conference create request failed, there are no entry points. |
| ConferenceEntryPointsAggregate | String | False |
Information about individual conference entry points, such as URLs or phone numbers. All of them must belong to the same conference. |
| EventType | String | False |
Specific type of the event. Read-only. Possible values are: 'default' - A regular event or not further specified. 'outOfOffice' - An out-of-office event. 'focusTime' - A focus-time event. 'workingLocation' - A working-location event. |
| WorkingLocationType | String | False |
Type of working location. Required when creating a workingLocation Event. 使用できる値は次のとおりです。homeOffice, officeLocation, customLocation |
| HomeOffice | String | False |
Specifies that the user is working from home. |
| CustomLocationLabel | String | False |
The label of the custom location where the user is working from. |
| OfficeLocationBuildingId | String | False |
References the building Id in the organization's Resources database. |
| OfficeLocationDeskId | String | False |
The office desk identifier. |
| OfficeLocationFloorId | String | False |
The office floor identifier. |
| OfficeLocationFloorSectionId | String | False |
The office floor section identifier. |
| OfficeLocationLabel | String | False |
The office name that's displayed in Calendar Web and Mobile Clients. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| SearchTerms | String |
Free text search terms to find events that match these terms in any field, except for extended properties. |
| ShowDeleted | Boolean |
Whether to list cancelled events. |
Googleでカレンダーを作成、更新、削除、およびクエリします。
カレンダーのSelect にはフィールド指定は不要です。追加で、Id を指定して結果をフィルタリングできます。次に例を示します。
SELECT Id, Summary, Description FROM Calendars
新しいカレンダーを挿入するには、INSERT ステートメントを発行して少なくともSummary カラムの値を指定します。次に例を示します。
INSERT INTO Calendars (Summary) VALUES ('My Custom Calendar')
To insert an existing calendar, a shared one or a global/domain public one, into the user's calendars list, you will need to execute an INSERT statement by specifying at least the existing CalendarId in the statement.
For example, to add a shared calendar from a specific user, you can execute a query as below.
INSERT INTO Calendars (Id) VALUES ('[email protected]')
For example, to add a public calendar, you can execute a query as below.
INSERT INTO Calendars (id, SummaryOverride) VALUES ('en.usa#[email protected]', 'Official Holidays in the US')
カレンダーを更新するには、Id カラムを指定する必要があります。Description、Location、Summary、およびTimezone カラムは更新できません。次に例を示します。
UPDATE Calendars SET Description = 'Updated Description' WHERE Id = '8ba774m3anenroqcepfi7ka6ok'
カレンダーの削除にはId を指定して行います。
DELETE FROM Calendars WHERE Id = '123456789'
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | False |
カレンダー識別子。 |
| Summary | String | False |
カレンダーのタイトル。 |
| Description | String | False |
カレンダーの説明。 |
| Kind | String | True |
リソースのタイプ。 |
| ETag | String | True |
リソースのETag。 |
| Location | String | False |
カレンダーの地理的な場所(自由な形式のテキスト)。 |
| Timezone | String | False |
カレンダーのタイムゾーン。 |
| SummaryOverride | String | False |
認証ユーザーがカレンダーに設定されたことの概要。 |
| ColorId | Integer | False |
カレンダーの色。この値は、色定義にあるカレンダーセクション内のエントリを参照するIDです。 |
| Hidden | Boolean | False |
このフィールドは、カレンダーがリストから非表示にされているかどうかを設定します。 |
| Selected | Boolean | False |
このフィールドは、カレンダーコンテンツがカレンダーUI に表示されるかどうかを設定します。 |
| AccessRole | String | True |
認証ユーザーがカレンダーに対して持つ有効なアクセスロール。 |
| ReminderMethods | String | False |
アラーム方法のセミコロン区切りリスト。有効な値はEMAIL、SMS、およびPOPUP です。 |
| ReminderMinutes | String | False |
対応するReminderOverrideMethod がイベントの開始何分前にトリガーされるかを示すセミコロン区切りリスト。 |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| showHidden | String |
この値は、非表示のカレンダーを表示するかどうかを設定します。 デフォルト値はFalseです。 |
Query the attachments metadata from the events in your Google calendar.
To query attachments metadata of all events in a certain calendar, you must specify the CalendarId the WHERE clause.
SELECT * FROM EventsAttachments WHERE CalendarId = 'df5bf39459e666e1f6835a287923a083f83bfbe21113051b2759a9f2fa40a7c9@group.calendar.google.com'
To query attachments metadata for only a specific recurring event in a certain calendar, you must specify the CalendarId and the ParentEventId (the recurring event's Id) in the WHERE clause.
SELECT * FROM EventsAttachments WHERE CalendarId = 'df5bf39459e666e1f6835a287923a083f83bfbe21113051b2759a9f2fa40a7c9@group.calendar.google.com' AND ParentEventId = '4fbitolj1eb2ilbspcm2l5jcvc'
To query attachments metadata of all events in multiple calendars, you must specify their CalendarIds in the IN clause.
SELECT * FROM EventsAttachments WHERE CalendarId IN ('df5bf39459e666e1f6835a287923a083f83bfbe21113051b2759a9f2fa40a7c9@group.calendar.google.com', '8aab717ee7e6fca501e1e178e590f3ac4ac0c2660361fdff47b8c341eb379559@group.calendar.google.com')
To add an attachment to an event, you must specify the CalendarId, EventId, and FileURL. Optionally, you can also specify a Title and MimeType.
INSERT INTO EventsAttachments (CalendarId, EventId, FileURL, Title) VALUES ('df5bf39459e666e1f6835a287923a083f83bfbe21113051b2759a9f2fa40a7c9@group.calendar.google.com', '4fbitolj1eb2ilbspcm2l5jcvc', 'https://drive.google.com/file/d/1abc123/view', 'Meeting Notes')
To remove an attachment from an event, you must specify the CalendarId, EventId, and FileURL.
DELETE FROM EventsAttachments WHERE CalendarId = 'df5bf39459e666e1f6835a287923a083f83bfbe21113051b2759a9f2fa40a7c9@group.calendar.google.com' AND EventId = '4fbitolj1eb2ilbspcm2l5jcvc' AND FileURL = 'https://drive.google.com/file/d/1abc123/view'
| Name | Type | ReadOnly | Description |
| CalendarId | String | False |
The calendar identifier. |
| EventId [KEY] | String | False |
The event identifier. |
| ParentEventId | String | True |
The event instance identifier of a recurring event instance. |
| EventStatus | String | True |
The status of the event. |
| FileId | String | True |
The Google Drive file identifier of the attachment, if the attachment is located in Google Drive. |
| FileURL [KEY] | String | False |
The URL link to the attachment. |
| Title | String | False |
The name of the attachment. |
| MimeType | String | False |
The internet media type (MIME type) of the attachment. |
| IconLink | String | True |
The URL link to the attachment's icon. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| ShowDeleted | Boolean |
Indicates whether to list cancelled events. |
Create, update, delete, and query events of the calendar.
この例では、カレンダーがどのようにテーブルとして表されるかを説明します。
特定のカレンダーのイベントをクエリします。
SELECT * FROM [MyCalendar]
カレンダーに新しいイベントを作成します。少なくてもStartDateTime およびEndDateTime が指定されている必要があります。
INSERT INTO [MyCalendar] (Summary, Description, StartDateTime, EndDateTime) VALUES ('Great Event', 'Description for event', '8/27/2017', '8/28/2017')
You can create an All-Day event by setting the StartDate and EndDate columns to the actual start and end dates of the event.
INSERT INTO [MyCalendar] (Summary, Description, StartDate, EndDate) VALUES ('Google Cal Test Event 1', 'Example All Day Event', '2017-01-01', '2017-01-09')
You can create a Time Limited event by setting the StartDateTime and EndDateTime columns to the actual start and end dates and times of the event.
INSERT INTO [MyCalendar] (Summary, Description, StartDateTime, EndDateTime) VALUES ('Google Cal Test Event 2', 'Example Time Limited Event', '2017-09-05T22:13:03', '2017-09-11T13:24:10')
新しいイベントを挿入する際には、AttendeesEmails およびAttendeesDeisplayNames には複数の値を指定することが可能です。
INSERT INTO [MyCalendar] (StartDateTime, EndDateTime, AttendeesEmails) VALUES ('2017-03-15 15:00', '2017-03-15 20:00', '[email protected],[email protected]')
特定のイベントの詳細を更新します。更新されるイベントのId が指定される必要があります。
UPDATE [MyCalendar] SET Summary = 'Updated Summary 2' WHERE Id = '8ba774m3anenroqcepfi7ka6ok'
You can update a Time Limited event to an All-Day one by setting the StartDate and EndDate columns to the actual start and end dates of the event, and the StartDateTime and EndDateTime columns to Null-s.
UPDATE [MyCalendar] SET StartDate = '2017-09-05', EndDate = '2017-09-11', StartDateTime = NULL, EndDateTime = NULL WHERE Id = '8ba774m3anenroqcepfi7ka6ok'
You can update an All-Day event to a Time Limited one by setting the StartDateTime and EndDateTime columns to the actual start and end dates and times of the event, and the StartDate and EndDate columns to Null-s.
UPDATE [MyCalendar] SET StartDate = NULL, EndDate = NULL, StartDateTime = '2017-09-05T22:13:03', EndDateTime = '2017-09-11T13:24:10' WHERE Id = '8ba774m3anenroqcepfi7ka6ok'
イベントの削除は、Id を指定して行います。
DELETE FROM [MyCalendar] WHERE Id = '8ba774m3anenroqcepfi7ka6ok'
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | True |
The Id of the event. |
| CalendarId | String | False |
Calendar Id. This can be used to override the Calendar Id for which you are querying events. |
| Summary | String | False |
The title of the event. |
| Description | String | False |
The description of the event. |
| Location | String | False |
The geographic location of the event as free-form text. |
| AllDayEvent | Boolean | True |
This value indicates whether or not the event is an all-day event. |
| StartDate | Date | False |
The start date if this is an all-day event. |
| StartDateTime | Datetime | False |
The (inclusive) start time of the event. For a recurring event, this value is the start time of the first instance. |
| StartDateTimeZone | String | False |
The time zone in which the start date time is specified. |
| EndDate | Date | False |
The end date if this is an all-day event. |
| EndDateTime | Datetime | False |
The (exclusive) end time of the event. For a recurring event, this value is the end time of the first instance. |
| EndDateTimeZone | String | False |
The time zone in which the end date time is specified. |
| OriginalStartTimeDateTime | Datetime | False |
For an instance of a recurring event, this value is the time when the event would start according to the recurrence data in the recurring event identified by RecurringEventId. |
| SendNotification | Boolean | False |
This value sets whether to send a notification when performing an insert or update. |
| Kind | String | True |
The type of the resource, returned in the format calendar#event. |
| ETag | String | True |
The ETag of the resource. |
| Status | String | False |
The status of the event. |
| HTML_Link | String | True |
The absolute link to the event in the Google Calendar Web UI. |
| Locked | Boolean | True |
Whether this is a locked event copy where no changes can be made to the main event fields |
| SourceTitle | String | False |
Title of the source; for example a title of a web page or an email subject. |
| SourceURL | String | False |
URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS. |
| HangoutLink | String | True |
An absolute link to the Google+ hangout associated with this event, if there is any. |
| Created | Datetime | True |
The creation time of the event. |
| Updated | Datetime | True |
The latest modification time of the event. |
| ColorId | Integer | False |
The color of the event. This value is an Id referring to an entry in the event section of the colors definitions. |
| CreatorEmail | String | True |
The creator's email address, if available. |
| CreatorDisplayName | String | True |
The creator's name, if available. |
| OrganizerEmail | String | True |
The organizer's email address, if available. |
| OrganizerDisplayName | String | True |
The organizer's name, if available. |
| Recurrences | String | False |
A pipe-separated list of RRULE, EXRULE, RDATE, and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events. OriginalStartTimeDateTime must be set in order to modify this value. |
| RecurringEventId | String | True |
For an instance of a recurring event, this value is the event Id of the recurring event itself. |
| Transparency | String | False |
This value sets whether the event blocks time on the calendar. If set to transparent, the event does not block time on the calendar. If set to opaque, the event blocks time; this is the default value. |
| Visibility | String | False |
The visibility of the event. |
| ICalUid | String | True |
The event Id in the iCalendar format. |
| Sequence | String | False |
The sequence number as per iCalendar. |
| AttendeesEmails | String | False |
A comma-separated list of attendee's email addresses, if available. |
| AttendeesDisplayNames | String | False |
A comma-separated list of attendee's names, if available. |
| AttendeesResponseStatus | String | False |
A comma-separated list of attendee's response status, if available. |
| AttendeesOmitted | Boolean | True |
This field sets whether attendees have been omitted from the event's representation. When updating an event, this field can be used to update only the participant's response. When retrieving an event, the attendees that are returned are restricted to only the participant by the MaxAttendees query parameter. |
| ExtendedPropertiesPrivateKey | String | False |
This field contains properties that are private to the copy of the event that appears on the calendar. |
| ExtendedPropertiesPrivateValue | String | False |
This field contains properties that are private to the copy of the event that appears on the calendar. |
| ExtendedPropertiesSharedKey | String | False |
This field contains properties that are shared between copies of the event on other attendees' calendars. |
| ExtendedPropertiesSharedValue | String | False |
This field contains properties that are shared between copies of the event on other attendees' calendars. |
| GuestsCanInviteOthers | Boolean | False |
This value sets whether attendees other than the organizer can invite others to the event. |
| GuestsCanSeeOtherGuests | Boolean | False |
This value sets whether attendees other than the organizer can see who the event's attendees are. |
| GuestsCanModify | Boolean | False |
Whether attendees other than the organizer can modify the event. |
| PrivateCopy | Boolean | True |
This value sets whether this is a private event copy where changes are not shared with other copies on other calendars. |
| RemindersUseDefault | Boolean | False |
This value sets whether the default reminders of the calendar apply to the event. |
| ReminderOverrideMethods | String | False |
A comma-separated list of the methods used by the reminder. The possible values are EMAIL, SMS, and POPUP. |
| ReminderOverrideMinutes | String | False |
A comma-separated list of the minutes before the start of the event when the corresponding ReminderOverrideMethod should trigger. |
| ConferenceId | String | False |
The Id of the conference. Can be used by developers to keep track of conferences, should not be displayed to users. |
| ConferenceNotes | String | False |
Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. |
| ConferenceSignature | String | False |
The signature of the conference data. Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied. |
| ConferenceSolutionName | String | False |
The user-visible name of this solution. Not localized. |
| ConferenceSolutionKeyType | String | False |
The conference solution type. If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications. Valid values are: (1) 'eventHangout' for Hangouts for consumers (http://hangouts.google.com) -- (2) 'eventNamedHangout' for classic Hangouts for G Suite users (http://hangouts.google.com) -- (3) 'hangoutsMeet' for Hangouts Meet (http://meet.google.com) -- (4) 'addOn' for 3P conference providers. |
| ConferenceSolutionIconUri | String | False |
The user-visible icon for this solution. |
| ConferenceRequestId | String | False |
The client-generated unique Id for this request. Clients should regenerate this Id for every new request. If an Id provided is the same as for the previous request, the request is ignored. |
| ConferenceRequestKey | String | False |
The conference solution, such as Hangouts or Hangouts Meet. |
| ConferenceRequestKeyType | String | False |
The conference solution type. If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications. Valid values are: (1) 'eventHangout' for Hangouts for consumers (http://hangouts.google.com) -- (2) 'eventNamedHangout' for classic Hangouts for G Suite users (http://hangouts.google.com) -- (3) 'hangoutsMeet' for Hangouts Meet (http://meet.google.com) -- (4) 'addOn' for 3P conference providers. |
| ConferenceRequestStatus | String | False |
The status of the conference create request. |
| ConferenceRequestStatusCode | String | True |
The current status of the conference create request. The possible values are: (1) |
| ConferenceEntryPointsAggregate | String | False |
Information about individual conference entry points, such as URLs or phone numbers. All of them must belong to the same conference. |
| EventType | String | False |
Specific type of the event. Read-only. Possible values are: 'default' - A regular event or not further specified. 'outOfOffice' - An out-of-office event. 'focusTime' - A focus-time event. 'workingLocation' - A working-location event. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| SearchTerms | String |
Free text search terms to find events that match these terms in any field, except for extended properties. |
| ShowDeleted | Boolean |
Whether to list canceled events. |
ビューは、データを示すという点でテーブルに似ていますが、ビューは読み取り専用です。
クエリは、ビューに対して通常のテーブルと同様に実行することができます。
| Name | Description |
| Colors | Google カレンダーおよびイベントの色クエリ。 |
| UserSettings | User settings for a calendar. |
Google カレンダーおよびイベントの色クエリ。
カレンダーおよびイベントの色設定を返します。
SELECT * FROM Colors
| Name | Type | Description |
| Id [KEY] | String | パイプ文字区切りの色タイプと色IDで構成される一意の色識別子。 |
| EntityType [KEY] | String | 色が指定されているエンティティのタイプ。これは、カレンダーもしくはイベントです。 |
| ColorBackground | String | カレンダーの色の背景色。 |
| ColorForeground | String | カレンダーの色の前景色。 |
| Updated | Datetime | 色のリストが更新された最後の時刻。 |
User settings for a calendar.
| Name | Type | Description |
| Id [KEY] | String | The Id of the user setting. |
| Value | String | The value of the user setting. |
| ETag | String | ETag of the resource. |
| Kind | String | Type of the resource ('calendar#setting'). |
ストアドプロシージャはファンクションライクなインターフェースで、Google Calendar の単純なSELECT/INSERT/UPDATE/DELETE 処理にとどまらずSync App の機能を拡張します。
ストアドプロシージャは、パラメータのリストを受け取り、目的の機能を実行し、プロシージャが成功したか失敗したかを示すとともにGoogle Calendar から関連するレスポンスデータを返します。
| Name | Description |
| GetAvailability | Queries the free/busy information for one or more calendars using the FreeBusy: query API. |
| ImportEvent | Imports an event into a calendar. |
| MoveEvent | Moves an event from one calendar to another using the Google Calendar Events.move API. |
| QuickAddEvent | Creates a Google Calendar event based on a simple text string. |
| StopWatchingResources | Stops receiving notifications for a given channel. |
| SubscribeToAclChanges | Starts watching for changes to the access control list (ACL) of a calendar. |
| SubscribeToCalendarListChanges | Starts watching for changes in the user's calendar list. |
| SubscribeToEventChanges | Starts watching for changes to events on a calendar. |
| SubscribeToSettingsChanges | Starts watching for changes to the authenticated user's calendar settings. |
Downloads Google Calendar event attachments.
If the attachments you want to download are located in Google Drive, you must include the 'https://www.googleapis.com/auth/drive' scope in the Scope connection property when authenticating.
To download a custom attachment (publicly accessible link), you must specify the FileURL parameter.
EXEC DownloadAttachments FileURL = 'https://example.s3.eu-north-1.amazonaws.com/example.txt', LocalFile='C:/Users/User/Desktop/example.txt'
To download an attachment from your GoogleDrive, you must specify the FileId parameter.
EXEC DownloadAttachments FileId = '1Zp70PuS5hu14wq07w7ZQhe_PHc-xxxxx', LocalFile='C:/Users/User/Desktop/example.txt'
To download all attachments of a specific event in a certain calendar, you must specify the CalendarId and EventId parameters.
EXEC DownloadAttachments CalendarId = 'fe47dca2f24f0b6d17085664dc9907049e038747a6f79339b893c49f56226c1e@group.calendar.google.com', EventId = '4dhb26rtkaegdj8du5b2rgbn25', LocalFile='C:/Users/User/Desktop/example.txt'
| Name | Type | Required | Description |
| CalendarId | String | False | The calendar identifier. |
| EventId | String | False | The event identifier to download all the attachments from. |
| FileId | String | False | The Google Drive file identifier of the attachment to be downloaded. |
| FileFormat | String | False | The MIME type the file should be downloaded as. This field can only be set when downloading Google Workspace documents. Leave this blank to download the file in the same format as it is stored in Google. The possible values are application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.oasis.opendocument.text, application/rtf, text/html, text/plain, and application/pdf. |
| FileURL | String | False | The URL link to the attachment. Applicable only if the attachment is stored in another storage service different from Google Drive. |
| LocalFile | String | False | The local file path including the file name for the location where the file is saved on disk. Leave empty to keep the file in memory. |
| Overwrite | Boolean | False | What to do when a downloaded file exists. Set to true to overwrite.
デフォルト値はfalseです。 |
| Encoding | String | False | If the LocalFile input is left empty, the data is output to FileData in the specified encoding. Allowed values are: BASE64 or NONE. |
| Name | Type | Description |
| FileData | String | If the LocalFile input is empty, the file data is output in the format specified by the Encoding input. |
| Success | String | Indicates whether the operation was successful. |
Queries the free/busy information for one or more calendars using the FreeBusy: query API.
| Name | Type | Required | Description |
| TimeMin | Datetime | True | The start of the interval for the query (RFC3339 timestamp). |
| TimeMax | Datetime | True | The end of the interval for the query (RFC3339 timestamp). |
| EntityIds | String | True | Comma-separated list of identifiers of a calendars and/or groups to query. |
| CalendarExpansionMax | Integer | False | Maximal number of calendars for which FreeBusy information is to be provided. Maximum value is 50. |
| GroupExpansionMax | Integer | False | Maximal number of calendar identifiers to be provided for a single group. Maximum value is 100. |
| Name | Type | Description |
| EntityId | String | The identifier of the calendar or group. |
| BusyStartTime | Datetime | Indicates the start time of the busy period. |
| BusyEndTime | Datetime | Indicates the end time of the busy period. |
さまざまなGoogle サービスで認証で使用されるOAuth アクセストークンを取得します。
NOTE:このストアドプロシージャを実行したのち、OAuthRefreshToken が結果セットの一部として返されなかった場合、Prompt 値をCONSENT に変更してプロシージャを再度実行します。これにより、アプリは強制的に再認証を行い、新しいトークン情報を送信します。
| Name | Type | Required | Description |
| AuthMode | String | True | 使用する認証モードのタイプ。
使用できる値は次のとおりです。APP, WEB デフォルト値はWEBです。 |
| Verifier | String | False | アプリに接続許可が与えられた後にGoogle から返される検証コード。WEB AuthMode のみ。 |
| Scope | String | False | Google API へのアクセス権の範囲。デフォルトでは、このデータプロバイダーで使われるすべてのAPI へのアクセスが指定されます。 |
| CallbackURL | String | False | このフィールドは、応答の送信先を指定します。このパラメータの値は、HTTP スキームまたはHTTPS スキーム、大文字小文字の区別、末尾のフォワードスラッシュ(/)などが、API Console に登録された値の1つに正確に一致しなければなりません。 |
| Prompt | String | True | このフィールドは、ユーザーに提示するプロンプトを示します。次の値を指定できます:NONE、CONSENT、SELECT_ACCOUNT。デフォルト値はSELECT_ACCOUNT で、ユーザーは接続するアカウントを選択するよう求められます。CONSENT に設定されている場合は、特定のスコープのセットについてアプリケーションに以前に同意している場合でも、ユーザーには毎回同意ページが表示されます。最後に、NONE に設定されている場合、認証または同意画面はユーザーに表示されません。
デフォルト値はSELECT_ACCOUNTです。 |
| AccessType | String | True | このフィールドは、ユーザーがブラウザを使用中でないときに、アプリケーションがGoogle API にアクセスする必要があるかどうかを示します。デフォルト値はOFFLINE です。ユーザーがブラウザを使用中でないときに、アプリケーションがアクセストークンをリフレッシュする必要がある場合は、OFFLINE を使用します。これにより、アプリケーションは、ユーザーの認可コードを初めて交換するときにリフレッシュトークンを取得します。
使用できる値は次のとおりです。ONLINE, OFFLINE デフォルト値はOFFLINEです。 |
| State | String | False | 応答を受け取ったときにアプリケーションで使用する何らかの状態を示します。アプリケーションは、送信した値と同じ値を受け取ります。つまり、このパラメータは、Google 認可サーバーまで往復して返されます。用途には、ワンタイムユーストークンを使用してユーザーをサイト内の正しいリソースにリダイレクトしたり、クロスサイトリクエストフォージェリを防止したりするなどがあります。 |
| Name | Type | Description |
| OAuthAccessToken | String | Google から返される認証トークン。これは、引き続きこの特定のサービスの他の操作を呼び出すために使用できます。 |
| OAuthRefreshToken | String | 新しいアクセストークンを取得するために使用されるトークン。 |
| ExpiresIn | String | アクセストークンの残りの有効期間。 |
さまざまなGoogle サービスで認証で使用されるOAuth 認可URL を取得します。
| Name | Type | Required | Description |
| Scope | String | False | Google API へのアクセス権の範囲。デフォルトでは、このデータプロバイダーで使われるすべてのAPI へのアクセスが指定されます。 |
| CallbackURL | String | False | このフィールドは、応答の送信先を指定します。このパラメータの値は、HTTP スキームまたはHTTPS スキーム、大文字小文字の区別、末尾のフォワードスラッシュ(/)などが、API Console に登録された値の1つに正確に一致しなければなりません。 |
| Prompt | String | True | このフィールドは、ユーザーに提示するプロンプトを示します。次の値を指定できます:NONE、CONSENT、SELECT ACCOUNT。デフォルト値はSELECT_ACCOUNT で、ユーザーは接続するアカウントを選択するよう求められます。CONSENT に設定されている場合は、特定のスコープのセットについてアプリケーションに以前に同意している場合でも、ユーザーには毎回同意ページが表示されます。最後に、NONE に設定されている場合、認証または同意画面はユーザーに表示されません。
デフォルト値はSELECT_ACCOUNTです。 |
| AccessType | String | True | このフィールドは、ユーザーがブラウザを使用中でないときに、アプリケーションがGoogle API にアクセスする必要があるかどうかを示します。デフォルト値はOFFLINE です。ユーザーがブラウザを使用中でないときに、アプリケーションがアクセストークンをリフレッシュする必要がある場合は、OFFLINE を使用します。これにより、アプリケーションは、ユーザーの認可コードを初めて交換するときにリフレッシュトークンを取得します。
使用できる値は次のとおりです。ONLINE, OFFLINE デフォルト値はOFFLINEです。 |
| State | String | False | 応答を受け取ったときにアプリケーションで使用する何らかの状態を示します。アプリケーションは、送信した値と同じ値を受け取ります。つまり、このパラメータは、Google 認可サーバーまで往復して返されます。想定される用途には、ワンタイムユーストークンを使用してユーザーをサイト内の正しいリソースにリダイレクトしたり、クロスサイトリクエストフォージェリを防止したりするなどがあります。 |
| Name | Type | Description |
| URL | String | ユーザー認証を完了するためのURL。 |
Imports an event into a calendar.
Imports a single event into a Google Calendar using the Events.import API.
Basic usage example with common fields:
EXEC ImportEvent CalendarId = 'primary', ICalUID = 'external-uid-12345', Summary = 'Team Sync', Status = 'confirmed', StartDateTime = '2025-09-10T09:00:00Z', StartDateTimeZone = 'UTC', EndDateTime = '2025-09-10T10:00:00Z', EndDateTimeZone = 'UTC', Description = 'Weekly sync up', Location = 'Room 101'
You can also specify Recurrences (pipe-separated RRULE|EXRULE|RDATE|EXDATE lines), SourceTitle/SourceUrl, visibility and other standard event fields as documented in the input list.
The following inputs support either a JSON array literal or a temporary table reference (use the special table suffixed with #Temp and pass its name as the input value). This enables bulk/aggregate inserts:
Only used when RemindersUseDefault = 'false'. Each override defines one reminder:
Maximum of 5 overrides.
Option A: JSON array
EXEC ImportEvent
CalendarId = 'primary',
ICalUID = 'uid-rem-1',
Summary = 'With Custom Reminders',
Status = 'confirmed',
StartDateTime = '2025-11-20T15:00:00Z',
EndDateTime = '2025-11-20T16:00:00Z',
RemindersUseDefault = 'false',
ReminderOverrides = '[{"method":"email","minutes":30},{"method":"popup","minutes":10}]'
Option B: #TEMP table
INSERT INTO EventReminders#Temp(Method, Minute) VALUES ('email', 30);
INSERT INTO EventReminders#Temp(Method, Minute) VALUES ('popup', 10);
EXEC ImportEvent
CalendarId = 'primary',
ICalUID = 'uid-rem-2',
Summary = 'With Custom Reminders (Temp)',
Status = 'confirmed',
StartDateTime = '2025-11-20T15:00:00Z',
EndDateTime = '2025-11-20T16:00:00Z',
RemindersUseDefault = 'false',
ReminderOverrides = 'EventReminders#Temp'
Each attendee must at least include an Email. Optional columns: DisplayName, Comment, Optional, AdditionalGuests, Resource, ResponseStatus ('needsAction'|'declined'|'tentative'|'accepted'), Organizer.
Option A: JSON array
EXEC ImportEvent
CalendarId = 'primary',
ICalUID = 'uid-att-1',
Summary = 'Event With Attendees',
Status = 'confirmed',
StartDateTime = '2025-12-01T10:00:00Z',
EndDateTime = '2025-12-01T11:00:00Z',
Attendees = '[
{"email":"[email protected]","displayName":"Alice"},
{"email":"[email protected]","optional":true}
]'
Option B: #TEMP table
INSERT INTO EventAttendees#Temp(DisplayName, Email, Comment, Optional, AdditionalGuests, Resource, ResponseStatus, Organizer)
VALUES ('Alice', '[email protected]', 'Project lead', false, 0, false, 'accepted', false);
INSERT INTO EventAttendees#Temp(DisplayName, Email, Optional)
VALUES ('Bob', '[email protected]', true);
EXEC ImportEvent
CalendarId = 'primary',
ICalUID = 'uid-att-2',
Summary = 'Event With Attendees (Temp)',
Status = 'confirmed',
StartDateTime = '2025-12-01T10:00:00Z',
EndDateTime = '2025-12-01T11:00:00Z',
Attendees = 'EventAttendees#Temp'
Conference details require ConferenceDataVersion = '1'.
A) Create a new conference (Google Meet)
EXEC ImportEvent CalendarId = 'primary', ICalUID = 'uid-conf-new', Summary = 'Meet With Team', Status = 'confirmed', StartDateTime = '2025-12-10T14:00:00Z', EndDateTime = '2025-12-10T15:00:00Z', ConferenceDataVersion = '1', ConferenceDataCreateNewRequest = 'true', ConferenceDataConferenceSolutionType = 'hangoutsMeet'
B) Use existing conference data
Provide available ConferenceData fields (ConferenceDataConferenceId, ConferenceDataNotes, ConferenceDataSignature, ConferenceDataConferenceSolutionType, ConferenceDataConferenceSolutionIconUri, ConferenceDataConferenceSolutionName) and at least one ConferenceDataEntryPoints item, via JSON or #TEMP table.
EntryPoints JSON array example:
EXEC ImportEvent
CalendarId = 'primary',
ICalUID = 'uid-conf-existing',
Summary = 'Join Existing Conference',
Status = 'confirmed',
StartDateTime = '2025-12-15T09:00:00Z',
EndDateTime = '2025-12-15T10:00:00Z',
ConferenceDataVersion = '1',
ConferenceDataConferenceId = 'aaa-bbbb-ccc',
ConferenceDataConferenceSolutionType = 'hangoutsMeet',
ConferenceDataConferenceSolutionName = 'Google Meet',
ConferenceDataEntryPoints = '[{"entryPointType":"video","label":"meet","meetingCode":"aaa-bbbb-ccc","uri":"https://meet.google.com/aaa-bbbb-ccc"}]'
EntryPoints #TEMP table example (ConferenceDataEntryPoints#Temp)
Columns: AccessCode, EntryPointType, Label, MeetingCode, Passcode, Password, PIN, URI.
INSERT INTO ConferenceDataEntryPoints#Temp(EntryPointType, Label, MeetingCode, Uri)
VALUES ('video', 'Google Meet', 'aaa-bbbb-ccc', 'https://meet.google.com/aaa-bbbb-ccc');
EXEC ImportEvent
CalendarId = 'primary',
ICalUID = 'uid-conf-existing-2',
Summary = 'Join Existing Conference (Temp)',
Status = 'confirmed',
StartDateTime = '2025-12-15T09:00:00Z',
EndDateTime = '2025-12-15T10:00:00Z',
ConferenceDataVersion = '1',
ConferenceDataConferenceId = 'aaa-bbbb-ccc',
ConferenceDataConferenceSolutionType = 'hangoutsMeet',
ConferenceDataConferenceSolutionName = 'Google Meet',
ConferenceDataEntryPoints = 'ConferenceDataEntryPoints#Temp'
Provide a pipe-separated list of file URLs in AttachmentsFileUrls. To include attachments in responses, set SupportsAttachments = 'true'.
EXEC ImportEvent CalendarId = 'primary', ICalUID = 'uid-attch-ps', Summary = 'Event With Attachments', Status = 'confirmed', StartDateTime = '2025-12-05T09:00:00Z', EndDateTime = '2025-12-05T09:30:00Z', SupportsAttachments = 'true', AttachmentsFileUrls = 'https://example.com/file1|https://docs.google.com/document/d/1Abc...'
EXEC ImportEvent CalendarId = 'primary', ICalUID = 'test-uid-1757601360956', Summary = 'Test Event', Status = 'confirmed', ConferenceDataVersion = '1', SupportsAttachments = 'true', Visibility = 'default', Transparency = 'opaque', Description = 'Automated test description', Location = 'Test Location', ColorId = '1', AttendeesOmitted = 'false', GuestsCanInviteOthers = 'true', GuestsCanModify = 'false', GuestsCanSeeOtherGuests = 'true', Sequence = '0', StartDateTime = '2025-09-10T09:00:00Z', StartDateTimeZone = 'UTC', EndDateTime = '2025-09-10T10:00:00Z', EndDateTimeZone = 'UTC', Recurrences = 'RRULE:FREQ=WEEKLY;BYDAY=MO,WE,FR;UNTIL=20251231T235959Z|EXRULE:FREQ=WEEKLY;BYDAY=FR;UNTIL=20251231T235959Z|RDATE:20251225T090000Z|EXDATE:20251224T090000Z', RemindersUseDefault = 'false', ReminderOverrides = 'EventReminders#Temp', Attendees = 'EventAttendees#Temp', AttachmentsFileUrls = 'https://example.com/file1|https://example.com/file2', ConferenceDataCreateNewRequest = 'true', ConferenceDataConferenceSolutionType = 'hangoutsMeet'
The following are the column schemas for the #Temp tables that can be passed to ImportEvent inputs. Create and populate them implicitly by inserting into TableName#Temp as shown in the examples above.
| Column Name | Type | Required | Description |
| Method | string | true | The method used by this reminder. |
| Minute | string | true | Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). |
| Column Name | Type | Required | Description |
| DisplayName | string | false | The attendee's name. |
| string | true | The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322. Required when adding an attendee. | |
| Comment | string | false | The attendee's response comment. |
| Optional | boolean | false | Whether the attendee is optional. |
| AdditionalGuests | integer | false | Number of additional guests. |
| Resource | boolean | false | Whether the attendee is a resource. |
| ResponseStatus | string | false | The attendee response status. |
| Organizer | boolean | false | Whether the attendee is the organizer of the event. |
| Column Name | Type | Required | Description |
| AccessCode | string | false | The access code to access the conference. When creating new conference data, populate only the subset of {MeetingCode, AccessCode, Passcode, Password, Pin} fields that match the terminology that the conference provider uses. |
| EntryPointType | string | true | The type of the conference entry point. |
| Label | string | false | The label for the URI. Visible to end users. |
| MeetingCode | string | false | The meeting code to access the conference. When creating new conference data, populate only the subset of {MeetingCode, AccessCode, Passcode, Password, Pin} fields that match the terminology that the conference provider uses. |
| Passcode | string | false | The passcode to access the conference. When creating new conference data, populate only the subset of {MeetingCode, AccessCode, Passcode, Password, Pin} fields that match the terminology that the conference provider uses. |
| Password | string | false | The password to access the conference. When creating new conference data, populate only the subset of {MeetingCode, AccessCode, Passcode, Password, Pin} fields that match the terminology that the conference provider uses. |
| PIN | string | false | The PIN to access the conference. When creating new conference data, populate only the subset of {MeetingCode, AccessCode, Passcode, Password, Pin} fields that match the terminology that the conference provider uses. |
| URI | string | true | The URI of the entry point. |
| Name | Type | Required | Description |
| CalendarId | String | True | The calendar identifier where the event will be imported.If you want to access the primary calendar of the currently logged in user, use the 'primary' keyword. |
| ConferenceDataVersion | Integer | False | Version number indicating whether conference data should be included in the response. |
| SupportsAttachments | Boolean | False | Whether API client supports event attachments. When true, event with attachments is returned; otherwise, attachments are stripped. |
| ICalUID | String | True | Event unique identifier as defined in RFC5545. |
| Summary | String | False | Title of the event. |
| Status | String | False | Status of the event. |
| Visibility | String | False | Visibility of the event. |
| Transparency | String | False | Whether the event blocks time on the calendar. |
| Description | String | False | Description of the event. |
| Location | String | False | Geographic location of the event. |
| ColorId | String | False | Color ID of the event. |
| Attendees | String | False | The attendees of the event. Accepts only temporary table or JSON inputs. |
| AttachmentsFileUrls | String | False | Pipe-Seperated list of attachments file urls. |
| AttendeesOmitted | Boolean | False | Whether attendees may have been omitted from the event's representation. |
| GuestsCanInviteOthers | Boolean | False | Whether attendees other than the organizer can invite others to the event. |
| GuestsCanModify | Boolean | False | Whether attendees other than the organizer can modify the event. |
| GuestsCanSeeOtherGuests | Boolean | False | Whether attendees other than the organizer can see who the event's attendees are. |
| Sequence | Integer | False | Sequence number as per iCalendar. |
| StartDate | Date | False | Start date (for all-day events). |
| StartDateTime | String | False | Start date/time (RFC3339). |
| StartDateTimeZone | String | False | Time zone of the start (e.g., 'UTC', 'America/New_York'). |
| EndDate | Date | False | End date (for all-day events). |
| EndDateTime | String | False | End date/time (RFC3339). |
| EndDateTimeZone | String | False | Time zone of the end. |
| Recurrences | String | False | Pipe-separated List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field. |
| SourceTitle | String | False | Title of the source; for example a title of a web page or an email subject. |
| SourceUrl | String | False | URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS. |
| RemindersUseDefault | Boolean | False | Whether the calendar's default reminders apply. |
| ReminderOverrides | String | False | If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5. Accepts only temporary table or JSON inputs. |
| OrganizeName | String | False | The organizer name. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. |
| OrganizerEmail | String | False | The organizer's email address, if available. It must be a valid email address as per RFC5322. |
| ConferenceDataCreateNewRequest | Boolean | False | Whether a new conference solution should be created, or an existing one should be used. If set to true only the ConferenceDataConferenceSolutionType will be considered of the Conference Data inputs. |
| ConferenceDataConferenceId | String | False | The ID of the conference. The ID value is formed differently for each conference solution type: hangoutsMeet: ID is the 10-letter meeting code, for example aaa-bbbb-ccc. addOn: ID is defined by the third-party provider. |
| ConferenceDataNotes | String | False | Additional notes to display to user. |
| ConferenceDataSignature | String | False | The signature of the conference data. Generated on the server side. |
| ConferenceDataConferenceSolutionType | String | False | The conference solution type. |
| ConferenceDataConferenceSolutionIconUri | String | False | The user-visible icon for this solution. |
| ConferenceDataConferenceSolutionName | String | False | The user-visible solution name. |
| ConferenceDataEntryPoints | String | False | Information about individual conference entry points, such as URLs or phone numbers. All of them must belong to the same conference. Accepts only temporary table or JSON inputs. |
| Name | Type | Description |
| EventId | String | The identifier of the imported event. |
| Success | String | Indicates whether the operation was successful. |
Moves an event from one calendar to another using the Google Calendar Events.move API.
| Name | Type | Required | Description |
| CalendarId | String | True | The source calendar identifier. |
| EventId | String | True | The identifier of the event to move. |
| Destination | String | True | The destination calendar identifier. |
| SendUpdates | String | False | Guests who should receive notifications about the move. |
| Name | Type | Description |
| Success | String | Indicates whether the operation was successful. |
Creates a Google Calendar event based on a simple text string.
| Name | Type | Required | Description |
| CalendarId | String | True | The calendar identifier. |
| Summary | String | True | The text describing the event to be created. |
| SendUpdates | String | False | Guests who should receive notifications about the creation of the new event. |
| Name | Type | Description |
| EventId | String | The identifier of the created event. |
| Success | String | Indicates whether the operation was successful. |
さまざまなGoogle サービスで認証で使用されるOAuth アクセストークンを取得します。
| Name | Type | Required | Description |
| OAuthRefreshToken | String | True | オリジナル認可コードエクスチェンジから返されるリフレッシュトークン。 |
| Name | Type | Description |
| OAuthAccessToken | String | Googleから返される認証トークン。これは、引き続きこの特定のサービスの他の操作を呼び出すために使用できます。 |
| OAuthRefreshToken | String | Google から返される認証トークン。これは、引き続きこの特定のサービスの他の操作を呼び出すために使用できます。 |
| ExpiresIn | String | アクセストークンの残りの有効期間。 |
Stops receiving notifications for a given channel.
| Name | Type | Required | Description |
| ChannelId | String | True | A UUID or unique string that identifies the notification channel. |
| ResourceId | String | True | An opaque ID that identifies the resource being watched on this channel. |
| Name | Type | Description |
| Success | String | Indicates whether the operation was successful. |
Starts watching for changes to the access control list (ACL) of a calendar.
| Name | Type | Required | Description |
| CalendarId | String | True | The calendar identifier whose ACL to watch. Use 'primary' for the primary calendar of the authenticated user. |
| ChannelAddress | String | True | The address where notifications of this channel will be delivered. |
| ChannelId | String | False | A UUID or unique string that identifies the notification channel. |
| ChannelType | String | False | Type of delivery mechanism for notifications. Valid values are 'web_hook' (or 'webhook'). |
| ChannelToken | String | False | Arbitrary string delivered to the target address with each notification. Used for validation. |
| ChannelTimeToLive | String | False | The lifetime of the channel in seconds . |
| Name | Type | Description |
| Success | String | Indicates whether the operation was successful. |
| ChannelId | String | The UUID or the unique string of the channel. |
| ResourceId | String | An opaque ID that identifies the watched resource. |
| ResourceUri | String | A version-specific identifier for the watched resource. |
| Expiration | Datetime | The expiration date time of the channel. |
| ChannelToken | String | Arbitrary string delivered to the target address with each notification. Used for validation. |
Starts watching for changes in the user's calendar list.
| Name | Type | Required | Description |
| ChannelAddress | String | True | The address where notifications of this channel will be delivered. |
| ChannelId | String | False | A UUID or unique string that identifies the notification channel. |
| ChannelType | String | False | Type of delivery mechanism for notifications. Valid values are 'web_hook' (or 'webhook'). |
| ChannelToken | String | False | Arbitrary string delivered to the target address with each notification. Used for validation. |
| ChannelTimeToLive | String | False | The lifetime of the channel in seconds . |
| Name | Type | Description |
| Success | String | Indicates whether the operation was successful. |
| ChannelId | String | The UUID or the unique string of the channel. |
| ResourceId | String | An opaque ID that identifies the watched resource. |
| ResourceUri | String | A version-specific identifier for the watched resource. |
| Expiration | Datetime | The expiration date time of the channel. |
| ChannelToken | String | Arbitrary string delivered to the target address with each notification. Used for validation. |
Starts watching for changes to events on a calendar.
| Name | Type | Required | Description |
| CalendarId | String | True | The calendar identifier whose events to watch. Use 'primary' for the primary calendar of the authenticated user. |
| ChannelAddress | String | True | The address where notifications of this channel will be delivered. |
| EventTypes | String | False | A comma-separated list of event types of resources to watch. If unset, all event types will be watched. |
| ChannelId | String | False | A UUID or unique string that identifies the notification channel. |
| ChannelType | String | False | Type of delivery mechanism for notifications. Valid values are 'web_hook' (or 'webhook'). |
| ChannelToken | String | False | Arbitrary string delivered to the target address with each notification. Used for validation. |
| ChannelTimeToLive | String | False | The lifetime of the channel in seconds . |
| Name | Type | Description |
| Success | String | Indicates whether the operation was successful. |
| ChannelId | String | The UUID or the unique string of the channel. |
| ResourceId | String | An opaque ID that identifies the watched resource. |
| ResourceUri | String | A version-specific identifier for the watched resource. |
| Expiration | Datetime | The expiration date time of the channel. |
| ChannelToken | String | Arbitrary string delivered to the target address with each notification. Used for validation. |
Starts watching for changes to the authenticated user's calendar settings.
| Name | Type | Required | Description |
| ChannelAddress | String | True | The address where notifications of this channel will be delivered. |
| ChannelId | String | False | A UUID or unique string that identifies the notification channel. |
| ChannelType | String | False | Type of delivery mechanism for notifications. Valid values are 'web_hook' (or 'webhook'). |
| ChannelToken | String | False | Arbitrary string delivered to the target address with each notification. Used for validation. |
| ChannelTimeToLive | String | False | The lifetime of the channel in seconds . |
| Name | Type | Description |
| Success | String | Indicates whether the operation was successful. |
| ChannelId | String | The UUID or the unique string of the channel. |
| ResourceId | String | An opaque ID that identifies the watched resource. |
| ResourceUri | String | A version-specific identifier for the watched resource. |
| Expiration | Datetime | The expiration date time of the channel. |
| ChannelToken | String | Arbitrary string delivered to the target address with each notification. Used for validation. |
| プロパティ | 説明 |
| AuthScheme | Google Calendar への接続に使用する認証方法を指定します。 |
| プロパティ | 説明 |
| EventsScope | Specifies the event types to expose in the Data Model. |
| ShowDeleted | Whether to include deleted events when listing events. |
| SupportsAllDrives | Determines whether to retrieve items from shared Drives. |
| プロパティ | 説明 |
| OAuthClientId | カスタムOAuth アプリケーションに割り当てられたクライアントID(コンシューマーキーとも呼ばれます)を指定します。このID は、認証時にOAuth 認可サーバーにアプリケーションを識別させるために必要です。 |
| OAuthClientSecret | カスタムOAuth アプリケーションに割り当てられたクライアントシークレットを指定します。この機密情報は、OAuth 認可サーバーに対してアプリケーションを認証するために使用されます。(カスタムOAuth アプリケーションのみ) |
| DelegatedServiceAccounts | 委任されたリクエストのためのサービスアカウントE メールをスペース区切りで指定します。 |
| RequestingServiceAccount | 委任されたリクエストを行うためのサービスアカウントのE メールを指定します。 |
| プロパティ | 説明 |
| OAuthJWTCert | クライアント証明書のJWT 証明書ストアの名前を指定します。 |
| OAuthJWTCertType | JWT 証明書を格納しているキーストアの種類を指定します。 |
| OAuthJWTCertPassword | パスワードで保護された証明書ストアにアクセスするために使用されるOAuth JWT 証明書のパスワードを指定します。証明書ストアがパスワードを必要としない場合は、このプロパティを空白のままにします。 |
| OAuthJWTCertSubject | ストアで一致する証明書を検索するために使用される、OAuth JWT 証明書のサブジェクトを指定します。部分一致と、先頭の証明書を選択するためのワイルドカード '*' をサポートします。 |
| OAuthJWTIssuer | Java Web Token の発行者。 |
| OAuthJWTSubject | アプリケーションからデリゲートアクセスの要求対象となるユーザーサブジェクト。 |
| プロパティ | 説明 |
| SSLServerCert | TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。 |
| プロパティ | 説明 |
| FirewallType | provider がプロキシベースのファイアウォールを介してトラフィックをトンネリングするために使用するプロトコルを指定します。 |
| FirewallServer | ファイアウォールを通過し、ユーザーのクエリをネットワークリソースに中継するために使用されるプロキシのIP アドレス、DNS 名、またはホスト名を識別します。 |
| FirewallPort | プロキシベースのファイアウォールで使用するTCP ポートを指定します。 |
| FirewallUser | プロキシベースのファイアウォールに認証するアカウントのユーザーID を識別します。 |
| FirewallPassword | プロキシベースのファイアウォールで認証するユーザーアカウントのパスワードを指定します。 |
| プロパティ | 説明 |
| ProxyAutoDetect | provider が、手動で指定されたプロキシサーバーを使用するのではなく、既存のプロキシサーバー構成についてシステムプロキシ設定をチェックするかどうかを指定します。 |
| ProxyServer | HTTP トラフィックをルートするプロキシサーバーのホストネームもしくはIP アドレスを指定します。 |
| ProxyPort | クライアントとの間でHTTP トラフィックをルーティングするために予約された、指定されたプロキシサーバーのTCP ポートを指定します。 |
| ProxyAuthScheme | ProxyServer 接続プロパティで指定されたプロキシサーバーに対して認証する際にprovider が使用する認証方法を指定します。 |
| ProxyUser | ProxyServer 接続プロパティで指定されたプロキシサーバーに登録されているユーザーアカウントのユーザー名を提供します。 |
| ProxyPassword | ProxyUser 接続プロパティで指定されたユーザーのパスワードを指定します。 |
| ProxySSLType | ProxyServer 接続プロパティで指定されたプロキシサーバーに接続する際に使用するSSL タイプを指定します。 |
| ProxyExceptions | ProxyServer 接続プロパティで設定されたプロキシサーバー経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリストを指定します。 |
| プロパティ | 説明 |
| LogModules | ログファイルに含めるコアモジュールを指定します。セミコロンで区切られたモジュール名のリストを使用します。デフォルトでは、すべてのモジュールがログに記録されます。 |
| プロパティ | 説明 |
| Location | テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリの場所を指定します。サービスの要件に応じて、これは絶対パスまたは相対パスのいずれかで表されます。 |
| BrowsableSchemas | レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
| Tables | レポートされるテーブルを利用可能なすべてのテーブルのサブセットに制限するオプション設定。例えば、 Tables=TableA,TableB,TableC です。 |
| Views | レポートされたビューを使用可能なテーブルのサブセットに制限するオプション設定。例えば、 Views=ViewA,ViewB,ViewC です。 |
| プロパティ | 説明 |
| AWSWorkloadIdentityConfig | AWS 経由でWorkload Identity Federation を使用する場合に指定する設定プロパティ。 |
| AzureWorkloadIdentityConfig | Azure 経由でWorkload Identity Federation を使用する場合に指定する設定プロパティ。 |
| MaxRows | 集計やGROUP BY を含まないクエリで返される最大行数を指定します。 |
| Other | 特定の問題に対処するため、特殊なシナリオ向けの高度な接続プロパティを指定します。このプロパティは、サポートチームの指示がある場合にのみ使用してください。 |
| PseudoColumns | テーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。 |
| Timeout | provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。 |
| UserDefinedViews | カスタムビューを定義するJSON 構成ファイルへのファイルパスを指定します。provider は、このファイルで指定されたビューを自動的に検出して使用します。 |
| UseSimpleNames | テーブルとカラムに簡略名を使用するかどうかを指定します。 |
| WorkloadPoolId | Workload Identity Federation プールのID。 |
| WorkloadProjectId | Workload Identity Federation プールをホストするGoogle Cloud プロジェクトのID。 |
| WorkloadProviderId | Workload Identity Federation プールプロバイダーのID。 |
このセクションでは、本プロバイダーの接続文字列で設定可能なAuthentication プロパティの全リストを提供します。
| プロパティ | 説明 |
| AuthScheme | Google Calendar への接続に使用する認証方法を指定します。 |
Google Calendar への接続に使用する認証方法を指定します。
このセクションでは、本プロバイダーの接続文字列で設定可能なConnection プロパティの全リストを提供します。
| プロパティ | 説明 |
| EventsScope | Specifies the event types to expose in the Data Model. |
| ShowDeleted | Whether to include deleted events when listing events. |
| SupportsAllDrives | Determines whether to retrieve items from shared Drives. |
Specifies the event types to expose in the Data Model.
| UNIQUE | Includes single events and recurring events (with their exceptions), but not recurring event instances. |
| SINGLE | Includes single events and recurring events, but not recurring event instances and their exceptions. |
| ALL | Includes single events and all recurring event instances (but not their underlying parent events). |
Whether to include deleted events when listing events.
When set to True, events with the status 'canceled' are included in query results. Otherwise, they are omitted.
Determines whether to retrieve items from shared Drives.
If you set this property to 'true', you can download attachments from any Drive.
このセクションでは、本プロバイダーの接続文字列で設定可能なOAuth プロパティの全リストを提供します。
| プロパティ | 説明 |
| OAuthClientId | カスタムOAuth アプリケーションに割り当てられたクライアントID(コンシューマーキーとも呼ばれます)を指定します。このID は、認証時にOAuth 認可サーバーにアプリケーションを識別させるために必要です。 |
| OAuthClientSecret | カスタムOAuth アプリケーションに割り当てられたクライアントシークレットを指定します。この機密情報は、OAuth 認可サーバーに対してアプリケーションを認証するために使用されます。(カスタムOAuth アプリケーションのみ) |
| DelegatedServiceAccounts | 委任されたリクエストのためのサービスアカウントE メールをスペース区切りで指定します。 |
| RequestingServiceAccount | 委任されたリクエストを行うためのサービスアカウントのE メールを指定します。 |
カスタムOAuth アプリケーションに割り当てられたクライアントID(コンシューマーキーとも呼ばれます)を指定します。このID は、認証時にOAuth 認可サーバーにアプリケーションを識別させるために必要です。
このプロパティは2つのケースで必要となります:
(ドライバーが埋め込みOAuth 資格情報を提供する場合、この値はすでにSync App によって設定されており、手動で入力する必要がないことがあります。)
OAuthClientId は、認証付きの接続を構成する際に、OAuthClientSecret やOAuthSettingsLocation などの他のOAuth 関連プロパティと一緒に使用されるのが一般的です。
OAuthClientId は、ユーザーがOAuth 経由で認証を行う前に設定する必要がある、主要な接続パラメータの1つです。 この値は、通常、ID プロバイダーのアプリケーション登録設定で確認できます。 Client ID、Application ID、Consumer Key などとラベル付けされた項目を探してください。
クライアントID は、クライアントシークレットのような機密情報とは見なされませんが、アプリケーションの識別情報の一部であるため、慎重に取り扱う必要があります。公開リポジトリや共有設定ファイルでこの値を露出させないようにしてください。
接続設定時にこのプロパティを使用する方法の詳細については、接続の確立 を参照してください。
カスタムOAuth アプリケーションに割り当てられたクライアントシークレットを指定します。この機密情報は、OAuth 認可サーバーに対してアプリケーションを認証するために使用されます。(カスタムOAuth アプリケーションのみ)
このプロパティ(アプリケーションシークレットまたはコンシューマシークレットとも呼ばれます)は、安全なクライアント認証を必要とするすべてのフローでカスタムOAuth アプリケーションを使用する場合に必要です。たとえば、Web ベースのOAuth、サービスベースの接続、証明書ベースの認可フローなどが該当します。 組み込みOAuth アプリケーションを使用する場合は必要ありません。
クライアントシークレットは、OAuth フローのトークン交換ステップで使用されます。このステップでは、ドライバーが認可サーバーにアクセストークンを要求します。 この値が欠落しているか正しくない場合、認証はinvalid_client またはunauthorized_client エラーで失敗します。
OAuthClientSecret は、ユーザーがOAuth 経由で認証を行う前に設定する必要がある、主要な接続パラメータの1つです。この値は、OAuth アプリケーションを登録する際にID プロバイダーから取得できます。
Notes:
接続設定時にこのプロパティを使用する方法の詳細については、接続の確立 を参照してください。
委任されたリクエストのためのサービスアカウントE メールをスペース区切りで指定します。
サービスアカウントE メールは、スペース区切りのリストで指定する必要があります。
各サービスアカウントは、チェーン内の次のサービスアカウントのroles/iam.serviceAccountTokenCreator ロールを付与されている必要があります。
チェーンの最後のサービスアカウントは、リクエストするサービスアカウントのroles/iam.serviceAccountTokenCreator ロールが付与されている必要があります。 リクエストするサービスアカウントはRequestingServiceAccount プロパティで指定されたものです。
委任されたリクエストの場合、リクエストするサービスアカウントは、iam.serviceAccounts.getAccessToken 権限を持つ必要があることに注意してください。これは、serviceAccountTokenCreator ロールを介して付与することもできます。
委任されたリクエストを行うためのサービスアカウントのE メールを指定します。
委任されたリクエストで認証情報が要求されたアカウントのサービスアカウントのE メール。DelegatedServiceAccounts の委任されたサービスアカウントのリストを用いて、このプロパティは、委任されたリクエストを行うために使用されます。
このサービスアカウントには、IAM 権限iam.serviceAccounts.getAccessToken が必要です。
このセクションでは、本プロバイダーの接続文字列で設定可能なJWT OAuth プロパティの全リストを提供します。
| プロパティ | 説明 |
| OAuthJWTCert | クライアント証明書のJWT 証明書ストアの名前を指定します。 |
| OAuthJWTCertType | JWT 証明書を格納しているキーストアの種類を指定します。 |
| OAuthJWTCertPassword | パスワードで保護された証明書ストアにアクセスするために使用されるOAuth JWT 証明書のパスワードを指定します。証明書ストアがパスワードを必要としない場合は、このプロパティを空白のままにします。 |
| OAuthJWTCertSubject | ストアで一致する証明書を検索するために使用される、OAuth JWT 証明書のサブジェクトを指定します。部分一致と、先頭の証明書を選択するためのワイルドカード '*' をサポートします。 |
| OAuthJWTIssuer | Java Web Token の発行者。 |
| OAuthJWTSubject | アプリケーションからデリゲートアクセスの要求対象となるユーザーサブジェクト。 |
クライアント証明書のJWT 証明書ストアの名前を指定します。
OAuthJWTCertType フィールドは、OAuthJWTCert により指定された証明書ストアの種類を指定します。 ストアがパスワードで保護されている場合は、OAuthJWTCertPassword を使用してパスワードを指定します。
OAuthJWTCert は、OAuthJWTCertSubject フィールドとともにクライアント証明書を指定するために使われます。 OAuthJWTCert に値が設定され、かつOAuthJWTCertSubject が設定されている場合、CData Sync App は証明書の検索を開始します。 詳しくは、OAuthJWTCertSubject を参照してください。
証明書ストアの指定はプラットフォームに依存します。
注記
JWT 証明書を格納しているキーストアの種類を指定します。
| 値 | 説明 | 注記 |
| USER | 現在のユーザーが所有する証明書ストア。 | Windows のみ使用可能です。 |
| MACHINE | マシンストア。 | Java やその他の非Windows 環境では使用できません。 |
| PFXFILE | 証明書を含むPFX(PKCS12)ファイル。 | |
| PFXBLOB | PFX(PKCS12)形式の証明書ストアをbase-64 でエンコードした文字列。 | |
| JKSFILE | 証明書を含むJava キーストア(JKS)ファイル。 | Java 専用。 |
| JKSBLOB | Java キーストア(JKS)形式の証明書ストアをbase-64 でエンコードした文字列。 | Java 専用。 |
| PEMKEY_FILE | 秘密鍵とオプションの証明書を含むPEM でエンコードされたファイル。 | |
| PEMKEY_BLOB | 秘密鍵とオプションの証明書をbase-64 でエンコードした文字列。 | |
| PUBLIC_KEY_FILE | PEM またはDER でエンコードされた公開鍵証明書を含むファイル。 | |
| PUBLIC_KEY_BLOB | PEM またはDER でエンコードされた公開鍵証明書をbase-64 でエンコードした文字列。 | |
| SSHPUBLIC_KEY_FILE | SSH 形式の公開鍵を含むファイル。 | |
| SSHPUBLIC_KEY_BLOB | SSH 形式の公開鍵ををbase-64 でエンコードした文字列。 | |
| P7BFILE | 証明書を含むPKCS7 ファイル。 | |
| PPKFILE | PuTTY 秘密キー(PPK)を含むファイル。 | |
| XMLFILE | XML 形式の証明書を含むファイル。 | |
| XMLBLOB | XML 形式の証明書を含む文字列。 | |
| BCFKSFILE | Bouncy Castle キーストアを含むファイル。 | |
| BCFKSBLOB | Bouncy Castle キーストアを含む文字列(base-64エンコード)。 | |
| GOOGLEJSON | サービスアカウント情報を含むJSON ファイル。 | Google サービスに接続する場合にのみ有効。 |
| GOOGLEJSONBLOB | サービスアカウントのJSON を含む文字列。 | Google サービスに接続する場合にのみ有効。 |
パスワードで保護された証明書ストアにアクセスするために使用されるOAuth JWT 証明書のパスワードを指定します。証明書ストアがパスワードを必要としない場合は、このプロパティを空白のままにします。
このプロパティは、パスワードで保護された証明書ストアを開くために必要なパスワードを指定します。 パスワードが必要かどうかを判断するには、ご利用の証明書ストアのドキュメントまたは設定を参照してください。
GOOGLEJSON OAuthJWTCertType を使用する場合は必要ありません。Google JSON キーは暗号化されていません。
ストアで一致する証明書を検索するために使用される、OAuth JWT 証明書のサブジェクトを指定します。部分一致と、先頭の証明書を選択するためのワイルドカード '*' をサポートします。
このプロパティの値は、ストアで一致する証明書を検索するために使用されます。検索プロセスは以下のように動作します。
値を '*' に設定すると、ストアの先頭の証明書が自動的に選択されます。 証明書のサブジェクトは識別名フィールドおよび値のカンマ区切りのリストです。 例:CN=www.server.com, OU=test, C=US, [email protected]。
一般的なフィールドには以下のものが含まれます。
| フィールド | 説明 |
| CN | 共通名。一般的には、www.server.com のようなホスト名です。 |
| O | 法人名 |
| OU | 法人の部署名 |
| L | 法人の住所(市町村名) |
| S | 法人の住所(都道府県) |
| C | 国名 |
| E | E メールアドレス |
フィールド値にカンマが含まれる場合は、引用符で囲んでください。例:"O=ACME, Inc."。
Java Web Token の発行者。
Java Web Token の発行者。 サービスアカウントのE メールアドレスの値を入力します。
GOOGLEJSON OAuthJWTCertType を使用する場合は必要ありません。Google JSON キーには、発行者アカウントのコピーが含まれています。
アプリケーションからデリゲートアクセスの要求対象となるユーザーサブジェクト。
アプリケーションからデリゲートアクセスの要求対象となるユーザーサブジェクトです。 アプリケーションが委任されたアクセスをリクエストするユーザーのE メールアドレスを入力します。
このセクションでは、本プロバイダーの接続文字列で設定可能なSSL プロパティの全リストを提供します。
| プロパティ | 説明 |
| SSLServerCert | TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。 |
TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。
TLS/SSL 接続を使用している場合は、このプロパティを使用して、サーバーが受け入れるTLS/SSL 証明書を指定できます。このプロパティに値を指定すると、マシンによって信頼されていない他の証明書はすべて拒否されます。
このプロパティは、次のフォームを取ります:
| 説明 | 例 |
| フルPEM 証明書(例では省略されています) | -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE----- |
| 証明書を保有するローカルファイルへのパス。 | C:\cert.cer |
| 公開鍵(例では省略されています) | -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY----- |
| MD5 Thumbprint(hex 値はスペースまたはコロン区切り) | ecadbdda5a1529c58a1e9e09828d70e4 |
| SHA1 Thumbprint(hex 値はスペースまたはコロン区切り) | 34a929226ae0819f2ec14b4a3d904f801cbb150d |
Note:'*' を使用してすべての証明書を受け入れるように指定することも可能ですが、セキュリティ上の懸念があるため推奨されません。
このセクションでは、本プロバイダーの接続文字列で設定可能なFirewall プロパティの全リストを提供します。
| プロパティ | 説明 |
| FirewallType | provider がプロキシベースのファイアウォールを介してトラフィックをトンネリングするために使用するプロトコルを指定します。 |
| FirewallServer | ファイアウォールを通過し、ユーザーのクエリをネットワークリソースに中継するために使用されるプロキシのIP アドレス、DNS 名、またはホスト名を識別します。 |
| FirewallPort | プロキシベースのファイアウォールで使用するTCP ポートを指定します。 |
| FirewallUser | プロキシベースのファイアウォールに認証するアカウントのユーザーID を識別します。 |
| FirewallPassword | プロキシベースのファイアウォールで認証するユーザーアカウントのパスワードを指定します。 |
provider がプロキシベースのファイアウォールを介してトラフィックをトンネリングするために使用するプロトコルを指定します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
Note:デフォルトでは、Sync App はシステムプロキシに接続します。この動作を無効化し、次のプロキシタイプのいずれかに接続するには、ProxyAutoDetect をfalse に設定します。
次の表は、サポートされている各プロトコルのポート番号情報です。
| プロトコル | デフォルトポート | 説明 |
| TUNNEL | 80 | Sync App がGoogle Calendar への接続を開くポート。トラフィックはこの場所のプロキシを経由して行き来します。 |
| SOCKS4 | 1080 | Sync App がGoogle Calendar への接続を開くポート。SOCKS 4 は次にFirewallUser 値をプロキシに渡し、接続リクエストが許容されるかどうかを決定します。 |
| SOCKS5 | 1080 | Sync App がGoogle Calendar にデータを送信するポート。SOCKS 5 プロキシに認証が必要な場合には、FirewallUser およびFirewallPassword をプロキシが認識する認証情報に設定します。 |
HTTP プロキシへの接続には、ProxyServer およびProxyPort ポートを使ってください。HTTP プロキシへの認証には、ProxyAuthScheme、ProxyUser、およびProxyPassword を使ってください。
ファイアウォールを通過し、ユーザーのクエリをネットワークリソースに中継するために使用されるプロキシのIP アドレス、DNS 名、またはホスト名を識別します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
プロキシベースのファイアウォールで使用するTCP ポートを指定します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
プロキシベースのファイアウォールに認証するアカウントのユーザーID を識別します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
プロキシベースのファイアウォールで認証するユーザーアカウントのパスワードを指定します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
このセクションでは、本プロバイダーの接続文字列で設定可能なProxy プロパティの全リストを提供します。
| プロパティ | 説明 |
| ProxyAutoDetect | provider が、手動で指定されたプロキシサーバーを使用するのではなく、既存のプロキシサーバー構成についてシステムプロキシ設定をチェックするかどうかを指定します。 |
| ProxyServer | HTTP トラフィックをルートするプロキシサーバーのホストネームもしくはIP アドレスを指定します。 |
| ProxyPort | クライアントとの間でHTTP トラフィックをルーティングするために予約された、指定されたプロキシサーバーのTCP ポートを指定します。 |
| ProxyAuthScheme | ProxyServer 接続プロパティで指定されたプロキシサーバーに対して認証する際にprovider が使用する認証方法を指定します。 |
| ProxyUser | ProxyServer 接続プロパティで指定されたプロキシサーバーに登録されているユーザーアカウントのユーザー名を提供します。 |
| ProxyPassword | ProxyUser 接続プロパティで指定されたユーザーのパスワードを指定します。 |
| ProxySSLType | ProxyServer 接続プロパティで指定されたプロキシサーバーに接続する際に使用するSSL タイプを指定します。 |
| ProxyExceptions | ProxyServer 接続プロパティで設定されたプロキシサーバー経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリストを指定します。 |
provider が、手動で指定されたプロキシサーバーを使用するのではなく、既存のプロキシサーバー構成についてシステムプロキシ設定をチェックするかどうかを指定します。
この接続プロパティをTrue に設定すると、Sync App は既存のプロキシサーバー構成についてシステムプロキシ設定をチェックします(プロキシサーバーの詳細を手動で入力する必要はありません)。
この接続プロパティは他のプロキシ設定より優先されます。特定のプロキシサーバーに接続するためにSync App を構成する場合は、ProxyAutoDetect をFalse に設定します。
HTTP プロキシへの接続には、ProxyServer を参照してください。SOCKS やトンネリングなどの他のプロキシには、FirewallType を参照してください。
HTTP トラフィックをルートするプロキシサーバーのホストネームもしくはIP アドレスを指定します。
ProxyAutoDetect がFalse に設定されている場合、Sync App はこの接続プロパティで指定されたプロキシサーバーを通じてのみHTTP トラフィックをルーティングします。
ProxyAutoDetect がTrue(デフォルト)に設定されている場合、Sync App は代わりにシステムプロキシ設定で指定されたプロキシサーバーを介してHTTP トラフィックをルーティングします。
クライアントとの間でHTTP トラフィックをルーティングするために予約された、指定されたプロキシサーバーのTCP ポートを指定します。
ProxyAutoDetect がFalse に設定されている場合、Sync App はこの接続プロパティで指定されたProxyServer ポートを通じてのみHTTP トラフィックをルーティングします。
ProxyAutoDetect がTrue(デフォルト)に設定されている場合、Sync App は代わりにシステムプロキシ設定で指定されたプロキシサーバーポートを介してHTTP トラフィックをルーティングします。
その他のプロキシタイプについては、FirewallType を参照してください。
ProxyServer 接続プロパティで指定されたプロキシサーバーに対して認証する際にprovider が使用する認証方法を指定します。
サポートされる認証の種類:
NONE 以外のすべての値については、ProxyUser およびProxyPassword 接続プロパティも設定する必要があります。
SOCKS 5 認証のような他の認証タイプを使用するには、FirewallType を参照してください。
ProxyServer 接続プロパティで指定されたプロキシサーバーに登録されているユーザーアカウントのユーザー名を提供します。
ProxyUser および ProxyPassword 接続プロパティは、ProxyServer で指定されたHTTP プロキシに対して接続よび認証するために使用されます。
ProxyAuthScheme で利用可能な認証タイプを1つ選択した後、このプロパティを以下のように設定します。
| ProxyAuthScheme の値 | ProxyUser に設定する値 |
| BASIC | プロキシサーバーに登録されているユーザーのユーザー名。 |
| DIGEST | プロキシサーバーに登録されているユーザーのユーザー名。 |
| NEGOTIATE | プロキシサーバーが属するドメインまたは信頼されたドメイン内の有効なユーザーであるWindows ユーザーのユーザー名。user@domain またはdomain\user の形式で指定。 |
| NTLM | プロキシサーバーが属するドメインまたは信頼されたドメイン内の有効なユーザーであるWindows ユーザーのユーザー名。user@domain またはdomain\user の形式で指定。 |
| NONE | ProxyPassword 接続プロパティは設定しないでください。 |
Note:Sync App は、ProxyAutoDetect がFalse に設定されている場合にのみ、このユーザー名を使用します。 ProxyAutoDetect がTrue(デフォルト)に設定されている場合、Sync App は代わりにシステムのプロキシ設定で指定されているユーザー名を使用します。
ProxyUser 接続プロパティで指定されたユーザーのパスワードを指定します。
ProxyUser および ProxyPassword 接続プロパティは、ProxyServer で指定されたHTTP プロキシに対して接続よび認証するために使用されます。
ProxyAuthScheme で利用可能な認証タイプを1つ選択した後、このプロパティを以下のように設定します。
| ProxyAuthScheme の値 | ProxyPassword に設定する値 |
| BASIC | ProxyUser で指定したプロキシサーバーユーザーに紐付けられたパスワード。 |
| DIGEST | ProxyUser で指定したプロキシサーバーユーザーに紐付けられたパスワード。 |
| NEGOTIATE | ProxyUser で指定したWindows ユーザーアカウントに紐付けられたパスワード。 |
| NTLM | ProxyUser で指定したWindows ユーザーアカウントに紐付けられたパスワード。 |
| NONE | ProxyPassword 接続プロパティは設定しないでください。 |
SOCKS 5 認証もしくは、トンネリングは、FirewallType を参照してください。
Note:Sync App は、ProxyAutoDetect がFalse に設定されている場合にのみ、このパスワードを使用します。 ProxyAutoDetect がTrue(デフォルト)に設定されている場合、Sync App は代わりにシステムのプロキシ設定で指定されているパスワードを使用します。
ProxyServer 接続プロパティで指定されたプロキシサーバーに接続する際に使用するSSL タイプを指定します。
このプロパティは、ProxyServer で指定されたHTTP プロキシへの接続にSSL を使用するかどうかを決定します。この接続プロパティには、以下の値を設定できます。
| AUTO | デフォルト設定。ProxyServer がHTTPS URL に設定されている場合、Sync App は、TUNNEL オプションを使用します。ProxyServer がHTTP URL に設定されている場合、コンポーネントはNEVER オプションを使用します。 |
| ALWAYS | 接続は、常にSSL 有効となります。 |
| NEVER | 接続は、SSL 有効になりません。 |
| TUNNEL | 接続はトンネリングプロキシ経由で行われます。プロキシサーバーがリモートホストへの接続を開き、プロキシを経由して通信が行われます。 |
ProxyServer 接続プロパティで設定されたプロキシサーバー経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリストを指定します。
ProxyServer は、このプロパティで定義されたアドレスを除くすべてのアドレスに使用されます。セミコロンを使用してエントリを区切ります。
Note:Sync App はデフォルトでシステムプロキシ設定を使用するため、それ以上の設定は必要ありません。 この接続にプロキシ例外を明示的に設定する場合は、ProxyAutoDetect をFalse に設定します。
このセクションでは、本プロバイダーの接続文字列で設定可能なLogging プロパティの全リストを提供します。
| プロパティ | 説明 |
| LogModules | ログファイルに含めるコアモジュールを指定します。セミコロンで区切られたモジュール名のリストを使用します。デフォルトでは、すべてのモジュールがログに記録されます。 |
ログファイルに含めるコアモジュールを指定します。セミコロンで区切られたモジュール名のリストを使用します。デフォルトでは、すべてのモジュールがログに記録されます。
Sync App は、実行する各操作の詳細を Logfile 接続プロパティで指定されたログファイルに書き込みます。
ログに記録される各操作は、モジュールと呼ばれるカテゴリに分類されます。各モジュールには対応する短いコードがあり、個々の Sync App の操作がどのモジュールに属するかを示すラベルとして使用されます。
この接続プロパティにモジュールコードをセミコロン区切りのリストで設定すると、指定したモジュールに属する操作のみがログファイルに書き込まれます。この設定は今後のログ記録にのみ適用され、既存のログファイルの内容には影響しません。例: INFO;EXEC;SSL;META;
デフォルトでは、すべてのモジュールの操作がログに含まれます。
モジュールを明示的に除外するには、先頭に「-」を付けます。例: -HTTP
サブモジュールにフィルターを適用するには、<モジュール名>.<サブモジュール名> の構文で指定します。たとえば、次の値を設定すると、Sync App は HTTP モジュールに属するアクションのみをログに記録し、さらに HTTP モジュールの Res サブモジュールに属するアクションを除外します: HTTP;-HTTP.Res
Verbosity 接続プロパティによるログファイルのフィルタリングは、この接続プロパティによるフィルタリングよりも優先されます。そのため、Verbosity 接続プロパティで指定したレベルよりも高い詳細レベルの操作は、この接続プロパティで指定したモジュールに属していても、ログファイルには出力されません。
使用可能なモジュールとサブモジュールは次のとおりです。
| モジュール名 | モジュールの説明 | サブモジュール |
| INFO | 一般情報。接続文字列、製品バージョン(ビルド番号)、および初期接続メッセージが含まれます。 |
|
| EXEC | クエリ実行。ユーザーが記述した SQL クエリ、解析済み SQL クエリ、正規化済み SQL クエリの実行メッセージが含まれます。クエリおよびクエリページの成功/失敗メッセージもここに表示されます。 |
|
| HTTP | HTTP プロトコルメッセージ。HTTP リクエスト/レスポンス(POST メッセージを含む)、および Kerberos 関連のメッセージが含まれます。 |
|
| WSDL | WSDL/XSD ファイルの生成に関するメッセージ。 | — |
| SSL | SSL 証明書メッセージ。 |
|
| AUTH | 認証関連の失敗/成功メッセージ。 |
|
| SQL | SQL トランザクション、SQL 一括転送メッセージ、および SQL 結果セットメッセージが含まれます。 |
|
| META | メタデータキャッシュとスキーマメッセージ。 |
|
| FUNC | SQL 関数の実行に関連する情報。 |
|
| TCP | TCP トランスポートレイヤーメッセージでの送受信生バイト。 |
|
| FTP | File Transfer Protocol に関するメッセージ。 |
|
| SFTP | Secure File Transfer Protocol に関するメッセージ。 |
|
| POP | Post Office Protocol 経由で転送されるデータに関するメッセージ。 |
|
| SMTP | Simple Mail Transfer Protocol 経由で転送されるデータに関するメッセージ。 |
|
| CORE | 他のモジュールでカバーされていない、さまざまな製品内部操作に関連するメッセージ。 | — |
| DEMN | SQL リモーティングに関連するメッセージ。 | — |
| CLJB | 一括データアップロード(クラウドジョブ)に関するメッセージ。 |
|
| SRCE | 他のモジュールに属さない、製品が生成するその他のメッセージ。 | — |
| TRANCE | 低レベルの製品操作に関する高度なメッセージ。 | — |
このセクションでは、本プロバイダーの接続文字列で設定可能なSchema プロパティの全リストを提供します。
| プロパティ | 説明 |
| Location | テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリの場所を指定します。サービスの要件に応じて、これは絶対パスまたは相対パスのいずれかで表されます。 |
| BrowsableSchemas | レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
| Tables | レポートされるテーブルを利用可能なすべてのテーブルのサブセットに制限するオプション設定。例えば、 Tables=TableA,TableB,TableC です。 |
| Views | レポートされたビューを使用可能なテーブルのサブセットに制限するオプション設定。例えば、 Views=ViewA,ViewB,ViewC です。 |
テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリの場所を指定します。サービスの要件に応じて、これは絶対パスまたは相対パスのいずれかで表されます。
Location プロパティは、定義をカスタマイズしたり(例えば、カラム名を変更する、カラムを無視するなど)、新しいテーブル、ビュー、またはストアドプロシージャでデータモデルを拡張する場合にのみ必要です。
指定しない場合、デフォルトの場所は%APPDATA%\\CData\\GoogleCalendar Data Provider\\Schema となり、%APPDATA%はユーザーのコンフィギュレーションディレクトリに設定されます:
| プラットフォーム | %APPDATA% |
| Windows | APPDATA 環境変数の値 |
| Linux | ~/.config |
レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
利用可能なデータベーススキーマをすべてリストすると余分な時間がかかり、パフォーマンスが低下します。 接続文字列にスキーマのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。
レポートされるテーブルを利用可能なすべてのテーブルのサブセットに制限するオプション設定。例えば、 Tables=TableA,TableB,TableC です。
データベースによっては、利用可能なすべてのテーブルをリストするのに時間がかかり、パフォーマンスが低下する場合があります。 接続文字列にテーブルのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。
利用可能なテーブルがたくさんあり、すでに作業したいテーブルが決まっている場合、このプロパティを使用して対象のテーブルのみに表示を制限することができます。これを行うには、カンマ区切りのリストで使用したいテーブルを指定します。各テーブルは、角かっこ、二重引用符、またはバッククオートを使用してエスケープされた特殊文字列を含む有効なSQL 識別子である必要があります。 例えば、Tables=TableA,[TableB/WithSlash],WithCatalog.WithSchema.`TableC With Space` です。
Note:複数のスキーマまたはカタログを持つデータソースに接続する場合は、表示する各テーブルを完全修飾名で指定する必要があります。これにより、複数のカタログやスキーマに存在するテーブルが混同されることを防ぎます。
レポートされたビューを使用可能なテーブルのサブセットに制限するオプション設定。例えば、 Views=ViewA,ViewB,ViewC です。
データベースによっては、利用可能なすべてのビューをリストするのに時間がかかり、パフォーマンスが低下する場合があります。 接続文字列にビューのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。
利用可能なビューがたくさんあり、すでに作業したいビューが決まっている場合、このプロパティを使用して対象のビューのみに表示を制限することができます。これを行うには、カンマ区切りのリストで使用したいビューを指定します。各ビューは、角かっこ、二重引用符、またはバッククオートを使用してエスケープされた特殊文字列を含む有効なSQL 識別子である必要があります。 例えば、Views=ViewA,[ViewB/WithSlash],WithCatalog.WithSchema.`ViewC With Space` です。
Note:複数のスキーマまたはカタログを持つデータソースに接続する場合は、確認する各ビューを完全修飾名で指定する必要があります。これにより、複数のカタログやスキーマに存在するビューが混同されることを防ぎます。
このセクションでは、本プロバイダーの接続文字列で設定可能なMiscellaneous プロパティの全リストを提供します。
| プロパティ | 説明 |
| AWSWorkloadIdentityConfig | AWS 経由でWorkload Identity Federation を使用する場合に指定する設定プロパティ。 |
| AzureWorkloadIdentityConfig | Azure 経由でWorkload Identity Federation を使用する場合に指定する設定プロパティ。 |
| MaxRows | 集計やGROUP BY を含まないクエリで返される最大行数を指定します。 |
| Other | 特定の問題に対処するため、特殊なシナリオ向けの高度な接続プロパティを指定します。このプロパティは、サポートチームの指示がある場合にのみ使用してください。 |
| PseudoColumns | テーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。 |
| Timeout | provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。 |
| UserDefinedViews | カスタムビューを定義するJSON 構成ファイルへのファイルパスを指定します。provider は、このファイルで指定されたビューを自動的に検出して使用します。 |
| UseSimpleNames | テーブルとカラムに簡略名を使用するかどうかを指定します。 |
| WorkloadPoolId | Workload Identity Federation プールのID。 |
| WorkloadProjectId | Workload Identity Federation プールをホストするGoogle Cloud プロジェクトのID。 |
| WorkloadProviderId | Workload Identity Federation プールプロバイダーのID。 |
AWS 経由でWorkload Identity Federation を使用する場合に指定する設定プロパティ。
このプロパティは、Key=Value プロパティのセミコロン区切りリストとしてフォーマットされ、値はオプションで引用符で囲むこともできます。
例えば、この設定はユーザーのルートキーを使用してAWS で認証します:
AWSWorkloadIdentityConfig="AuthScheme=AwsRootKeys;AccessKey='AKIAABCDEF123456';SecretKey=...;Region=us-east-1"
Azure 経由でWorkload Identity Federation を使用する場合に指定する設定プロパティ。
このプロパティは、Key=Value プロパティのセミコロン区切りリストとしてフォーマットされ、値はオプションで引用符で囲むこともできます。
例えば、この設定はクライアント資格情報を使用してAzure で認証します:
AzureWorkloadIdentityConfig="AuthScheme=AzureServicePrincipal;AzureTenant=directory (tenant) id;OAuthClientID=application (client) id;OAuthClientSecret=client secret;AzureResource=application id uri;"
集計やGROUP BY を含まないクエリで返される最大行数を指定します。
このプロパティのデフォルト値である-1 は、クエリに明示的にLIMIT 句が含まれていない限り、行の制限が適用されないことを意味します。 (クエリにLIMIT 句が含まれている場合、クエリで指定された値がMaxRows 設定よりも優先されます。)
MaxRows を0より大きい整数に設定することで、クエリがデフォルトで過度に大きな結果セットを返さないようにします。
このプロパティは、非常に大きなデータセットを返す可能性のあるクエリを実行する際に、パフォーマンスを最適化し、過剰なリソース消費を防ぐのに役立ちます。
特定の問題に対処するため、特殊なシナリオ向けの高度な接続プロパティを指定します。このプロパティは、サポートチームの指示がある場合にのみ使用してください。
このプロパティにより、シニアユーザーはサポートチームのアドバイスに基づいて、特定の状況に対応する隠しプロパティを設定できます。 これらの設定は通常のユースケースには必要ありませんが、特定の要件に対応したり、追加の機能を提供したりすることができます。 複数のプロパティを定義するには、セミコロンで区切られたリストを使用します。
Note:特定のシナリオや問題に対処するためにサポートチームから助言があった場合にのみ、これらのプロパティを設定することを強く推奨します。
| プロパティ | 説明 |
| DefaultColumnSize | データソースがメタデータにカラムの長さを提供しない場合に、文字列フィールドのデフォルトの長さを設定します。デフォルト値は2000です。 |
| ConvertDateTimeToGMT=True | 日時の値を、マシンのローカルタイムではなくGMT グリニッジ標準時に変換します。デフォルト値はFalse(ローカルタイムを使用)です。 |
| RecordToFile=filename | 基底のソケットデータ転送を指定のファイルに記録します。 |
テーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。
このプロパティを使用すると、Sync App がテーブルカラムとして公開する擬似カラムを定義できます。
個々の擬似カラムを指定するには、以下の形式を使用します。
Table1=Column1;Table1=Column2;Table2=Column3
すべてのテーブルのすべての擬似カラムを含めるには、次を使用してください:
*=*
provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。
タイムアウトは、クエリや操作全体ではなくサーバーとの個々の通信に適用されます。 例えば、各ページング呼び出しがタイムアウト制限内に完了する場合、クエリは60秒を超えて実行を続けることができます。
タイムアウトはデフォルトで60秒に設定されています。タイムアウトを無効にするには、このプロパティを0に設定します。
タイムアウトを無効にすると、操作が成功するか、サーバー側のタイムアウト、ネットワークの中断、またはサーバーのリソース制限などの他の条件で失敗するまで無期限に実行されます。
Note: このプロパティは慎重に使用してください。長時間実行される操作がパフォーマンスを低下させたり、応答しなくなる可能性があるためです。
カスタムビューを定義するJSON 構成ファイルへのファイルパスを指定します。provider は、このファイルで指定されたビューを自動的に検出して使用します。
UserDefinedViews を使用すると、UserDefinedViews.json というJSON 形式の構成ファイルを通じてカスタムビューを定義および管理できます。 これらのビューはSync App によって自動的に認識され、標準のデータベースビューのようにカスタムSQL クエリを実行できるようになります。 JSON ファイルは、各ビューをルート要素として定義し、その子要素として"query" を持ちます。この"query" にはビューのSQL クエリが含まれています。
次に例を示します。
{
"MyView": {
"query": "SELECT * FROM MyCalendar WHERE MyColumn = 'value'"
},
"MyView2": {
"query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)"
}
}
このプロパティを使用して、1つのファイルに複数のビューを定義し、ファイルパスを指定できます。
次に例を示します。
UserDefinedViews=C:\Path\To\UserDefinedViews.jsonUserDefinedViews でビューを指定すると、Sync App はそのビューだけを参照します。
詳しくは、ユーザー定義ビュー を参照してください。
テーブルとカラムに簡略名を使用するかどうかを指定します。
Google Calendar テーブルでは、標準的なデータベースでは通常許可されない特殊文字を名前に含めることができます。このプロパティを使用すると、Sync App を従来のデータベースツールでより簡単に使用できるようになります。
UseSimpleNames をTrue に設定すると、返されるカラム名をシンプルにします。 表示されるカラム名において、アルファベット文字およびアンダースコアのみを有効とするネーミングスキームを強制します。
Notes:
Workload Identity Federation プールのID。
Workload Identity Federation プールのID。
Workload Identity Federation プールをホストするGoogle Cloud プロジェクトのID。
Workload Identity Federation プールをホストするGoogle Cloud プロジェクトのID。
Workload Identity Federation プールプロバイダーのID。
Workload Identity Federation プールプロバイダーのID。
LZMA from 7Zip LZMA SDK
LZMA SDK is placed in the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original LZMA SDK code, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
LZMA2 from XZ SDK
Version 1.9 and older are in the public domain.
Xamarin.Forms
Xamarin SDK
The MIT License (MIT)
Copyright (c) .NET Foundation Contributors
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
NSIS 3.10
Copyright (C) 1999-2025 Contributors THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
1. DEFINITIONS
"Contribution" means:
a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and b) in the case of each subsequent Contributor:
i) changes to the Program, and
ii) additions to the Program;
where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.
"Contributor" means any person or entity that distributes the Program.
"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.
"Program" means the Contributions distributed in accordance with this Agreement.
"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.
2. GRANT OF RIGHTS
a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.
b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
3. REQUIREMENTS
A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:
a) it complies with the terms and conditions of this Agreement; and
b) its license agreement:
i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and
iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.
When the Program is made available in source code form:
a) it must be made available under this Agreement; and
b) a copy of this Agreement must be included with each copy of the Program.
Contributors may not remove or alter any copyright notices contained within the Program.
Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.
4. COMMERCIAL DISTRIBUTION
Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.
For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.
5. NO WARRANTY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.
6. DISCLAIMER OF LIABILITY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. GENERAL
If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.
All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.
Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.