Question on applying label while uploading the attachments.
I was able to upload attachments into google drive through API. Is it possible to apply label while uploading the attachments. Please advise
The feature which allows for adding labels to the drive file metadata for Google workspace is currently in beta.
Beta: Use automated classification with DLP for Drive
Being that it is a beta feature this feature has not been added to the Google drive API, nor has any information been released that it will in the future be added to the google drive api.
There for i strongly recommend that you add a feature request so that Google is aware that you would like to be able to use this new feature in their API as well feature request
From December 7, 2021 announcement (bold selection mine):
Earlier this year we announced a beta for three features which can help categorize content and enhance content protection at scale. Drive labels are now generally available, and automated classification with Workspace data loss prevention and labels-driven sharing restrictions will become generally available in the coming weeks. Check back on the Workspace blog for updates.
Also, for API usage of labels, it seems to be available, according to help article:
Is it possible to apply labels through an API?
There is a labels API (beta) that you can use to create, edit, apply, and remove labels programmatically. Email drive-labels-feedback#google.com to request access to the labels API beta.
Related
Google Docs has recently introduced a feature where we can refer to
Date
Person
Google Drive Document
in the form of a Chip Block (as shown in the picture above)
I am trying to generate such chip block using Google App Script.
Rich Link Documentation does not have any code snippet or method to add a Rich Link inside a document.
Document Service page also doesn't have detail regarding how to insert a Rich Link.
I wonder whether the feature is not yet implemented in the Google App Script Api
The smart chips can be retrieved using the methods released on August 23, 2021. Ref. But, unfortunately, in the current stage, it seems that there are no methods for inserting the smart chips. Although I checked about this at both Google Document service and Google Docs API, I couldn't find the methods for this. So, I think that is the current answer.
And also, when I checked the Google issue tracker, I couldn't find anything about your goal. Ref So, how about reporting your goal as a future request at the issue tracker?
I am regular user of Mindmup on google drive , a top rated mind mapping tool on Google drive marketplace.
I have an 2016 Mindmup which I am not able to open. Mindmup said they can help if google can provide “Drive Realtime API data” associated with the old file.
Google has a note that claims that read only access should continue, which is not true. And the link to how to "export realtime API data" is broken.
Answer:
Unfortunately, as the Google Realtime API has been deprecated, this isn't something the Stack Overflow community can help with.
What You Can Do:
From here, your best bet is to contact Google directly and see if they can provide you with the respective API data that you need. There is still a cached version of the API reference on Google Search which you can access, which may have links to the correct pages you are looking for.
Google Support can be contacted here, though I feel for this it may be more helpful for you to contact G Suite Support directly. You'll need to follow the corresponding link to you account on this page and contact them this way.
References:
Cache of Google Realtime API Reference
Google Help
Contact G Suite Support
Are there any plans for supporting apps script in google slides?
I wanted to code a progress bar to.. well show the progress of my presentation but as it turns out, slides does not support apps script.
You may want to regularly check Google Apps Script - Release Notes to be updated on the major changes in each release of Google Apps Script. This is intended to help developers identify recent changes in behavior.
However, you may want to also check features that you can use to show progress bar with the use of Google Slides API. Many of the features that make Google Slides so successful are available through the API. This lets you access and update presentations programatically, integrating data from various sources and producing finished presentations in a fraction of the time.
I haven't actually tried using this API, but this SO post shows how you can use the apps-script-oauth2 library to generate your OAuth token and be able to use Google Slides API.
For missing features that you might need or like, you may file requests here.
Hope that helps!
The 22nd of January, I received an email with the subject 'Important: Steps to migrate from discontinued Documents List API' from Google Apps .
Important: Steps to migrate from discontinued Documents List API
Hello administrators,
We recently communicated that Documents List API will be discontinued on April 20, 2015. This change means that service calls for this API will no longer be supported, and any Google Apps features that are implemented using this API will no longer function.
Our records indicate that you may have an application that uses Documents List API, and we recommend that you migrate to Drive API, which has comparable
functionality, as soon as possible.
Here's what you need to do:
Determine if you have an application that makes requests to these
types of URLs:
https://docs.google.com/feeds/
https://docs.googleusercontent.com/
https://spreadsheets.google.com/feeds/
Migrate the applications to Drive
API. If you have questions
about migration, please contact Google Apps for Work Support.
Sincerely, The Google Apps for Work Team
I think it says that applications using https://spreadsheets.google.com/feeds/ should migrate to the new Drive API. But in the new Drive API, this URL is used too:
https://developers.google.com/google-apps/spreadsheets/#sheets_api_urls_visibilities_and_projections
Is there a typo somewhere in the URL either in the email or Drive API documentation?
Or is this email saying that when you determined you used any of these URL's you're OK?
PS: I opened a case at Google but I fear a late response, so I asked here.
Short answer is no.
The Docslist API is being discontinued because it has been replaced by the Drive API. In the case of the Spreadsheet API, there is no replacement API (yet - maybe one day), so it remains supported.
The only gotcha is that at some point, only OAuth 2 will be supported for authentication/authorisation so if you're using OAuth 1 or u/p, you have some work to do.
The official Google response is that the Spreadsheets API will continue to function after the 20 April shutdown:
"Apologies for the confusing email. The sheets API is not yet deprecated and will continue to operate beyond the April shutdowns."
https://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=3709
Given Google drive is brand spanking new. I expect there will be lots of changes, more documentation, new code examples, changes in the API. Is there some sort of mailing list or ??? I can use to stay on top of these updates?
Thanks
Andy
The Google Drive SDK has no mailing list. All questions are handled on Stack Overflow, under the google-drive-sdk tag.
For updates about changes to the SDK, subscribe to the Google Apps Developer Blog. Our standard practice is to post about all updates there.
As far as I know there isn't really a mailing list. However, Google does provide many sources for content related to Google Drive. Here is a list:
Google Blog - Introducing Google Drive... yes, really
Twitter - #google
Google Drive Product Forums - Ask, Report, Share
Google Drive SDK - Develop Application Support for Google Drive
Google Drive Help - Customer and Developer
You could do what I did.
Just hover your mouse on the google-drive-sdk tag. You will see two options. Choose between email/RSS.
Attached is the image.
http://goo.gl/bGV8h
Edit: Corrected the link