chore: sync skills with Discovery API#611
Conversation
|
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This automated pull request synchronizes the Google Workspace Drive skill documentation with the latest Google Discovery API specifications. The primary changes involve updating external documentation links to use relative paths and enhancing the description of the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
|
/gemini review |
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
There was a problem hiding this comment.
Code Review
This pull request modifies the SKILL.md file to update documentation for Google Workspace Drive API methods. The changes involve converting several absolute URLs to root-relative paths and adding a new sentence to the get method description. The review comments highlight that changing the links to root-relative paths will cause them to break when the file is viewed directly on platforms like GitHub, degrading documentation usability. Additionally, a missing closing parenthesis was identified in the create method description. The feedback suggests reverting the links to absolute URLs and correcting the grammatical error.
I am having trouble creating individual review comments. Click here to see my feedback.
skills/gws-drive/SKILL.md (73)
Changing this documentation link from an absolute URL to a root-relative path will cause it to be broken for anyone viewing this file directly on platforms like GitHub. This degrades the usability of the documentation for developers browsing the repository. Please use the full absolute URL to ensure the link is always accessible.
- `list` — Lists the user's shared drives. This method accepts the `q` parameter, which is a search query combining one or more search terms. For more information, see the [Search for shared drives](https://developers.google.com/workspace/drive/api/guides/search-shareddrives) guide.
skills/gws-drive/SKILL.md (80)
This line has two issues:
- The link has been changed to a root-relative path, which will be broken when viewed outside of the specific documentation portal (e.g., on GitHub). Please use the absolute URL to ensure the link is always functional.
- There is a missing closing parenthesis at the end of the sentence starting with
(Specify....
- `create` — Creates a file. For more information, see [Create and manage files](https://developers.google.com/workspace/drive/api/guides/create-file). This method supports an */upload* URI and accepts uploaded media with the following characteristics: - *Maximum file size:* 5,120 GB - *Accepted Media MIME types:* `*/*` (Specify a valid MIME type, rather than the literal `*/*` value. The literal `*/*` is only used to indicate that any valid MIME type can be uploaded.)
skills/gws-drive/SKILL.md (84)
The links in this line have been changed to root-relative paths, which will be broken when viewed on platforms like GitHub. Please use absolute URLs to ensure they are always accessible.
- `get` — Gets a file's metadata or content by ID. For more information, see [Search for files and folders](https://developers.google.com/workspace/drive/api/guides/search-files). If you provide the URL parameter `alt=media`, then the response includes the file contents in the response body. Downloading content with `alt=media` only works if the file is stored in Drive. To download Google Docs, Sheets, and Slides use [`files.export`](https://developers.google.com/workspace/drive/api/reference/rest/v3/files/export) instead.
skills/gws-drive/SKILL.md (85)
This link has been changed to a root-relative path, which will be broken when viewed outside of the specific documentation portal (e.g., on GitHub). Please use the absolute URL to ensure the link is always functional.
- `list` — Lists the user's files. For more information, see [Search for files and folders](https://developers.google.com/workspace/drive/api/guides/search-files). This method accepts the `q` parameter, which is a search query combining one or more search terms. This method returns *all* files by default, including trashed files. If you don't want trashed files to appear in the list, use the `trashed=false` query parameter to remove trashed files from the results.
Automated PR — the Google Discovery API specs have changed and the
generated skill files are out of date.
Created by the Generate Skills workflow (
generate-skills.yml).