diff --git a/Packs/Cylance_Protect/.pack-ignore b/Packs/Cylance_Protect/.pack-ignore index 3c619872aaaa..94bcfe14c051 100644 --- a/Packs/Cylance_Protect/.pack-ignore +++ b/Packs/Cylance_Protect/.pack-ignore @@ -5,7 +5,7 @@ ignore=BA101 ignore=PA116 [file:Cylance_Protect_v2.yml] -ignore=IN126,BA108,BA109,IN145 +ignore=IN126,BA108,BA109 [file:README.md] ignore=RM104 diff --git a/Packs/Cylance_Protect/.secrets-ignore b/Packs/Cylance_Protect/.secrets-ignore index aa13dffd3323..c41763cf329c 100644 --- a/Packs/Cylance_Protect/.secrets-ignore +++ b/Packs/Cylance_Protect/.secrets-ignore @@ -1 +1,3 @@ -api_call(uri=URI_LISTS, \ No newline at end of file +api_call(uri=URI_LISTS, + displaypassword: Application Secret + displaypassword: Tenant API Key diff --git a/Packs/Cylance_Protect/Integrations/Cylance_Protect_v2/Cylance_Protect_v2.py b/Packs/Cylance_Protect/Integrations/Cylance_Protect_v2/Cylance_Protect_v2.py index 86b0b8827358..95b351f4ea8c 100644 --- a/Packs/Cylance_Protect/Integrations/Cylance_Protect_v2/Cylance_Protect_v2.py +++ b/Packs/Cylance_Protect/Integrations/Cylance_Protect_v2/Cylance_Protect_v2.py @@ -1513,20 +1513,25 @@ def add_capitalized_hash_to_context(threats_context): # pragma: no cover # EXECUTION def main(): # pragma: no cover + params = demisto.params() + global APP_ID - APP_ID = demisto.params()['app_id'] + APP_ID = params.get('app_creds', {}).get('identifier') or params.get('app_id') global APP_SECRET - APP_SECRET = demisto.params()['app_secret'] + APP_SECRET = params.get('app_creds', {}).get('password') or params.get('app_secret') global TID - TID = demisto.params()['tid'] + TID = params.get('api_key', {}).get('password') or params.get('tid') global SERVER_URL SERVER_URL = load_server_url() global FILE_THRESHOLD - FILE_THRESHOLD = demisto.params()['file_threshold'] + FILE_THRESHOLD = params['file_threshold'] global USE_SSL - USE_SSL = not demisto.params().get('unsecure', False) + USE_SSL = not params.get('unsecure', False) command = demisto.command() + if not all((APP_ID, APP_SECRET, TID)): + raise DemistoException('Please fill out the Application ID, Application Secret and Tenant API Key') + LOG(f'Command being called is {command}') try: handle_proxy() diff --git a/Packs/Cylance_Protect/Integrations/Cylance_Protect_v2/Cylance_Protect_v2.yml b/Packs/Cylance_Protect/Integrations/Cylance_Protect_v2/Cylance_Protect_v2.yml index 20e422551a1c..20756c4a8a00 100644 --- a/Packs/Cylance_Protect/Integrations/Cylance_Protect_v2/Cylance_Protect_v2.yml +++ b/Packs/Cylance_Protect/Integrations/Cylance_Protect_v2/Cylance_Protect_v2.yml @@ -14,19 +14,31 @@ configuration: section: Connect - display: Application ID name: app_id - required: true type: 0 section: Connect + hidden: true - display: Application Secret name: app_secret - required: true type: 4 section: Connect + hidden: true - display: Tenant API Key name: tid - required: true type: 4 section: Connect + hidden: true +- display: Application ID + name: app_creds + required: false + type: 9 + section: Connect + displaypassword: Application Secret +- name: api_key + required: false + type: 9 + section: Connect + hiddenusername: true + displaypassword: Tenant API Key - display: Use system proxy settings name: proxy required: false @@ -953,7 +965,7 @@ script: - contextPath: InstaQuery.List description: The list of InstaQuery type: string - dockerimage: demisto/pyjwt3:1.0.0.61733 + dockerimage: demisto/pyjwt3:1.0.0.62977 isfetch: true runonce: false script: '' diff --git a/Packs/Cylance_Protect/ReleaseNotes/1_1_17.md b/Packs/Cylance_Protect/ReleaseNotes/1_1_17.md new file mode 100644 index 000000000000..b8e6c94d0f44 --- /dev/null +++ b/Packs/Cylance_Protect/ReleaseNotes/1_1_17.md @@ -0,0 +1,9 @@ +#### Integrations + +##### Cylance Protect v2 + +- Added the following integration parameters to support credentials fetching object: + - *Application ID* + - *Application Secret* + - *Tenant API Key* +- Updated the Docker image to demisto/pyjwt3:1.0.0.62977. \ No newline at end of file diff --git a/Packs/Cylance_Protect/pack_metadata.json b/Packs/Cylance_Protect/pack_metadata.json index d672c6ee7e31..2357361b2904 100644 --- a/Packs/Cylance_Protect/pack_metadata.json +++ b/Packs/Cylance_Protect/pack_metadata.json @@ -2,7 +2,7 @@ "name": "Cylance Protect", "description": "Manage Endpoints using Cylance protect", "support": "xsoar", - "currentVersion": "1.1.16", + "currentVersion": "1.1.17", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "", diff --git a/Packs/GoogleDrive/.pack-ignore b/Packs/GoogleDrive/.pack-ignore index b57565acd9dc..dc8b62fa8e94 100644 --- a/Packs/GoogleDrive/.pack-ignore +++ b/Packs/GoogleDrive/.pack-ignore @@ -5,7 +5,7 @@ ignore=RM104 ignore=BA101 [file:GoogleDrive.yml] -ignore=IN145,PR101 +ignore=PR101 [file:GoogleDrive_image.png] ignore=IM111 @@ -14,5 +14,4 @@ ignore=IM111 ignore=BA101 [file:GoogleDrive_1_3.yml] -ignore=MR108 - +ignore=MR108 \ No newline at end of file diff --git a/Packs/GoogleDrive/Integrations/GoogleDrive/GoogleDrive.py b/Packs/GoogleDrive/Integrations/GoogleDrive/GoogleDrive.py index 64d3cd1f200b..56f4cf883150 100644 --- a/Packs/GoogleDrive/Integrations/GoogleDrive/GoogleDrive.py +++ b/Packs/GoogleDrive/Integrations/GoogleDrive/GoogleDrive.py @@ -1686,7 +1686,16 @@ def main() -> None: try: params = demisto.params() - service_account_dict = GSuiteClient.safe_load_non_strict_json(params.get('user_service_account_json')) + + account_json = params.get('user_creds', {}).get('password') or params.get('user_service_account_json') + user_id = params.get('user_creds', {}).get('identifier') or params.get('user_id', '') + params['user_id'] = user_id + params['user_service_account_json'] = account_json + + if not account_json: + raise DemistoException('Please fill out the User\'s Service Account JSON field.') + + service_account_dict = GSuiteClient.safe_load_non_strict_json(account_json) verify_certificate = not params.get('insecure', False) proxy = params.get('proxy', False) @@ -1698,7 +1707,7 @@ def main() -> None: gsuite_client = GSuiteClient(service_account_dict, base_url='https://www.googleapis.com/', verify=verify_certificate, proxy=proxy, headers=headers, - user_id=params.get('user_id', '')) + user_id=user_id) # Trim the arguments args = GSuiteClient.strip_dict(demisto.args()) diff --git a/Packs/GoogleDrive/Integrations/GoogleDrive/GoogleDrive.yml b/Packs/GoogleDrive/Integrations/GoogleDrive/GoogleDrive.yml index f4e892bc3051..f7c7d25ebe82 100644 --- a/Packs/GoogleDrive/Integrations/GoogleDrive/GoogleDrive.yml +++ b/Packs/GoogleDrive/Integrations/GoogleDrive/GoogleDrive.yml @@ -7,11 +7,11 @@ sectionOrder: configuration: - name: user_service_account_json display: User's Service Account JSON - required: true defaultvalue: type: 4 section: Connect additionalinfo: + hidden: true - name: user_id display: User ID required: false @@ -20,6 +20,13 @@ configuration: section: Connect advanced: true additionalinfo: The primary email address of the user to fetch the incident(s). + hidden: true +- name: user_creds + display: User ID + required: false + type: 9 + section: Connect + displaypassword: User's Service Account JSON - name: action_detail_case_include display: Action Detail Case Include required: false @@ -44,27 +51,25 @@ configuration: 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". + 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 - name: drive_item_search_value display: Drive Item Search Value required: false - defaultvalue: type: 0 section: Collect + defaultvalue: advanced: true additionalinfo: itemName or folderName for fetching the incident. -- name: isFetch - display: Fetch incidents +- display: Fetch incidents + name: isFetch required: false type: 8 section: Collect -- display: Incident type - name: incidentType +- name: incidentType + display: Incident type required: false type: 13 - name: max_fetch @@ -77,12 +82,11 @@ configuration: - name: first_fetch display: First Fetch Time Interval required: false - defaultvalue: 10 minutes 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. + 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 - name: insecure display: Trust any certificate (not secure) required: false @@ -97,9 +101,7 @@ configuration: section: Connect advanced: true additionalinfo: -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. +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: @@ -140,8 +142,7 @@ script: 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. + 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. @@ -163,8 +164,7 @@ script: required: false secret: false - default: false - description: The shared drive from which changes are returned. Can be retrieved - using the `google-drive-drives-list` command. + description: The shared drive from which changes are returned. Can be retrieved using the `google-drive-drives-list` command. isArray: false name: drive_id required: false @@ -172,10 +172,7 @@ script: - auto: PREDEFINED default: false 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. Possible values: "true" and "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. Possible values: "true" and "false".' isArray: false name: include_corpus_removals predefined: @@ -186,8 +183,7 @@ script: - auto: PREDEFINED default: false defaultValue: "false" - description: 'Whether both My Drive and shared drive items should be included - in the results. Possible values: "true" and "false".' + description: 'Whether both My Drive and shared drive items should be included in the results. Possible values: "true" and "false".' isArray: false name: include_items_from_all_drives predefined: @@ -196,8 +192,7 @@ script: required: false secret: false - default: false - description: Specifies which additional view's permissions to include in the - response. Only 'published' is supported. + description: Specifies which additional view's permissions to include in the response. Only 'published' is supported. isArray: false name: include_permissions_for_view required: false @@ -205,9 +200,7 @@ script: - auto: PREDEFINED default: false 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. - Possible values: "true" and "false".' + description: 'Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access. Possible values: "true" and "false".' isArray: false name: include_removed predefined: @@ -217,8 +210,7 @@ script: secret: false - default: false defaultValue: 100 - description: The maximum number of changes to return per page. Acceptable values - are 1 to 1000, inclusive. + description: The maximum number of changes to return per page. Acceptable values are 1 to 1000, inclusive. isArray: false name: page_size required: false @@ -226,9 +218,7 @@ script: - auto: PREDEFINED default: false 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. Possible values: "true" and "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. Possible values: "true" and "false".' isArray: false name: restrict_to_my_drive predefined: @@ -237,8 +227,7 @@ script: required: false secret: false - default: false - description: A comma-separated list of spaces to query within the user corpus. - Possible values are 'drive', 'appDataFolder', and 'photos'. + description: A comma-separated list of spaces to query within the user corpus. Possible values are 'drive', 'appDataFolder', and 'photos'. isArray: false name: spaces required: false @@ -246,8 +235,7 @@ script: - auto: PREDEFINED default: false defaultValue: "false" - description: 'Whether the requesting application supports both My Drives and - shared drives. Possible values: "true" and "false".' + description: 'Whether the requesting application supports both My Drives and shared drives. Possible values: "true" and "false".' isArray: false name: supports_all_drives predefined: @@ -258,9 +246,7 @@ script: - auto: PREDEFINED default: false 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).' + 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).' isArray: false name: fields predefined: @@ -298,8 +284,7 @@ script: 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. + 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. @@ -326,12 +311,10 @@ script: 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. + 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. + 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. @@ -349,40 +332,31 @@ script: 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. + 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. + 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. + 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. + 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'. + 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. + 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. + 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. + 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. @@ -415,8 +389,7 @@ script: 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). + 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. @@ -434,8 +407,7 @@ script: 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. + 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. @@ -453,12 +425,10 @@ script: 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. + 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. + 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. @@ -476,33 +446,25 @@ script: 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. + 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. + 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. + 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. + 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. + 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. + 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. + 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. @@ -514,9 +476,7 @@ script: 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. + 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. @@ -525,72 +485,58 @@ script: 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. + 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. + 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. + 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. + 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. + 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. + 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. + 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. + 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. + 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. + 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. + 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. + 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. @@ -602,8 +548,7 @@ script: 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. + 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. @@ -615,8 +560,7 @@ script: 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. + 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. @@ -646,50 +590,40 @@ script: 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. + 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. + 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. + 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. + 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. + 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. + 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. + 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). + 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. + 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. @@ -698,8 +632,7 @@ script: 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. + 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. @@ -753,8 +686,7 @@ script: 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). + 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. @@ -781,16 +713,13 @@ script: 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. + 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. + 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. @@ -808,46 +737,37 @@ script: 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. + 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. + 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. + 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. + 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. + 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. + 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. + 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. + 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. + 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. @@ -856,24 +776,19 @@ script: 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. + 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. + 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. + 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. + 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. + 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. @@ -882,8 +797,7 @@ script: 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. + 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. @@ -895,31 +809,25 @@ script: 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. + 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. + 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. + 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. + 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. + 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. + 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). @@ -928,20 +836,16 @@ script: 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. + 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. + 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. + 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. + description: Whether access to items inside this shared drive is restricted to its members. type: Boolean - arguments: - default: false @@ -951,8 +855,7 @@ script: required: false secret: false - default: false - description: Return activities for this drive folder and all children and descendants. - The format is "items/ITEM_ID". + description: Return activities for this drive folder and all children and descendants. The format is "items/ITEM_ID". isArray: false name: folder_name required: false @@ -1037,9 +940,7 @@ script: required: false secret: false - default: false - description: The token identifying which page of results to return. Set this - to the nextPageToken value returned from a previous query to obtain the following - page of results. If not set, the first page of results will be returned. + description: The token identifying which page of results to return. Set this to the nextPageToken value returned from a previous query to obtain the following page of results. If not set, the first page of results will be returned. isArray: false name: page_token required: false @@ -1050,8 +951,7 @@ script: name: google-drive-activity-list outputs: - contextPath: GoogleDrive.PageToken.DriveActivity.nextPageToken - description: Token to retrieve the next page of results, or empty if there are - no more results in the list. + description: Token to retrieve the next page of results, or empty if there are no more results in the list. type: String - contextPath: GoogleDrive.DriveActivity.primaryActionDetail.create.new description: If true, the object was newly created. @@ -1132,12 +1032,10 @@ script: description: Indicates the Google Drive permissions role. type: String - contextPath: GoogleDrive.DriveActivity.primaryActionDetail.permissionChange.addedPermissions.allowDiscovery - description: If true, the item can be discovered (e.g., in the user's "Shared - with me" collection) without needing a link to the item. + description: If true, the item can be discovered (e.g., in the user's "Shared with me" collection) without needing a link to the item. type: Boolean - contextPath: GoogleDrive.DriveActivity.primaryActionDetail.permissionChange.addedPermissions.user.knownUser.personName - description: The identifier for this user that can be used with the People API - to get more information. The format is "people/ACCOUNT_ID". + description: The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". type: String - contextPath: GoogleDrive.DriveActivity.primaryActionDetail.permissionChange.addedPermissions.user.knownUser.isCurrentUser description: True if this is the user making the request. @@ -1167,12 +1065,10 @@ script: description: Indicates the Google Drive permissions role. type: String - contextPath: GoogleDrive.DriveActivity.primaryActionDetail.permissionChange.removedPermissions.allowDiscovery - description: If true, the item can be discovered (e.g., in the user's "Shared - with me" collection) without needing a link to the item. + description: If true, the item can be discovered (e.g., in the user's "Shared with me" collection) without needing a link to the item. type: Boolean - contextPath: GoogleDrive.DriveActivity.primaryActionDetail.permissionChange.removedPermissions.user.knownUser.personName - description: The identifier for this user that can be used with the People API - to get more information. The format is "people/ACCOUNT_ID". + description: The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". type: String - contextPath: GoogleDrive.DriveActivity.primaryActionDetail.permissionChange.removedPermissions.user.knownUser.isCurrentUser description: True if this is the user making the request. @@ -1199,8 +1095,7 @@ script: description: If true, represents any user (including a logged out user). type: Boolean - contextPath: GoogleDrive.DriveActivity.primaryActionDetail.comment.mentionedUsers.knownUser.personName - description: The identifier for this user that can be used with the People API - to get more information. The format is "people/ACCOUNT_ID". + description: The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". type: String - contextPath: GoogleDrive.DriveActivity.primaryActionDetail.comment.mentionedUsers.knownUser.isCurrentUser description: True if this is the user making the request. @@ -1218,8 +1113,7 @@ script: description: The sub-type of assignment event. type: String - contextPath: GoogleDrive.DriveActivity.primaryActionDetail.comment.assignment.assignedUser.knownUser.personName - description: The identifier for this user that can be used with the People API - to get more information. The format is "people/ACCOUNT_ID". + description: The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". type: String - contextPath: GoogleDrive.DriveActivity.primaryActionDetail.comment.assignment.assignedUser.knownUser.isCurrentUser description: True if this is the user making the request. @@ -1246,8 +1140,7 @@ script: description: The restriction in place after the change. type: String - contextPath: GoogleDrive.DriveActivity.actors.user.knownUser.personName - description: The identifier for this user that can be used with the People API - to get more information. The format is "people/ACCOUNT_ID". + description: The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". type: String - contextPath: GoogleDrive.DriveActivity.actors.user.knownUser.isCurrentUser description: True if this is the user making the request. @@ -1262,8 +1155,7 @@ script: description: If true, the user is an anonymous user. type: Boolean - contextPath: GoogleDrive.DriveActivity.actors.impersonation.impersonatedUser.knownUser.personName - description: The identifier for this user that can be used with the People API - to get more information. The format is "people/ACCOUNT_ID". + description: The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". type: String - contextPath: GoogleDrive.DriveActivity.actors.impersonation.impersonatedUser.knownUser.isCurrentUser description: True if this is the user making the request. @@ -1359,12 +1251,10 @@ script: description: Indicates the Google Drive permissions role. type: String - contextPath: GoogleDrive.DriveActivity.actions.detail.permissionChange.addedPermissions.allowDiscovery - description: If true, the item can be discovered (e.g., in the user's "Shared - with me" collection) without needing a link to the item. + description: If true, the item can be discovered (e.g., in the user's "Shared with me" collection) without needing a link to the item. type: Boolean - contextPath: GoogleDrive.DriveActivity.actions.detail.permissionChange.addedPermissions.user.knownUser.personName - description: The identifier for this user that can be used with the People API - to get more information. The format is "people/ACCOUNT_ID". + description: The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". type: String - contextPath: GoogleDrive.DriveActivity.actions.detail.permissionChange.addedPermissions.user.knownUser.isCurrentUser description: True if this is the user making the request. @@ -1394,12 +1284,10 @@ script: description: Indicates the Google Drive permissions role. type: String - contextPath: GoogleDrive.DriveActivity.actions.detail.permissionChange.removedPermissions.allowDiscovery - description: If true, the item can be discovered (e.g., in the user's "Shared - with me" collection) without needing a link to the item. + description: If true, the item can be discovered (e.g., in the user's "Shared with me" collection) without needing a link to the item. type: Boolean - contextPath: GoogleDrive.DriveActivity.actions.detail.permissionChange.removedPermissions.user.knownUser.personName - description: The identifier for this user that can be used with the People API - to get more information. The format is "people/ACCOUNT_ID". + description: The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". type: String - contextPath: GoogleDrive.DriveActivity.actions.detail.permissionChange.removedPermissions.user.knownUser.isCurrentUser description: True if this is the user making the request. @@ -1426,8 +1314,7 @@ script: description: If true, represents any user (including a logged out user). type: Boolean - contextPath: GoogleDrive.DriveActivity.actions.detail.comment.mentionedUsers.knownUser.personName - description: The identifier for this user that can be used with the People API - to get more information. The format is "people/ACCOUNT_ID". + description: The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". type: String - contextPath: GoogleDrive.DriveActivity.actions.detail.comment.mentionedUsers.knownUser.isCurrentUser description: True if this is the user making the request. @@ -1445,8 +1332,7 @@ script: description: The sub-type of assignment event. type: String - contextPath: GoogleDrive.DriveActivity.actions.detail.comment.assignment.assignedUser.knownUser.personName - description: The identifier for this user that can be used with the People API - to get more information. The format is "people/ACCOUNT_ID". + description: The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". type: String - contextPath: GoogleDrive.DriveActivity.actions.detail.comment.assignment.assignedUser.knownUser.isCurrentUser description: True if this is the user making the request. @@ -1473,8 +1359,7 @@ script: description: The restriction in place after the change. type: String - contextPath: GoogleDrive.DriveActivity.actions.actor.user.knownUser.personName - description: The identifier for this user that can be used with the People API - to get more information. The format is "people/ACCOUNT_ID". + description: The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". type: String - contextPath: GoogleDrive.DriveActivity.actions.actor.user.knownUser.isCurrentUser description: True if this is the user making the request. @@ -1489,8 +1374,7 @@ script: description: If true, the user is an anonymous user. type: Boolean - contextPath: GoogleDrive.DriveActivity.actions.actor.impersonation.impersonatedUser.knownUser.personName - description: The identifier for this user that can be used with the People API - to get more information. The format is "people/ACCOUNT_ID". + description: The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". type: String - contextPath: GoogleDrive.DriveActivity.actions.actor.impersonation.impersonatedUser.knownUser.isCurrentUser description: True if this is the user making the request. @@ -1523,8 +1407,7 @@ script: description: An opaque string used to identify this domain. type: String - contextPath: GoogleDrive.DriveActivity.actions.target.driveItem.owner.user.knownUser.personName - description: The identifier for this user that can be used with the People API - to get more information. The format is "people/ACCOUNT_ID". + description: The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". type: String - contextPath: GoogleDrive.DriveActivity.actions.target.driveItem.owner.user.knownUser.isCurrentUser description: True if this is the user making the request. @@ -1569,8 +1452,7 @@ script: description: An opaque string used to identify this domain. type: String - contextPath: GoogleDrive.DriveActivity.actions.target.drive.root.owner.user.knownUser.personName - description: The identifier for this user that can be used with the People API - to get more information. The format is "people/ACCOUNT_ID". + description: The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". type: String - contextPath: GoogleDrive.DriveActivity.actions.target.drive.root.owner.user.knownUser.isCurrentUser description: True if this is the user making the request. @@ -1600,8 +1482,7 @@ script: description: The discussion thread to which the comment was added. type: String - contextPath: GoogleDrive.DriveActivity.actions.target.fileComment.linkToDiscussion - description: The link to the discussion thread containing this comment, for - example, "https://docs.google.com/DOCUMENT_ID/edit?disco=THREAD_ID". + description: The link to the discussion thread containing this comment, for example, "https://docs.google.com/DOCUMENT_ID/edit?disco=THREAD_ID". type: String - contextPath: GoogleDrive.DriveActivity.actions.target.fileComment.parent.name description: The target Drive item. The format is "items/ITEM_ID". @@ -1619,8 +1500,7 @@ script: description: An opaque string used to identify this domain. type: String - contextPath: GoogleDrive.DriveActivity.actions.target.fileComment.parent.owner.user.knownUser.personName - description: The identifier for this user that can be used with the People API - to get more information. The format is "people/ACCOUNT_ID". + description: The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". type: String - contextPath: GoogleDrive.DriveActivity.actions.target.fileComment.parent.owner.user.knownUser.isCurrentUser description: True if this is the user making the request. @@ -1668,8 +1548,7 @@ script: description: An opaque string used to identify this domain. type: String - contextPath: GoogleDrive.DriveActivity.targets.driveItem.owner.user.knownUser.personName - description: The identifier for this user that can be used with the People API - to get more information. The format is "people/ACCOUNT_ID". + description: The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". type: String - contextPath: GoogleDrive.DriveActivity.targets.driveItem.owner.user.knownUser.isCurrentUser description: True if this is the user making the request. @@ -1714,8 +1593,7 @@ script: description: An opaque string used to identify this domain. type: String - contextPath: GoogleDrive.DriveActivity.targets.drive.root.owner.user.knownUser.personName - description: The identifier for this user that can be used with the People API - to get more information. The format is "people/ACCOUNT_ID". + description: The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". type: String - contextPath: GoogleDrive.DriveActivity.targets.drive.root.owner.user.knownUser.isCurrentUser description: True if this is the user making the request. @@ -1745,8 +1623,7 @@ script: description: The discussion thread to which the comment was added. type: String - contextPath: GoogleDrive.DriveActivity.targets.fileComment.linkToDiscussion - description: The link to the discussion thread containing this comment, for - example, "https://docs.google.com/DOCUMENT_ID/edit?disco=THREAD_ID". + description: The link to the discussion thread containing this comment, for example, "https://docs.google.com/DOCUMENT_ID/edit?disco=THREAD_ID". type: String - contextPath: GoogleDrive.DriveActivity.targets.fileComment.parent.name description: The target Drive item. The format is "items/ITEM_ID". @@ -1764,8 +1641,7 @@ script: description: An opaque string used to identify this domain. type: String - contextPath: GoogleDrive.DriveActivity.targets.fileComment.parent.owner.user.knownUser.personName - description: The identifier for this user that can be used with the People API - to get more information. The format is "people/ACCOUNT_ID". + description: The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". type: String - contextPath: GoogleDrive.DriveActivity.targets.fileComment.parent.owner.user.knownUser.isCurrentUser description: True if this is the user making the request. @@ -1802,8 +1678,7 @@ script: deprecated: false arguments: - name: page_size - description: "Maximum number of shared drives to return. Acceptable values are\ - \ 1 to 100, inclusive." + description: "Maximum number of shared drives to return. Acceptable values are 1 to 100, inclusive." required: false isArray: false defaultValue: "100" @@ -1816,9 +1691,7 @@ script: required: false isArray: false - name: use_domain_admin_access - description: "Issue the request as a domain administrator. If set to true,\ - \ all shared drives of the domain in which the requester is an administrator\ - \ are returned." + description: "Issue the request as a domain administrator. If set to true, all shared drives of the domain in which the requester is an administrator are returned." required: false isArray: false defaultValue: "false" @@ -1828,8 +1701,7 @@ script: isArray: false outputs: - contextPath: GoogleDrive.Drive.Drive.id - description: The ID of this shared drive which is also the ID of the top level - folder of this shared drive. + 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.Drive.Drive.name description: The name of this shared drive. @@ -1838,24 +1710,19 @@ script: description: The color of this shared drive as an RGB hex string. type: String - contextPath: GoogleDrive.Drive.Drive.capabilities.canAddChildren - description: Whether the current user can add children to folders in this shared - drive. + description: Whether the current user can add children to folders in this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canChangeCopyRequiresWriterPermissionRestriction - description: Whether the current user can change the 'copy requires writer permission' - restriction of this shared drive. + description: Whether the current user can change the 'copy requires writer permission' restriction of this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canChangeDomainUsersOnlyRestriction - description: Whether the current user can change the 'domain users only' restriction - of this shared drive. + description: Whether the current user can change the 'domain users only' restriction of this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canChangeDriveBackground - description: Whether the current user can change the background of this shared - drive. + description: Whether the current user can change the background of this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canChangeDriveMembersOnlyRestriction - description: Whether the current user can change the 'drive members only' restriction - of this shared drive. + description: Whether the current user can change the 'drive members only' restriction of this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canComment description: Whether the current user can comment on files in this shared drive. @@ -1864,8 +1731,7 @@ script: description: Whether the current user can copy files in this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canDeleteChildren - description: Whether the current user can delete children from folders in this - shared drive. + description: Whether the current user can delete children from folders in this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canDeleteDrive description: Whether the current user can delete this shared drive. @@ -1877,31 +1743,25 @@ script: description: Whether the current user can edit files in this shared drive type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canListChildren - description: Whether the current user can list the children of folders in this - shared drive. + description: Whether the current user can list the children of folders in this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canManageMembers - description: Whether the current user can add members to this shared drive or - remove them or change their role. + description: Whether the current user can add members to this shared drive or remove them or change their role. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canReadRevisions - description: Whether the current user can read the revisions resource of files - in this shared drive. + description: Whether the current user can read the revisions resource of files in this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canRename - description: Whether the current user can rename files or folders in this shared - drive. + description: Whether the current user can rename files or folders in this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canRenameDrive description: Whether the current user can rename this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canShare - description: Whether the current user can share files or folders in this shared - drive. + description: Whether the current user can share files or folders in this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canTrashChildren - description: Whether the current user can trash children from folders in this - shared drive. + description: Whether the current user can trash children from folders in this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.createdTime description: The time at which the shared drive was created (RFC 3339 date-time). @@ -1910,33 +1770,23 @@ script: description: Whether the shared drive is hidden from the default view. type: Boolean - contextPath: GoogleDrive.Drive.Drive.restrictions.adminManagedRestrictions - description: Whether administrative privileges on this shared drive are required - to modify restrictions. + description: Whether administrative privileges on this shared drive are required to modify restrictions. type: Boolean - contextPath: GoogleDrive.Drive.Drive.restrictions.copyRequiresWriterPermission - description: Whether the options to copy, print, or download files inside this - shared drive, should be disabled for readers and commenters. When this restriction - is set to true, it will override the similarly named field to true for any - file inside this shared drive. + description: Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.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. - This restriction may be overridden by other sharing policies controlled outside - of this shared drive. + 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. This restriction may be overridden by other sharing policies controlled outside of this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.restrictions.driveMembersOnly - description: Whether access to items inside this shared drive is restricted - to its members. + description: Whether access to items inside this shared drive is restricted to its members. type: Boolean - name: google-drive-drive-get description: Gets a user shared drives. deprecated: false arguments: - name: use_domain_admin_access - description: "Issue the request as a domain administrator. If set to true,\ - \ all shared drives of the domain in which the requester is an administrator\ - \ are returned." + description: "Issue the request as a domain administrator. If set to true, all shared drives of the domain in which the requester is an administrator are returned." required: false isArray: false defaultValue: "false" @@ -1945,8 +1795,7 @@ script: required: false isArray: false - name: drive_id - description: ID of the shared drive. Can be retrieved using the `google-drive-drives-list` - command. + description: ID of the shared drive. Can be retrieved using the `google-drive-drives-list` command. required: false isArray: false - name: fields @@ -1956,8 +1805,7 @@ script: defaultValue: kind, id, name, themeId, capabilities, createdTime, hidden, restrictions outputs: - contextPath: GoogleDrive.Drive.Drive.id - description: The ID of this shared drive which is also the ID of the top level - folder of this shared drive. + 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.Drive.Drive.name description: The name of this shared drive. @@ -1966,24 +1814,19 @@ script: description: The color of this shared drive as an RGB hex string. type: String - contextPath: GoogleDrive.Drive.Drive.capabilities.canAddChildren - description: Whether the current user can add children to folders in this shared - drive. + description: Whether the current user can add children to folders in this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canChangeCopyRequiresWriterPermissionRestriction - description: Whether the current user can change the 'copy requires writer permission' - restriction of this shared drive. + description: Whether the current user can change the 'copy requires writer permission' restriction of this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canChangeDomainUsersOnlyRestriction - description: Whether the current user can change the 'domain users only' restriction - of this shared drive. + description: Whether the current user can change the 'domain users only' restriction of this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canChangeDriveBackground - description: Whether the current user can change the background of this shared - drive. + description: Whether the current user can change the background of this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canChangeDriveMembersOnlyRestriction - description: Whether the current user can change the 'drive members only' restriction - of this shared drive. + description: Whether the current user can change the 'drive members only' restriction of this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canComment description: Whether the current user can comment on files in this shared drive. @@ -1992,8 +1835,7 @@ script: description: Whether the current user can copy files in this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canDeleteChildren - description: Whether the current user can delete children from folders in this - shared drive. + description: Whether the current user can delete children from folders in this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canDeleteDrive description: Whether the current user can delete this shared drive. @@ -2005,31 +1847,25 @@ script: description: Whether the current user can edit files in this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canListChildren - description: Whether the current user can list the children of folders in this - shared drive. + description: Whether the current user can list the children of folders in this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canManageMembers - description: Whether the current user can add members to this shared drive or - remove them or change their role. + description: Whether the current user can add members to this shared drive or remove them or change their role. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canReadRevisions - description: Whether the current user can read the revisions resource of files - in this shared drive. + description: Whether the current user can read the revisions resource of files in this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canRename - description: Whether the current user can rename files or folders in this shared - drive. + description: Whether the current user can rename files or folders in this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canRenameDrive description: Whether the current user can rename this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canShare - description: Whether the current user can share files or folders in this shared - drive. + description: Whether the current user can share files or folders in this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.capabilities.canTrashChildren - description: Whether the current user can trash children from folders in this - shared drive. + description: Whether the current user can trash children from folders in this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.createdTime description: The time at which the shared drive was created (RFC 3339 date-time). @@ -2038,32 +1874,23 @@ script: description: Whether the shared drive is hidden from the default view. type: Boolean - contextPath: GoogleDrive.Drive.Drive.restrictions.adminManagedRestrictions - description: Whether administrative privileges on this shared drive are required - to modify restrictions. + description: Whether administrative privileges on this shared drive are required to modify restrictions. type: Boolean - contextPath: GoogleDrive.Drive.Drive.restrictions.copyRequiresWriterPermission - description: Whether the options to copy, print, or download files inside this - shared drive, should be disabled for readers and commenters. When this restriction - is set to true, it will override the similarly named field to true for any - file inside this shared drive. + description: Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.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. - This restriction may be overridden by other sharing policies controlled outside - of this shared drive. + 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. This restriction may be overridden by other sharing policies controlled outside of this shared drive. type: Boolean - contextPath: GoogleDrive.Drive.Drive.restrictions.driveMembersOnly - description: Whether access to items inside this shared drive is restricted - to its members. + description: Whether access to items inside this shared drive is restricted to its members. type: Boolean - name: google-drive-files-list description: Lists the user's shared drives. deprecated: false arguments: - name: page_size - description: "Maximum number of shared drives to return. Acceptable values are\ - \ 1 to 100, inclusive." + description: "Maximum number of shared drives to return. Acceptable values are 1 to 100, inclusive." required: false isArray: false defaultValue: "100" @@ -2078,13 +1905,12 @@ script: - auto: PREDEFINED default: false defaultValue: "false" - description: 'Whether both My Drive and shared drive items should be included - in the results. Possible values: "true" and "false".' + description: 'Whether both My Drive and shared drive items should be included in the results. Possible values: "true" and "false".' isArray: false name: include_items_from_all_drives predefined: - - "true" - - "false" + - "true" + - "false" required: false secret: false - name: user_id @@ -2095,20 +1921,10 @@ script: description: The fields you want included in the response. required: false isArray: false - defaultValue: kind, id, name, mimeType, description, starred, trashed, explicitlyTrashed, - trashingUser, trashedTime, parents, properties, appProperties, spaces, version, - webContentLink, webViewLink, iconLink, hasThumbnail, thumbnailLink, thumbnailVersion, - viewedByMe, viewedByMeTime, createdTime, modifiedTime, modifiedByMeTime, modifiedByMe, - sharedWithMeTime, sharingUser, owners, teamDriveId, driveId, lastModifyingUser, - shared, ownedByMe, capabilities, viewersCanCopyContent, copyRequiresWriterPermission, - writersCanShare, permissions, permissionIds, hasAugmentedPermissions, folderColorRgb, - originalFilename, fullFileExtension, fileExtension, md5Checksum, size, quotaBytesUsed, - headRevisionId, contentHints, isAppAuthorized, exportLinks, shortcutDetails, - contentRestrictions, resourceKey, linkShareMetadata + defaultValue: kind, id, name, mimeType, description, starred, trashed, explicitlyTrashed, trashingUser, trashedTime, parents, properties, appProperties, spaces, version, webContentLink, webViewLink, iconLink, hasThumbnail, thumbnailLink, thumbnailVersion, viewedByMe, viewedByMeTime, createdTime, modifiedTime, modifiedByMeTime, modifiedByMe, sharedWithMeTime, sharingUser, owners, teamDriveId, driveId, lastModifyingUser, shared, ownedByMe, capabilities, viewersCanCopyContent, copyRequiresWriterPermission, writersCanShare, permissions, permissionIds, hasAugmentedPermissions, folderColorRgb, originalFilename, fullFileExtension, fileExtension, md5Checksum, size, quotaBytesUsed, headRevisionId, contentHints, isAppAuthorized, exportLinks, shortcutDetails, contentRestrictions, resourceKey, linkShareMetadata - auto: PREDEFINED default: false - description: Whether the requesting application supports both My Drives and - shared drives. + description: Whether the requesting application supports both My Drives and shared drives. isArray: false name: supports_all_drives defaultValue: "False" @@ -2135,8 +1951,7 @@ script: deprecated: false arguments: - name: file_id - description: ID of the requested file. Can be retrieved using the `google-drive-files-list` - command. + description: ID of the requested file. Can be retrieved using the `google-drive-files-list` command. required: false isArray: false - name: user_id @@ -2146,54 +1961,37 @@ script: - auto: PREDEFINED default: false defaultValue: "false" - description: 'Whether both My Drive and shared drive items should be included - in the results. Possible values: "true" and "false".' + description: 'Whether both My Drive and shared drive items should be included in the results. Possible values: "true" and "false".' isArray: false name: include_items_from_all_drives predefined: - - "true" - - "false" + - "true" + - "false" required: false secret: false - name: fields description: The fields you want included in the response. required: false isArray: false - defaultValue: kind, id, name, mimeType, description, starred, trashed, explicitlyTrashed, - trashingUser, trashedTime, parents, properties, appProperties, spaces, version, - webContentLink, webViewLink, iconLink, hasThumbnail, thumbnailLink, thumbnailVersion, - viewedByMe, viewedByMeTime, createdTime, modifiedTime, modifiedByMeTime, modifiedByMe, - sharedWithMeTime, sharingUser, owners, teamDriveId, driveId, lastModifyingUser, - shared, ownedByMe, capabilities, viewersCanCopyContent, copyRequiresWriterPermission, - writersCanShare, permissions, permissionIds, hasAugmentedPermissions, folderColorRgb, - originalFilename, fullFileExtension, fileExtension, md5Checksum, size, quotaBytesUsed, - headRevisionId, contentHints, isAppAuthorized, exportLinks, shortcutDetails, - contentRestrictions, resourceKey, linkShareMetadata + defaultValue: kind, id, name, mimeType, description, starred, trashed, explicitlyTrashed, trashingUser, trashedTime, parents, properties, appProperties, spaces, version, webContentLink, webViewLink, iconLink, hasThumbnail, thumbnailLink, thumbnailVersion, viewedByMe, viewedByMeTime, createdTime, modifiedTime, modifiedByMeTime, modifiedByMe, sharedWithMeTime, sharingUser, owners, teamDriveId, driveId, lastModifyingUser, shared, ownedByMe, capabilities, viewersCanCopyContent, copyRequiresWriterPermission, writersCanShare, permissions, permissionIds, hasAugmentedPermissions, folderColorRgb, originalFilename, fullFileExtension, fileExtension, md5Checksum, size, quotaBytesUsed, headRevisionId, contentHints, isAppAuthorized, exportLinks, shortcutDetails, contentRestrictions, resourceKey, linkShareMetadata outputs: - contextPath: GoogleDrive.File.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. + 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.File.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. + 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.File.File.capabilities.canChangeCopyRequiresWriterPermission - description: Whether the current user can change the 'copy requires writer permission' - restriction of this file. + description: Whether the current user can change the 'copy requires writer permission' restriction of this file. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canChangeSecurityUpdateEnabled - description: Whether the current user can change the 'security update enabled' field - on link shared metadata. + description: Whether the current user can change the 'security update enabled' field on link shared metadata. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canComment description: Whether the current user can comment on this file. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canCopy - description: Whether the current user can copy this file. For an item in a shared - drive, whether the current user can copy non-folder descendants of this item, - or this item itself if it is not a folder. + description: Whether the current user can copy this file. For an item in a shared drive, whether the current user can copy non-folder descendants of this item, or this item itself if it is not a folder. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canDelete description: Whether the current user can delete this file. @@ -2205,43 +2003,34 @@ script: description: Whether the current user can edit this file. type: Boolean - contextPath: GoogleDrive.File.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. + 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.File.File.capabilities.canModifyContent description: Whether the current user can modify the content of this file. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canMoveChildrenWithinDrive - description: Whether the current user can move children of this folder within - this drive. This is false when the item is not a folder. + description: Whether the current user can move children of this folder within this drive. This is false when the item is not a folder. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canMoveItemOutOfDrive - description: Whether the current user can move this item outside of this drive - by changing its parent. + description: Whether the current user can move this item outside of this drive by changing its parent. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canMoveItemWithinDrive description: Whether the current user can move this item within this drive. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canReadRevisions - description: Whether the current user can read the revisions resource of this - file. For a shared drive item, whether revisions of non-folder descendants - of this item, or this item itself if it is not a folder, can be read. + description: Whether the current user can read the revisions resource of this file. For a shared drive item, whether revisions of non-folder descendants of this item, or this item itself if it is not a folder, can be read. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canRemoveChildren - description: Whether the current user can remove children from this folder. - This is always false when the item is not a folder. + description: Whether the current user can remove children from this folder. This is always false when the item is not a folder. type: Boolean - contextPath: GoogleDrive.File.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. + 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.File.File.capabilities.canRename description: Whether the current user can rename this file. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canShare - description: Whether the current user can modify the sharing settings for this - file. + description: Whether the current user can modify the sharing settings for this file. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canTrash description: Whether the current user can move this file to trash. @@ -2250,23 +2039,19 @@ script: description: Whether the current user can restore this file from trash. type: Boolean - contextPath: GoogleDrive.File.File.copyRequiresWriterPermission - description: Whether the options to copy, print, or download this file, should - be disabled for readers and commenters. + description: Whether the options to copy, print, or download this file, should be disabled for readers and commenters. type: Boolean - contextPath: GoogleDrive.File.File.createdTime description: The time at which the file was created (RFC 3339 date-time). type: Date - contextPath: GoogleDrive.File.File.explicitlyTrashed - description: Whether the file has been explicitly trashed, as opposed to recursively - trashed from a parent folder. + description: Whether the file has been explicitly trashed, as opposed to recursively trashed from a parent folder. type: Boolean - contextPath: GoogleDrive.File.File.exportLinks description: Links for exporting Docs Editors files to specific formats. type: String - contextPath: GoogleDrive.File.File.hasThumbnail - description: Whether this file has a thumbnail. This does not indicate whether - the requesting app has access to the thumbnail. To check access, look for - the presence of the thumbnailLink field. + description: Whether this file has a thumbnail. This does not indicate whether the requesting app has access to the thumbnail. To check access, look for the presence of the thumbnailLink field. type: Boolean - contextPath: GoogleDrive.File.File.iconLink description: A static, unauthenticated link to the file's icon. @@ -2281,8 +2066,7 @@ script: description: A plain text displayable name for this user. type: String - contextPath: GoogleDrive.File.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. + 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.File.File.lastModifyingUser.me description: Whether this user is the requesting user. @@ -2312,20 +2096,16 @@ script: description: The last time the file was modified by anyone (RFC 3339 date-time). type: Date - contextPath: GoogleDrive.File.File.name - description: The name of the file. This is not necessarily unique within a folder. - Note that for immutable items such as the top level folders of shared drives, - My Drive root folder, and Application Data folder the name is constant. + description: The name of the file. This is not necessarily unique within a folder. Note that for immutable items such as the top level folders of shared drives, My Drive root folder, and Application Data folder the name is constant. type: String - contextPath: GoogleDrive.File.File.ownedByMe - description: Whether the user owns the file. Not populated for items in shared - drives. + description: Whether the user owns the file. Not populated for items in shared drives. type: Boolean - contextPath: GoogleDrive.File.File.owners.displayName description: A plain text displayable name for this user. type: String - contextPath: GoogleDrive.File.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. + 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.File.File.owners.me description: Whether this user is the requesting user. @@ -2364,35 +2144,28 @@ script: description: A link to the user's profile photo, if available. type: String - contextPath: GoogleDrive.File.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. + 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: String - contextPath: GoogleDrive.File.File.shared - description: Whether the file has been shared. Not populated for items in shared - drives. + description: Whether the file has been shared. Not populated for items in shared drives. type: Boolean - contextPath: GoogleDrive.File.File.spaces - description: The list of spaces which contain the file. The currently supported - values are 'drive', 'appDataFolder', and 'photos'. + description: The list of spaces which contain the file. The currently supported values are 'drive', 'appDataFolder', and 'photos'. type: String - contextPath: GoogleDrive.File.File.starred description: Whether the user has starred the file. type: Boolean - contextPath: GoogleDrive.File.File.thumbnailLink - description: A short-lived link to the file's thumbnail, if available. Typically - lasts on the order of hours. + description: A short-lived link to the file's thumbnail, if available. Typically lasts on the order of hours. type: String - contextPath: GoogleDrive.File.File.thumbnailVersion description: The thumbnail version for use in thumbnail cache invalidation. type: String - contextPath: GoogleDrive.File.File.trashed - description: Whether the file has been trashed, either explicitly or from a - trashed parent folder. + description: Whether the file has been trashed, either explicitly or from a trashed parent folder. type: Boolean - contextPath: GoogleDrive.File.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. + 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: String - contextPath: GoogleDrive.File.File.viewedByMe description: Whether the file has been viewed by this user. @@ -2401,12 +2174,10 @@ script: description: The last time the file was viewed by the user (RFC 3339 date-time). type: Date - contextPath: GoogleDrive.File.File.webViewLink - description: A link for opening the file in a relevant Google editor or viewer - in a browser. + description: A link for opening the file in a relevant Google editor or viewer in a browser. type: String - contextPath: GoogleDrive.File.File.writersCanShare - description: Whether users with only writer permission can modify the file's - permissions. Not populated for items in shared drives. + description: Whether users with only writer permission can modify the file's permissions. Not populated for items in shared drives. type: Boolean - name: google-drive-file-upload description: Creates a new file. @@ -2421,9 +2192,7 @@ script: required: false isArray: false - name: parent - description: The ID of the parent folder which contains the file. If not specified - as part of a create request, the file will be placed directly in the user's - My Drive folder. + description: The ID of the parent folder which contains the file. If not specified as part of a create request, the file will be placed directly in the user's My Drive folder. required: false isArray: false outputs: @@ -2431,9 +2200,7 @@ script: description: The ID of the file. type: String - contextPath: GoogleDrive.File.File.name - description: The name of the file. This is not necessarily unique within a folder. - Note that for immutable items such as the top level folders of shared drives, - My Drive root folder, and Application Data folder, the name is constant. + description: The name of the file. This is not necessarily unique within a folder. Note that for immutable items such as the top level folders of shared drives, My Drive root folder, and Application Data folder, the name is constant. type: String - contextPath: GoogleDrive.File.File.mimeType description: The MIME type of the file. @@ -2442,40 +2209,31 @@ script: description: Whether the user has starred the file. type: Boolean - contextPath: GoogleDrive.File.File.trashed - description: Whether the file has been trashed, either explicitly or from a - trashed parent folder. + description: Whether the file has been trashed, either explicitly or from a trashed parent folder. type: Boolean - contextPath: GoogleDrive.File.File.explicitlyTrashed - description: Whether the file has been explicitly trashed, as opposed to recursively - trashed from a parent folder. + description: Whether the file has been explicitly trashed, as opposed to recursively trashed from a parent folder. type: Boolean - contextPath: GoogleDrive.File.File.parents description: The IDs of the parent folders which contain the file. type: String - contextPath: GoogleDrive.File.File.spaces - description: The list of spaces which contain the file. The currently supported - values are 'drive', 'appDataFolder', and 'photos'. + description: The list of spaces which contain the file. The currently supported values are 'drive', 'appDataFolder', and 'photos'. type: String - contextPath: GoogleDrive.File.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. + 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: String - contextPath: GoogleDrive.File.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. + 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.File.File.webViewLink - description: A link for opening the file in a relevant Google editor or viewer - in a browser. + description: A link for opening the file in a relevant Google editor or viewer in a browser. type: String - contextPath: GoogleDrive.File.File.iconLink description: A static, unauthenticated link to the file's icon. type: String - contextPath: GoogleDrive.File.File.hasThumbnail - description: Whether this file has a thumbnail. This does not indicate whether - the requesting app has access to the thumbnail. To check access, look for - the presence of the thumbnailLink field. + description: Whether this file has a thumbnail. This does not indicate whether the requesting app has access to the thumbnail. To check access, look for the presence of the thumbnailLink field. type: Boolean - contextPath: GoogleDrive.File.File.thumbnailVersion description: The thumbnail version for use in thumbnail cache invalidation. @@ -2493,23 +2251,19 @@ script: description: The last time the file was modified by anyone (RFC 3339 date-time). type: Date - contextPath: GoogleDrive.File.File.thumbnailLink - description: A short-lived link to the file's thumbnail, if available. Typically - lasts on the order of hours. + description: A short-lived link to the file's thumbnail, if available. Typically lasts on the order of hours. type: String - contextPath: GoogleDrive.File.File.exportLinks description: Links for exporting Docs Editors files to specific formats. type: String - contextPath: GoogleDrive.File.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. + 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: String - contextPath: GoogleDrive.File.File.shared - description: Whether the file has been shared. Not populated for items in shared - drives. + description: Whether the file has been shared. Not populated for items in shared drives. type: Boolean - contextPath: GoogleDrive.File.File.writersCanShare - description: Whether users with only writer permission can modify the file's - permissions. Not populated for items in shared drives. + description: Whether users with only writer permission can modify the file's permissions. Not populated for items in shared drives. type: Boolean - contextPath: GoogleDrive.File.File.modifiedByMe description: Whether the file has been modified by this user. @@ -2518,36 +2272,28 @@ script: description: The last time the file was modified by the user (RFC 3339 date-time). type: Date - contextPath: GoogleDrive.File.File.ownedByMe - description: Whether the user owns the file. Not populated for items in shared - drives. + description: Whether the user owns the file. Not populated for items in shared drives. type: Boolean - contextPath: GoogleDrive.File.File.isAppAuthorized description: Whether the file was created or opened by the requesting app. type: Boolean - contextPath: GoogleDrive.File.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. + 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.File.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. + 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.File.File.capabilities.canChangeCopyRequiresWriterPermission - description: Whether the current user can change the 'copy requires writer permission' - restriction of this file. + description: Whether the current user can change the 'copy requires writer permission' restriction of this file. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canChangeSecurityUpdateEnabled - description: Whether the current user can change the 'security update enabled' field - on link shared metadata. + description: Whether the current user can change the 'security update enabled' field on link shared metadata. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canComment description: Whether the current user can comment on this file. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canCopy - description: Whether the current user can copy this file. For an item in a shared - drive, whether the current user can copy non-folder descendants of this item, - or this item itself if it is not a folder. + description: Whether the current user can copy this file. For an item in a shared drive, whether the current user can copy non-folder descendants of this item, or this item itself if it is not a folder. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canDelete description: Whether the current user can delete this file. @@ -2559,43 +2305,34 @@ script: description: Whether the current user can edit this file. type: Boolean - contextPath: GoogleDrive.File.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. + 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.File.File.capabilities.canModifyContent description: Whether the current user can modify the content of this file. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canMoveChildrenWithinDrive - description: Whether the current user can move children of this folder within - this drive. This is false when the item is not a folder. + description: Whether the current user can move children of this folder within this drive. This is false when the item is not a folder. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canMoveItemOutOfDrive - description: Whether the current user can move this item outside of this drive - by changing its parent. + description: Whether the current user can move this item outside of this drive by changing its parent. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canMoveItemWithinDrive description: Whether the current user can move this item within this drive. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canReadRevisions - description: Whether the current user can read the revisions resource of this - file. For a shared drive item, whether revisions of non-folder descendants - of this item, or this item itself if it is not a folder, can be read. + description: Whether the current user can read the revisions resource of this file. For a shared drive item, whether revisions of non-folder descendants of this item, or this item itself if it is not a folder, can be read. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canRemoveChildren - description: Whether the current user can remove children from this folder. - This is always false when the item is not a folder. + description: Whether the current user can remove children from this folder. This is always false when the item is not a folder. type: Boolean - contextPath: GoogleDrive.File.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. + 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.File.File.capabilities.canRename description: Whether the current user can rename this file. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canShare - description: Whether the current user can modify the sharing settings for this - file. + description: Whether the current user can modify the sharing settings for this file. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canTrash description: Whether the current user can move this file to trash. @@ -2604,15 +2341,13 @@ script: description: Whether the current user can restore this file from trash. type: Boolean - contextPath: GoogleDrive.File.File.copyRequiresWriterPermission - description: Whether the options to copy, print, or download this file, should - be disabled for readers and commenters. + description: Whether the options to copy, print, or download this file, should be disabled for readers and commenters. type: Boolean - contextPath: GoogleDrive.File.File.lastModifyingUser.displayName description: A plain text displayable name for this user. type: String - contextPath: GoogleDrive.File.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. + 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.File.File.lastModifyingUser.me description: Whether this user is the requesting user. @@ -2633,8 +2368,7 @@ script: description: A plain text displayable name for this user. type: String - contextPath: GoogleDrive.File.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. + 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.File.File.owners.me description: Whether this user is the requesting user. @@ -2674,8 +2408,7 @@ script: deprecated: false arguments: - name: file_id - description: ID of the requested file. Can be retrieved using the `google-drive-files-list` - command. + description: ID of the requested file. Can be retrieved using the `google-drive-files-list` command. required: false isArray: false - name: file_name @@ -2723,8 +2456,7 @@ script: deprecated: false arguments: - name: file_id - description: ID of the file to replace. Can be retrieved using the `google-drive-files-list` - command. + description: ID of the file to replace. Can be retrieved using the `google-drive-files-list` command. required: false isArray: false - name: entry_id @@ -2736,9 +2468,7 @@ script: description: The ID of the file. type: String - contextPath: GoogleDrive.File.File.name - description: The name of the file. This is not necessarily unique within a folder. - Note that for immutable items such as the top level folders of shared drives, - My Drive root folder, and Application Data folder, the name is constant. + description: The name of the file. This is not necessarily unique within a folder. Note that for immutable items such as the top level folders of shared drives, My Drive root folder, and Application Data folder, the name is constant. type: String - contextPath: GoogleDrive.File.File.mimeType description: The MIME type of the file. @@ -2747,40 +2477,31 @@ script: description: Whether the user has starred the file. type: Boolean - contextPath: GoogleDrive.File.File.trashed - description: Whether the file has been trashed, either explicitly or from a - trashed parent folder. + description: Whether the file has been trashed, either explicitly or from a trashed parent folder. type: Boolean - contextPath: GoogleDrive.File.File.explicitlyTrashed - description: Whether the file has been explicitly trashed, as opposed to recursively - trashed from a parent folder. + description: Whether the file has been explicitly trashed, as opposed to recursively trashed from a parent folder. type: Boolean - contextPath: GoogleDrive.File.File.parents description: The IDs of the parent folders which contain the file. type: String - contextPath: GoogleDrive.File.File.spaces - description: The list of spaces which contain the file. The currently supported - values are 'drive', 'appDataFolder', and 'photos'. + description: The list of spaces which contain the file. The currently supported values are 'drive', 'appDataFolder', and 'photos'. type: String - contextPath: GoogleDrive.File.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. + 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: String - contextPath: GoogleDrive.File.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. + 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.File.File.webViewLink - description: A link for opening the file in a relevant Google editor or viewer - in a browser. + description: A link for opening the file in a relevant Google editor or viewer in a browser. type: String - contextPath: GoogleDrive.File.File.iconLink description: A static, unauthenticated link to the file's icon. type: String - contextPath: GoogleDrive.File.File.hasThumbnail - description: Whether this file has a thumbnail. This does not indicate whether - the requesting app has access to the thumbnail. To check access, look for - the presence of the thumbnailLink field. + description: Whether this file has a thumbnail. This does not indicate whether the requesting app has access to the thumbnail. To check access, look for the presence of the thumbnailLink field. type: Boolean - contextPath: GoogleDrive.File.File.thumbnailVersion description: The thumbnail version for use in thumbnail cache invalidation. @@ -2798,23 +2519,19 @@ script: description: The last time the file was modified by anyone (RFC 3339 date-time). type: Date - contextPath: GoogleDrive.File.File.thumbnailLink - description: A short-lived link to the file's thumbnail, if available. Typically - lasts on the order of hours. + description: A short-lived link to the file's thumbnail, if available. Typically lasts on the order of hours. type: String - contextPath: GoogleDrive.File.File.exportLinks description: Links for exporting Docs Editors files to specific formats. type: String - contextPath: GoogleDrive.File.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. + 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: String - contextPath: GoogleDrive.File.File.shared - description: Whether the file has been shared. Not populated for items in shared - drives. + description: Whether the file has been shared. Not populated for items in shared drives. type: Boolean - contextPath: GoogleDrive.File.File.writersCanShare - description: Whether users with only writer permission can modify the file's - permissions. Not populated for items in shared drives. + description: Whether users with only writer permission can modify the file's permissions. Not populated for items in shared drives. type: Boolean - contextPath: GoogleDrive.File.File.modifiedByMe description: Whether the file has been modified by this user. @@ -2823,36 +2540,28 @@ script: description: The last time the file was modified by the user (RFC 3339 date-time). type: Date - contextPath: GoogleDrive.File.File.ownedByMe - description: Whether the user owns the file. Not populated for items in shared - drives. + description: Whether the user owns the file. Not populated for items in shared drives. type: Boolean - contextPath: GoogleDrive.File.File.isAppAuthorized description: Whether the file was created or opened by the requesting app. type: Boolean - contextPath: GoogleDrive.File.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. + 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.File.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. + 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.File.File.capabilities.canChangeCopyRequiresWriterPermission - description: Whether the current user can change the 'copy requires writer permission' - restriction of this file. + description: Whether the current user can change the 'copy requires writer permission' restriction of this file. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canChangeSecurityUpdateEnabled - description: Whether the current user can change the 'security update enabled' field - on link shared metadata. + description: Whether the current user can change the 'security update enabled' field on link shared metadata. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canComment description: Whether the current user can comment on this file. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canCopy - description: Whether the current user can copy this file. For an item in a shared - drive, whether the current user can copy non-folder descendants of this item, - or this item itself if it is not a folder. + description: Whether the current user can copy this file. For an item in a shared drive, whether the current user can copy non-folder descendants of this item, or this item itself if it is not a folder. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canDelete description: Whether the current user can delete this file. @@ -2864,43 +2573,34 @@ script: description: Whether the current user can edit this file. type: Boolean - contextPath: GoogleDrive.File.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. + 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.File.File.capabilities.canModifyContent description: Whether the current user can modify the content of this file. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canMoveChildrenWithinDrive - description: Whether the current user can move children of this folder within - this drive. This is false when the item is not a folder. + description: Whether the current user can move children of this folder within this drive. This is false when the item is not a folder. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canMoveItemOutOfDrive - description: Whether the current user can move this item outside of this drive - by changing its parent. + description: Whether the current user can move this item outside of this drive by changing its parent. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canMoveItemWithinDrive description: Whether the current user can move this item within this drive. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canReadRevisions - description: Whether the current user can read the revisions resource of this - file. For a shared drive item, whether revisions of non-folder descendants - of this item, or this item itself if it is not a folder, can be read. + description: Whether the current user can read the revisions resource of this file. For a shared drive item, whether revisions of non-folder descendants of this item, or this item itself if it is not a folder, can be read. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canRemoveChildren - description: Whether the current user can remove children from this folder. - This is always false when the item is not a folder. + description: Whether the current user can remove children from this folder. This is always false when the item is not a folder. type: Boolean - contextPath: GoogleDrive.File.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. + 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.File.File.capabilities.canRename description: Whether the current user can rename this file. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canShare - description: Whether the current user can modify the sharing settings for this - file. + description: Whether the current user can modify the sharing settings for this file. type: Boolean - contextPath: GoogleDrive.File.File.capabilities.canTrash description: Whether the current user can move this file to trash. @@ -2909,15 +2609,13 @@ script: description: Whether the current user can restore this file from trash. type: Boolean - contextPath: GoogleDrive.File.File.copyRequiresWriterPermission - description: Whether the options to copy, print, or download this file, should - be disabled for readers and commenters. + description: Whether the options to copy, print, or download this file, should be disabled for readers and commenters. type: Boolean - contextPath: GoogleDrive.File.File.lastModifyingUser.displayName description: A plain text displayable name for this user. type: String - contextPath: GoogleDrive.File.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. + 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.File.File.lastModifyingUser.me description: Whether this user is the requesting user. @@ -2938,8 +2636,7 @@ script: description: A plain text displayable name for this user. type: String - contextPath: GoogleDrive.File.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. + 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.File.File.owners.me description: Whether this user is the requesting user. @@ -2975,15 +2672,11 @@ script: description: A link to the user's profile photo, if available. type: String - name: google-drive-file-delete - description: Permanently deletes a file owned by the user without moving it to - the trash. If the file belongs to a shared drive the user must be an organizer - on the parent. If the target is a folder, all descendants owned by the user - are also deleted. + description: Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a shared drive the user must be an organizer on the parent. If the target is a folder, all descendants owned by the user are also deleted. deprecated: false arguments: - name: file_id - description: ID of the requested file. Can be retrieved using the `google-drive-files-list` - command. + description: ID of the requested file. Can be retrieved using the `google-drive-files-list` command. required: false isArray: false - name: user_id @@ -2993,8 +2686,7 @@ script: - auto: PREDEFINED default: false defaultValue: "false" - description: 'Whether the requesting application supports both My Drives and - shared drives. Possible values: "true" and "false".' + description: 'Whether the requesting application supports both My Drives and shared drives. Possible values: "true" and "false".' isArray: false name: supports_all_drives predefined: @@ -3011,8 +2703,7 @@ script: deprecated: false arguments: - name: file_id - description: ID of the requested file. Can be retrieved using the `google-drive-files-list` - command. + description: ID of the requested file. Can be retrieved using the `google-drive-files-list` command. required: false isArray: false - name: user_id @@ -3020,8 +2711,7 @@ script: required: false isArray: false - name: page_size - description: "Maximum number of shared drives to return. Acceptable values are\ - \ 1 to 100, inclusive." + description: "Maximum number of shared drives to return. Acceptable values are 1 to 100, inclusive." required: false isArray: false defaultValue: "100" @@ -3032,8 +2722,7 @@ script: - auto: PREDEFINED default: false defaultValue: "false" - description: 'Whether the requesting application supports both My Drives and - shared drives. Possible values: "true" and "false".' + description: 'Whether the requesting application supports both My Drives and shared drives. Possible values: "true" and "false".' isArray: false name: supports_all_drives predefined: @@ -3043,15 +2732,13 @@ script: secret: false outputs: - contextPath: GoogleDrive.FilePermission.FilePermission.deleted - description: Whether the account associated with this permission has been deleted. - This field only pertains to user and group permissions. + description: Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions. type: Boolean - contextPath: GoogleDrive.FilePermission.FilePermission.displayName description: The "pretty" name of the value of the permission. type: String - contextPath: GoogleDrive.FilePermission.FilePermission.emailAddress - description: The email address of the user or group to which this permission - refers. + description: The email address of the user or group to which this permission refers. type: String - contextPath: GoogleDrive.FilePermission.FilePermission.id description: The ID of this permission. @@ -3070,8 +2757,7 @@ script: deprecated: false arguments: - name: file_id - description: ID of the requested file. Can be retrieved using the `google-drive-files-list` - command. + description: ID of the requested file. Can be retrieved using the `google-drive-files-list` command. required: false isArray: false - name: user_id @@ -3107,10 +2793,7 @@ script: - auto: PREDEFINED default: false defaultValue: "anyone" - description: 'The type of the grantee. When creating a permission, if type is - user or group, you must provide an emailAddress for the user or group. When - type is domain, you must provide a domain. No extra information is required - for an anyone type. Possible values: "user", "group", "domain", and "anyone".' + description: 'The type of the grantee. When creating a permission, if type is user or group, you must provide an emailAddress for the user or group. When type is domain, you must provide a domain. No extra information is required for an anyone type. Possible values: "user", "group", "domain", and "anyone".' isArray: false name: type predefined: @@ -3125,21 +2808,18 @@ script: required: false isArray: false - name: email_address - description: The email address of the user or group to which this permission - refers. + description: The email address of the user or group to which this permission refers. required: false isArray: false outputs: - contextPath: GoogleDrive.FilePermission.FilePermission.deleted - description: Whether the account associated with this permission has been deleted. - This field only pertains to user and group permissions. + description: Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions. type: Boolean - contextPath: GoogleDrive.FilePermission.FilePermission.displayName description: The "pretty" name of the value of the permission. type: String - contextPath: GoogleDrive.FilePermission.FilePermission.emailAddress - description: The email address of the user or group to which this permission - refers. + description: The email address of the user or group to which this permission refers. type: String - contextPath: GoogleDrive.FilePermission.FilePermission.id description: The ID of this permission. @@ -3158,8 +2838,7 @@ script: deprecated: false arguments: - name: file_id - description: ID of the requested file. Can be retrieved using the `google-drive-files-list` - command. + description: ID of the requested file. Can be retrieved using the `google-drive-files-list` command. required: false isArray: false - name: user_id @@ -3171,8 +2850,7 @@ script: required: false isArray: false - name: permission_id - description: The ID of the permission. Can be retrieved using the `google-drive-file-permissions-list` - command. + description: The ID of the permission. Can be retrieved using the `google-drive-file-permissions-list` command. required: false isArray: false - auto: PREDEFINED @@ -3192,15 +2870,13 @@ script: secret: false outputs: - contextPath: GoogleDrive.FilePermission.FilePermission.deleted - description: Whether the account associated with this permission has been deleted. - This field only pertains to user and group permissions. + description: Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions. type: Boolean - contextPath: GoogleDrive.FilePermission.FilePermission.displayName description: The "pretty" name of the value of the permission. type: String - contextPath: GoogleDrive.FilePermission.FilePermission.emailAddress - description: The email address of the user or group to which this permission - refers. + description: The email address of the user or group to which this permission refers. type: String - contextPath: GoogleDrive.FilePermission.FilePermission.id description: The ID of this permission. @@ -3219,8 +2895,7 @@ script: deprecated: false arguments: - name: file_id - description: ID of the requested file. Can be retrieved using the `google-drive-files-list` - command. + description: ID of the requested file. Can be retrieved using the `google-drive-files-list` command. required: false isArray: false - name: user_id @@ -3228,23 +2903,21 @@ script: required: false isArray: false - name: permission_id - description: The ID of the permission. Can be retrieved using the `google-drive-file-permissions-list` - command. + description: The ID of the permission. Can be retrieved using the `google-drive-file-permissions-list` command. required: false isArray: false - auto: PREDEFINED default: false defaultValue: "false" - description: 'Whether the requesting application supports both My Drives and - shared drives. Possible values: "true" and "false".' + description: 'Whether the requesting application supports both My Drives and shared drives. Possible values: "true" and "false".' isArray: false name: supports_all_drives predefined: - - "true" - - "false" + - "true" + - "false" required: false secret: false - dockerimage: demisto/googleapi-python3:1.0.0.62140 + dockerimage: demisto/googleapi-python3:1.0.0.63394 feed: false isfetch: true longRunning: false diff --git a/Packs/GoogleDrive/ReleaseNotes/1_2_32.md b/Packs/GoogleDrive/ReleaseNotes/1_2_32.md index 08c3894c9f48..11333417dfb4 100644 --- a/Packs/GoogleDrive/ReleaseNotes/1_2_32.md +++ b/Packs/GoogleDrive/ReleaseNotes/1_2_32.md @@ -1,3 +1,3 @@ #### Integrations ##### Google Drive -- Updated the Docker image to: *demisto/googleapi-python3:1.0.0.62140*. +- Updated the Docker image to: *demisto/googleapi-python3:1.0.0.62140*. \ No newline at end of file diff --git a/Packs/GoogleDrive/ReleaseNotes/1_2_33.md b/Packs/GoogleDrive/ReleaseNotes/1_2_33.md new file mode 100644 index 000000000000..6447604f755d --- /dev/null +++ b/Packs/GoogleDrive/ReleaseNotes/1_2_33.md @@ -0,0 +1,9 @@ + +#### Integrations + +##### Google Drive + +- Added the following integration parameters to support credentials fetching object: + - *User ID* + - *User's Service Account JSON* +- Updated the Docker image to *demisto/googleapi-python3:1.0.0.63394*. diff --git a/Packs/GoogleDrive/pack_metadata.json b/Packs/GoogleDrive/pack_metadata.json index 5dfc7f6b44f8..271a59ccc16c 100644 --- a/Packs/GoogleDrive/pack_metadata.json +++ b/Packs/GoogleDrive/pack_metadata.json @@ -2,7 +2,7 @@ "name": "Google Drive", "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, as well as list drives and files, and manage their permissions.", "support": "xsoar", - "currentVersion": "1.2.32", + "currentVersion": "1.2.33", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "",