category: IT Services provider: Google commonfields: id: GoogleCalendar version: -1 configuration: - display: User's Service Account JSON name: user_service_account_json type: 4 hidden: true required: false - name: user_service_account_json_creds type: 9 displaypassword: User's Service Account JSON hiddenusername: true required: false - display: Trust any certificate (not secure) name: insecure type: 8 required: false - display: Use system proxy settings name: proxy type: 8 required: false 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: - description: Identifier of the calendar. To access the primary calendar of the currently logged in user, use the "primary" keyword. name: calendar_id required: true - description: The user's primary email address. name: user_id - auto: PREDEFINED 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. name: role predefined: - none - freeBusyReader - reader - writer - owner required: true - auto: PREDEFINED 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. name: scope_type predefined: - default - user - group - domain required: true - description: The email address of a user or group, or the name of a domain, depending on the scope type. Omitted for type "default". name: scope_value - auto: PREDEFINED defaultValue: 'true' description: Whether to send notifications about the calendar sharing change. Default is "true". name: send_notifications predefined: - 'true' - 'false' description: Creates an access control rule. 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: - description: Calendar identifier. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. name: calendar_id required: true - description: The user's primary email address. name: user_id - defaultValue: '100' description: Maximum number of entries returned on a result page. Default is 100. The page size cannot be greater than 250 entries. name: max_results - description: Token specifying which result page to return. name: page_token - auto: PREDEFINED 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". name: show_deleted predefined: - 'true' - '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. name: sync_token description: Returns the rules in the access control list for the calendar. 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.10182333 runonce: false script: '-' subtype: python3 type: python tests: - GoogleCalendar-Test fromversion: 5.0.0