name: GoogleDrive category: IT Services provider: Google display: Google Drive sectionorder: - Connect - Collect configuration: - name: user_service_account_json display: User's Service Account JSON defaultvalue: type: 4 section: Connect additionalinfo: hidden: true required: false - name: user_id display: User ID defaultvalue: type: 0 section: Connect advanced: true additionalinfo: The primary email address of the user to fetch the incident(s). hidden: true required: false - name: user_creds display: User ID type: 9 section: Connect displaypassword: User's Service Account JSON required: false - name: action_detail_case_include display: Action Detail Case Include defaultvalue: type: 16 section: Collect advanced: true additionalinfo: Action types to include for fetching the incident. options: - CREATE - EDIT - MOVE - RENAME - DELETE - RESTORE - COMMENT - REFERENCE required: false - name: drive_item_search_field display: Drive Item Search Field defaultvalue: type: 15 section: Collect advanced: true additionalinfo: itemName - Fetch activities for this drive item. The format is "items/ITEM_ID". folderName - Fetch activities for this drive folder and all children and descendants. The format is "items/ITEM_ID". options: - itemName - folderName required: false - name: drive_item_search_value display: Drive Item Search Value type: 0 section: Collect defaultvalue: advanced: true additionalinfo: itemName or folderName for fetching the incident. required: false - display: Fetch incidents name: isFetch type: 8 section: Collect required: false - name: incidentType display: Incident type type: 13 required: false section: Collect - name: max_fetch display: Max Incidents defaultvalue: 50 type: 0 section: Collect additionalinfo: The maximum number of incidents to fetch each time. required: false - display: Incidents Fetch Interval name: incidentFetchInterval type: 19 section: Collect required: false - name: first_fetch display: First Fetch Time Interval type: 0 section: Collect advanced: true additionalinfo: The time range to consider for the initial data fetch in the format e.g., 1 hour, 2 hours, 6 hours, 12 hours, 24 hours, 48 hours. defaultvalue: 10 minutes required: false - name: insecure display: Trust any certificate (not secure) type: 8 section: Connect advanced: true additionalinfo: required: false - name: proxy display: Use system proxy settings type: 8 section: Connect advanced: true additionalinfo: required: false description: Google Drive allows users to store files on their servers, synchronize files across devices, and share files. This integration helps you to create a new drive, query past activity, and view change logs performed by the users. script: commands: - arguments: - description: The user's primary email address. name: user_id - description: The name of this shared drive. name: name required: true - auto: PREDEFINED description: 'Whether the shared drive is hidden from the default view.' name: hidden predefined: - "True" - "False" description: >- Deprecated. Use the 'google-drive-drive-create' command instead. name: google-drive-create deprecated: true outputs: - contextPath: GoogleDrive.Drive.kind description: Identifies what kind of resource this is. type: String - contextPath: GoogleDrive.Drive.id description: The ID of the shared drive which is also the ID of the top level folder of the shared drive. type: String - contextPath: GoogleDrive.Drive.name description: The name of the shared drive. type: String - contextPath: GoogleDrive.Drive.hidden description: Whether the shared drive is hidden from the default view. type: Boolean - arguments: - description: The user's primary email address. name: user_id - description: The name of this shared drive. name: name required: true - auto: PREDEFINED description: 'Whether the shared drive is hidden from the default view.' name: hidden predefined: - "True" - "False" description: >- Creates a new Team Drive. The name argument specifies the name of the Team Drive. The specified user will be the first organizer. This shared drive/team drive feature is available only with G Suite Enterprise, Enterprise for Education, G Suite Essentials, Business, Education, and Nonprofits edition. name: google-drive-drive-create outputs: - contextPath: GoogleDrive.Drive.kind description: Identifies what kind of resource this is. type: String - contextPath: GoogleDrive.Drive.id description: The ID of the shared drive which is also the ID of the top level folder of the shared drive. type: String - contextPath: GoogleDrive.Drive.name description: The name of the shared drive. type: String - contextPath: GoogleDrive.Drive.hidden description: Whether the shared drive is hidden from the default view. type: Boolean - arguments: - description: The token for continuing a previous list request on the next page. name: page_token required: true - description: The user's primary email address. name: user_id - description: The shared drive from which changes are returned. Can be retrieved using the `google-drive-drives-list` command. name: drive_id - auto: PREDEFINED defaultValue: "false" description: 'Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file.' name: include_corpus_removals predefined: - "true" - "false" - auto: PREDEFINED defaultValue: "false" description: 'Whether both My Drive and shared drive items should be included in the results.' name: include_items_from_all_drives predefined: - "true" - "false" - description: Specifies which additional view's permissions to include in the response. Only 'published' is supported. name: include_permissions_for_view - auto: PREDEFINED defaultValue: "true" description: 'Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access.' name: include_removed predefined: - "true" - "false" - defaultValue: 100 description: The maximum number of changes to return per page. Acceptable values are 1 to 1000, inclusive. name: page_size - auto: PREDEFINED defaultValue: "false" description: 'Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared files which have not been added to My Drive.' name: restrict_to_my_drive predefined: - "true" - "false" - description: A comma-separated list of spaces to query within the user corpus. Possible values are 'drive', 'appDataFolder', and 'photos'. name: spaces - auto: PREDEFINED defaultValue: "false" description: 'Whether the requesting application supports both My Drives and shared drives.' name: supports_all_drives predefined: - "true" - "false" - auto: PREDEFINED defaultValue: basic description: 'The paths of the fields you want to include in the response. Possible values are: "basic" (the response will include a default set of fields specific to this method) and "advance" (you can use the value * to return all the fields).' name: fields predefined: - basic - advance description: Lists the changes for a user or shared drive. name: google-drive-changes-list outputs: - contextPath: GoogleDrive.PageToken.DriveChange.nextPageToken description: The page token for the next page of changes. type: String - contextPath: GoogleDrive.PageToken.DriveChange.newStartPageToken description: The starting page token for future changes. type: String - contextPath: GoogleDrive.PageToken.DriveChange.driveId description: The ID of the shared drive associated with this change. type: String - contextPath: GoogleDrive.PageToken.DriveChange.userId description: The user's primary email address. type: String - contextPath: GoogleDrive.DriveChange.userId description: The user's primary email address. type: String - contextPath: GoogleDrive.DriveChange.kind description: Identifies what kind of resource this is. type: String - contextPath: GoogleDrive.DriveChange.changeType description: The type of the change. Possible values are "file" and "drive". type: String - contextPath: GoogleDrive.DriveChange.time description: The time of this change (RFC 3339 date-time). type: Date - contextPath: GoogleDrive.DriveChange.removed description: Whether the file or shared drive has been removed from this list of changes, for example by deletion or loss of access. type: Boolean - contextPath: GoogleDrive.DriveChange.fileId description: The ID of the file which has changed. type: String - contextPath: GoogleDrive.DriveChange.driveId description: The ID of the shared drive associated with this change. type: String - contextPath: GoogleDrive.DriveChange.file.kind description: Identifies what kind of resource this is. type: String - contextPath: GoogleDrive.DriveChange.file.id description: The ID of the file. type: String - contextPath: GoogleDrive.DriveChange.file.name description: The name of the file. type: String - contextPath: GoogleDrive.DriveChange.file.mimeType description: The MIME type of the file. type: String - contextPath: GoogleDrive.DriveChange.file.description description: A short description of the file. type: String - contextPath: GoogleDrive.DriveChange.file.starred description: Whether the user has starred the file. type: Boolean - contextPath: GoogleDrive.DriveChange.file.trashed description: Whether the file has been trashed, either explicitly or from a trashed parent folder. Only the owner may trash a file. type: Boolean - contextPath: GoogleDrive.DriveChange.file.explicitlyTrashed description: Whether the file has been explicitly trashed, as opposed to recursively trashed from a parent folder. type: Boolean - contextPath: GoogleDrive.DriveChange.file.trashingUser.kind description: Identifies what kind of resource this is. type: String - contextPath: GoogleDrive.DriveChange.file.trashingUser.displayName description: A plain text displayable name for this user. type: String - contextPath: GoogleDrive.DriveChange.file.trashingUser.photoLink description: A link to the user's profile photo, if available. type: String - contextPath: GoogleDrive.DriveChange.file.trashingUser.me description: Whether this user is the requesting user. type: Boolean - contextPath: GoogleDrive.DriveChange.file.trashingUser.permissionId description: The user's ID as visible in Permission resources. type: String - contextPath: GoogleDrive.DriveChange.file.trashingUser.emailAddress description: The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester. type: String - contextPath: GoogleDrive.DriveChange.file.trashedTime description: The time that the item was trashed (RFC 3339 date-time). Only populated for items in shared drives. type: Date - contextPath: GoogleDrive.DriveChange.file.parents description: The IDs of the parent folders which contain the file. type: Unknown - contextPath: GoogleDrive.DriveChange.file.properties description: A collection of arbitrary key-value pairs which are visible to all apps. type: Unknown - contextPath: GoogleDrive.DriveChange.file.appProperties description: A collection of arbitrary key-value pairs which are private to the requesting app. type: Unknown - contextPath: GoogleDrive.DriveChange.file.spaces description: The list of spaces which contain the file. The currently supported values are 'drive', 'appDataFolder' and 'photos'. type: Unknown - contextPath: GoogleDrive.DriveChange.file.version description: A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the user. type: Number - contextPath: GoogleDrive.DriveChange.file.webContentLink description: A link for downloading the content of the file in a browser. This is only available for files with binary content in Google Drive. type: String - contextPath: GoogleDrive.DriveChange.file.webViewLink description: A link for opening the file in a relevant Google editor or viewer in a browser. type: String - contextPath: GoogleDrive.DriveChange.file.iconLink description: A static, unauthenticated link to the file's icon. type: String - contextPath: GoogleDrive.DriveChange.file.hasThumbnail description: Whether this file has a thumbnail. type: Boolean - contextPath: GoogleDrive.DriveChange.file.thumbnailLink description: A short-lived link to the file's thumbnail, if available. type: String - contextPath: GoogleDrive.DriveChange.file.thumbnailVersion description: The thumbnail version for use in thumbnail cache invalidation. type: Number - contextPath: GoogleDrive.DriveChange.file.viewedByMe description: Whether the file has been viewed by this user. type: Boolean - contextPath: GoogleDrive.DriveChange.file.viewedByMeTime description: The last time the file was viewed by the user (RFC 3339 date-time). type: Date - contextPath: GoogleDrive.DriveChange.file.createdTime description: The time at which the file was created (RFC 3339 date-time). type: Date - contextPath: GoogleDrive.DriveChange.file.modifiedTime description: The last time the file was modified by anyone (RFC 3339 date-time). type: Date - contextPath: GoogleDrive.DriveChange.file.modifiedByMeTime description: The last time the file was modified by the user (RFC 3339 date-time). type: Date - contextPath: GoogleDrive.DriveChange.file.modifiedByMe description: Whether the file has been modified by the user. type: Boolean - contextPath: GoogleDrive.DriveChange.file.sharedWithMeTime description: The time at which the file was shared with the user, if applicable (RFC 3339 date-time). type: Date - contextPath: GoogleDrive.DriveChange.file.sharingUser.kind description: Identifies what kind of resource this is. type: String - contextPath: GoogleDrive.DriveChange.file.sharingUser.displayName description: A plain text displayable name for this user. type: String - contextPath: GoogleDrive.DriveChange.file.sharingUser.photoLink description: A link to the user's profile photo, if available. type: Date - contextPath: GoogleDrive.DriveChange.file.sharingUser.me description: Whether this user is the requesting user. type: Boolean - contextPath: GoogleDrive.DriveChange.file.sharingUser.permissionId description: The user's ID as visible in Permission resources. type: String - contextPath: GoogleDrive.DriveChange.file.sharingUser.emailAddress description: The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester. type: String - contextPath: GoogleDrive.DriveChange.file.owners.kind description: Identifies what kind of resource this is. type: String - contextPath: GoogleDrive.DriveChange.file.owners.displayName description: A plain text displayable name for this user. type: String - contextPath: GoogleDrive.DriveChange.file.owners.photoLink description: A link to the user's profile photo, if available. type: String - contextPath: GoogleDrive.DriveChange.file.owners.me description: Whether this user is the requesting user. type: Boolean - contextPath: GoogleDrive.DriveChange.file.owners.permissionId description: The user's ID as visible in Permission resources. type: String - contextPath: GoogleDrive.DriveChange.file.owners.emailAddress description: The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester. type: String - contextPath: GoogleDrive.DriveChange.file.driveId description: ID of the shared drive the file resides in. Only populated for items in shared drives. type: String - contextPath: GoogleDrive.DriveChange.file.lastModifyingUser.kind description: Identifies what kind of resource this is. type: String - contextPath: GoogleDrive.DriveChange.file.lastModifyingUser.displayName description: A plain text displayable name for this user. type: String - contextPath: GoogleDrive.DriveChange.file.lastModifyingUser.photoLink description: A link to the user's profile photo, if available. type: String - contextPath: GoogleDrive.DriveChange.file.lastModifyingUser.me description: Whether this user is the requesting user. type: Boolean - contextPath: GoogleDrive.DriveChange.file.lastModifyingUser.permissionId description: The user's ID as visible in Permission resources. type: String - contextPath: GoogleDrive.DriveChange.file.lastModifyingUser.emailAddress description: The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester. type: String - contextPath: GoogleDrive.DriveChange.file.shared description: Whether the file has been shared. Not populated for items in shared drives. type: Boolean - contextPath: GoogleDrive.DriveChange.file.ownedByMe description: Whether the user owns the file. Not populated for items in shared drives. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canAddChildren description: Whether the current user can add children to this folder. This is always false when the item is not a folder. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canAddFolderFromAnotherDrive description: Whether the current user can add a folder from another drive (different shared drive or My Drive) to this folder. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canAddMyDriveParent description: Whether the current user can add a parent for the item without removing an existing parent in the same request. Not populated for shared drive files. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canChangeCopyRequiresWriterPermission description: Whether the current user can change the 'copy requires writer permission' restriction of this file. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canComment description: Whether the current user can comment on this file. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canCopy description: Whether the current user can copy this file. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canDelete description: Whether the current user can delete this file. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canDeleteChildren description: Whether the current user can delete children of this folder. This is false when the item is not a folder. Only populated for items in shared drives. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canDownload description: Whether the current user can download this file. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canEdit description: Whether the current user can edit this file. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canListChildren description: Whether the current user can list the children of this folder. This is always false when the item is not a folder. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canModifyContent description: Whether the current user can modify the content of this file. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canModifyContentRestriction description: Whether the current user can modify restrictions on content of this file. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canMoveChildrenOutOfDrive description: Whether the current user can move children of this folder outside of the shared drive. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canMoveChildrenWithinDrive description: Whether the current user can move children of this folder within this drive. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canMoveItemOutOfDrive description: Whether the current user can move this item outside of this drive by changing its parent. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canMoveItemWithinDrive description: Whether the current user can move this item within this drive. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canReadRevisions description: Whether the current user can read the revisions resource of this file. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canReadDrive description: Whether the current user can read the shared drive to which this file belongs. Only populated for items in shared drives. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canRemoveChildren description: Whether the current user can remove children from this folder. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canRemoveMyDriveParent description: Whether the current user can remove a parent from the item without adding another parent in the same request. Not populated for shared drive files. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canRename description: Whether the current user can rename this file. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canShare description: Whether the current user can modify the sharing settings for this file. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canTrash description: Whether the current user can move this file to trash. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canTrashChildren description: Whether the current user can trash children of this folder. This is false when the item is not a folder. Only populated for items in shared drives. type: Boolean - contextPath: GoogleDrive.DriveChange.file.capabilities.canUntrash description: Whether the current user can restore this file from trash. type: Boolean - contextPath: GoogleDrive.DriveChange.file.copyRequiresWriterPermission description: Whether the options to copy, print, or download this file, should be disabled for readers and commenters. type: Boolean - contextPath: GoogleDrive.DriveChange.file.writersCanShare description: Whether users with only writer permission can modify the file's permissions. Not populated for items in shared drives. type: Boolean - contextPath: GoogleDrive.DriveChange.file.permissions.kind description: Identifies what kind of resource this is. type: String - contextPath: GoogleDrive.DriveChange.file.permissions.id description: The ID of this permission. type: String - contextPath: GoogleDrive.DriveChange.file.permissions.type description: The type of the grantee. type: String - contextPath: GoogleDrive.DriveChange.file.permissions.emailAddress description: The email address of the user or group to which this permission refers. type: String - contextPath: GoogleDrive.DriveChange.file.permissions.domain description: The domain to which this permission refers. type: String - contextPath: GoogleDrive.DriveChange.file.permissions.role description: The role granted by this permission. type: String - contextPath: GoogleDrive.DriveChange.file.permissions.view description: Indicates the view for this permission. type: String - contextPath: GoogleDrive.DriveChange.file.permissions.allowFileDiscovery description: Whether the permission allows the file to be discovered through search. type: Boolean - contextPath: GoogleDrive.DriveChange.file.permissions.displayName description: The "pretty" name of the value of the permission. type: String - contextPath: GoogleDrive.DriveChange.file.permissions.photoLink description: A link to the user's profile photo, if available. type: String - contextPath: GoogleDrive.DriveChange.file.permissions.expirationTime description: The time at which this permission will expire (RFC 3339 date-time). type: Date - contextPath: GoogleDrive.DriveChange.file.permissions.permissionDetails.permissionType description: The permission type for this user. type: String - contextPath: GoogleDrive.DriveChange.file.permissions.permissionDetails.role description: The primary role for this user. type: String - contextPath: GoogleDrive.DriveChange.file.permissions.permissionDetails.inheritedFrom description: The ID of the item from which this permission is inherited. type: String - contextPath: GoogleDrive.DriveChange.file.permissions.permissionDetails.inherited description: Whether this permission is inherited. type: Boolean - contextPath: GoogleDrive.DriveChange.file.permissions.deleted description: Whether the account associated with this permission has been deleted. type: Boolean - contextPath: GoogleDrive.DriveChange.file.permissionIds description: List of permission IDs for users with access to this file. type: Unknown - contextPath: GoogleDrive.DriveChange.file.hasAugmentedPermissions description: Whether there are permissions directly on this file. This field is only populated for items in shared drives. type: Boolean - contextPath: GoogleDrive.DriveChange.file.folderColorRgb description: The color for a folder as an RGB hex string. type: String - contextPath: GoogleDrive.DriveChange.file.originalFilename description: The original filename of the uploaded content if available, or else the original value of the name field. This is only available for files with binary content in Google Drive. type: String - contextPath: GoogleDrive.DriveChange.file.fullFileExtension description: The full file extension extracted from the name field. type: String - contextPath: GoogleDrive.DriveChange.file.fileExtension description: The final component of fullFileExtension. This is only available for files with binary content in Google Drive. type: String - contextPath: GoogleDrive.DriveChange.file.md5Checksum description: The MD5 checksum for the content of the file. This is only applicable to files with binary content in Google Drive. type: String - contextPath: GoogleDrive.DriveChange.file.size description: The size of the file's content in bytes. This is only applicable to files with binary content in Google Drive. type: Number - contextPath: GoogleDrive.DriveChange.file.quotaBytesUsed description: The number of storage quota bytes used by the file. This includes the head revision as well as previous revisions with keepForever enabled. type: Number - contextPath: GoogleDrive.DriveChange.file.headRevisionId description: The ID of the file's head revision. This is currently only available for files with binary content in Google Drive. type: String - contextPath: GoogleDrive.DriveChange.file.contentHints.thumbnail.image description: The thumbnail data encoded with URL-safe Base64 (RFC 4648 section 5). type: Unknown - contextPath: GoogleDrive.DriveChange.file.contentHints.thumbnail.mimeType description: The MIME type of the thumbnail. type: String - contextPath: GoogleDrive.DriveChange.file.contentHints.indexableText description: Text to be indexed for the file to improve fullText queries. This is limited to 128KB in length and may contain HTML elements. type: String - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.width description: The width of the image in pixels. type: Number - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.height description: The height of the image in pixels. type: Number - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.rotation description: The number of clockwise 90 degree rotations applied from the image's original orientation. type: Number - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.location.latitude description: The latitude stored in the image. type: Number - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.location.longitude description: The longitude stored in the image. type: Number - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.location.altitude description: The altitude stored in the image. type: Number - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.time description: The date and time the photo was taken (EXIF DateTime). type: String - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.cameraMake description: The make of the camera used to create the photo. type: String - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.cameraModel description: The model of the camera used to create the photo. type: String - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.exposureTime description: The length of the exposure, in seconds. type: Number - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.aperture description: The aperture used to create the photo (f-number). type: Number - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.flashUsed description: Whether a flash was used to create the photo. type: Boolean - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.focalLength description: The focal length used to create the photo, in millimeters. type: Number - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.isoSpeed description: The ISO speed used to create the photo. type: Number - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.meteringMode description: The metering mode used to create the photo. type: String - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.sensor description: The type of sensor used to create the photo. type: String - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.exposureMode description: The exposure mode used to create the photo. type: String - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.colorSpace description: The color space of the photo. type: String - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.whiteBalance description: The white balance mode used to create the photo. type: String - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.exposureBias description: The exposure bias of the photo (APEX value). type: Number - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.maxApertureValue description: The smallest f-number of the lens at the focal length used to create the photo (APEX value). type: Number - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.subjectDistance description: The distance to the subject of the photo, in meters. type: Number - contextPath: GoogleDrive.DriveChange.file.imageMediaMetadata.lens description: The lens used to create the photo. type: String - contextPath: GoogleDrive.DriveChange.file.videoMediaMetadata.width description: The width of the video in pixels. type: Number - contextPath: GoogleDrive.DriveChange.file.videoMediaMetadata.height description: The height of the video in pixels. type: Number - contextPath: GoogleDrive.DriveChange.file.videoMediaMetadata.durationMillis description: The duration of the video in milliseconds. type: Number - contextPath: GoogleDrive.DriveChange.file.isAppAuthorized description: Whether the file was created or opened by the requesting app. type: Boolean - contextPath: GoogleDrive.DriveChange.file.exportLinks description: Links for exporting Google Docs to specific formats. type: Unknown - contextPath: GoogleDrive.DriveChange.file.shortcutDetails.targetId description: The ID of the file that this shortcut points to. type: String - contextPath: GoogleDrive.DriveChange.file.shortcutDetails.targetMimeType description: The MIME type of the file that this shortcut points to. The value of this field is a snapshot of the target's MIME type, captured when the shortcut is created. type: String - contextPath: GoogleDrive.DriveChange.file.contentRestrictions.readOnly description: Whether the content of the file is read-only. type: Boolean - contextPath: GoogleDrive.DriveChange.file.contentRestrictions.reason description: Reason for why the content of the file is restricted. This is only mutable on requests that also set readOnly=true. type: String - contextPath: GoogleDrive.DriveChange.file.contentRestrictions.restrictingUser.kind description: Identifies what kind of resource this is. type: String - contextPath: GoogleDrive.DriveChange.file.contentRestrictions.restrictingUser.displayName description: A plain text displayable name for this user. type: String - contextPath: GoogleDrive.DriveChange.file.contentRestrictions.restrictingUser.photoLink description: A link to the user's profile photo, if available. type: String - contextPath: GoogleDrive.DriveChange.file.contentRestrictions.restrictingUser.me description: Whether this user is the requesting user. type: Boolean - contextPath: GoogleDrive.DriveChange.file.contentRestrictions.restrictingUser.permissionId description: The user's ID as visible in Permission resources. type: String - contextPath: GoogleDrive.DriveChange.file.contentRestrictions.restrictingUser.emailAddress description: The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester. type: String - contextPath: GoogleDrive.DriveChange.file.contentRestrictions.restrictionTime description: The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true. type: Date - contextPath: GoogleDrive.DriveChange.file.contentRestrictions.type description: The type of the content restriction. Currently the only possible value is globalContentRestriction. type: String - contextPath: GoogleDrive.DriveChange.drive.kind description: Identifies what kind of resource this is. type: String - contextPath: GoogleDrive.DriveChange.drive.id description: The ID of this shared drive which is also the ID of the top level folder of this shared drive. type: String - contextPath: GoogleDrive.DriveChange.drive.name description: The name of this shared drive. type: String - contextPath: GoogleDrive.DriveChange.drive.themeId description: The ID of the theme from which the background image and color will be set. type: String - contextPath: GoogleDrive.DriveChange.drive.colorRgb description: The color of this shared drive as an RGB hex string. It can only be set on a drive.drives.update request that does not set themeId. type: String - contextPath: GoogleDrive.DriveChange.drive.backgroundImageFile.id description: The ID of an image file in Google Drive to use for the background image. type: String - contextPath: GoogleDrive.DriveChange.drive.backgroundImageFile.xCoordinate description: The X coordinate of the upper left corner of the cropping area in the background image. type: Number - contextPath: GoogleDrive.DriveChange.drive.backgroundImageFile.yCoordinate description: The Y coordinate of the upper left corner of the cropping area in the background image. type: Number - contextPath: GoogleDrive.DriveChange.drive.backgroundImageFile.width description: The width of the cropped image in the closed range of 0 to 1. type: Number - contextPath: GoogleDrive.DriveChange.drive.backgroundImageLink description: A short-lived link to this shared drive's background image. type: String - contextPath: GoogleDrive.DriveChange.drive.capabilities.canAddChildren description: Whether the current user can add children to folders in this shared drive. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.capabilities.canChangeCopyRequiresWriterPermissionRestriction description: Whether the current user can change the 'copy requires writer permission' restriction of this shared drive. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.capabilities.canChangeDomainUsersOnlyRestriction description: Whether the current user can change the 'domain users only' restriction of this shared drive. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.capabilities.canChangeDriveBackground description: Whether the current user can change the background of this shared drive. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.capabilities.canChangeDriveMembersOnlyRestriction description: Whether the current user can change the 'drive members only' restriction of this shared drive. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.capabilities.canComment description: Whether the current user can comment on files in this shared drive. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.capabilities.canCopy description: Whether the current user can copy files in this shared drive. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.capabilities.canDeleteChildren description: Whether the current user can delete children from folders in this shared drive. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.capabilities.canDeleteDrive description: Whether the current user can delete this shared drive. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.capabilities.canDownload description: Whether the current user can download files in this shared drive. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.capabilities.canEdit description: Whether the current user can edit files in this shared drive. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.capabilities.canListChildren description: Whether the current user can list the children of folders in this shared drive. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.capabilities.canManageMembers description: Whether the current user can add members to this shared drive or remove them or change their role. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.capabilities.canReadRevisions description: Whether the current user can read the revisions resource of files in this shared drive. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.capabilities.canRename description: Whether the current user can rename files or folders in this shared drive. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.capabilities.canRenameDrive description: Whether the current user can rename this shared drive. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.capabilities.canShare description: Whether the current user can share files or folders in this shared drive. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.capabilities.canTrashChildren description: Whether the current user can trash children from folders in this shared drive. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.createdTime description: The time at which the shared drive was created (RFC 3339 date-time). type: Date - contextPath: GoogleDrive.DriveChange.drive.hidden description: Whether the shared drive is hidden from the default view. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.restrictions.adminManagedRestrictions description: Whether administrative privileges on this shared drive are required to modify restrictions. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.restrictions.copyRequiresWriterPermission description: Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.restrictions.domainUsersOnly description: Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. type: Boolean - contextPath: GoogleDrive.DriveChange.drive.restrictions.driveMembersOnly description: Whether access to items inside this shared drive is restricted to its members. type: Boolean - arguments: - description: The user's primary email address. name: user_id - description: Return activities for this drive folder and all children and descendants. The format is "items/ITEM_ID". name: folder_name - description: Return activities for this drive item. The format is "items/ITEM_ID". name: item_name - description: >- The filtering for items returned from this query request. The format of the filter string is a sequence of expressions, joined by an optional "AND", where each expression is of the form "field operator value". Supported fields: time - Uses numerical operators on date values either in terms of milliseconds since Jan 1, 1970 or in RFC 3339 format. Examples: time > 1452409200000 AND time <= 1492812924310 time >= "2016-01-10T01:02:03-05:00" detail.action_detail_case - Uses the "has" operator (:) and either a singular value or a list of allowed action types enclosed in parentheses. Examples: detail.action_detail_case: RENAME detail.action_detail_case:(CREATE EDIT) -detail.action_detail_case:MOVE". name: filter - description: >- The time range to consider for getting drive activity. Use the format "