Posted by Christian Schalk, Developer Advocate
Google is proud to announce the Google Forms API! The Forms API is currently available in Restricted Beta, with Open Beta expected to follow in Q4.
Launched in 2008, Google Forms enables easy creation and distribution of forms, surveys, and quizzes. Forms is used for a wide variety of use cases across business operations, customer management, event planning and logistics, education, and more.
The new Google Forms API provides programmatic access for managing forms and acting on responses, empowering developers to build powerful integrations on top of Forms. The API supports two key use cases:
Automating form creation and editing:The API enables developers to automate form creation and editing. This is especially powerful when dealing with large volumes of forms that need to be auto-generated from question banks or other data.
Reacting to incoming responses: The API also allows developers to build automations for acting on incoming responses. Examples include developing real-time dashboards or visualizations and triggering business workflows based on response data.
Education Automation Integrations
Integrations with Learning Management Systems
Custom form/quiz generation from question banks
Student tracking with real-time dashboards
Customer Management and Support
Auto-generate surveys / forms based on customer data
Trigger notifications and processes based on responses from customers
Data Analysis and Visualization
Create custom visualizations with response data
Leverage push notifications to update in realtime
The API provides the following specific functionality.
Read forms content and metadata, including:
Read Responses Read responses to forms, including:
Notifications via Cloud PubSub
Subscribe to real-time form updates via Cloud Pub/Sub:
Receive either push or pull notifications when forms change
Get notified when a form is edited or when a form response is submitted
For the complete Forms API reference documentation visit:
developers.google.com/forms/api/reference/rest
Zapier , a leading workflow automation platform, will leverage the new Google Forms API to deliver a better experience for Zapier and Google Workspace users. Today, thousands of businesses use Zapier to connect Google Forms to 4k+ applications to automate tasks and key workflows.
To date, Zapier has used the Google Drive and Google Sheets API to deliver this integration. Now, a dedicated Forms API will provide a more stable and purpose-driven platform to build from.
The most common use case for Zapier’s integration with Google Forms is to send Form submission data to an app of the user’s choice within Zapier’s ecosystem whenever one is submitted. For example, a user can automatically create a Google Calendar event for a meeting booked via a Google Form.
Doing this today requires setting up “watches” via the Google Drive API on the spreadsheet that is tied to the Google Form a user wishes to integrate with Zapier. While this implementation is functional, it puts significant pressure on the Drive endpoint, which carries strict rate limits.
When a change to the Google Sheet is registered by the Drive API, Zapier then uses the Sheets API to identify the new rows on the spreadsheet that are tied to the Google Form and reads the required data.
With the new Forms API, Zapier will be able to achieve the same functionality through the Pub/Sub notification system to track new responses and the Forms API to find, read, and send the necessary data to third-party apps via Zapier.
This new implementation will result in faster and more reliable automations between Google Forms and the 4000+ apps in Zapier’s app directory.
Zzish, an innovator in the education industry, is leveraging the new Google Forms API in their Quizalize product to empower educators to personalize their teaching for every student.
Zzish will use the Forms API to help teachers easily convert between Google Forms quizzes and quizzes in Quizalize. This will enable teachers to search Quizalize's database of 500,000 standards-aligned quizzes and use them as Google Forms. Teachers will also be able to easily deploy their Google Forms as a fun classroom game in Quizalize.
We anticipate promoting the API to Open Beta in Q4 2021, with GA following in 2022.
The Forms API is currently in Restricted Beta. We encourage you to apply here to be an early adopter to get started with the API today! We’ll also send you important updates about Open Beta and improvements to the API. To keep up to date with all the APIs of your favorite Google Apps, please subscribe to the Google Workspace Developer Newsletter.
Posted by Vikrant Rana, Product Manager, and Badi Azad, Group Product Manager
Google Identity strives to be the best stewards for Google Account users who entrust us to protect their data. At the same time, we want to help our developer community build apps that give users amazing experiences. Together, Google and developers can provide users three important ways to manage sharing their data:
In service of that stewardship, today we are announcing an OAuth consent experience that simplifies how users can share data with apps. This experience also improves the consent conversion for apps that use incremental authorization, which requests only one scope. Users can now easily share this kind of request with a single tap.
Previous Screen New Screen
Let’s summarize a few past improvements so you have a full picture of the work we have been doing on the OAuth consent flow.
In mid-2019, we significantly overhauled the consent screen to give users fine-grained control over the account data they chose to share with a given app. In that flow, when an app requested access to multiple Google resources, the user would see one screen for each scope.
In July 2021, we consolidated these multiple-permission requests into a single screen, while still allowing granular data sharing control for users. Our change today represents a continuation of improvements on that experience.
The Identity team will continue to gather feedback and further enhance the overall user experience around Google Identity Services and sharing account data.
There is no change you need to make to your app. However, we recommend using incremental authorization and requesting only one resource at the time your app needs it. We believe that doing this will make your account data request more relevant to the user and therefore improve the consent conversion. Read more about incremental authorization in our developer guides.
If your app requires multiple resources at once, make sure it can handle partial consent gracefully and reduce its functionality appropriately as per the OAuth 2.0 policy.
Developers worldwide are creating open-source tools and tutorials; however, they have difficulty getting them discovered. The content published often spanned on many different sites—from GitHub to Medium. Therefore Google decided to create a space where the best projects related to Google technologies can be highlighted in one place—introducing the Dev Library, a curated archive of projects and articles built specifically using Google technologies.
Dev Library as a platform showcases blog posts and open source tools with easy-to-use navigation for these product areas: Machine Learning, Flutter, Firebase, Angular, Cloud, and Android.
What makes the Dev Library unique?
Not all the articles or projects submitted by you, get on the site! A team of Google experts look for accuracy and relevancy in each featured piece, so you know when you view the content on the site, it has the stamp of approval from Google.How does it help me?
Visibility. Developers can have a hard time promoting and publicizing their learnings, despite extensive expertise. Dev Library is one such way to reach out to the world and say, "Hey! I have created this amazing project. Would you like to check it out"?
In addition, you also get to network with fellow contributors who are also using the Dev Library to showcase their projects.
To celebrate the efforts of our contributors, we created dedicated author pages for each person, allowing them to collate their projects in one place.
What content can I expect to see on the Dev Library?To demonstrate the breadth of content on the site, here are some examples of published content pieces and video interviews with the developers who authored these posts:
What is the end goal?
Developers who know how to write well. Often we have witnessed developers with an entire portfolio of projects and knowledge bombs, still struggling to get it out there. But we need more developers writing about their work. Their struggles. Their code blocks. How their project was built up. And much more.
With the Dev Library, we somehow want to bring in that difference.
Upskill more developers to write well, market better, and reach out to a global audience waiting for long-form answers!
How can I support the Dev Library?There are two ways you can help us grow the Developer Library:
We can’t wait to receive your submissions and feedback!
Let Dev Library bring to you an amazing place to submit your open-source work.
Posted by Charles Maxson, Developer Advocate
Google Workspace offers a broad set of tools and capabilities that empowers creators and developers of all experience levels to build a wide range of custom productivity solutions. For professional developers looking to integrate their own app experiences into Workspace, the platform enables deep integrations with frameworks like Google Workspace Add-ons and Chat apps, as well as deep access to the full suite of Google Workspace apps via numerous REST APIs. And for citizen developers on the business side or developers looking to build solutions quickly and easily, tools like Apps Script and AppSheet make it simple to customize, extend, and automate workflows directly within Google Workspace.
At Next ‘21 we have 7 sessions you won’t want to miss that cover the breadth of the platform. From no-code and low-code solutions to content for developers looking to publish in the Google Workspace Marketplace and reach the more than 3 billion users in Workspace, Next ‘21 has something for everyone.
1. See what’s new in Google Workspace
Matthew Izatt, Product Manager, Google Cloud
Erika Trautman, Director Product Management, Google Cloud
Join us for an interactive demo and see the latest Google Workspace innovations in action. As the needs of our users shifted over the past year, we’ve delivered entirely new experiences to help people connect, create, and collaborate—across Gmail, Drive, Meet, Docs, and the rest of the apps. You’ll see how Google Workspace meets the needs of different types of users with thoughtfully designed experiences that are easy to use and easy to love, Then, we’ll go under the hood to show you the range of ways to build powerful integrations and apps for Google Workspace using tools that span from no-code to professional grade.
2. Developer Platform State of the Union: Google Workspace
Charles Maxson, Developer Advocate, Google Cloud
Steven Bazyl, Developer Relations Engineer, Google Cloud
Google Workspace offers a comprehensive developer platform to support every developer who’s on a journey to customize and enhance Google Workspace. In this session, take a deeper dive into the new tools, technologies, and advances across the Google Workspace developer platform that can help you create even better integrations, extensions, and workflows. We’ll focus on updates for Google Apps Script, Google Workspace Add-ons, Chat apps, APIs, AppSheet, and Google Workspace Marketplace.
3. How Miro, Docusign, Adobe and Atlassian are helping organizations centralize their work
Matt Izatt, Group Product Manager, Google Cloud
David Grabner, Product Lead, Apps & Integrations, Miro
Integrations make Google Workspace the hub for your work and give users more value by bringing all their tools into one space. Our ecosystem allows users to connect industry-leading software and custom-built applications with Google Workspace to centralize important information from the tools you use every day. And integrations are not limited to Gmail, Docs, or your favorite Google apps – they’re also available for Chat. With Chat apps, users can seamlessly blend conversations with automation and timely information to accelerate teamwork directly from within a core communication tool.
In this session, we’ll briefly review the Google Workspace platform and how Miro and Atlassian are helping organizations centralize their work and keep important information a mouse click or a tap away.
4. Learn how customers are empowering their workforce to customize Google Workspace
Aspi Havewala, Global Head of Digital Workplace, Verizon
Organizations small and large are seeing their needs grow increasingly diverse as they pursue digital transformation projects. Many of our customers are empowering their workforces by allowing them to build advanced workflows and customizations using Google Apps Script. It’s a powerful low-code development platform included with Google Workspace that makes it fast and easy to build custom business solutions for your favorite Google Workspace applications – from macro automations to custom functions and menus. In this session, we’ll do a quick overview of the Apps Script platform and hear from customers who are using it to enable their organizations.
5. Transform your business operations with no-code apps
Arthur Rallu, Product Manager, Google Cloud
Paula Bell, Business Process Analyst, Kentucky Power Company, American Electric Power
Building business apps has become something anyone can do. Don’t believe us? Join this session to learn how Paula Bell, who self describes as a person with “zero coding experience” built a series of mission-critical apps on AppSheet that revolutionized how Kentucky Power, a branch of American Electric Power, runs their field operations.
6. How AppSheet helps you work smarter with Google Workspace
Mike Procopio, Senior Staff Software Engineer, Google Cloud
Millions of Google Workspace users are looking for new ways to reclaim time and work smarter within Google Workspace. AppSheet, Google Workspace’s first-party extensibility platform, will be announcing several new features that will allow people to automate and customize their work within their Google Workspace environment – all without having to write a line of code.
Join this session to learn how you can use these new features to work smarter in Google Workspace.
7. How to govern an innovative workforce and reduce Shadow IT
Kamila Klimek, Product Manager, Google Cloud
Jacinto Pelayo, Chief Executive Officer, Evenbytes
For organizations focused on growth, finding new ways that employees can use technology to work smarter and innovate is key to their success. But enabling employees to create their own solutions comes at a cost that IT is keenly aware of. The threats of external hacks, data leaks, and shadow IT make it difficult for IT to find a solution that gives them the control and visibility they need, while still empowering their workforce. AppSheet was built with these challenges in mind.
Join our session to learn how you can use AppSheet to effectively govern your workforce and reduce security threats, all while giving employees the tools to make robust, enterprise-grade applications.
To learn more about these sessions and to register, visit the Next ‘21 website and also check out my playlist of Next ‘21 content.
Posted by Sarah Fullmer, Program Manager
The Flutter Meetup Network (FMN) is an international network of Meetup groups united by their enthusiasm for Flutter. The FMN program mission is to foster a thriving worldwide community of Flutter developers by empowering community organizers to educate and inspire local communities with engaging events.
Meetups – and similar developer community groups - are a great resource. As Flutter has grown in popularity over the past few years, over 100 Meetup groups have sprung up organically around the world to celebrate and educate their members about Flutter. The volunteers who run these groups have hosted many awesome events and workshops.
We, in the Flutter team, see and appreciate these amazing communities. 💙 The Flutter Meetup Network (FMN) is now being launched to support these groups officially. Network members will have access to various resources (more details available soon!), making it easier to plan and host Flutter-themed events.
Meetups have many benefits, aside from networking. When stuck on an issue in your current Flutter project, chances are good that you can find a developer in your local Flutter Meetup who has solved a similar problem. Or, maybe they know the perfect package for your needs.
We are thrilled to support our amazing and passionate organizers and can’t wait to see what the Flutter Meetup Network does moving forward.
Join a Meetup near you! https://www.meetup.com/pro/flutter
Posted by Toni Klopfenstein, Developer Relations Engineer
Today there are over 276 million smart home households globally, and the industry continues to see rapid growth every year. Users have never been more comfortable bringing home new smart home devices — but they also continue to expect more from their devices, and their smart homes. To meet and exceed these expectations, we want to make sure developers have the tools and support to build their best experience across the Google Home app, Nest, Android, and Assistant.
That’s why we’re excited to announce the return of the Google Smart Home Developer Summit on October 21, 2021! This year’s event is free to join, fully virtual and will be hosted on our website with broadcast times available for our developer communities in the AMER, EMEA, and APAC regions.
To kick things off, Michele Turner, Senior Director of Product for Google’s Smart Home Ecosystem, will share our vision for the home and preview upcoming tools and features to build your next devices and apps using Matter and Thread — technologies transforming the industry. This will be followed by a developer keynote to dig deeper into announcements, and a round of technical sessions, workshops, and more, hosted by Google's smart home leaders.
Building the best smart home platform means using trusted technology and intelligence to develop your integrations faster, provide tools to drive your innovation, and allow you new paths to growth. We can’t wait to engage with you and share more about how we can lead and grow the smart home together.
You can register for the Google Smart Home Developer Summit 2021 here, and follow along with the event using the tag #GoogleHomeSummit on social media. We hope to see you there!
Posted by the Google Developer Team
Developers: it’s time to start marking your calendars, we’re hard at work on a busy slate of summits coming your way in just a few weeks. Here’s a quick rundown of three summits we just announced this week:
Android Dev Summit is back, October 27-28
Directly from the team who builds Android, the Android Dev Summit returns this year on October 27-28. Join us to hear about the latest updates in Android development, centered on this year’s theme: excellent apps, across devices. We have over 30 sessions on a range of technical Android development topics. Plus, we’ve assembled the team that builds Android to get your burning #AskAndroid questions answered live. Interested in learning more? Be sure to sign up for updates through our Android newsletter here.
Discover, Connect, Inspire at Chrome Dev Summit 2021
The countdown to Chrome Dev Summit 2021 is on — and we can’t wait to share what we have in store. We’ll kick things off on November 3 by sharing the latest product updates in our keynote and hosting a live ask me anything (AMA) with Chrome leaders. You’ll also have the chance to chat live with Googlers and developers around the world, participate in workshops with industry experts, attend interactive learning lounges to consult with engineers in a group setting, and receive personalized support during one-on-one office hours. Everyone can tune into the keynote and AMA, but space is limited for the workshops, office hours, and learning lounges. Request an invite to secure your spot — we’ll see you on November 3!
And follow the Firebase Twitter channel for more updates on Firebase Summit, which will be coming to you on November 10!
Posted by Wesley Chun (@wescpy), Developer Advocate, Google Cloud
Since its original launch in 2008, many of the core Google App Engine services such as Datastore, Memcache, and Blobstore, have matured to become their own standalone products: for example, Cloud Datastore, Cloud Memorystore, and Cloud Storage, respectively. The same is true for App Engine Task Queues with Cloud Tasks. Today's Module 7 episode of Serverless Migration Station reviews how App Engine push tasks work, by adding this feature to an existing App Engine ndb Flask app.
App Engine push queues in Flask apps video
That app is where we left off at the end of Module 1, migrating its web framework from App Engine webapp2 to Flask. The app registers web page visits, creating a Datastore Entity for each. After a new record is created, the ten most recent visits are displayed to the end-user. If the app only shows the latest visits, there is no reason to keep older visits, so the Module 7 exercise adds a push task that deletes all visits older than the oldest one shown. Tasks execute asynchronously outside the normal application flow.
webapp2
The following are the changes being made to the application:
taskqueue
Except for #4 which occurs in the HTML template file, these updates are reflected in the "diff"s for the main application file:
Adding App Engine push tasks application source code differences
With these changes implemented, the web app now shows the end-user which visits will be deleted by the new push task:
Sample application output
To do this exercise yourself, check out our corresponding codelab which leads you step-by-step through the process. You can use this in addition to the video, which can provide guidance. You can also review the push queue documentation for more information. Arriving at a fully-functioning Module 7 app featuring App Engine push tasks sets the stage for migrating it to Cloud Tasks (and Cloud NDB) ahead in Module 8.
All migration modules, their videos (when available), codelab tutorials, and source code, can be found in the migration repo. While the content focuses initially on Python users, we will cover other legacy runtimes soon so stay tuned.
Google Cloud offers three distinct ways of running your code or application in a serverless way, each serving different use cases. Google App Engine, our first Cloud product, was created to give users the ability to deploy source-based web applications or mobile backends directly to the cloud without the need of thinking about servers or scaling. Cloud Functions came later for scenarios where you may not have an entire app, great for one-off utility functions or event-driven microservices. Cloud Run is our latest fully-managed serverless product that gives developers the flexibility of containers along with the convenience of serverless.
As all are serverless compute platforms, users recognize they share some similarities along with clear differences, and often, they ask:
We're going to answer these questions today by sharing a unique application with you, one that can be deployed to all three platforms without changing any application code. All of the necessary changes are done in configuration.
Another challenge for developers can be trying to learn how to use another Cloud product, such as this request, paraphrased from a user:
Sounds simple enough. This user went straight to the App Engine and Translation API documentation where they were able to get started with the App Engine Quickstart to get their app up and going, then found the Translation API setup page and started looking into permissions needed to access the API. However, they got stuck at the Identity and Access Management (IAM) page on roles, being overwhelmed at all the options but no clear path forward. In light of this, let's add a third question to preceding pair outlined earlier:
Nebulous serverless sample app files
translate()
@app.route('/', methods=['GET', 'POST']) def translate(gcf_request=None): local_request = gcf_request if gcf_request else request text = translated = None if local_request.method == 'POST': text = local_request.form['text'].strip() if text: data = { 'contents': [text], 'parent': PARENT, 'target_language_code': TARGET[0], } rsp = TRANSLATE.translate_text(request=data) translated = rsp.translations[0].translated_text context = { 'orig': {'text': text, 'lc': SOURCE}, 'trans': {'text': translated, 'lc': TARGET}, } return render_template('index.html', **context)
Core component (translate()) of sample application
ifdef
requirements.txt
app.yaml
appengine_config.py
Dockerfile
Procfile
service.yaml
package.json
"My Google Translate" MVP app (Cloud Run edition)
The user described earlier was overwhelmed at all the IAM roles and options available because this type of detail is required to provide the most security options for accessing Cloud services, but when prototyping, the fastest on-ramp is to use the default service account that comes with Cloud serverless platforms. These help you get that prototype working while allowing you to learn more about IAM roles and required permissions. Once you've progressed far enough to consider deploying to production, you can then follow the best practice of "least privileges" and create your own (user-managed) service accounts with the minimal permissions required so your application functions properly.
README
Posted by Kübra Zengin, Program Manager, Developer Relations
Google Developer Group (GDG) chapters are in a unique position to help make an impact during a time where many companies and businesses are trying to shift to a digital first world. Perhaps no one knows this better than GDG NYC Lead, Anna Nerezova. Over the past year, she’s seen firsthand just how powerful the GDG NYC community can be when the right opportunity presents itself.
In the past few years, Anna and other GDG NYC organizers have hosted a number of events focused on learning and sharing Cloud technologies with community members, including Cloud Study Jams and in-person workshops on Machine Learning Cloud-Speech-to-Text, Natural Language Processing, and more. Last year, GDG NYC took Google Cloud learning to the next level with a series of virtual Google Cloud tech talks on understanding BigQuery, Serverless best practices, and Anthos, with speakers from the Google Cloud team.
A GDG NYC speaker session
Thanks to these hands-on workshops, speaker sessions, and technical resources provided by Google, GDG NYC community members are able to upskill in a wide variety of technologies at an accelerated pace, all the while gaining the confidence to put those skills into practice. Beyond gaining new skills, Google Developer Group members are often able to unlock opportunities to make positive impacts in ways they never thought possible. As a GDG Lead, Anna is always on the lookout for opportunities that give community members the chance to apply their skills for a higher purpose.
Anna identified one such opportunity for her community via Positive Planet US, a local nonprofit dedicated to alleviating global and local poverty through positive entrepreneurship. Positive Planet International, originally formed in France, has helped 11 million people escape poverty across 42 countries in Europe, the Middle East, and Africa since its inception in 1998. Just last year, Positive Planet US was launched in New York City, with a mission to create local and global economic growth in underprivileged communities in the wake of the pandemic.
Anna recognized how the past few years' emphasis on learning and leveraging Google Cloud technology in her GDG chapter could help make a transformative impact on the nonprofit. A partnership wouldn’t just benefit Positive Planet US, it would give community members a chance to apply what they’ve learned, build experience, and give back. Anna and fellow GDG NYC Lead, Ralph Yozzo, worked with Positive Planet US to identify areas of opportunity where GDG NYC members could best apply their skills. With Positive Planet US still needing to build the infrastructure necessary to get up and running, it seemed that there were limitless opportunities for GDG NYC community members to step in and help out.
Volunteers from GDG NYC quickly got to work, building Positive Planet US’ website from the ground up. Google Cloud Platform was used to build out the site’s infrastructure, set up secure payments for donations, launch email campaigns, and more. Applying learnings from a series of AMP Study Jams held by GDG NYC, volunteers implemented the AMP plugin for WordPress to improve user experience and keep the website optimized, all according to Google’s Core Web Vitals and page experience guidelines. Volunteers from GDG NYC have also helped with program management, video creation, social media, and more. No matter the job, the work that volunteers put in makes a real impact and helps drive Positive Planet US’ efforts to make a difference in marginalized communities.
Positive Planet US volunteers are currently working hard to support the nonprofit’s flagship project, the Accelerator Hub for Minority Women Entrepreneurs, launched last year. As part of the program, participants receive personalized coaching from senior executives at Genpact and Capgemini, helping them turn their amazing ideas into thriving businesses. From learning how to grow a business to applying for a business loan, participating women from disadvantaged communities get the tools they need to flourish as entrepreneurs. The 10-week program is running its second cohort now, and aims to support 1,000 women by next year.
Some participants of Positive Planet US’ second Accelerator Hub Program
With Positive Planet US’ next cohort for 50 women entrepreneurs starting soon, Anna is working to find coaches of all different skill levels directly from the GDG community. If you’re interested in volunteering with Positive Planet US, click here.
Anna is excited about the ongoing collaboration between Positive Planet US and GDG NYC, and is continuing to identify opportunities for GDG members to give back. And with a new series of Android and Cloud Study Jams on the horizon and DevFest 2021 right around the corner, GDG NYC organizers hope to welcome even more developers into the Google Developer Group community. For more info about GDG NYC’s upcoming events, click here.
Join a Google Developer Group chapter near you here.