-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
GoogleCalendar.yml
236 lines (226 loc) · 7.92 KB
/
GoogleCalendar.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
category: IT Services
commonfields:
id: GoogleCalendar
version: -1
configuration:
- display: User's Service Account JSON
name: user_service_account_json
required: true
type: 4
- display: Trust any certificate (not secure)
name: insecure
required: false
type: 8
- display: Use system proxy settings
name: proxy
required: false
type: 8
description: Google Calendar is a time-management and scheduling calendar service developed by Google. This integration helps you to perform various tasks on the access control list (ACL).
display: Google Calendar
name: GoogleCalendar
script:
commands:
- arguments:
- default: false
description: Identifier of the calendar. To access the primary calendar
of the currently logged in user, use the "primary" keyword.
isArray: false
name: calendar_id
required: true
secret: false
- default: false
description: The user's primary email address.
isArray: false
name: user_id
required: false
secret: false
- auto: PREDEFINED
default: false
description: |-
The role assigned to the scope.
Available Options:
"none" - Provides no access.
"freeBusyReader" - Provides read access to free/busy information.
"reader" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
"writer" - Provides read and write access to the calendar. Private events will appear to users with write access, and event details will be visible.
"owner" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.
isArray: false
name: role
predefined:
- none
- freeBusyReader
- reader
- writer
- owner
required: true
secret: false
- auto: PREDEFINED
default: false
description: |-
The type of the scope.
Available Options:
"default" - The public scope. This is the default value.
"user" - Limits the scope to a single user.
"group" - Limits the scope to a group.
"domain" - Limits the scope to a domain.
Note: The permissions granted to the "default", or public scope, apply to any user, authenticated or not.
isArray: false
name: scope_type
predefined:
- default
- user
- group
- domain
required: true
secret: false
- default: false
description: The email address of a user or group, or the name of a domain,
depending on the scope type. Omitted for type "default".
isArray: false
name: scope_value
required: false
secret: false
- auto: PREDEFINED
default: false
defaultValue: 'true'
description: Whether to send notifications about the calendar sharing change. Default is "true".
isArray: false
name: send_notifications
predefined:
- 'true'
- 'false'
required: false
secret: false
deprecated: false
description: Creates an access control rule.
execution: false
name: google-calendar-acl-add
outputs:
- contextPath: GoogleCalendar.Acl.calendarId
description: Calendar identifier.
type: String
- contextPath: GoogleCalendar.Acl.userId
description: User’s email address.
type: String
- contextPath: GoogleCalendar.Acl.id
description: Identifier of the ACL rule.
type: String
- contextPath: GoogleCalendar.Acl.kind
description: Type of the resource.
type: String
- contextPath: GoogleCalendar.Acl.etag
description: ETag of the resource.
type: String
- contextPath: GoogleCalendar.Acl.scopeType
description: The type of the scope.
type: String
- contextPath: GoogleCalendar.Acl.scopeValue
description: The email address of a user or group, or the name of a domain,
depending on the scope type.
type: String
- contextPath: GoogleCalendar.Acl.role
description: The role assigned to the scope.
type: String
- arguments:
- default: false
description: Calendar identifier. If you want to access the primary calendar
of the currently logged in user, use the "primary" keyword.
isArray: false
name: calendar_id
required: true
secret: false
- default: false
description: The user's primary email address.
isArray: false
name: user_id
required: false
secret: false
- default: false
defaultValue: '100'
description: Maximum number of entries returned on a result page. Default is 100. The page size cannot be greater than 250 entries.
isArray: false
name: max_results
required: false
secret: false
- default: false
description: Token specifying which result page to return.
isArray: false
name: page_token
required: false
secret: false
- auto: PREDEFINED
default: false
defaultValue: 'false'
description: Whether to include deleted ACLs in the result. Deleted ACLs are
represented by the role "none". Deleted ACLs will always be included
if syncToken is provided. Default is "false".
isArray: false
name: show_deleted
predefined:
- 'true'
- 'false'
required: false
secret: false
- default: false
description: |
Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. The result of this list request contains only entries that have changed since then. All entries deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to false.
If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.
isArray: false
name: sync_token
required: false
secret: false
deprecated: false
description: Returns the rules in the access control list for the calendar.
execution: false
name: google-calendar-acl-list
outputs:
- contextPath: GoogleCalendar.Acl.calendarId
description: Calendar identifier.
type: String
- contextPath: GoogleCalendar.Acl.userId
description: User’s email address.
type: String
- contextPath: GoogleCalendar.Acl.id
description: Identifier of the ACL rule.
type: String
- contextPath: GoogleCalendar.Acl.kind
description: Type of the resource.
type: String
- contextPath: GoogleCalendar.Acl.etag
description: ETag of the resource.
type: String
- contextPath: GoogleCalendar.Acl.scopeType
description: The type of the scope.
type: String
- contextPath: GoogleCalendar.Acl.scopeValue
description: The email address of a user or group, or the name of a domain,
depending on the scope type.
type: String
- contextPath: GoogleCalendar.Acl.role
description: The role assigned to the scope.
type: String
- contextPath: GoogleCalendar.PageToken.Acl.calendarId
description: Calendar identifier.
type: String
- contextPath: GoogleCalendar.PageToken.Acl.userId
description: User’s email address.
type: String
- contextPath: GoogleCalendar.PageToken.Acl.nextPageToken
description: Token used to access the next page of this result.
type: String
- contextPath: GoogleCalendar.PageToken.Acl.nextSyncToken
description: Token used at a later point in time to retrieve only the entries
that have changed since this result was returned.
type: String
dockerimage: demisto/googleapi-python3:1.0.0.63394
feed: false
isfetch: false
longRunning: false
longRunningPort: false
runonce: false
script: '-'
subtype: python3
type: python
tests:
- GoogleCalendar-Test
fromversion: 5.0.0