Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: write OOO event type using advanced Calendar service #437

Merged
merged 7 commits into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 18 additions & 22 deletions solutions/automations/folder-creation/Code.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
/**
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
Copyright 2022 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

// To learn how to use this script, refer to the video: https://youtu.be/Utl57R7I2Cs
/*
This function will create a new folder in the defined Shard Drive.
You define the Shared Drive by adding its ID on line number 26.
The parameter 'project' is passed in from the AppSheet app.
Please watch this video tutorial to see how to use this script: https://youtu.be/Utl57R7I2Cs
*/

/**
* This function will create a new folder in the defined Shard Drive. You define
* the Shared Drive by adding its ID on line number 28. The parameter `project`
* is passed in from the AppSheet app. Please watch this video tutorial to see
* how to use this script: https://youtu.be/Utl57R7I2Cs.
*/
function createNewFolder(project) {
const folder = Drive.Files.insert(
{
Expand Down
8 changes: 6 additions & 2 deletions solutions/automations/folder-creation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This code sample is part of a video tutorial on how to combine AppSheet and Apps Script.

You can watch the video tutorial to find out how to use the sample at https://youtu.be/Utl57R7I2Cs.
You can watch the video tutorial to find out how to use the sample.

See the [Google Apps Script Documentation](https://developers.google.com/apps-script/advanced/drive) for additional information about the advanced Google Drive services.
<p align="center">
<iframe width="560" height="315" src="https://www.youtube.com/embed/Utl57R7I2Cs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</p>

See the [Google Apps Script Documentation](https://developers.google.com/apps-script/advanced/drive) for additional information about the advanced Google Drive services.
Loading
Loading