CINXE.COM

script package - google.golang.org/api/script/v1 - Go Packages

<!DOCTYPE html> <html lang="en" data-layout="responsive" data-local=""> <head> <script> window.addEventListener('error', window.__err=function f(e){f.p=f.p||[];f.p.push(e)}); </script> <script> (function() { const theme = document.cookie.match(/prefers-color-scheme=(light|dark|auto)/)?.[1] if (theme) { document.querySelector('html').setAttribute('data-theme', theme); } }()) </script> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="Description" content="Package script provides access to the Apps Script API."> <meta class="js-gtmID" data-gtmid="GTM-W8MVQXG"> <link rel="shortcut icon" href="/static/shared/icon/favicon.ico"> <link rel="canonical" href="https://pkg.go.dev/google.golang.org/api/script/v1"> <link href="/static/frontend/frontend.min.css?version=prod-frontend-00090-vzc" rel="stylesheet"> <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Go Packages"> <title>script package - google.golang.org/api/script/v1 - Go Packages</title> <link href="/static/frontend/unit/unit.min.css?version=prod-frontend-00090-vzc" rel="stylesheet"> <link href="/static/frontend/unit/main/main.min.css?version=prod-frontend-00090-vzc" rel="stylesheet"> </head> <body> <script> function loadScript(src, mod = true) { let s = document.createElement('script'); s.src = src; if (mod) { s.type = 'module'; s.async = true; s.defer = true } document.head.appendChild(s); } loadScript("/third_party/dialog-polyfill/dialog-polyfill.js", false) loadScript("/static/frontend/frontend.js"); </script> <header class="go-Header go-Header--full js-siteHeader"> <div class="go-Header-inner go-Header-inner--dark"> <nav class="go-Header-nav"> <a href="https://go.dev/" class="js-headerLogo" data-gtmc="nav link" data-test-id="go-header-logo-link" role="heading" aria-level="1"> <img class="go-Header-logo" src="/static/shared/logo/go-white.svg" alt="Go"> </a> <div class="skip-navigation-wrapper"> <a class="skip-to-content-link" aria-label="Skip to main content" href="#main-content"> Skip to Main Content </a> </div> <div class="go-Header-rightContent"> <div class="go-SearchForm js-searchForm"> <form class="go-InputGroup go-ShortcutKey go-SearchForm-form" action="/search" data-shortcut="/" data-shortcut-alt="search" data-gtmc="search form" aria-label="Search for a package" role="search" > <input name="q" class="go-Input js-searchFocus" aria-label="Search for a package" type="search" autocapitalize="off" autocomplete="off" autocorrect="off" spellcheck="false" placeholder="Search packages or symbols" value="" /> <input name="m" value="" hidden> <button class="go-Button go-Button--inverted" aria-label="Submit search"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/search_gm_grey_24dp.svg" alt="" /> </button> </form> <button class="go-SearchForm-expandSearch js-expandSearch" data-gtmc="nav button" aria-label="Open search" data-test-id="expand-search"> <img class="go-Icon go-Icon--inverted" height="24" width="24" src="/static/shared/icon/search_gm_grey_24dp.svg" alt=""> </button> </div> <ul class="go-Header-menu"> <li class="go-Header-menuItem"> <a class="js-desktop-menu-hover" href="#" data-gtmc="nav link"> Why Go <img class="go-Icon" height="24" width="24" src="/static/shared/icon/arrow_drop_down_gm_grey_24dp.svg" alt="submenu dropdown icon"> </a> <ul class="go-Header-submenu go-Header-submenu--why js-desktop-submenu-hover" aria-label="submenu"> <li class="go-Header-submenuItem"> <div> <a href="https://go.dev/solutions#case-studies"> </span>Case Studies</span> </a> </div> <p>Common problems companies solve with Go</p> </li> <li class="go-Header-submenuItem"> <div> <a href="https://go.dev/solutions#use-cases"> </span>Use Cases</span> </a> </div> <p>Stories about how and why companies use Go</p> </li> <li class="go-Header-submenuItem"> <div> <a href="https://go.dev/security/policy/"> </span>Security Policy</span> </a> </div> <p>How Go can help keep you secure by default</p> </li> </ul> </li> <li class="go-Header-menuItem"> <a href="https://go.dev/learn/" data-gtmc="nav link">Learn</a> </li> <li class="go-Header-menuItem"> <a class="js-desktop-menu-hover" href="#" data-gtmc="nav link"> Docs <img class="go-Icon" height="24" width="24" src="/static/shared/icon/arrow_drop_down_gm_grey_24dp.svg" alt="submenu dropdown icon"> </a> <ul class="go-Header-submenu go-Header-submenu--docs js-desktop-submenu-hover" aria-label="submenu"> <li class="go-Header-submenuItem"> <div> <a href="https://go.dev/doc/effective_go"> <span>Effective Go</span> </a> </div> <p>Tips for writing clear, performant, and idiomatic Go code</p> </li> <li class="go-Header-submenuItem"> <div> <a href="https://go.dev/doc/"> <span>Go User Manual</span> </a> </div> <p>A complete introduction to building software with Go</p> </li> <li class="go-Header-submenuItem"> <div> <a href="https://pkg.go.dev/std"> <span>Standard library</span> </a> </div> <p>Reference documentation for Go's standard library</p> </li> <li class="go-Header-submenuItem"> <div> <a href="https://go.dev/doc/devel/release"> <span>Release Notes</span> </a> </div> <p>Learn what's new in each Go release</p> </li> </ul> </li> <li class="go-Header-menuItem go-Header-menuItem--active"> <a href="/" data-gtmc="nav link">Packages</a> </li> <li class="go-Header-menuItem"> <a class="js-desktop-menu-hover" href="#" data-gtmc="nav link"> Community <img class="go-Icon" height="24" width="24" src="/static/shared/icon/arrow_drop_down_gm_grey_24dp.svg" alt="submenu dropdown icon"> </a> <ul class="go-Header-submenu go-Header-submenu--community js-desktop-submenu-hover" aria-label="submenu"> <li class="go-Header-submenuItem"> <div> <a href="https://go.dev/talks/"> <span>Recorded Talks</span> </a> </div> <p>Videos from prior events</p> </li> <li class="go-Header-submenuItem"> <div> <a href="https://www.meetup.com/pro/go"> <span>Meetups</span> <i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/launch_gm_grey_24dp.svg" alt=""> </i> </a> </div> <p>Meet other local Go developers</p> </li> <li class="go-Header-submenuItem"> <div> <a href="https://github.com/golang/go/wiki/Conferences"> <span>Conferences</span> <i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/launch_gm_grey_24dp.svg" alt=""> </i> </a> </div> <p>Learn and network with Go developers from around the world</p> </li> <li class="go-Header-submenuItem"> <div> <a href="https://go.dev/blog"> <span>Go blog</span> </a> </div> <p>The Go project's official blog.</p> </li> <li class="go-Header-submenuItem"> <div> <a href="https://go.dev/help"> <span>Go project</span> </a> </div> <p>Get help and stay informed from Go</p> </li> <li class="go-Header-submenuItem"> <div> Get connected </div> <p></p> <div class="go-Header-socialIcons"> <a class="go-Header-socialIcon" aria-label="Get connected with google-groups (Opens in new window)" href="https://groups.google.com/g/golang-nuts" ><img src="/static/shared/logo/social/google-groups.svg" /></a> <a class="go-Header-socialIcon" aria-label="Get connected with github (Opens in new window)" href="https://github.com/golang"><img src="/static/shared/logo/social/github.svg" /></a> <a class="go-Header-socialIcon" aria-label="Get connected with twitter (Opens in new window)" href="https://twitter.com/golang"><img src="/static/shared/logo/social/twitter.svg" /></a> <a class="go-Header-socialIcon" aria-label="Get connected with reddit (Opens in new window)" href="https://www.reddit.com/r/golang/"><img src="/static/shared/logo/social/reddit.svg" /></a> <a class="go-Header-socialIcon" aria-label="Get connected with slack (Opens in new window)" href="https://invite.slack.golangbridge.org/"><img src="/static/shared/logo/social/slack.svg" /></a> <a class="go-Header-socialIcon" aria-label="Get connected with stack-overflow (Opens in new window)" href="https://stackoverflow.com/collectives/go"><img src="/static/shared/logo/social/stack-overflow.svg" /></a> </div> </li> </ul> </li> </ul> <button class="go-Header-navOpen js-headerMenuButton go-Header-navOpen--white" data-gtmc="nav button" aria-label="Open navigation"> </button> </div> </nav> </div> </header> <aside class="go-NavigationDrawer js-header"> <nav class="go-NavigationDrawer-nav"> <div class="go-NavigationDrawer-header"> <a href="https://go.dev/"> <img class="go-NavigationDrawer-logo" src="/static/shared/logo/go-blue.svg" alt="Go."> </a> </div> <ul class="go-NavigationDrawer-list"> <li class="go-NavigationDrawer-listItem js-mobile-subnav-trigger go-NavigationDrawer-hasSubnav"> <a href="#"> <span>Why Go</span> <i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/navigate_next_gm_grey_24dp.svg" alt=""> </i> </a> <div class="go-NavigationDrawer go-NavigationDrawer-submenuItem"> <div class="go-NavigationDrawer-nav"> <div class="go-NavigationDrawer-header"> <a href="#"> <i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/navigate_before_gm_grey_24dp.svg" alt=""> </i> Why Go </a> </div> <ul class="go-NavigationDrawer-list"> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/solutions#case-studies"> Case Studies </a> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/solutions#use-cases"> Use Cases </a> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/security/policy/"> Security Policy </a> </li> </ul> </div> </div> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/learn/">Learn</a> </li> <li class="go-NavigationDrawer-listItem js-mobile-subnav-trigger go-NavigationDrawer-hasSubnav"> <a href="#"> <span>Docs</span> <i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/navigate_next_gm_grey_24dp.svg" alt=""> </i> </a> <div class="go-NavigationDrawer go-NavigationDrawer-submenuItem"> <div class="go-NavigationDrawer-nav"> <div class="go-NavigationDrawer-header"> <a href="#"><i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/navigate_before_gm_grey_24dp.svg" alt=""> </i> Docs </a> </div> <ul class="go-NavigationDrawer-list"> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/doc/effective_go"> Effective Go </a> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/doc/"> Go User Manual </a> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://pkg.go.dev/std"> Standard library </a> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/doc/devel/release"> Release Notes </a> </li> </ul> </div> </div> </li> <li class="go-NavigationDrawer-listItem go-NavigationDrawer-listItem--active"> <a href="/">Packages</a> </li> <li class="go-NavigationDrawer-listItem js-mobile-subnav-trigger go-NavigationDrawer-hasSubnav"> <a href="#"> <span>Community</span> <i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/navigate_next_gm_grey_24dp.svg" alt=""> </i> </a> <div class="go-NavigationDrawer go-NavigationDrawer-submenuItem"> <div class="go-NavigationDrawer-nav"> <div class="go-NavigationDrawer-header"> <a href="#"> <i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/navigate_before_gm_grey_24dp.svg" alt=""> </i> Community </a> </div> <ul class="go-NavigationDrawer-list"> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/talks/"> Recorded Talks </a> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://www.meetup.com/pro/go"> Meetups <i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/launch_gm_grey_24dp.svg" alt=""> </i> </a> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://github.com/golang/go/wiki/Conferences"> Conferences <i class="material-icons"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/launch_gm_grey_24dp.svg" alt=""> </i> </a> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/blog"> Go blog </a> </li> <li class="go-NavigationDrawer-listItem"> <a href="https://go.dev/help"> Go project </a> </li> <li class="go-NavigationDrawer-listItem"> <div>Get connected</div> <div class="go-Header-socialIcons"> <a class="go-Header-socialIcon" href="https://groups.google.com/g/golang-nuts"><img src="/static/shared/logo/social/google-groups.svg" /></a> <a class="go-Header-socialIcon" href="https://github.com/golang"><img src="/static/shared/logo/social/github.svg" /></a> <a class="go-Header-socialIcon" href="https://twitter.com/golang"><img src="/static/shared/logo/social/twitter.svg" /></a> <a class="go-Header-socialIcon" href="https://www.reddit.com/r/golang/"><img src="/static/shared/logo/social/reddit.svg" /></a> <a class="go-Header-socialIcon" href="https://invite.slack.golangbridge.org/"><img src="/static/shared/logo/social/slack.svg" /></a> <a class="go-Header-socialIcon" href="https://stackoverflow.com/collectives/go"><img src="/static/shared/logo/social/stack-overflow.svg" /></a> </div> </li> </ul> </div> </div> </li> </ul> </nav> </aside> <div class="go-NavigationDrawer-scrim js-scrim" role="presentation"></div> <main class="go-Main" id="main-content"> <div class="go-Main-banner" role="alert"></div> <header class="go-Main-header js-mainHeader"> <nav class="go-Main-headerBreadcrumb go-Breadcrumb" aria-label="Breadcrumb" data-test-id="UnitHeader-breadcrumb"> <ol> <li data-test-id="UnitHeader-breadcrumbItem"> <a href="/" data-gtmc="breadcrumb link">Discover Packages</a> </li> <li data-test-id="UnitHeader-breadcrumbItem"> <a href="/google.golang.org/api" data-gtmc="breadcrumb link">google.golang.org/api</a> </li> <li data-test-id="UnitHeader-breadcrumbItem"> <a href="/google.golang.org/api/script" data-gtmc="breadcrumb link">script</a> </li> <li> <a href="/google.golang.org/api@v0.209.0/script/v1" data-gtmc="breadcrumb link" aria-current="location" data-test-id="UnitHeader-breadcrumbCurrent"> v1 </a> <button class="go-Button go-Button--inline go-Clipboard js-clipboard" title="Copy path to clipboard.&#10;&#10;google.golang.org/api/script/v1" aria-label="Copy Path to Clipboard" data-to-copy="google.golang.org/api/script/v1" data-gtmc="breadcrumbs button" > <img class="go-Icon go-Icon--accented" height="24" width="24" src="/static/shared/icon/content_copy_gm_grey_24dp.svg" alt="" > </button> </li> </ol> </nav> <div class="go-Main-headerContent"> <div class="go-Main-headerTitle js-stickyHeader"> <a class="go-Main-headerLogo" href="https://go.dev/" aria-hidden="true" tabindex="-1" data-gtmc="header link" aria-label="Link to Go Homepage"> <img height="78" width="207" src="/static/shared/logo/go-blue.svg" alt="Go"> </a> <h1 class="UnitHeader-titleHeading" data-test-id="UnitHeader-title">script</h1> <span class="go-Chip go-Chip--inverted">package</span> <button class="go-Button go-Button--inline go-Clipboard js-clipboard" title="Copy path to clipboard.&#10;&#10;google.golang.org/api/script/v1" aria-label="Copy Path to Clipboard" data-to-copy="google.golang.org/api/script/v1" data-gtmc="title button" tabindex="-1" > <img class="go-Icon go-Icon--accented" height="24" width="24" src="/static/shared/icon/content_copy_gm_grey_24dp.svg" alt="" /> </button> </div> <div class="go-Main-headerDetails"> <span class="go-Main-headerDetailItem" data-test-id="UnitHeader-version"> <a href="?tab=versions" aria-label="Version: v0.209.0" data-gtmc="header link" aria-describedby="version-description"> <span class="go-textSubtle" aria-hidden="true">Version: </span> v0.209.0 </a> <div class="screen-reader-only" id="version-description" hidden> Opens a new window with list of versions in this module. </div> <span class="DetailsHeader-badge--latest" data-test-id="UnitHeader-minorVersionBanner"> <span class="go-Chip DetailsHeader-span--latest">Latest</span> <span class="go-Chip DetailsHeader-span--notAtLatest"> Latest <details class="go-Tooltip js-tooltip" data-gtmc="tooltip"> <summary> <img class="go-Icon go-Icon--inverted" height="24" width="24" src="/static/shared/icon/alert_gm_grey_24dp.svg" alt="Warning"> </summary> <p>This package is not in the latest version of its module.</p> </details> </span> <a href="/google.golang.org/api/script/v1" aria-label="Go to Latest Version" data-gtmc="header link"> <span class="go-Chip go-Chip--alert DetailsHeader-span--goToLatest">Go to latest</span> </a> </span> </span> <span class="go-Main-headerDetailItem" data-test-id="UnitHeader-commitTime"> Published: Nov 21, 2024 </span> <span class="go-Main-headerDetailItem" data-test-id="UnitHeader-licenses"> License: <a href="/google.golang.org/api/script/v1?tab=licenses" data-test-id="UnitHeader-license" data-gtmc="header link" aria-describedby="license-description">BSD-3-Clause</a> </span> <div class="screen-reader-only" id="license-description" hidden> Opens a new window with license information. </div> <span class="go-Main-headerDetailItem" data-test-id="UnitHeader-imports"> <a href="/google.golang.org/api/script/v1?tab=imports" aria-label="Imports: 16" data-gtmc="header link" aria-describedby="imports-description"> <span class="go-textSubtle">Imports: </span>16 </a> </span> <div class="screen-reader-only" id="imports-description" hidden> Opens a new window with list of imports. </div> <span class="go-Main-headerDetailItem" data-test-id="UnitHeader-importedby"> <a href="/google.golang.org/api/script/v1?tab=importedby" aria-label="Imported By: 10" data-gtmc="header link" aria-describedby="importedby-description"> <span class="go-textSubtle">Imported by: </span>10 </a> </span> <div class="screen-reader-only" id="importedby-description" hidden> Opens a new window with list of known importers. </div> </div> <div class="UnitHeader-overflowContainer"> <svg class="UnitHeader-overflowImage" xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"> <path d="M0 0h24v24H0z" fill="none"/> <path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/> </svg> <select class="UnitHeader-overflowSelect js-selectNav" tabindex="-1"> <option value="/">Main</option> <option value="/google.golang.org/api/script/v1?tab=versions"> Versions </option> <option value="/google.golang.org/api/script/v1?tab=licenses"> Licenses </option> <option value="/google.golang.org/api/script/v1?tab=imports"> Imports </option> <option value="/google.golang.org/api/script/v1?tab=importedby"> Imported By </option> </select> </div> </div> </header> <aside class="go-Main-aside js-mainAside"> <div class="UnitMeta"> <h2 class="go-textLabel">Details</h2> <ul class="UnitMeta-details"> <li> <details class="go-Tooltip js-tooltip" data-gtmc="tooltip"> <summary class="go-textSubtle"> <img class="go-Icon go-Icon--accented"src="/static/shared/icon/check_circle_gm_grey_24dp.svg" alt="checked"height="24" width="24"> Valid <a href="https://github.com/googleapis/google-api-go-client/tree/v0.209.0/go.mod" target="_blank" rel="noopener">go.mod</a> file <img class="go-Icon" src="/static/shared/icon/help_gm_grey_24dp.svg" alt="" height="24" width="24"> </summary> <p> The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go. </p> </details> </li> <li> <details class="go-Tooltip js-tooltip" data-gtmc="tooltip"> <summary class="go-textSubtle"> <img class="go-Icon go-Icon--accented"src="/static/shared/icon/check_circle_gm_grey_24dp.svg" alt="checked"height="24" width="24"> Redistributable license <img class="go-Icon" src="/static/shared/icon/help_gm_grey_24dp.svg" alt="" height="24" width="24"> </summary> <p> Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed. </p> </details> </li> <li> <details class="go-Tooltip js-tooltip" data-gtmc="tooltip"> <summary class="go-textSubtle"> <img class="go-Icon go-Icon--accented"src="/static/shared/icon/check_circle_gm_grey_24dp.svg" alt="checked"height="24" width="24"> Tagged version <img class="go-Icon" src="/static/shared/icon/help_gm_grey_24dp.svg" alt="" height="24" width="24"> </summary> <p>Modules with tagged versions give importers more predictable builds.</p> </details> </li> <li> <details class="go-Tooltip js-tooltip" data-gtmc="tooltip"> <summary class="go-textSubtle"> <img class="go-Icon"src="/static/shared/icon/cancel_gm_grey_24dp.svg" alt="unchecked"height="24" width="24"> Stable version <img class="go-Icon" src="/static/shared/icon/help_gm_grey_24dp.svg" alt="" height="24" width="24"> </summary> <p>When a project reaches major version v1 it is considered stable.</p> </details> </li> <li class="UnitMeta-detailsLearn"> <a href="/about#best-practices" data-gtmc="meta link">Learn more about best practices</a> </li> </ul> <h2 class="go-textLabel">Repository</h2> <div class="UnitMeta-repo"> <a href="https://github.com/googleapis/google-api-go-client" title="https://github.com/googleapis/google-api-go-client" target="_blank" rel="noopener"> github.com/googleapis/google-api-go-client </a> </div> <h2 class="go-textLabel">Links</h2> <ul class="UnitMeta-links"> <li> <a href="https://deps.dev/go/google.golang.org%2Fapi/v0.209.0" title="View this module on Open Source Insights" target="_blank" rel="noopener" data-test-id="meta-link-depsdev"> <img class="depsdev-Icon" src="/static/shared/icon/depsdev-logo.svg" alt="Open Source Insights Logo" /> Open Source Insights </a> </li> </ul> </div> </aside> <nav class="go-Main-nav go-Main-nav--sticky js-mainNav" aria-label="Outline"> <div class="go-Main-navDesktop"> <div class="UnitOutline-jumpTo"> <button class="UnitOutline-jumpToInput go-ShortcutKey js-jumpToInput" aria-controls="jump-to-modal" aria-label="Open Jump to Identifier" data-shortcut="f" data-shortcut-alt="find" data-test-id="jump-to-button" data-gtmc="outline button"> Jump to ... </button> </div> <ul class="go-Tree js-tree" role="tree" aria-label="Outline"> <li> <a href="#section-documentation" data-gtmc="outline link"> Documentation </a> <ul> <li> <a href="#pkg-overview" data-gtmc="doc outline link">Overview</a> </li> <li class="DocNav-overview"> <a href="#pkg-index" data-gtmc="doc outline link"> Index </a> </li> <li class="DocNav-constants"> <a href="#pkg-constants" data-gtmc="doc outline link"> Constants </a> </li> <li class="DocNav-variables"> <a href="#pkg-variables" data-gtmc="doc outline link"> Variables </a> </li> <li class="DocNav-functions"> <a href="#pkg-functions" data-gtmc="doc outline link"> Functions </a> </li> <li class="DocNav-types"> <a href="#pkg-types" data-gtmc="doc outline link"> Types </a> <ul> <li> <a href="#Content" title="type Content" data-gtmc="doc outline link"> type Content </a> <ul> <li> <a href="#Content.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#CreateProjectRequest" title="type CreateProjectRequest" data-gtmc="doc outline link"> type CreateProjectRequest </a> <ul> <li> <a href="#CreateProjectRequest.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#Deployment" title="type Deployment" data-gtmc="doc outline link"> type Deployment </a> <ul> <li> <a href="#Deployment.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#DeploymentConfig" title="type DeploymentConfig" data-gtmc="doc outline link"> type DeploymentConfig </a> <ul> <li> <a href="#DeploymentConfig.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#Empty" title="type Empty" data-gtmc="doc outline link"> type Empty </a> </li> <li> <a href="#EntryPoint" title="type EntryPoint" data-gtmc="doc outline link"> type EntryPoint </a> <ul> <li> <a href="#EntryPoint.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#ExecuteStreamResponse" title="type ExecuteStreamResponse" data-gtmc="doc outline link"> type ExecuteStreamResponse </a> <ul> <li> <a href="#ExecuteStreamResponse.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#ExecutionError" title="type ExecutionError" data-gtmc="doc outline link"> type ExecutionError </a> <ul> <li> <a href="#ExecutionError.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#ExecutionRequest" title="type ExecutionRequest" data-gtmc="doc outline link"> type ExecutionRequest </a> <ul> <li> <a href="#ExecutionRequest.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#ExecutionResponse" title="type ExecutionResponse" data-gtmc="doc outline link"> type ExecutionResponse </a> <ul> <li> <a href="#ExecutionResponse.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#File" title="type File" data-gtmc="doc outline link"> type File </a> <ul> <li> <a href="#File.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#GoogleAppsScriptTypeAddOnEntryPoint" title="type GoogleAppsScriptTypeAddOnEntryPoint" data-gtmc="doc outline link"> type GoogleAppsScriptTypeAddOnEntryPoint </a> <ul> <li> <a href="#GoogleAppsScriptTypeAddOnEntryPoint.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#GoogleAppsScriptTypeExecutionApiConfig" title="type GoogleAppsScriptTypeExecutionApiConfig" data-gtmc="doc outline link"> type GoogleAppsScriptTypeExecutionApiConfig </a> <ul> <li> <a href="#GoogleAppsScriptTypeExecutionApiConfig.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#GoogleAppsScriptTypeExecutionApiEntryPoint" title="type GoogleAppsScriptTypeExecutionApiEntryPoint" data-gtmc="doc outline link"> type GoogleAppsScriptTypeExecutionApiEntryPoint </a> <ul> <li> <a href="#GoogleAppsScriptTypeExecutionApiEntryPoint.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#GoogleAppsScriptTypeFunction" title="type GoogleAppsScriptTypeFunction" data-gtmc="doc outline link"> type GoogleAppsScriptTypeFunction </a> <ul> <li> <a href="#GoogleAppsScriptTypeFunction.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#GoogleAppsScriptTypeFunctionSet" title="type GoogleAppsScriptTypeFunctionSet" data-gtmc="doc outline link"> type GoogleAppsScriptTypeFunctionSet </a> <ul> <li> <a href="#GoogleAppsScriptTypeFunctionSet.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#GoogleAppsScriptTypeProcess" title="type GoogleAppsScriptTypeProcess" data-gtmc="doc outline link"> type GoogleAppsScriptTypeProcess </a> <ul> <li> <a href="#GoogleAppsScriptTypeProcess.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#GoogleAppsScriptTypeUser" title="type GoogleAppsScriptTypeUser" data-gtmc="doc outline link"> type GoogleAppsScriptTypeUser </a> <ul> <li> <a href="#GoogleAppsScriptTypeUser.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#GoogleAppsScriptTypeWebAppConfig" title="type GoogleAppsScriptTypeWebAppConfig" data-gtmc="doc outline link"> type GoogleAppsScriptTypeWebAppConfig </a> <ul> <li> <a href="#GoogleAppsScriptTypeWebAppConfig.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#GoogleAppsScriptTypeWebAppEntryPoint" title="type GoogleAppsScriptTypeWebAppEntryPoint" data-gtmc="doc outline link"> type GoogleAppsScriptTypeWebAppEntryPoint </a> <ul> <li> <a href="#GoogleAppsScriptTypeWebAppEntryPoint.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#ListDeploymentsResponse" title="type ListDeploymentsResponse" data-gtmc="doc outline link"> type ListDeploymentsResponse </a> <ul> <li> <a href="#ListDeploymentsResponse.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#ListScriptProcessesResponse" title="type ListScriptProcessesResponse" data-gtmc="doc outline link"> type ListScriptProcessesResponse </a> <ul> <li> <a href="#ListScriptProcessesResponse.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#ListUserProcessesResponse" title="type ListUserProcessesResponse" data-gtmc="doc outline link"> type ListUserProcessesResponse </a> <ul> <li> <a href="#ListUserProcessesResponse.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#ListValue" title="type ListValue" data-gtmc="doc outline link"> type ListValue </a> <ul> <li> <a href="#ListValue.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#ListVersionsResponse" title="type ListVersionsResponse" data-gtmc="doc outline link"> type ListVersionsResponse </a> <ul> <li> <a href="#ListVersionsResponse.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#Metrics" title="type Metrics" data-gtmc="doc outline link"> type Metrics </a> <ul> <li> <a href="#Metrics.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#MetricsValue" title="type MetricsValue" data-gtmc="doc outline link"> type MetricsValue </a> <ul> <li> <a href="#MetricsValue.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#Operation" title="type Operation" data-gtmc="doc outline link"> type Operation </a> <ul> <li> <a href="#Operation.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#ProcessesListCall" title="type ProcessesListCall" data-gtmc="doc outline link"> type ProcessesListCall </a> <ul> <li> <a href="#ProcessesListCall.Context" title="(c) Context(ctx)" data-gtmc="doc outline link"> (c) Context(ctx) </a> </li> <li> <a href="#ProcessesListCall.Do" title="(c) Do(opts)" data-gtmc="doc outline link"> (c) Do(opts) </a> </li> <li> <a href="#ProcessesListCall.Fields" title="(c) Fields(s)" data-gtmc="doc outline link"> (c) Fields(s) </a> </li> <li> <a href="#ProcessesListCall.Header" title="(c) Header()" data-gtmc="doc outline link"> (c) Header() </a> </li> <li> <a href="#ProcessesListCall.IfNoneMatch" title="(c) IfNoneMatch(entityTag)" data-gtmc="doc outline link"> (c) IfNoneMatch(entityTag) </a> </li> <li> <a href="#ProcessesListCall.PageSize" title="(c) PageSize(pageSize)" data-gtmc="doc outline link"> (c) PageSize(pageSize) </a> </li> <li> <a href="#ProcessesListCall.PageToken" title="(c) PageToken(pageToken)" data-gtmc="doc outline link"> (c) PageToken(pageToken) </a> </li> <li> <a href="#ProcessesListCall.Pages" title="(c) Pages(ctx, f)" data-gtmc="doc outline link"> (c) Pages(ctx, f) </a> </li> <li> <a href="#ProcessesListCall.UserProcessFilterDeploymentId" title="(c) UserProcessFilterDeploymentId(userProcessFilterDeploymentId)" data-gtmc="doc outline link"> (c) UserProcessFilterDeploymentId(userProcessFilterDeploymentId) </a> </li> <li> <a href="#ProcessesListCall.UserProcessFilterEndTime" title="(c) UserProcessFilterEndTime(userProcessFilterEndTime)" data-gtmc="doc outline link"> (c) UserProcessFilterEndTime(userProcessFilterEndTime) </a> </li> <li> <a href="#ProcessesListCall.UserProcessFilterFunctionName" title="(c) UserProcessFilterFunctionName(userProcessFilterFunctionName)" data-gtmc="doc outline link"> (c) UserProcessFilterFunctionName(userProcessFilterFunctionName) </a> </li> <li> <a href="#ProcessesListCall.UserProcessFilterProjectName" title="(c) UserProcessFilterProjectName(userProcessFilterProjectName)" data-gtmc="doc outline link"> (c) UserProcessFilterProjectName(userProcessFilterProjectName) </a> </li> <li> <a href="#ProcessesListCall.UserProcessFilterScriptId" title="(c) UserProcessFilterScriptId(userProcessFilterScriptId)" data-gtmc="doc outline link"> (c) UserProcessFilterScriptId(userProcessFilterScriptId) </a> </li> <li> <a href="#ProcessesListCall.UserProcessFilterStartTime" title="(c) UserProcessFilterStartTime(userProcessFilterStartTime)" data-gtmc="doc outline link"> (c) UserProcessFilterStartTime(userProcessFilterStartTime) </a> </li> <li> <a href="#ProcessesListCall.UserProcessFilterStatuses" title="(c) UserProcessFilterStatuses(userProcessFilterStatuses)" data-gtmc="doc outline link"> (c) UserProcessFilterStatuses(userProcessFilterStatuses) </a> </li> <li> <a href="#ProcessesListCall.UserProcessFilterTypes" title="(c) UserProcessFilterTypes(userProcessFilterTypes)" data-gtmc="doc outline link"> (c) UserProcessFilterTypes(userProcessFilterTypes) </a> </li> <li> <a href="#ProcessesListCall.UserProcessFilterUserAccessLevels" title="(c) UserProcessFilterUserAccessLevels(userProcessFilterUserAccessLevels)" data-gtmc="doc outline link"> (c) UserProcessFilterUserAccessLevels(userProcessFilterUserAccessLevels) </a> </li> </ul> </li> <li> <a href="#ProcessesListScriptProcessesCall" title="type ProcessesListScriptProcessesCall" data-gtmc="doc outline link"> type ProcessesListScriptProcessesCall </a> <ul> <li> <a href="#ProcessesListScriptProcessesCall.Context" title="(c) Context(ctx)" data-gtmc="doc outline link"> (c) Context(ctx) </a> </li> <li> <a href="#ProcessesListScriptProcessesCall.Do" title="(c) Do(opts)" data-gtmc="doc outline link"> (c) Do(opts) </a> </li> <li> <a href="#ProcessesListScriptProcessesCall.Fields" title="(c) Fields(s)" data-gtmc="doc outline link"> (c) Fields(s) </a> </li> <li> <a href="#ProcessesListScriptProcessesCall.Header" title="(c) Header()" data-gtmc="doc outline link"> (c) Header() </a> </li> <li> <a href="#ProcessesListScriptProcessesCall.IfNoneMatch" title="(c) IfNoneMatch(entityTag)" data-gtmc="doc outline link"> (c) IfNoneMatch(entityTag) </a> </li> <li> <a href="#ProcessesListScriptProcessesCall.PageSize" title="(c) PageSize(pageSize)" data-gtmc="doc outline link"> (c) PageSize(pageSize) </a> </li> <li> <a href="#ProcessesListScriptProcessesCall.PageToken" title="(c) PageToken(pageToken)" data-gtmc="doc outline link"> (c) PageToken(pageToken) </a> </li> <li> <a href="#ProcessesListScriptProcessesCall.Pages" title="(c) Pages(ctx, f)" data-gtmc="doc outline link"> (c) Pages(ctx, f) </a> </li> <li> <a href="#ProcessesListScriptProcessesCall.ScriptId" title="(c) ScriptId(scriptId)" data-gtmc="doc outline link"> (c) ScriptId(scriptId) </a> </li> <li> <a href="#ProcessesListScriptProcessesCall.ScriptProcessFilterDeploymentId" title="(c) ScriptProcessFilterDeploymentId(scriptProcessFilterDeploymentId)" data-gtmc="doc outline link"> (c) ScriptProcessFilterDeploymentId(scriptProcessFilterDeploymentId) </a> </li> <li> <a href="#ProcessesListScriptProcessesCall.ScriptProcessFilterEndTime" title="(c) ScriptProcessFilterEndTime(scriptProcessFilterEndTime)" data-gtmc="doc outline link"> (c) ScriptProcessFilterEndTime(scriptProcessFilterEndTime) </a> </li> <li> <a href="#ProcessesListScriptProcessesCall.ScriptProcessFilterFunctionName" title="(c) ScriptProcessFilterFunctionName(scriptProcessFilterFunctionName)" data-gtmc="doc outline link"> (c) ScriptProcessFilterFunctionName(scriptProcessFilterFunctionName) </a> </li> <li> <a href="#ProcessesListScriptProcessesCall.ScriptProcessFilterStartTime" title="(c) ScriptProcessFilterStartTime(scriptProcessFilterStartTime)" data-gtmc="doc outline link"> (c) ScriptProcessFilterStartTime(scriptProcessFilterStartTime) </a> </li> <li> <a href="#ProcessesListScriptProcessesCall.ScriptProcessFilterStatuses" title="(c) ScriptProcessFilterStatuses(scriptProcessFilterStatuses)" data-gtmc="doc outline link"> (c) ScriptProcessFilterStatuses(scriptProcessFilterStatuses) </a> </li> <li> <a href="#ProcessesListScriptProcessesCall.ScriptProcessFilterTypes" title="(c) ScriptProcessFilterTypes(scriptProcessFilterTypes)" data-gtmc="doc outline link"> (c) ScriptProcessFilterTypes(scriptProcessFilterTypes) </a> </li> <li> <a href="#ProcessesListScriptProcessesCall.ScriptProcessFilterUserAccessLevels" title="(c) ScriptProcessFilterUserAccessLevels(scriptProcessFilterUserAccessLevels)" data-gtmc="doc outline link"> (c) ScriptProcessFilterUserAccessLevels(scriptProcessFilterUserAccessLevels) </a> </li> </ul> </li> <li> <a href="#ProcessesService" title="type ProcessesService" data-gtmc="doc outline link"> type ProcessesService </a> <ul> <li> <a href="#NewProcessesService" title="NewProcessesService(s)" data-gtmc="doc outline link"> NewProcessesService(s) </a> </li> <li> <a href="#ProcessesService.List" title="(r) List()" data-gtmc="doc outline link"> (r) List() </a> </li> <li> <a href="#ProcessesService.ListScriptProcesses" title="(r) ListScriptProcesses()" data-gtmc="doc outline link"> (r) ListScriptProcesses() </a> </li> </ul> </li> <li> <a href="#Project" title="type Project" data-gtmc="doc outline link"> type Project </a> <ul> <li> <a href="#Project.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#ProjectsCreateCall" title="type ProjectsCreateCall" data-gtmc="doc outline link"> type ProjectsCreateCall </a> <ul> <li> <a href="#ProjectsCreateCall.Context" title="(c) Context(ctx)" data-gtmc="doc outline link"> (c) Context(ctx) </a> </li> <li> <a href="#ProjectsCreateCall.Do" title="(c) Do(opts)" data-gtmc="doc outline link"> (c) Do(opts) </a> </li> <li> <a href="#ProjectsCreateCall.Fields" title="(c) Fields(s)" data-gtmc="doc outline link"> (c) Fields(s) </a> </li> <li> <a href="#ProjectsCreateCall.Header" title="(c) Header()" data-gtmc="doc outline link"> (c) Header() </a> </li> </ul> </li> <li> <a href="#ProjectsDeploymentsCreateCall" title="type ProjectsDeploymentsCreateCall" data-gtmc="doc outline link"> type ProjectsDeploymentsCreateCall </a> <ul> <li> <a href="#ProjectsDeploymentsCreateCall.Context" title="(c) Context(ctx)" data-gtmc="doc outline link"> (c) Context(ctx) </a> </li> <li> <a href="#ProjectsDeploymentsCreateCall.Do" title="(c) Do(opts)" data-gtmc="doc outline link"> (c) Do(opts) </a> </li> <li> <a href="#ProjectsDeploymentsCreateCall.Fields" title="(c) Fields(s)" data-gtmc="doc outline link"> (c) Fields(s) </a> </li> <li> <a href="#ProjectsDeploymentsCreateCall.Header" title="(c) Header()" data-gtmc="doc outline link"> (c) Header() </a> </li> </ul> </li> <li> <a href="#ProjectsDeploymentsDeleteCall" title="type ProjectsDeploymentsDeleteCall" data-gtmc="doc outline link"> type ProjectsDeploymentsDeleteCall </a> <ul> <li> <a href="#ProjectsDeploymentsDeleteCall.Context" title="(c) Context(ctx)" data-gtmc="doc outline link"> (c) Context(ctx) </a> </li> <li> <a href="#ProjectsDeploymentsDeleteCall.Do" title="(c) Do(opts)" data-gtmc="doc outline link"> (c) Do(opts) </a> </li> <li> <a href="#ProjectsDeploymentsDeleteCall.Fields" title="(c) Fields(s)" data-gtmc="doc outline link"> (c) Fields(s) </a> </li> <li> <a href="#ProjectsDeploymentsDeleteCall.Header" title="(c) Header()" data-gtmc="doc outline link"> (c) Header() </a> </li> </ul> </li> <li> <a href="#ProjectsDeploymentsGetCall" title="type ProjectsDeploymentsGetCall" data-gtmc="doc outline link"> type ProjectsDeploymentsGetCall </a> <ul> <li> <a href="#ProjectsDeploymentsGetCall.Context" title="(c) Context(ctx)" data-gtmc="doc outline link"> (c) Context(ctx) </a> </li> <li> <a href="#ProjectsDeploymentsGetCall.Do" title="(c) Do(opts)" data-gtmc="doc outline link"> (c) Do(opts) </a> </li> <li> <a href="#ProjectsDeploymentsGetCall.Fields" title="(c) Fields(s)" data-gtmc="doc outline link"> (c) Fields(s) </a> </li> <li> <a href="#ProjectsDeploymentsGetCall.Header" title="(c) Header()" data-gtmc="doc outline link"> (c) Header() </a> </li> <li> <a href="#ProjectsDeploymentsGetCall.IfNoneMatch" title="(c) IfNoneMatch(entityTag)" data-gtmc="doc outline link"> (c) IfNoneMatch(entityTag) </a> </li> </ul> </li> <li> <a href="#ProjectsDeploymentsListCall" title="type ProjectsDeploymentsListCall" data-gtmc="doc outline link"> type ProjectsDeploymentsListCall </a> <ul> <li> <a href="#ProjectsDeploymentsListCall.Context" title="(c) Context(ctx)" data-gtmc="doc outline link"> (c) Context(ctx) </a> </li> <li> <a href="#ProjectsDeploymentsListCall.Do" title="(c) Do(opts)" data-gtmc="doc outline link"> (c) Do(opts) </a> </li> <li> <a href="#ProjectsDeploymentsListCall.Fields" title="(c) Fields(s)" data-gtmc="doc outline link"> (c) Fields(s) </a> </li> <li> <a href="#ProjectsDeploymentsListCall.Header" title="(c) Header()" data-gtmc="doc outline link"> (c) Header() </a> </li> <li> <a href="#ProjectsDeploymentsListCall.IfNoneMatch" title="(c) IfNoneMatch(entityTag)" data-gtmc="doc outline link"> (c) IfNoneMatch(entityTag) </a> </li> <li> <a href="#ProjectsDeploymentsListCall.PageSize" title="(c) PageSize(pageSize)" data-gtmc="doc outline link"> (c) PageSize(pageSize) </a> </li> <li> <a href="#ProjectsDeploymentsListCall.PageToken" title="(c) PageToken(pageToken)" data-gtmc="doc outline link"> (c) PageToken(pageToken) </a> </li> <li> <a href="#ProjectsDeploymentsListCall.Pages" title="(c) Pages(ctx, f)" data-gtmc="doc outline link"> (c) Pages(ctx, f) </a> </li> </ul> </li> <li> <a href="#ProjectsDeploymentsService" title="type ProjectsDeploymentsService" data-gtmc="doc outline link"> type ProjectsDeploymentsService </a> <ul> <li> <a href="#NewProjectsDeploymentsService" title="NewProjectsDeploymentsService(s)" data-gtmc="doc outline link"> NewProjectsDeploymentsService(s) </a> </li> <li> <a href="#ProjectsDeploymentsService.Create" title="(r) Create(scriptId, deploymentconfig)" data-gtmc="doc outline link"> (r) Create(scriptId, deploymentconfig) </a> </li> <li> <a href="#ProjectsDeploymentsService.Delete" title="(r) Delete(scriptId, deploymentId)" data-gtmc="doc outline link"> (r) Delete(scriptId, deploymentId) </a> </li> <li> <a href="#ProjectsDeploymentsService.Get" title="(r) Get(scriptId, deploymentId)" data-gtmc="doc outline link"> (r) Get(scriptId, deploymentId) </a> </li> <li> <a href="#ProjectsDeploymentsService.List" title="(r) List(scriptId)" data-gtmc="doc outline link"> (r) List(scriptId) </a> </li> <li> <a href="#ProjectsDeploymentsService.Update" title="(r) Update(scriptId, deploymentId, updatedeploymentrequest)" data-gtmc="doc outline link"> (r) Update(scriptId, deploymentId, updatedeploymentrequest) </a> </li> </ul> </li> <li> <a href="#ProjectsDeploymentsUpdateCall" title="type ProjectsDeploymentsUpdateCall" data-gtmc="doc outline link"> type ProjectsDeploymentsUpdateCall </a> <ul> <li> <a href="#ProjectsDeploymentsUpdateCall.Context" title="(c) Context(ctx)" data-gtmc="doc outline link"> (c) Context(ctx) </a> </li> <li> <a href="#ProjectsDeploymentsUpdateCall.Do" title="(c) Do(opts)" data-gtmc="doc outline link"> (c) Do(opts) </a> </li> <li> <a href="#ProjectsDeploymentsUpdateCall.Fields" title="(c) Fields(s)" data-gtmc="doc outline link"> (c) Fields(s) </a> </li> <li> <a href="#ProjectsDeploymentsUpdateCall.Header" title="(c) Header()" data-gtmc="doc outline link"> (c) Header() </a> </li> </ul> </li> <li> <a href="#ProjectsGetCall" title="type ProjectsGetCall" data-gtmc="doc outline link"> type ProjectsGetCall </a> <ul> <li> <a href="#ProjectsGetCall.Context" title="(c) Context(ctx)" data-gtmc="doc outline link"> (c) Context(ctx) </a> </li> <li> <a href="#ProjectsGetCall.Do" title="(c) Do(opts)" data-gtmc="doc outline link"> (c) Do(opts) </a> </li> <li> <a href="#ProjectsGetCall.Fields" title="(c) Fields(s)" data-gtmc="doc outline link"> (c) Fields(s) </a> </li> <li> <a href="#ProjectsGetCall.Header" title="(c) Header()" data-gtmc="doc outline link"> (c) Header() </a> </li> <li> <a href="#ProjectsGetCall.IfNoneMatch" title="(c) IfNoneMatch(entityTag)" data-gtmc="doc outline link"> (c) IfNoneMatch(entityTag) </a> </li> </ul> </li> <li> <a href="#ProjectsGetContentCall" title="type ProjectsGetContentCall" data-gtmc="doc outline link"> type ProjectsGetContentCall </a> <ul> <li> <a href="#ProjectsGetContentCall.Context" title="(c) Context(ctx)" data-gtmc="doc outline link"> (c) Context(ctx) </a> </li> <li> <a href="#ProjectsGetContentCall.Do" title="(c) Do(opts)" data-gtmc="doc outline link"> (c) Do(opts) </a> </li> <li> <a href="#ProjectsGetContentCall.Fields" title="(c) Fields(s)" data-gtmc="doc outline link"> (c) Fields(s) </a> </li> <li> <a href="#ProjectsGetContentCall.Header" title="(c) Header()" data-gtmc="doc outline link"> (c) Header() </a> </li> <li> <a href="#ProjectsGetContentCall.IfNoneMatch" title="(c) IfNoneMatch(entityTag)" data-gtmc="doc outline link"> (c) IfNoneMatch(entityTag) </a> </li> <li> <a href="#ProjectsGetContentCall.VersionNumber" title="(c) VersionNumber(versionNumber)" data-gtmc="doc outline link"> (c) VersionNumber(versionNumber) </a> </li> </ul> </li> <li> <a href="#ProjectsGetMetricsCall" title="type ProjectsGetMetricsCall" data-gtmc="doc outline link"> type ProjectsGetMetricsCall </a> <ul> <li> <a href="#ProjectsGetMetricsCall.Context" title="(c) Context(ctx)" data-gtmc="doc outline link"> (c) Context(ctx) </a> </li> <li> <a href="#ProjectsGetMetricsCall.Do" title="(c) Do(opts)" data-gtmc="doc outline link"> (c) Do(opts) </a> </li> <li> <a href="#ProjectsGetMetricsCall.Fields" title="(c) Fields(s)" data-gtmc="doc outline link"> (c) Fields(s) </a> </li> <li> <a href="#ProjectsGetMetricsCall.Header" title="(c) Header()" data-gtmc="doc outline link"> (c) Header() </a> </li> <li> <a href="#ProjectsGetMetricsCall.IfNoneMatch" title="(c) IfNoneMatch(entityTag)" data-gtmc="doc outline link"> (c) IfNoneMatch(entityTag) </a> </li> <li> <a href="#ProjectsGetMetricsCall.MetricsFilterDeploymentId" title="(c) MetricsFilterDeploymentId(metricsFilterDeploymentId)" data-gtmc="doc outline link"> (c) MetricsFilterDeploymentId(metricsFilterDeploymentId) </a> </li> <li> <a href="#ProjectsGetMetricsCall.MetricsGranularity" title="(c) MetricsGranularity(metricsGranularity)" data-gtmc="doc outline link"> (c) MetricsGranularity(metricsGranularity) </a> </li> </ul> </li> <li> <a href="#ProjectsService" title="type ProjectsService" data-gtmc="doc outline link"> type ProjectsService </a> <ul> <li> <a href="#NewProjectsService" title="NewProjectsService(s)" data-gtmc="doc outline link"> NewProjectsService(s) </a> </li> <li> <a href="#ProjectsService.Create" title="(r) Create(createprojectrequest)" data-gtmc="doc outline link"> (r) Create(createprojectrequest) </a> </li> <li> <a href="#ProjectsService.Get" title="(r) Get(scriptId)" data-gtmc="doc outline link"> (r) Get(scriptId) </a> </li> <li> <a href="#ProjectsService.GetContent" title="(r) GetContent(scriptId)" data-gtmc="doc outline link"> (r) GetContent(scriptId) </a> </li> <li> <a href="#ProjectsService.GetMetrics" title="(r) GetMetrics(scriptId)" data-gtmc="doc outline link"> (r) GetMetrics(scriptId) </a> </li> <li> <a href="#ProjectsService.UpdateContent" title="(r) UpdateContent(scriptId, content)" data-gtmc="doc outline link"> (r) UpdateContent(scriptId, content) </a> </li> </ul> </li> <li> <a href="#ProjectsUpdateContentCall" title="type ProjectsUpdateContentCall" data-gtmc="doc outline link"> type ProjectsUpdateContentCall </a> <ul> <li> <a href="#ProjectsUpdateContentCall.Context" title="(c) Context(ctx)" data-gtmc="doc outline link"> (c) Context(ctx) </a> </li> <li> <a href="#ProjectsUpdateContentCall.Do" title="(c) Do(opts)" data-gtmc="doc outline link"> (c) Do(opts) </a> </li> <li> <a href="#ProjectsUpdateContentCall.Fields" title="(c) Fields(s)" data-gtmc="doc outline link"> (c) Fields(s) </a> </li> <li> <a href="#ProjectsUpdateContentCall.Header" title="(c) Header()" data-gtmc="doc outline link"> (c) Header() </a> </li> </ul> </li> <li> <a href="#ProjectsVersionsCreateCall" title="type ProjectsVersionsCreateCall" data-gtmc="doc outline link"> type ProjectsVersionsCreateCall </a> <ul> <li> <a href="#ProjectsVersionsCreateCall.Context" title="(c) Context(ctx)" data-gtmc="doc outline link"> (c) Context(ctx) </a> </li> <li> <a href="#ProjectsVersionsCreateCall.Do" title="(c) Do(opts)" data-gtmc="doc outline link"> (c) Do(opts) </a> </li> <li> <a href="#ProjectsVersionsCreateCall.Fields" title="(c) Fields(s)" data-gtmc="doc outline link"> (c) Fields(s) </a> </li> <li> <a href="#ProjectsVersionsCreateCall.Header" title="(c) Header()" data-gtmc="doc outline link"> (c) Header() </a> </li> </ul> </li> <li> <a href="#ProjectsVersionsGetCall" title="type ProjectsVersionsGetCall" data-gtmc="doc outline link"> type ProjectsVersionsGetCall </a> <ul> <li> <a href="#ProjectsVersionsGetCall.Context" title="(c) Context(ctx)" data-gtmc="doc outline link"> (c) Context(ctx) </a> </li> <li> <a href="#ProjectsVersionsGetCall.Do" title="(c) Do(opts)" data-gtmc="doc outline link"> (c) Do(opts) </a> </li> <li> <a href="#ProjectsVersionsGetCall.Fields" title="(c) Fields(s)" data-gtmc="doc outline link"> (c) Fields(s) </a> </li> <li> <a href="#ProjectsVersionsGetCall.Header" title="(c) Header()" data-gtmc="doc outline link"> (c) Header() </a> </li> <li> <a href="#ProjectsVersionsGetCall.IfNoneMatch" title="(c) IfNoneMatch(entityTag)" data-gtmc="doc outline link"> (c) IfNoneMatch(entityTag) </a> </li> </ul> </li> <li> <a href="#ProjectsVersionsListCall" title="type ProjectsVersionsListCall" data-gtmc="doc outline link"> type ProjectsVersionsListCall </a> <ul> <li> <a href="#ProjectsVersionsListCall.Context" title="(c) Context(ctx)" data-gtmc="doc outline link"> (c) Context(ctx) </a> </li> <li> <a href="#ProjectsVersionsListCall.Do" title="(c) Do(opts)" data-gtmc="doc outline link"> (c) Do(opts) </a> </li> <li> <a href="#ProjectsVersionsListCall.Fields" title="(c) Fields(s)" data-gtmc="doc outline link"> (c) Fields(s) </a> </li> <li> <a href="#ProjectsVersionsListCall.Header" title="(c) Header()" data-gtmc="doc outline link"> (c) Header() </a> </li> <li> <a href="#ProjectsVersionsListCall.IfNoneMatch" title="(c) IfNoneMatch(entityTag)" data-gtmc="doc outline link"> (c) IfNoneMatch(entityTag) </a> </li> <li> <a href="#ProjectsVersionsListCall.PageSize" title="(c) PageSize(pageSize)" data-gtmc="doc outline link"> (c) PageSize(pageSize) </a> </li> <li> <a href="#ProjectsVersionsListCall.PageToken" title="(c) PageToken(pageToken)" data-gtmc="doc outline link"> (c) PageToken(pageToken) </a> </li> <li> <a href="#ProjectsVersionsListCall.Pages" title="(c) Pages(ctx, f)" data-gtmc="doc outline link"> (c) Pages(ctx, f) </a> </li> </ul> </li> <li> <a href="#ProjectsVersionsService" title="type ProjectsVersionsService" data-gtmc="doc outline link"> type ProjectsVersionsService </a> <ul> <li> <a href="#NewProjectsVersionsService" title="NewProjectsVersionsService(s)" data-gtmc="doc outline link"> NewProjectsVersionsService(s) </a> </li> <li> <a href="#ProjectsVersionsService.Create" title="(r) Create(scriptId, version)" data-gtmc="doc outline link"> (r) Create(scriptId, version) </a> </li> <li> <a href="#ProjectsVersionsService.Get" title="(r) Get(scriptId, versionNumber)" data-gtmc="doc outline link"> (r) Get(scriptId, versionNumber) </a> </li> <li> <a href="#ProjectsVersionsService.List" title="(r) List(scriptId)" data-gtmc="doc outline link"> (r) List(scriptId) </a> </li> </ul> </li> <li> <a href="#ScriptExecutionResult" title="type ScriptExecutionResult" data-gtmc="doc outline link"> type ScriptExecutionResult </a> <ul> <li> <a href="#ScriptExecutionResult.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#ScriptStackTraceElement" title="type ScriptStackTraceElement" data-gtmc="doc outline link"> type ScriptStackTraceElement </a> <ul> <li> <a href="#ScriptStackTraceElement.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#ScriptsRunCall" title="type ScriptsRunCall" data-gtmc="doc outline link"> type ScriptsRunCall </a> <ul> <li> <a href="#ScriptsRunCall.Context" title="(c) Context(ctx)" data-gtmc="doc outline link"> (c) Context(ctx) </a> </li> <li> <a href="#ScriptsRunCall.Do" title="(c) Do(opts)" data-gtmc="doc outline link"> (c) Do(opts) </a> </li> <li> <a href="#ScriptsRunCall.Fields" title="(c) Fields(s)" data-gtmc="doc outline link"> (c) Fields(s) </a> </li> <li> <a href="#ScriptsRunCall.Header" title="(c) Header()" data-gtmc="doc outline link"> (c) Header() </a> </li> </ul> </li> <li> <a href="#ScriptsService" title="type ScriptsService" data-gtmc="doc outline link"> type ScriptsService </a> <ul> <li> <a href="#NewScriptsService" title="NewScriptsService(s)" data-gtmc="doc outline link"> NewScriptsService(s) </a> </li> <li> <a href="#ScriptsService.Run" title="(r) Run(scriptId, executionrequest)" data-gtmc="doc outline link"> (r) Run(scriptId, executionrequest) </a> </li> </ul> </li> <li> <a href="#Service" title="type Service" data-gtmc="doc outline link"> type Service </a> <ul> <li> <a href="#New" title="New(client)" data-gtmc="doc outline link"> New(client) </a> </li> <li> <a href="#NewService" title="NewService(ctx, opts)" data-gtmc="doc outline link"> NewService(ctx, opts) </a> </li> </ul> </li> <li> <a href="#Status" title="type Status" data-gtmc="doc outline link"> type Status </a> <ul> <li> <a href="#Status.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#Struct" title="type Struct" data-gtmc="doc outline link"> type Struct </a> <ul> <li> <a href="#Struct.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#UpdateDeploymentRequest" title="type UpdateDeploymentRequest" data-gtmc="doc outline link"> type UpdateDeploymentRequest </a> <ul> <li> <a href="#UpdateDeploymentRequest.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> <li> <a href="#Value" title="type Value" data-gtmc="doc outline link"> type Value </a> <ul> <li> <a href="#Value.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> <li> <a href="#Value.UnmarshalJSON" title="(s) UnmarshalJSON(data)" data-gtmc="doc outline link"> (s) UnmarshalJSON(data) </a> </li> </ul> </li> <li> <a href="#Version" title="type Version" data-gtmc="doc outline link"> type Version </a> <ul> <li> <a href="#Version.MarshalJSON" title="(s) MarshalJSON()" data-gtmc="doc outline link"> (s) MarshalJSON() </a> </li> </ul> </li> </ul> </li> </ul> </li> <li> <a href="#section-sourcefiles" data-gtmc="outline link"> Source Files </a> </li> </ul> </div> <div class="go-Main-navMobile js-mainNavMobile"> <label class="go-Label"> <select class="go-Select"> <option selected disabled>Documentation</option> </select> </label> </div> </nav> <article class="go-Main-article js-mainContent"> <div class="UnitDetails" data-test-id="UnitDetails" style="display: block;"> <div class="UnitDetails-content js-unitDetailsContent" data-test-id="UnitDetails-content"> <div class="UnitDoc"> <h2 class="UnitDoc-title" id="section-documentation"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/code_gm_grey_24dp.svg" alt=""> Documentation <a class="UnitDoc-idLink" href="#section-documentation" aria-label="Go to Documentation">露</a> </h2> <div class="Documentation js-documentation"> <div class="Documentation-content js-docContent"> <section class="Documentation-overview"> <h3 tabindex="-1" id="pkg-overview" class="Documentation-overviewHeader">Overview <a href="#pkg-overview" aria-label="Go to Overview">露</a></h3> <div role="navigation" aria-label="Table of Contents"> <ul class="Documentation-toc"> <li class="Documentation-tocItem"><a href="#hdr-Library_status">Library status</a></li> <li class="Documentation-tocItem"><a href="#hdr-Creating_a_client">Creating a client</a></li> <li class="Documentation-tocItem"><a href="#hdr-Other_authentication_options">Other authentication options</a></li> </ul> </div> <p>Package script provides access to the Apps Script API. </p><p>For product documentation, see: <a href="https://developers.google.com/apps-script/api/">https://developers.google.com/apps-script/api/</a> </p><h4 id="hdr-Library_status">Library status <a class="Documentation-idLink" href="#hdr-Library_status" aria-label="Go to Library status">露</a></h4><p>These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features. </p><p>When possible, we recommend using our newer [Cloud Client Libraries for Go](<a href="https://pkg.go.dev/cloud.google.com/go">https://pkg.go.dev/cloud.google.com/go</a>) that are still actively being worked and iterated on. </p><h4 id="hdr-Creating_a_client">Creating a client <a class="Documentation-idLink" href="#hdr-Creating_a_client" aria-label="Go to Creating a client">露</a></h4><p>Usage example: </p><pre>import &#34;google.golang.org/api/script/v1&#34; ... ctx := context.Background() scriptService, err := script.NewService(ctx) </pre><p>In this example, Google Application Default Credentials are used for authentication. For information on how to create and obtain Application Default Credentials, see <a href="https://developers.google.com/identity/protocols/application-default-credentials">https://developers.google.com/identity/protocols/application-default-credentials</a>. </p><h4 id="hdr-Other_authentication_options">Other authentication options <a class="Documentation-idLink" href="#hdr-Other_authentication_options" aria-label="Go to Other authentication options">露</a></h4><p>By default, all available scopes (see &#34;Constants&#34;) are used to authenticate. To restrict scopes, use <a href="/google.golang.org/api@v0.209.0/option#WithScopes">google.golang.org/api/option.WithScopes</a>: </p><pre>scriptService, err := script.NewService(ctx, option.WithScopes(script.UserinfoEmailScope)) </pre><p>To use an API key for authentication (note: some APIs do not support API keys), use <a href="/google.golang.org/api@v0.209.0/option#WithAPIKey">google.golang.org/api/option.WithAPIKey</a>: </p><pre>scriptService, err := script.NewService(ctx, option.WithAPIKey(&#34;AIza...&#34;)) </pre><p>To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow, use <a href="/google.golang.org/api@v0.209.0/option#WithTokenSource">google.golang.org/api/option.WithTokenSource</a>: </p><pre>config := &amp;oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) scriptService, err := script.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token))) </pre><p>See <a href="/google.golang.org/api@v0.209.0/option#ClientOption">google.golang.org/api/option.ClientOption</a> for details on options. </p> </section><section class="Documentation-index"> <h3 id="pkg-index" class="Documentation-indexHeader">Index <a href="#pkg-index" aria-label="Go to Index">露</a></h3> <ul class="Documentation-indexList"> <li class="Documentation-indexConstants"><a href="#pkg-constants">Constants</a></li> <li class="Documentation-indexType"> <a href="#Content">type Content</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#Content.MarshalJSON">func (s Content) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#CreateProjectRequest">type CreateProjectRequest</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#CreateProjectRequest.MarshalJSON">func (s CreateProjectRequest) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#Deployment">type Deployment</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#Deployment.MarshalJSON">func (s Deployment) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#DeploymentConfig">type DeploymentConfig</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#DeploymentConfig.MarshalJSON">func (s DeploymentConfig) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#Empty">type Empty</a></li> <li class="Documentation-indexType"> <a href="#EntryPoint">type EntryPoint</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#EntryPoint.MarshalJSON">func (s EntryPoint) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ExecuteStreamResponse">type ExecuteStreamResponse</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ExecuteStreamResponse.MarshalJSON">func (s ExecuteStreamResponse) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ExecutionError">type ExecutionError</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ExecutionError.MarshalJSON">func (s ExecutionError) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ExecutionRequest">type ExecutionRequest</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ExecutionRequest.MarshalJSON">func (s ExecutionRequest) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ExecutionResponse">type ExecutionResponse</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ExecutionResponse.MarshalJSON">func (s ExecutionResponse) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#File">type File</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#File.MarshalJSON">func (s File) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#GoogleAppsScriptTypeAddOnEntryPoint">type GoogleAppsScriptTypeAddOnEntryPoint</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#GoogleAppsScriptTypeAddOnEntryPoint.MarshalJSON">func (s GoogleAppsScriptTypeAddOnEntryPoint) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#GoogleAppsScriptTypeExecutionApiConfig">type GoogleAppsScriptTypeExecutionApiConfig</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#GoogleAppsScriptTypeExecutionApiConfig.MarshalJSON">func (s GoogleAppsScriptTypeExecutionApiConfig) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#GoogleAppsScriptTypeExecutionApiEntryPoint">type GoogleAppsScriptTypeExecutionApiEntryPoint</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#GoogleAppsScriptTypeExecutionApiEntryPoint.MarshalJSON">func (s GoogleAppsScriptTypeExecutionApiEntryPoint) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#GoogleAppsScriptTypeFunction">type GoogleAppsScriptTypeFunction</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#GoogleAppsScriptTypeFunction.MarshalJSON">func (s GoogleAppsScriptTypeFunction) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#GoogleAppsScriptTypeFunctionSet">type GoogleAppsScriptTypeFunctionSet</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#GoogleAppsScriptTypeFunctionSet.MarshalJSON">func (s GoogleAppsScriptTypeFunctionSet) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#GoogleAppsScriptTypeProcess">type GoogleAppsScriptTypeProcess</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#GoogleAppsScriptTypeProcess.MarshalJSON">func (s GoogleAppsScriptTypeProcess) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#GoogleAppsScriptTypeUser">type GoogleAppsScriptTypeUser</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#GoogleAppsScriptTypeUser.MarshalJSON">func (s GoogleAppsScriptTypeUser) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#GoogleAppsScriptTypeWebAppConfig">type GoogleAppsScriptTypeWebAppConfig</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#GoogleAppsScriptTypeWebAppConfig.MarshalJSON">func (s GoogleAppsScriptTypeWebAppConfig) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#GoogleAppsScriptTypeWebAppEntryPoint">type GoogleAppsScriptTypeWebAppEntryPoint</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#GoogleAppsScriptTypeWebAppEntryPoint.MarshalJSON">func (s GoogleAppsScriptTypeWebAppEntryPoint) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ListDeploymentsResponse">type ListDeploymentsResponse</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ListDeploymentsResponse.MarshalJSON">func (s ListDeploymentsResponse) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ListScriptProcessesResponse">type ListScriptProcessesResponse</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ListScriptProcessesResponse.MarshalJSON">func (s ListScriptProcessesResponse) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ListUserProcessesResponse">type ListUserProcessesResponse</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ListUserProcessesResponse.MarshalJSON">func (s ListUserProcessesResponse) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ListValue">type ListValue</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ListValue.MarshalJSON">func (s ListValue) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ListVersionsResponse">type ListVersionsResponse</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ListVersionsResponse.MarshalJSON">func (s ListVersionsResponse) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#Metrics">type Metrics</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#Metrics.MarshalJSON">func (s Metrics) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#MetricsValue">type MetricsValue</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#MetricsValue.MarshalJSON">func (s MetricsValue) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#Operation">type Operation</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#Operation.MarshalJSON">func (s Operation) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ProcessesListCall">type ProcessesListCall</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ProcessesListCall.Context">func (c *ProcessesListCall) Context(ctx context.Context) *ProcessesListCall</a></li> <li> <a href="#ProcessesListCall.Do">func (c *ProcessesListCall) Do(opts ...googleapi.CallOption) (*ListUserProcessesResponse, error)</a></li> <li> <a href="#ProcessesListCall.Fields">func (c *ProcessesListCall) Fields(s ...googleapi.Field) *ProcessesListCall</a></li> <li> <a href="#ProcessesListCall.Header">func (c *ProcessesListCall) Header() http.Header</a></li> <li> <a href="#ProcessesListCall.IfNoneMatch">func (c *ProcessesListCall) IfNoneMatch(entityTag string) *ProcessesListCall</a></li> <li> <a href="#ProcessesListCall.PageSize">func (c *ProcessesListCall) PageSize(pageSize int64) *ProcessesListCall</a></li> <li> <a href="#ProcessesListCall.PageToken">func (c *ProcessesListCall) PageToken(pageToken string) *ProcessesListCall</a></li> <li> <a href="#ProcessesListCall.Pages">func (c *ProcessesListCall) Pages(ctx context.Context, f func(*ListUserProcessesResponse) error) error</a></li> <li> <a href="#ProcessesListCall.UserProcessFilterDeploymentId">func (c *ProcessesListCall) UserProcessFilterDeploymentId(userProcessFilterDeploymentId string) *ProcessesListCall</a></li> <li> <a href="#ProcessesListCall.UserProcessFilterEndTime">func (c *ProcessesListCall) UserProcessFilterEndTime(userProcessFilterEndTime string) *ProcessesListCall</a></li> <li> <a href="#ProcessesListCall.UserProcessFilterFunctionName">func (c *ProcessesListCall) UserProcessFilterFunctionName(userProcessFilterFunctionName string) *ProcessesListCall</a></li> <li> <a href="#ProcessesListCall.UserProcessFilterProjectName">func (c *ProcessesListCall) UserProcessFilterProjectName(userProcessFilterProjectName string) *ProcessesListCall</a></li> <li> <a href="#ProcessesListCall.UserProcessFilterScriptId">func (c *ProcessesListCall) UserProcessFilterScriptId(userProcessFilterScriptId string) *ProcessesListCall</a></li> <li> <a href="#ProcessesListCall.UserProcessFilterStartTime">func (c *ProcessesListCall) UserProcessFilterStartTime(userProcessFilterStartTime string) *ProcessesListCall</a></li> <li> <a href="#ProcessesListCall.UserProcessFilterStatuses">func (c *ProcessesListCall) UserProcessFilterStatuses(userProcessFilterStatuses ...string) *ProcessesListCall</a></li> <li> <a href="#ProcessesListCall.UserProcessFilterTypes">func (c *ProcessesListCall) UserProcessFilterTypes(userProcessFilterTypes ...string) *ProcessesListCall</a></li> <li> <a href="#ProcessesListCall.UserProcessFilterUserAccessLevels">func (c *ProcessesListCall) UserProcessFilterUserAccessLevels(userProcessFilterUserAccessLevels ...string) *ProcessesListCall</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ProcessesListScriptProcessesCall">type ProcessesListScriptProcessesCall</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ProcessesListScriptProcessesCall.Context">func (c *ProcessesListScriptProcessesCall) Context(ctx context.Context) *ProcessesListScriptProcessesCall</a></li> <li> <a href="#ProcessesListScriptProcessesCall.Do">func (c *ProcessesListScriptProcessesCall) Do(opts ...googleapi.CallOption) (*ListScriptProcessesResponse, error)</a></li> <li> <a href="#ProcessesListScriptProcessesCall.Fields">func (c *ProcessesListScriptProcessesCall) Fields(s ...googleapi.Field) *ProcessesListScriptProcessesCall</a></li> <li> <a href="#ProcessesListScriptProcessesCall.Header">func (c *ProcessesListScriptProcessesCall) Header() http.Header</a></li> <li> <a href="#ProcessesListScriptProcessesCall.IfNoneMatch">func (c *ProcessesListScriptProcessesCall) IfNoneMatch(entityTag string) *ProcessesListScriptProcessesCall</a></li> <li> <a href="#ProcessesListScriptProcessesCall.PageSize">func (c *ProcessesListScriptProcessesCall) PageSize(pageSize int64) *ProcessesListScriptProcessesCall</a></li> <li> <a href="#ProcessesListScriptProcessesCall.PageToken">func (c *ProcessesListScriptProcessesCall) PageToken(pageToken string) *ProcessesListScriptProcessesCall</a></li> <li> <a href="#ProcessesListScriptProcessesCall.Pages">func (c *ProcessesListScriptProcessesCall) Pages(ctx context.Context, f func(*ListScriptProcessesResponse) error) error</a></li> <li> <a href="#ProcessesListScriptProcessesCall.ScriptId">func (c *ProcessesListScriptProcessesCall) ScriptId(scriptId string) *ProcessesListScriptProcessesCall</a></li> <li> <a href="#ProcessesListScriptProcessesCall.ScriptProcessFilterDeploymentId">func (c *ProcessesListScriptProcessesCall) ScriptProcessFilterDeploymentId(scriptProcessFilterDeploymentId string) *ProcessesListScriptProcessesCall</a></li> <li> <a href="#ProcessesListScriptProcessesCall.ScriptProcessFilterEndTime">func (c *ProcessesListScriptProcessesCall) ScriptProcessFilterEndTime(scriptProcessFilterEndTime string) *ProcessesListScriptProcessesCall</a></li> <li> <a href="#ProcessesListScriptProcessesCall.ScriptProcessFilterFunctionName">func (c *ProcessesListScriptProcessesCall) ScriptProcessFilterFunctionName(scriptProcessFilterFunctionName string) *ProcessesListScriptProcessesCall</a></li> <li> <a href="#ProcessesListScriptProcessesCall.ScriptProcessFilterStartTime">func (c *ProcessesListScriptProcessesCall) ScriptProcessFilterStartTime(scriptProcessFilterStartTime string) *ProcessesListScriptProcessesCall</a></li> <li> <a href="#ProcessesListScriptProcessesCall.ScriptProcessFilterStatuses">func (c *ProcessesListScriptProcessesCall) ScriptProcessFilterStatuses(scriptProcessFilterStatuses ...string) *ProcessesListScriptProcessesCall</a></li> <li> <a href="#ProcessesListScriptProcessesCall.ScriptProcessFilterTypes">func (c *ProcessesListScriptProcessesCall) ScriptProcessFilterTypes(scriptProcessFilterTypes ...string) *ProcessesListScriptProcessesCall</a></li> <li> <a href="#ProcessesListScriptProcessesCall.ScriptProcessFilterUserAccessLevels">func (c *ProcessesListScriptProcessesCall) ScriptProcessFilterUserAccessLevels(scriptProcessFilterUserAccessLevels ...string) *ProcessesListScriptProcessesCall</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ProcessesService">type ProcessesService</a></li> <li><ul class="Documentation-indexTypeFunctions"> <li> <a href="#NewProcessesService">func NewProcessesService(s *Service) *ProcessesService</a></li> </ul></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ProcessesService.List">func (r *ProcessesService) List() *ProcessesListCall</a></li> <li> <a href="#ProcessesService.ListScriptProcesses">func (r *ProcessesService) ListScriptProcesses() *ProcessesListScriptProcessesCall</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#Project">type Project</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#Project.MarshalJSON">func (s Project) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ProjectsCreateCall">type ProjectsCreateCall</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ProjectsCreateCall.Context">func (c *ProjectsCreateCall) Context(ctx context.Context) *ProjectsCreateCall</a></li> <li> <a href="#ProjectsCreateCall.Do">func (c *ProjectsCreateCall) Do(opts ...googleapi.CallOption) (*Project, error)</a></li> <li> <a href="#ProjectsCreateCall.Fields">func (c *ProjectsCreateCall) Fields(s ...googleapi.Field) *ProjectsCreateCall</a></li> <li> <a href="#ProjectsCreateCall.Header">func (c *ProjectsCreateCall) Header() http.Header</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ProjectsDeploymentsCreateCall">type ProjectsDeploymentsCreateCall</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ProjectsDeploymentsCreateCall.Context">func (c *ProjectsDeploymentsCreateCall) Context(ctx context.Context) *ProjectsDeploymentsCreateCall</a></li> <li> <a href="#ProjectsDeploymentsCreateCall.Do">func (c *ProjectsDeploymentsCreateCall) Do(opts ...googleapi.CallOption) (*Deployment, error)</a></li> <li> <a href="#ProjectsDeploymentsCreateCall.Fields">func (c *ProjectsDeploymentsCreateCall) Fields(s ...googleapi.Field) *ProjectsDeploymentsCreateCall</a></li> <li> <a href="#ProjectsDeploymentsCreateCall.Header">func (c *ProjectsDeploymentsCreateCall) Header() http.Header</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ProjectsDeploymentsDeleteCall">type ProjectsDeploymentsDeleteCall</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ProjectsDeploymentsDeleteCall.Context">func (c *ProjectsDeploymentsDeleteCall) Context(ctx context.Context) *ProjectsDeploymentsDeleteCall</a></li> <li> <a href="#ProjectsDeploymentsDeleteCall.Do">func (c *ProjectsDeploymentsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)</a></li> <li> <a href="#ProjectsDeploymentsDeleteCall.Fields">func (c *ProjectsDeploymentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsDeploymentsDeleteCall</a></li> <li> <a href="#ProjectsDeploymentsDeleteCall.Header">func (c *ProjectsDeploymentsDeleteCall) Header() http.Header</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ProjectsDeploymentsGetCall">type ProjectsDeploymentsGetCall</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ProjectsDeploymentsGetCall.Context">func (c *ProjectsDeploymentsGetCall) Context(ctx context.Context) *ProjectsDeploymentsGetCall</a></li> <li> <a href="#ProjectsDeploymentsGetCall.Do">func (c *ProjectsDeploymentsGetCall) Do(opts ...googleapi.CallOption) (*Deployment, error)</a></li> <li> <a href="#ProjectsDeploymentsGetCall.Fields">func (c *ProjectsDeploymentsGetCall) Fields(s ...googleapi.Field) *ProjectsDeploymentsGetCall</a></li> <li> <a href="#ProjectsDeploymentsGetCall.Header">func (c *ProjectsDeploymentsGetCall) Header() http.Header</a></li> <li> <a href="#ProjectsDeploymentsGetCall.IfNoneMatch">func (c *ProjectsDeploymentsGetCall) IfNoneMatch(entityTag string) *ProjectsDeploymentsGetCall</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ProjectsDeploymentsListCall">type ProjectsDeploymentsListCall</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ProjectsDeploymentsListCall.Context">func (c *ProjectsDeploymentsListCall) Context(ctx context.Context) *ProjectsDeploymentsListCall</a></li> <li> <a href="#ProjectsDeploymentsListCall.Do">func (c *ProjectsDeploymentsListCall) Do(opts ...googleapi.CallOption) (*ListDeploymentsResponse, error)</a></li> <li> <a href="#ProjectsDeploymentsListCall.Fields">func (c *ProjectsDeploymentsListCall) Fields(s ...googleapi.Field) *ProjectsDeploymentsListCall</a></li> <li> <a href="#ProjectsDeploymentsListCall.Header">func (c *ProjectsDeploymentsListCall) Header() http.Header</a></li> <li> <a href="#ProjectsDeploymentsListCall.IfNoneMatch">func (c *ProjectsDeploymentsListCall) IfNoneMatch(entityTag string) *ProjectsDeploymentsListCall</a></li> <li> <a href="#ProjectsDeploymentsListCall.PageSize">func (c *ProjectsDeploymentsListCall) PageSize(pageSize int64) *ProjectsDeploymentsListCall</a></li> <li> <a href="#ProjectsDeploymentsListCall.PageToken">func (c *ProjectsDeploymentsListCall) PageToken(pageToken string) *ProjectsDeploymentsListCall</a></li> <li> <a href="#ProjectsDeploymentsListCall.Pages">func (c *ProjectsDeploymentsListCall) Pages(ctx context.Context, f func(*ListDeploymentsResponse) error) error</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ProjectsDeploymentsService">type ProjectsDeploymentsService</a></li> <li><ul class="Documentation-indexTypeFunctions"> <li> <a href="#NewProjectsDeploymentsService">func NewProjectsDeploymentsService(s *Service) *ProjectsDeploymentsService</a></li> </ul></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ProjectsDeploymentsService.Create">func (r *ProjectsDeploymentsService) Create(scriptId string, deploymentconfig *DeploymentConfig) *ProjectsDeploymentsCreateCall</a></li> <li> <a href="#ProjectsDeploymentsService.Delete">func (r *ProjectsDeploymentsService) Delete(scriptId string, deploymentId string) *ProjectsDeploymentsDeleteCall</a></li> <li> <a href="#ProjectsDeploymentsService.Get">func (r *ProjectsDeploymentsService) Get(scriptId string, deploymentId string) *ProjectsDeploymentsGetCall</a></li> <li> <a href="#ProjectsDeploymentsService.List">func (r *ProjectsDeploymentsService) List(scriptId string) *ProjectsDeploymentsListCall</a></li> <li> <a href="#ProjectsDeploymentsService.Update">func (r *ProjectsDeploymentsService) Update(scriptId string, deploymentId string, ...) *ProjectsDeploymentsUpdateCall</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ProjectsDeploymentsUpdateCall">type ProjectsDeploymentsUpdateCall</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ProjectsDeploymentsUpdateCall.Context">func (c *ProjectsDeploymentsUpdateCall) Context(ctx context.Context) *ProjectsDeploymentsUpdateCall</a></li> <li> <a href="#ProjectsDeploymentsUpdateCall.Do">func (c *ProjectsDeploymentsUpdateCall) Do(opts ...googleapi.CallOption) (*Deployment, error)</a></li> <li> <a href="#ProjectsDeploymentsUpdateCall.Fields">func (c *ProjectsDeploymentsUpdateCall) Fields(s ...googleapi.Field) *ProjectsDeploymentsUpdateCall</a></li> <li> <a href="#ProjectsDeploymentsUpdateCall.Header">func (c *ProjectsDeploymentsUpdateCall) Header() http.Header</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ProjectsGetCall">type ProjectsGetCall</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ProjectsGetCall.Context">func (c *ProjectsGetCall) Context(ctx context.Context) *ProjectsGetCall</a></li> <li> <a href="#ProjectsGetCall.Do">func (c *ProjectsGetCall) Do(opts ...googleapi.CallOption) (*Project, error)</a></li> <li> <a href="#ProjectsGetCall.Fields">func (c *ProjectsGetCall) Fields(s ...googleapi.Field) *ProjectsGetCall</a></li> <li> <a href="#ProjectsGetCall.Header">func (c *ProjectsGetCall) Header() http.Header</a></li> <li> <a href="#ProjectsGetCall.IfNoneMatch">func (c *ProjectsGetCall) IfNoneMatch(entityTag string) *ProjectsGetCall</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ProjectsGetContentCall">type ProjectsGetContentCall</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ProjectsGetContentCall.Context">func (c *ProjectsGetContentCall) Context(ctx context.Context) *ProjectsGetContentCall</a></li> <li> <a href="#ProjectsGetContentCall.Do">func (c *ProjectsGetContentCall) Do(opts ...googleapi.CallOption) (*Content, error)</a></li> <li> <a href="#ProjectsGetContentCall.Fields">func (c *ProjectsGetContentCall) Fields(s ...googleapi.Field) *ProjectsGetContentCall</a></li> <li> <a href="#ProjectsGetContentCall.Header">func (c *ProjectsGetContentCall) Header() http.Header</a></li> <li> <a href="#ProjectsGetContentCall.IfNoneMatch">func (c *ProjectsGetContentCall) IfNoneMatch(entityTag string) *ProjectsGetContentCall</a></li> <li> <a href="#ProjectsGetContentCall.VersionNumber">func (c *ProjectsGetContentCall) VersionNumber(versionNumber int64) *ProjectsGetContentCall</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ProjectsGetMetricsCall">type ProjectsGetMetricsCall</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ProjectsGetMetricsCall.Context">func (c *ProjectsGetMetricsCall) Context(ctx context.Context) *ProjectsGetMetricsCall</a></li> <li> <a href="#ProjectsGetMetricsCall.Do">func (c *ProjectsGetMetricsCall) Do(opts ...googleapi.CallOption) (*Metrics, error)</a></li> <li> <a href="#ProjectsGetMetricsCall.Fields">func (c *ProjectsGetMetricsCall) Fields(s ...googleapi.Field) *ProjectsGetMetricsCall</a></li> <li> <a href="#ProjectsGetMetricsCall.Header">func (c *ProjectsGetMetricsCall) Header() http.Header</a></li> <li> <a href="#ProjectsGetMetricsCall.IfNoneMatch">func (c *ProjectsGetMetricsCall) IfNoneMatch(entityTag string) *ProjectsGetMetricsCall</a></li> <li> <a href="#ProjectsGetMetricsCall.MetricsFilterDeploymentId">func (c *ProjectsGetMetricsCall) MetricsFilterDeploymentId(metricsFilterDeploymentId string) *ProjectsGetMetricsCall</a></li> <li> <a href="#ProjectsGetMetricsCall.MetricsGranularity">func (c *ProjectsGetMetricsCall) MetricsGranularity(metricsGranularity string) *ProjectsGetMetricsCall</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ProjectsService">type ProjectsService</a></li> <li><ul class="Documentation-indexTypeFunctions"> <li> <a href="#NewProjectsService">func NewProjectsService(s *Service) *ProjectsService</a></li> </ul></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ProjectsService.Create">func (r *ProjectsService) Create(createprojectrequest *CreateProjectRequest) *ProjectsCreateCall</a></li> <li> <a href="#ProjectsService.Get">func (r *ProjectsService) Get(scriptId string) *ProjectsGetCall</a></li> <li> <a href="#ProjectsService.GetContent">func (r *ProjectsService) GetContent(scriptId string) *ProjectsGetContentCall</a></li> <li> <a href="#ProjectsService.GetMetrics">func (r *ProjectsService) GetMetrics(scriptId string) *ProjectsGetMetricsCall</a></li> <li> <a href="#ProjectsService.UpdateContent">func (r *ProjectsService) UpdateContent(scriptId string, content *Content) *ProjectsUpdateContentCall</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ProjectsUpdateContentCall">type ProjectsUpdateContentCall</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ProjectsUpdateContentCall.Context">func (c *ProjectsUpdateContentCall) Context(ctx context.Context) *ProjectsUpdateContentCall</a></li> <li> <a href="#ProjectsUpdateContentCall.Do">func (c *ProjectsUpdateContentCall) Do(opts ...googleapi.CallOption) (*Content, error)</a></li> <li> <a href="#ProjectsUpdateContentCall.Fields">func (c *ProjectsUpdateContentCall) Fields(s ...googleapi.Field) *ProjectsUpdateContentCall</a></li> <li> <a href="#ProjectsUpdateContentCall.Header">func (c *ProjectsUpdateContentCall) Header() http.Header</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ProjectsVersionsCreateCall">type ProjectsVersionsCreateCall</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ProjectsVersionsCreateCall.Context">func (c *ProjectsVersionsCreateCall) Context(ctx context.Context) *ProjectsVersionsCreateCall</a></li> <li> <a href="#ProjectsVersionsCreateCall.Do">func (c *ProjectsVersionsCreateCall) Do(opts ...googleapi.CallOption) (*Version, error)</a></li> <li> <a href="#ProjectsVersionsCreateCall.Fields">func (c *ProjectsVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsVersionsCreateCall</a></li> <li> <a href="#ProjectsVersionsCreateCall.Header">func (c *ProjectsVersionsCreateCall) Header() http.Header</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ProjectsVersionsGetCall">type ProjectsVersionsGetCall</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ProjectsVersionsGetCall.Context">func (c *ProjectsVersionsGetCall) Context(ctx context.Context) *ProjectsVersionsGetCall</a></li> <li> <a href="#ProjectsVersionsGetCall.Do">func (c *ProjectsVersionsGetCall) Do(opts ...googleapi.CallOption) (*Version, error)</a></li> <li> <a href="#ProjectsVersionsGetCall.Fields">func (c *ProjectsVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsVersionsGetCall</a></li> <li> <a href="#ProjectsVersionsGetCall.Header">func (c *ProjectsVersionsGetCall) Header() http.Header</a></li> <li> <a href="#ProjectsVersionsGetCall.IfNoneMatch">func (c *ProjectsVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsVersionsGetCall</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ProjectsVersionsListCall">type ProjectsVersionsListCall</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ProjectsVersionsListCall.Context">func (c *ProjectsVersionsListCall) Context(ctx context.Context) *ProjectsVersionsListCall</a></li> <li> <a href="#ProjectsVersionsListCall.Do">func (c *ProjectsVersionsListCall) Do(opts ...googleapi.CallOption) (*ListVersionsResponse, error)</a></li> <li> <a href="#ProjectsVersionsListCall.Fields">func (c *ProjectsVersionsListCall) Fields(s ...googleapi.Field) *ProjectsVersionsListCall</a></li> <li> <a href="#ProjectsVersionsListCall.Header">func (c *ProjectsVersionsListCall) Header() http.Header</a></li> <li> <a href="#ProjectsVersionsListCall.IfNoneMatch">func (c *ProjectsVersionsListCall) IfNoneMatch(entityTag string) *ProjectsVersionsListCall</a></li> <li> <a href="#ProjectsVersionsListCall.PageSize">func (c *ProjectsVersionsListCall) PageSize(pageSize int64) *ProjectsVersionsListCall</a></li> <li> <a href="#ProjectsVersionsListCall.PageToken">func (c *ProjectsVersionsListCall) PageToken(pageToken string) *ProjectsVersionsListCall</a></li> <li> <a href="#ProjectsVersionsListCall.Pages">func (c *ProjectsVersionsListCall) Pages(ctx context.Context, f func(*ListVersionsResponse) error) error</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ProjectsVersionsService">type ProjectsVersionsService</a></li> <li><ul class="Documentation-indexTypeFunctions"> <li> <a href="#NewProjectsVersionsService">func NewProjectsVersionsService(s *Service) *ProjectsVersionsService</a></li> </ul></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ProjectsVersionsService.Create">func (r *ProjectsVersionsService) Create(scriptId string, version *Version) *ProjectsVersionsCreateCall</a></li> <li> <a href="#ProjectsVersionsService.Get">func (r *ProjectsVersionsService) Get(scriptId string, versionNumber int64) *ProjectsVersionsGetCall</a></li> <li> <a href="#ProjectsVersionsService.List">func (r *ProjectsVersionsService) List(scriptId string) *ProjectsVersionsListCall</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ScriptExecutionResult">type ScriptExecutionResult</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ScriptExecutionResult.MarshalJSON">func (s ScriptExecutionResult) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ScriptStackTraceElement">type ScriptStackTraceElement</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ScriptStackTraceElement.MarshalJSON">func (s ScriptStackTraceElement) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ScriptsRunCall">type ScriptsRunCall</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ScriptsRunCall.Context">func (c *ScriptsRunCall) Context(ctx context.Context) *ScriptsRunCall</a></li> <li> <a href="#ScriptsRunCall.Do">func (c *ScriptsRunCall) Do(opts ...googleapi.CallOption) (*Operation, error)</a></li> <li> <a href="#ScriptsRunCall.Fields">func (c *ScriptsRunCall) Fields(s ...googleapi.Field) *ScriptsRunCall</a></li> <li> <a href="#ScriptsRunCall.Header">func (c *ScriptsRunCall) Header() http.Header</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#ScriptsService">type ScriptsService</a></li> <li><ul class="Documentation-indexTypeFunctions"> <li> <a href="#NewScriptsService">func NewScriptsService(s *Service) *ScriptsService</a></li> </ul></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#ScriptsService.Run">func (r *ScriptsService) Run(scriptId string, executionrequest *ExecutionRequest) *ScriptsRunCall</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#Service">type Service</a></li> <li><ul class="Documentation-indexTypeFunctions"> <li> <a class="js-deprecatedTagLink" href="#New">func New(client *http.Client) (*Service, error)</a><span class="Documentation-indexDeprecated Documentation-deprecatedTag">deprecated</span></li> <li> <a href="#NewService">func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#Status">type Status</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#Status.MarshalJSON">func (s Status) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#Struct">type Struct</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#Struct.MarshalJSON">func (s Struct) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#UpdateDeploymentRequest">type UpdateDeploymentRequest</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#UpdateDeploymentRequest.MarshalJSON">func (s UpdateDeploymentRequest) MarshalJSON() ([]byte, error)</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#Value">type Value</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#Value.MarshalJSON">func (s Value) MarshalJSON() ([]byte, error)</a></li> <li> <a href="#Value.UnmarshalJSON">func (s *Value) UnmarshalJSON(data []byte) error</a></li> </ul></li> <li class="Documentation-indexType"> <a href="#Version">type Version</a></li> <li><ul class="Documentation-indexTypeMethods"> <li> <a href="#Version.MarshalJSON">func (s Version) MarshalJSON() ([]byte, error)</a></li> </ul></li> </ul> </section><h3 tabindex="-1" id="pkg-constants" class="Documentation-constantsHeader">Constants <a href="#pkg-constants" aria-label="Go to Constants">露</a></h3> <section class="Documentation-constants"> <div class="Documentation-declaration"> <span class="Documentation-declarationLink"><a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L102">View Source</a></span> <pre>const ( <span id="MailGoogleComScope" data-kind="constant"> <span class="comment">// Read, compose, send, and permanently delete all your email from Gmail</span> </span> MailGoogleComScope = &#34;https://mail.google.com/&#34; <span id="WwwGoogleComCalendarFeedsScope" data-kind="constant"> <span class="comment">// See, edit, share, and permanently delete all the calendars you can access</span> </span> <span class="comment">// using Google Calendar</span> WwwGoogleComCalendarFeedsScope = &#34;https://www.google.com/calendar/feeds&#34; <span id="WwwGoogleComM8FeedsScope" data-kind="constant"> <span class="comment">// See, edit, download, and permanently delete your contacts</span> </span> WwwGoogleComM8FeedsScope = &#34;https://www.google.com/m8/feeds&#34; <span id="AdminDirectoryGroupScope" data-kind="constant"> <span class="comment">// View and manage the provisioning of groups on your domain</span> </span> AdminDirectoryGroupScope = &#34;https://www.googleapis.com/auth/admin.directory.group&#34; <span id="AdminDirectoryUserScope" data-kind="constant"> <span class="comment">// View and manage the provisioning of users on your domain</span> </span> AdminDirectoryUserScope = &#34;https://www.googleapis.com/auth/admin.directory.user&#34; <span id="DocumentsScope" data-kind="constant"> <span class="comment">// See, edit, create, and delete all your Google Docs documents</span> </span> DocumentsScope = &#34;https://www.googleapis.com/auth/documents&#34; <span id="DriveScope" data-kind="constant"> <span class="comment">// See, edit, create, and delete all of your Google Drive files</span> </span> DriveScope = &#34;https://www.googleapis.com/auth/drive&#34; <span id="FormsScope" data-kind="constant"> <span class="comment">// View and manage your forms in Google Drive</span> </span> FormsScope = &#34;https://www.googleapis.com/auth/forms&#34; <span id="FormsCurrentonlyScope" data-kind="constant"> <span class="comment">// View and manage forms that this application has been installed in</span> </span> FormsCurrentonlyScope = &#34;https://www.googleapis.com/auth/forms.currentonly&#34; <span id="GroupsScope" data-kind="constant"> <span class="comment">// View and manage your Google Groups</span> </span> GroupsScope = &#34;https://www.googleapis.com/auth/groups&#34; <span id="ScriptDeploymentsScope" data-kind="constant"> <span class="comment">// Create and update Google Apps Script deployments</span> </span> ScriptDeploymentsScope = &#34;https://www.googleapis.com/auth/script.deployments&#34; <span id="ScriptDeploymentsReadonlyScope" data-kind="constant"> <span class="comment">// View Google Apps Script deployments</span> </span> ScriptDeploymentsReadonlyScope = &#34;https://www.googleapis.com/auth/script.deployments.readonly&#34; <span id="ScriptMetricsScope" data-kind="constant"> <span class="comment">// View Google Apps Script project&#39;s metrics</span> </span> ScriptMetricsScope = &#34;https://www.googleapis.com/auth/script.metrics&#34; <span id="ScriptProcessesScope" data-kind="constant"> <span class="comment">// View Google Apps Script processes</span> </span> ScriptProcessesScope = &#34;https://www.googleapis.com/auth/script.processes&#34; <span id="ScriptProjectsScope" data-kind="constant"> <span class="comment">// Create and update Google Apps Script projects</span> </span> ScriptProjectsScope = &#34;https://www.googleapis.com/auth/script.projects&#34; <span id="ScriptProjectsReadonlyScope" data-kind="constant"> <span class="comment">// View Google Apps Script projects</span> </span> ScriptProjectsReadonlyScope = &#34;https://www.googleapis.com/auth/script.projects.readonly&#34; <span id="SpreadsheetsScope" data-kind="constant"> <span class="comment">// See, edit, create, and delete all your Google Sheets spreadsheets</span> </span> SpreadsheetsScope = &#34;https://www.googleapis.com/auth/spreadsheets&#34; <span id="UserinfoEmailScope" data-kind="constant"> <span class="comment">// See your primary Google Account email address</span> </span> UserinfoEmailScope = &#34;https://www.googleapis.com/auth/userinfo.email&#34; )</pre> </div> <p>OAuth2 scopes used by this API. </p> </section> <h3 tabindex="-1" id="pkg-variables" class="Documentation-variablesHeader">Variables <a href="#pkg-variables" aria-label="Go to Variables">露</a></h3> <section class="Documentation-variables"><p class="Documentation-empty">This section is empty.</p></section> <h3 tabindex="-1" id="pkg-functions" class="Documentation-functionsHeader">Functions <a href="#pkg-functions" aria-label="Go to Functions">露</a></h3> <section class="Documentation-functions"><p class="Documentation-empty">This section is empty.</p></section> <h3 tabindex="-1" id="pkg-types" class="Documentation-typesHeader">Types <a href="#pkg-types" aria-label="Go to Types">露</a></h3> <section class="Documentation-types"><div class="Documentation-type"> <h4 tabindex="-1" id="Content" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L288">Content</a> <a class="Documentation-idLink" href="#Content" aria-label="Go to Content">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type Content struct { <span id="Content.Files" data-kind="field"> <span class="comment">// Files: The list of script project files. One of the files is a script</span> </span> <span class="comment">// manifest; it must be named &#34;appsscript&#34;, must have type of JSON, and include</span> <span class="comment">// the manifest configurations for the project.</span> Files []*<a href="#File">File</a> `json:&#34;files,omitempty&#34;` <span id="Content.ScriptId" data-kind="field"> <span class="comment">// ScriptId: The script project&#39;s Drive ID.</span> </span> ScriptId <a href="/builtin#string">string</a> `json:&#34;scriptId,omitempty&#34;` <span id="Content.ServerResponse" data-kind="field"> <span class="comment">// ServerResponse contains the HTTP response code and headers from the server.</span> </span> <a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#ServerResponse">ServerResponse</a> `json:&#34;-&#34;` <span id="Content.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;Files&#34;) to unconditionally</span> </span> <span class="comment">// include in API requests. By default, fields with empty or default values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="Content.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;Files&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>Content: The Content resource. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="Content.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (Content) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L311">MarshalJSON</a> <a class="Documentation-idLink" href="#Content.MarshalJSON" aria-label="Go to Content.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#Content">Content</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="CreateProjectRequest" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L318">CreateProjectRequest</a> <a class="Documentation-idLink" href="#CreateProjectRequest" aria-label="Go to CreateProjectRequest">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type CreateProjectRequest struct { <span id="CreateProjectRequest.ParentId" data-kind="field"> <span class="comment">// ParentId: The Drive ID of a parent file that the created script project is</span> </span> <span class="comment">// bound to. This is usually the ID of a Google Doc, Google Sheet, Google Form,</span> <span class="comment">// or Google Slides file. If not set, a standalone script project is created.</span> ParentId <a href="/builtin#string">string</a> `json:&#34;parentId,omitempty&#34;` <span id="CreateProjectRequest.Title" data-kind="field"> <span class="comment">// Title: The title for the project.</span> </span> Title <a href="/builtin#string">string</a> `json:&#34;title,omitempty&#34;` <span id="CreateProjectRequest.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;ParentId&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="CreateProjectRequest.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;ParentId&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>CreateProjectRequest: Request to create a script project. Request to create a script project. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="CreateProjectRequest.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (CreateProjectRequest) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L338">MarshalJSON</a> <a class="Documentation-idLink" href="#CreateProjectRequest.MarshalJSON" aria-label="Go to CreateProjectRequest.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#CreateProjectRequest">CreateProjectRequest</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="Deployment" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L344">Deployment</a> <a class="Documentation-idLink" href="#Deployment" aria-label="Go to Deployment">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type Deployment struct { <span id="Deployment.DeploymentConfig" data-kind="field"> <span class="comment">// DeploymentConfig: The deployment configuration.</span> </span> DeploymentConfig *<a href="#DeploymentConfig">DeploymentConfig</a> `json:&#34;deploymentConfig,omitempty&#34;` <span id="Deployment.DeploymentId" data-kind="field"> <span class="comment">// DeploymentId: The deployment ID for this deployment.</span> </span> DeploymentId <a href="/builtin#string">string</a> `json:&#34;deploymentId,omitempty&#34;` <span id="Deployment.EntryPoints" data-kind="field"> <span class="comment">// EntryPoints: The deployment&#39;s entry points.</span> </span> EntryPoints []*<a href="#EntryPoint">EntryPoint</a> `json:&#34;entryPoints,omitempty&#34;` <span id="Deployment.UpdateTime" data-kind="field"> <span class="comment">// UpdateTime: Last modified date time stamp.</span> </span> UpdateTime <a href="/builtin#string">string</a> `json:&#34;updateTime,omitempty&#34;` <span id="Deployment.ServerResponse" data-kind="field"> <span class="comment">// ServerResponse contains the HTTP response code and headers from the server.</span> </span> <a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#ServerResponse">ServerResponse</a> `json:&#34;-&#34;` <span id="Deployment.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;DeploymentConfig&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="Deployment.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;DeploymentConfig&#34;) to include in</span> </span> <span class="comment">// API requests with the JSON null value. By default, fields with empty values</span> <span class="comment">// are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>Deployment: Representation of a single script deployment. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="Deployment.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (Deployment) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L369">MarshalJSON</a> <a class="Documentation-idLink" href="#Deployment.MarshalJSON" aria-label="Go to Deployment.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#Deployment">Deployment</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="DeploymentConfig" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L375">DeploymentConfig</a> <a class="Documentation-idLink" href="#DeploymentConfig" aria-label="Go to DeploymentConfig">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type DeploymentConfig struct { <span id="DeploymentConfig.Description" data-kind="field"> <span class="comment">// Description: The description for this deployment.</span> </span> Description <a href="/builtin#string">string</a> `json:&#34;description,omitempty&#34;` <span id="DeploymentConfig.ManifestFileName" data-kind="field"> <span class="comment">// ManifestFileName: The manifest file name for this deployment.</span> </span> ManifestFileName <a href="/builtin#string">string</a> `json:&#34;manifestFileName,omitempty&#34;` <span id="DeploymentConfig.ScriptId" data-kind="field"> <span class="comment">// ScriptId: The script project&#39;s Drive ID.</span> </span> ScriptId <a href="/builtin#string">string</a> `json:&#34;scriptId,omitempty&#34;` <span id="DeploymentConfig.VersionNumber" data-kind="field"> <span class="comment">// VersionNumber: The version number on which this deployment is based.</span> </span> VersionNumber <a href="/builtin#int64">int64</a> `json:&#34;versionNumber,omitempty&#34;` <span id="DeploymentConfig.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;Description&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="DeploymentConfig.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;Description&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>DeploymentConfig: Metadata the defines how a deployment is configured. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="DeploymentConfig.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (DeploymentConfig) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L397">MarshalJSON</a> <a class="Documentation-idLink" href="#DeploymentConfig.MarshalJSON" aria-label="Go to DeploymentConfig.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#DeploymentConfig">DeploymentConfig</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="Empty" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L406">Empty</a> <a class="Documentation-idLink" href="#Empty" aria-label="Go to Empty">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type Empty struct { <span id="Empty.ServerResponse" data-kind="field"> <span class="comment">// ServerResponse contains the HTTP response code and headers from the server.</span> </span> <a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#ServerResponse">ServerResponse</a> `json:&#34;-&#34;` }</pre> </div> <p>Empty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } </p> </div><div class="Documentation-type"> <h4 tabindex="-1" id="EntryPoint" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L413">EntryPoint</a> <a class="Documentation-idLink" href="#EntryPoint" aria-label="Go to EntryPoint">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type EntryPoint struct { <span id="EntryPoint.AddOn" data-kind="field"> <span class="comment">// AddOn: Add-on properties.</span> </span> AddOn *<a href="#GoogleAppsScriptTypeAddOnEntryPoint">GoogleAppsScriptTypeAddOnEntryPoint</a> `json:&#34;addOn,omitempty&#34;` <span id="EntryPoint.EntryPointType" data-kind="field"> <span class="comment">// EntryPointType: The type of the entry point.</span> </span> <span class="comment">//</span> <span class="comment">// Possible values:</span> <span class="comment">// &#34;ENTRY_POINT_TYPE_UNSPECIFIED&#34; - An unspecified entry point.</span> <span class="comment">// &#34;WEB_APP&#34; - A web application entry point.</span> <span class="comment">// &#34;EXECUTION_API&#34; - An API executable entry point.</span> <span class="comment">// &#34;ADD_ON&#34; - An Add-On entry point.</span> EntryPointType <a href="/builtin#string">string</a> `json:&#34;entryPointType,omitempty&#34;` <span id="EntryPoint.ExecutionApi" data-kind="field"> <span class="comment">// ExecutionApi: An entry point specification for Apps Script API execution</span> </span> <span class="comment">// calls.</span> ExecutionApi *<a href="#GoogleAppsScriptTypeExecutionApiEntryPoint">GoogleAppsScriptTypeExecutionApiEntryPoint</a> `json:&#34;executionApi,omitempty&#34;` <span id="EntryPoint.WebApp" data-kind="field"> <span class="comment">// WebApp: An entry point specification for web apps.</span> </span> WebApp *<a href="#GoogleAppsScriptTypeWebAppEntryPoint">GoogleAppsScriptTypeWebAppEntryPoint</a> `json:&#34;webApp,omitempty&#34;` <span id="EntryPoint.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;AddOn&#34;) to unconditionally</span> </span> <span class="comment">// include in API requests. By default, fields with empty or default values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="EntryPoint.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;AddOn&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>EntryPoint: A configuration that defines how a deployment is accessed externally. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="EntryPoint.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (EntryPoint) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L442">MarshalJSON</a> <a class="Documentation-idLink" href="#EntryPoint.MarshalJSON" aria-label="Go to EntryPoint.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#EntryPoint">EntryPoint</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ExecuteStreamResponse" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L449">ExecuteStreamResponse</a> <a class="Documentation-idLink" href="#ExecuteStreamResponse" aria-label="Go to ExecuteStreamResponse">露</a></span> <span class="Documentation-sinceVersion"> <span class="Documentation-sinceVersionLabel">added in</span> <span class="Documentation-sinceVersionVersion">v0.6.0</span> </span> </h4> <div class="Documentation-declaration"> <pre>type ExecuteStreamResponse struct { <span id="ExecuteStreamResponse.Result" data-kind="field"> <span class="comment">// Result: The result of the execution.</span> </span> Result *<a href="#ScriptExecutionResult">ScriptExecutionResult</a> `json:&#34;result,omitempty&#34;` <span id="ExecuteStreamResponse.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;Result&#34;) to unconditionally</span> </span> <span class="comment">// include in API requests. By default, fields with empty or default values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="ExecuteStreamResponse.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;Result&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>ExecuteStreamResponse: The response for executing or debugging a function in an Apps Script project. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ExecuteStreamResponse.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (ExecuteStreamResponse) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L465">MarshalJSON</a> <a class="Documentation-idLink" href="#ExecuteStreamResponse.MarshalJSON" aria-label="Go to ExecuteStreamResponse.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> <span class="Documentation-sinceVersionLabel">added in</span> <span class="Documentation-sinceVersionVersion">v0.6.0</span> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#ExecuteStreamResponse">ExecuteStreamResponse</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ExecutionError" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L476">ExecutionError</a> <a class="Documentation-idLink" href="#ExecutionError" aria-label="Go to ExecutionError">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ExecutionError struct { <span id="ExecutionError.ErrorMessage" data-kind="field"> <span class="comment">// ErrorMessage: The error message thrown by Apps Script, usually localized</span> </span> <span class="comment">// into the user&#39;s language.</span> ErrorMessage <a href="/builtin#string">string</a> `json:&#34;errorMessage,omitempty&#34;` <span id="ExecutionError.ErrorType" data-kind="field"> <span class="comment">// ErrorType: The error type, for example `TypeError` or `ReferenceError`. If</span> </span> <span class="comment">// the error type is unavailable, this field is not included.</span> ErrorType <a href="/builtin#string">string</a> `json:&#34;errorType,omitempty&#34;` <span id="ExecutionError.ScriptStackTraceElements" data-kind="field"> <span class="comment">// ScriptStackTraceElements: An array of objects that provide a stack trace</span> </span> <span class="comment">// through the script to show where the execution failed, with the deepest call</span> <span class="comment">// first.</span> ScriptStackTraceElements []*<a href="#ScriptStackTraceElement">ScriptStackTraceElement</a> `json:&#34;scriptStackTraceElements,omitempty&#34;` <span id="ExecutionError.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;ErrorMessage&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="ExecutionError.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;ErrorMessage&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>ExecutionError: An object that provides information about the nature of an error resulting from an attempted execution of a script function using the Apps Script API. If a run call succeeds but the script function (or Apps Script itself) throws an exception, the response body&#39;s error field contains a Status object. The `Status` object&#39;s `details` field contains an array with a single one of these `ExecutionError` objects. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ExecutionError.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (ExecutionError) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L500">MarshalJSON</a> <a class="Documentation-idLink" href="#ExecutionError.MarshalJSON" aria-label="Go to ExecutionError.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#ExecutionError">ExecutionError</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ExecutionRequest" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L508">ExecutionRequest</a> <a class="Documentation-idLink" href="#ExecutionRequest" aria-label="Go to ExecutionRequest">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ExecutionRequest struct { <span id="ExecutionRequest.DevMode" data-kind="field"> <span class="comment">// DevMode: If `true` and the user is an owner of the script, the script runs</span> </span> <span class="comment">// at the most recently saved version rather than the version deployed for use</span> <span class="comment">// with the Apps Script API. Optional; default is `false`.</span> DevMode <a href="/builtin#bool">bool</a> `json:&#34;devMode,omitempty&#34;` <span id="ExecutionRequest.Function" data-kind="field"> <span class="comment">// Function: The name of the function to execute in the given script. The name</span> </span> <span class="comment">// does not include parentheses or parameters. It can reference a function in</span> <span class="comment">// an included library such as `Library.libFunction1`.</span> Function <a href="/builtin#string">string</a> `json:&#34;function,omitempty&#34;` <span id="ExecutionRequest.Parameters" data-kind="field"> <span class="comment">// Parameters: The parameters to be passed to the function being executed. The</span> </span> <span class="comment">// object type for each parameter should match the expected type in Apps</span> <span class="comment">// Script. Parameters cannot be Apps Script-specific object types (such as a</span> <span class="comment">// `Document` or a `Calendar`); they can only be primitive types such as</span> <span class="comment">// `string`, `number`, `array`, `object`, or `boolean`. Optional.</span> Parameters []interface{} `json:&#34;parameters,omitempty&#34;` <span id="ExecutionRequest.SessionState" data-kind="field"> <span class="comment">// SessionState: *Deprecated*. For use with Android add-ons only. An ID that</span> </span> <span class="comment">// represents the user&#39;s current session in the Android app for Google Docs or</span> <span class="comment">// Sheets, included as extra data in the Intent</span> <span class="comment">// (<a href="https://developer.android.com/guide/components/intents-filters.html">https://developer.android.com/guide/components/intents-filters.html</a>) that</span> <span class="comment">// launches the add-on. When an Android add-on is run with a session state, it</span> <span class="comment">// gains the privileges of a bound</span> <span class="comment">// (<a href="https://developers.google.com/apps-script/guides/bound">https://developers.google.com/apps-script/guides/bound</a>) script鈥攖hat is,</span> <span class="comment">// it can access information like the user&#39;s current cursor position (in Docs)</span> <span class="comment">// or selected cell (in Sheets). To retrieve the state, call</span> <span class="comment">// `Intent.getStringExtra(&#34;com.google.android.apps.docs.addons.SessionState&#34;)`.</span> <span class="comment">// Optional.</span> SessionState <a href="/builtin#string">string</a> `json:&#34;sessionState,omitempty&#34;` <span id="ExecutionRequest.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;DevMode&#34;) to unconditionally</span> </span> <span class="comment">// include in API requests. By default, fields with empty or default values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="ExecutionRequest.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;DevMode&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>ExecutionRequest: A request to run the function in a script. The script is identified by the specified `script_id`. Executing a function on a script returns results based on the implementation of the script. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ExecutionRequest.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (ExecutionRequest) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L548">MarshalJSON</a> <a class="Documentation-idLink" href="#ExecutionRequest.MarshalJSON" aria-label="Go to ExecutionRequest.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#ExecutionRequest">ExecutionRequest</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ExecutionResponse" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L557">ExecutionResponse</a> <a class="Documentation-idLink" href="#ExecutionResponse" aria-label="Go to ExecutionResponse">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ExecutionResponse struct { <span id="ExecutionResponse.Result" data-kind="field"> <span class="comment">// Result: The return value of the script function. The type matches the object</span> </span> <span class="comment">// type returned in Apps Script. Functions called using the Apps Script API</span> <span class="comment">// cannot return Apps Script-specific objects (such as a `Document` or a</span> <span class="comment">// `Calendar`); they can only return primitive types such as a `string`,</span> <span class="comment">// `number`, `array`, `object`, or `boolean`.</span> Result interface{} `json:&#34;result,omitempty&#34;` <span id="ExecutionResponse.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;Result&#34;) to unconditionally</span> </span> <span class="comment">// include in API requests. By default, fields with empty or default values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="ExecutionResponse.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;Result&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>ExecutionResponse: An object that provides the return value of a function executed using the Apps Script API. If the script function returns successfully, the response body&#39;s response field contains this `ExecutionResponse` object. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ExecutionResponse.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (ExecutionResponse) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L577">MarshalJSON</a> <a class="Documentation-idLink" href="#ExecutionResponse.MarshalJSON" aria-label="Go to ExecutionResponse.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#ExecutionResponse">ExecutionResponse</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="File" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L586">File</a> <a class="Documentation-idLink" href="#File" aria-label="Go to File">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type File struct { <span id="File.CreateTime" data-kind="field"> <span class="comment">// CreateTime: Creation date timestamp. This read-only field is only visible to</span> </span> <span class="comment">// users who have WRITER permission for the script project.</span> CreateTime <a href="/builtin#string">string</a> `json:&#34;createTime,omitempty&#34;` <span id="File.FunctionSet" data-kind="field"> <span class="comment">// FunctionSet: The defined set of functions in the script file, if any.</span> </span> FunctionSet *<a href="#GoogleAppsScriptTypeFunctionSet">GoogleAppsScriptTypeFunctionSet</a> `json:&#34;functionSet,omitempty&#34;` <span id="File.LastModifyUser" data-kind="field"> <span class="comment">// LastModifyUser: The user who modified the file most recently. This read-only</span> </span> <span class="comment">// field is only visible to users who have WRITER permission for the script</span> <span class="comment">// project.</span> LastModifyUser *<a href="#GoogleAppsScriptTypeUser">GoogleAppsScriptTypeUser</a> `json:&#34;lastModifyUser,omitempty&#34;` <span id="File.Name" data-kind="field"> <span class="comment">// Name: The name of the file. The file extension is not part of the file name,</span> </span> <span class="comment">// which can be identified from the type field.</span> Name <a href="/builtin#string">string</a> `json:&#34;name,omitempty&#34;` <span id="File.Source" data-kind="field"> <span class="comment">// Source: The file content.</span> </span> Source <a href="/builtin#string">string</a> `json:&#34;source,omitempty&#34;` <span id="File.Type" data-kind="field"> <span class="comment">// Type: The type of the file.</span> </span> <span class="comment">//</span> <span class="comment">// Possible values:</span> <span class="comment">// &#34;ENUM_TYPE_UNSPECIFIED&#34; - Undetermined file type; never actually used.</span> <span class="comment">// &#34;SERVER_JS&#34; - An Apps Script server-side code file.</span> <span class="comment">// &#34;HTML&#34; - A file containing client-side HTML.</span> <span class="comment">// &#34;JSON&#34; - A file in JSON format. This type is only used for the script</span> <span class="comment">// project&#39;s manifest. The manifest file content must match the structure of a</span> <span class="comment">// valid [ScriptManifest](/apps-script/concepts/manifests)</span> Type <a href="/builtin#string">string</a> `json:&#34;type,omitempty&#34;` <span id="File.UpdateTime" data-kind="field"> <span class="comment">// UpdateTime: Last modified date timestamp. This read-only field is only</span> </span> <span class="comment">// visible to users who have WRITER permission for the script project.</span> UpdateTime <a href="/builtin#string">string</a> `json:&#34;updateTime,omitempty&#34;` <span id="File.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;CreateTime&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="File.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;CreateTime&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>File: An individual file within a script project. A file is a third-party source code created by one or more developers. It can be a server-side JS code, HTML, or a configuration file. Each script project can contain multiple files. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="File.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (File) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L627">MarshalJSON</a> <a class="Documentation-idLink" href="#File.MarshalJSON" aria-label="Go to File.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#File">File</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="GoogleAppsScriptTypeAddOnEntryPoint" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L633">GoogleAppsScriptTypeAddOnEntryPoint</a> <a class="Documentation-idLink" href="#GoogleAppsScriptTypeAddOnEntryPoint" aria-label="Go to GoogleAppsScriptTypeAddOnEntryPoint">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type GoogleAppsScriptTypeAddOnEntryPoint struct { <span id="GoogleAppsScriptTypeAddOnEntryPoint.AddOnType" data-kind="field"> <span class="comment">// AddOnType: The add-on&#39;s required list of supported container types.</span> </span> <span class="comment">//</span> <span class="comment">// Possible values:</span> <span class="comment">// &#34;UNKNOWN_ADDON_TYPE&#34; - Default value, unknown add-on type.</span> <span class="comment">// &#34;GMAIL&#34; - Add-on type for Gmail.</span> <span class="comment">// &#34;DATA_STUDIO&#34; - Add-on type for Data Studio.</span> AddOnType <a href="/builtin#string">string</a> `json:&#34;addOnType,omitempty&#34;` <span id="GoogleAppsScriptTypeAddOnEntryPoint.Description" data-kind="field"> <span class="comment">// Description: The add-on&#39;s optional description.</span> </span> Description <a href="/builtin#string">string</a> `json:&#34;description,omitempty&#34;` <span id="GoogleAppsScriptTypeAddOnEntryPoint.HelpUrl" data-kind="field"> <span class="comment">// HelpUrl: The add-on&#39;s optional help URL.</span> </span> HelpUrl <a href="/builtin#string">string</a> `json:&#34;helpUrl,omitempty&#34;` <span id="GoogleAppsScriptTypeAddOnEntryPoint.PostInstallTipUrl" data-kind="field"> <span class="comment">// PostInstallTipUrl: The add-on&#39;s required post install tip URL.</span> </span> PostInstallTipUrl <a href="/builtin#string">string</a> `json:&#34;postInstallTipUrl,omitempty&#34;` <span id="GoogleAppsScriptTypeAddOnEntryPoint.ReportIssueUrl" data-kind="field"> <span class="comment">// ReportIssueUrl: The add-on&#39;s optional report issue URL.</span> </span> ReportIssueUrl <a href="/builtin#string">string</a> `json:&#34;reportIssueUrl,omitempty&#34;` <span id="GoogleAppsScriptTypeAddOnEntryPoint.Title" data-kind="field"> <span class="comment">// Title: The add-on&#39;s required title.</span> </span> Title <a href="/builtin#string">string</a> `json:&#34;title,omitempty&#34;` <span id="GoogleAppsScriptTypeAddOnEntryPoint.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;AddOnType&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="GoogleAppsScriptTypeAddOnEntryPoint.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;AddOnType&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>GoogleAppsScriptTypeAddOnEntryPoint: An add-on entry point. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="GoogleAppsScriptTypeAddOnEntryPoint.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (GoogleAppsScriptTypeAddOnEntryPoint) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L664">MarshalJSON</a> <a class="Documentation-idLink" href="#GoogleAppsScriptTypeAddOnEntryPoint.MarshalJSON" aria-label="Go to GoogleAppsScriptTypeAddOnEntryPoint.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#GoogleAppsScriptTypeAddOnEntryPoint">GoogleAppsScriptTypeAddOnEntryPoint</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="GoogleAppsScriptTypeExecutionApiConfig" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L671">GoogleAppsScriptTypeExecutionApiConfig</a> <a class="Documentation-idLink" href="#GoogleAppsScriptTypeExecutionApiConfig" aria-label="Go to GoogleAppsScriptTypeExecutionApiConfig">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type GoogleAppsScriptTypeExecutionApiConfig struct { <span id="GoogleAppsScriptTypeExecutionApiConfig.Access" data-kind="field"> <span class="comment">// Access: Who has permission to run the API executable.</span> </span> <span class="comment">//</span> <span class="comment">// Possible values:</span> <span class="comment">// &#34;UNKNOWN_ACCESS&#34; - Default value, should not be used.</span> <span class="comment">// &#34;MYSELF&#34; - Only the user who deployed the web app or executable can access</span> <span class="comment">// it. Note that this is not necessarily the owner of the script project.</span> <span class="comment">// &#34;DOMAIN&#34; - Only users in the same domain as the user who deployed the web</span> <span class="comment">// app or executable can access it.</span> <span class="comment">// &#34;ANYONE&#34; - Any logged in user can access the web app or executable.</span> <span class="comment">// &#34;ANYONE_ANONYMOUS&#34; - Any user, logged in or not, can access the web app or</span> <span class="comment">// executable.</span> Access <a href="/builtin#string">string</a> `json:&#34;access,omitempty&#34;` <span id="GoogleAppsScriptTypeExecutionApiConfig.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;Access&#34;) to unconditionally</span> </span> <span class="comment">// include in API requests. By default, fields with empty or default values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="GoogleAppsScriptTypeExecutionApiConfig.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;Access&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>GoogleAppsScriptTypeExecutionApiConfig: API executable entry point configuration. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="GoogleAppsScriptTypeExecutionApiConfig.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (GoogleAppsScriptTypeExecutionApiConfig) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L697">MarshalJSON</a> <a class="Documentation-idLink" href="#GoogleAppsScriptTypeExecutionApiConfig.MarshalJSON" aria-label="Go to GoogleAppsScriptTypeExecutionApiConfig.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#GoogleAppsScriptTypeExecutionApiConfig">GoogleAppsScriptTypeExecutionApiConfig</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="GoogleAppsScriptTypeExecutionApiEntryPoint" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L703">GoogleAppsScriptTypeExecutionApiEntryPoint</a> <a class="Documentation-idLink" href="#GoogleAppsScriptTypeExecutionApiEntryPoint" aria-label="Go to GoogleAppsScriptTypeExecutionApiEntryPoint">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type GoogleAppsScriptTypeExecutionApiEntryPoint struct { <span id="GoogleAppsScriptTypeExecutionApiEntryPoint.EntryPointConfig" data-kind="field"> <span class="comment">// EntryPointConfig: The entry point&#39;s configuration.</span> </span> EntryPointConfig *<a href="#GoogleAppsScriptTypeExecutionApiConfig">GoogleAppsScriptTypeExecutionApiConfig</a> `json:&#34;entryPointConfig,omitempty&#34;` <span id="GoogleAppsScriptTypeExecutionApiEntryPoint.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;EntryPointConfig&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="GoogleAppsScriptTypeExecutionApiEntryPoint.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;EntryPointConfig&#34;) to include in</span> </span> <span class="comment">// API requests with the JSON null value. By default, fields with empty values</span> <span class="comment">// are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>GoogleAppsScriptTypeExecutionApiEntryPoint: An API executable entry point. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="GoogleAppsScriptTypeExecutionApiEntryPoint.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (GoogleAppsScriptTypeExecutionApiEntryPoint) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L719">MarshalJSON</a> <a class="Documentation-idLink" href="#GoogleAppsScriptTypeExecutionApiEntryPoint.MarshalJSON" aria-label="Go to GoogleAppsScriptTypeExecutionApiEntryPoint.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#GoogleAppsScriptTypeExecutionApiEntryPoint">GoogleAppsScriptTypeExecutionApiEntryPoint</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="GoogleAppsScriptTypeFunction" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L725">GoogleAppsScriptTypeFunction</a> <a class="Documentation-idLink" href="#GoogleAppsScriptTypeFunction" aria-label="Go to GoogleAppsScriptTypeFunction">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type GoogleAppsScriptTypeFunction struct { <span id="GoogleAppsScriptTypeFunction.Name" data-kind="field"> <span class="comment">// Name: The function name in the script project.</span> </span> Name <a href="/builtin#string">string</a> `json:&#34;name,omitempty&#34;` <span id="GoogleAppsScriptTypeFunction.Parameters" data-kind="field"> <span class="comment">// Parameters: The ordered list of parameter names of the function in the</span> </span> <span class="comment">// script project.</span> Parameters []<a href="/builtin#string">string</a> `json:&#34;parameters,omitempty&#34;` <span id="GoogleAppsScriptTypeFunction.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;Name&#34;) to unconditionally</span> </span> <span class="comment">// include in API requests. By default, fields with empty or default values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="GoogleAppsScriptTypeFunction.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;Name&#34;) to include in API requests</span> </span> <span class="comment">// with the JSON null value. By default, fields with empty values are omitted</span> <span class="comment">// from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>GoogleAppsScriptTypeFunction: Represents a function in a script project. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="GoogleAppsScriptTypeFunction.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (GoogleAppsScriptTypeFunction) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L744">MarshalJSON</a> <a class="Documentation-idLink" href="#GoogleAppsScriptTypeFunction.MarshalJSON" aria-label="Go to GoogleAppsScriptTypeFunction.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#GoogleAppsScriptTypeFunction">GoogleAppsScriptTypeFunction</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="GoogleAppsScriptTypeFunctionSet" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L751">GoogleAppsScriptTypeFunctionSet</a> <a class="Documentation-idLink" href="#GoogleAppsScriptTypeFunctionSet" aria-label="Go to GoogleAppsScriptTypeFunctionSet">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type GoogleAppsScriptTypeFunctionSet struct { <span id="GoogleAppsScriptTypeFunctionSet.Values" data-kind="field"> <span class="comment">// Values: A list of functions composing the set.</span> </span> Values []*<a href="#GoogleAppsScriptTypeFunction">GoogleAppsScriptTypeFunction</a> `json:&#34;values,omitempty&#34;` <span id="GoogleAppsScriptTypeFunctionSet.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;Values&#34;) to unconditionally</span> </span> <span class="comment">// include in API requests. By default, fields with empty or default values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="GoogleAppsScriptTypeFunctionSet.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;Values&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>GoogleAppsScriptTypeFunctionSet: A set of functions. No duplicates are permitted. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="GoogleAppsScriptTypeFunctionSet.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (GoogleAppsScriptTypeFunctionSet) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L767">MarshalJSON</a> <a class="Documentation-idLink" href="#GoogleAppsScriptTypeFunctionSet.MarshalJSON" aria-label="Go to GoogleAppsScriptTypeFunctionSet.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#GoogleAppsScriptTypeFunctionSet">GoogleAppsScriptTypeFunctionSet</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="GoogleAppsScriptTypeProcess" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L777">GoogleAppsScriptTypeProcess</a> <a class="Documentation-idLink" href="#GoogleAppsScriptTypeProcess" aria-label="Go to GoogleAppsScriptTypeProcess">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type GoogleAppsScriptTypeProcess struct { <span id="GoogleAppsScriptTypeProcess.Duration" data-kind="field"> <span class="comment">// Duration: Duration the execution spent executing.</span> </span> Duration <a href="/builtin#string">string</a> `json:&#34;duration,omitempty&#34;` <span id="GoogleAppsScriptTypeProcess.FunctionName" data-kind="field"> <span class="comment">// FunctionName: Name of the function the started the execution.</span> </span> FunctionName <a href="/builtin#string">string</a> `json:&#34;functionName,omitempty&#34;` <span id="GoogleAppsScriptTypeProcess.ProcessStatus" data-kind="field"> <span class="comment">// ProcessStatus: The executions status.</span> </span> <span class="comment">//</span> <span class="comment">// Possible values:</span> <span class="comment">// &#34;PROCESS_STATUS_UNSPECIFIED&#34; - Unspecified status.</span> <span class="comment">// &#34;RUNNING&#34; - The process is currently running.</span> <span class="comment">// &#34;PAUSED&#34; - The process has paused.</span> <span class="comment">// &#34;COMPLETED&#34; - The process has completed.</span> <span class="comment">// &#34;CANCELED&#34; - The process was cancelled.</span> <span class="comment">// &#34;FAILED&#34; - The process failed.</span> <span class="comment">// &#34;TIMED_OUT&#34; - The process timed out.</span> <span class="comment">// &#34;UNKNOWN&#34; - Process status unknown.</span> <span class="comment">// &#34;DELAYED&#34; - The process is delayed, waiting for quota.</span> <span class="comment">// &#34;EXECUTION_DISABLED&#34; - AppsScript executions are disabled by Admin.</span> ProcessStatus <a href="/builtin#string">string</a> `json:&#34;processStatus,omitempty&#34;` <span id="GoogleAppsScriptTypeProcess.ProcessType" data-kind="field"> <span class="comment">// ProcessType: The executions type.</span> </span> <span class="comment">//</span> <span class="comment">// Possible values:</span> <span class="comment">// &#34;PROCESS_TYPE_UNSPECIFIED&#34; - Unspecified type.</span> <span class="comment">// &#34;ADD_ON&#34; - The process was started from an add-on entry point.</span> <span class="comment">// &#34;EXECUTION_API&#34; - The process was started using the Apps Script API.</span> <span class="comment">// &#34;TIME_DRIVEN&#34; - The process was started from a time-based trigger.</span> <span class="comment">// &#34;TRIGGER&#34; - The process was started from an event-based trigger.</span> <span class="comment">// &#34;WEBAPP&#34; - The process was started from a web app entry point.</span> <span class="comment">// &#34;EDITOR&#34; - The process was started using the Apps Script IDE.</span> <span class="comment">// &#34;SIMPLE_TRIGGER&#34; - The process was started from a G Suite simple trigger.</span> <span class="comment">// &#34;MENU&#34; - The process was started from a G Suite menu item.</span> <span class="comment">// &#34;BATCH_TASK&#34; - The process was started as a task in a batch job.</span> ProcessType <a href="/builtin#string">string</a> `json:&#34;processType,omitempty&#34;` <span id="GoogleAppsScriptTypeProcess.ProjectName" data-kind="field"> <span class="comment">// ProjectName: Name of the script being executed.</span> </span> ProjectName <a href="/builtin#string">string</a> `json:&#34;projectName,omitempty&#34;` <span id="GoogleAppsScriptTypeProcess.RuntimeVersion" data-kind="field"> <span class="comment">// RuntimeVersion: Which version of maestro to use to execute the script.</span> </span> <span class="comment">//</span> <span class="comment">// Possible values:</span> <span class="comment">// &#34;RUNTIME_VERSION_UNSPECIFIED&#34; - Runtime version unset / unknown.</span> <span class="comment">// &#34;DEPRECATED_ES5&#34; - Legacy rhino version of the Apps script runtime</span> <span class="comment">// &#34;V8&#34; - Current default V8 version of the apps script runtime.</span> RuntimeVersion <a href="/builtin#string">string</a> `json:&#34;runtimeVersion,omitempty&#34;` <span id="GoogleAppsScriptTypeProcess.StartTime" data-kind="field"> <span class="comment">// StartTime: Time the execution started.</span> </span> StartTime <a href="/builtin#string">string</a> `json:&#34;startTime,omitempty&#34;` <span id="GoogleAppsScriptTypeProcess.UserAccessLevel" data-kind="field"> <span class="comment">// UserAccessLevel: The executing users access level to the script.</span> </span> <span class="comment">//</span> <span class="comment">// Possible values:</span> <span class="comment">// &#34;USER_ACCESS_LEVEL_UNSPECIFIED&#34; - User access level unspecified</span> <span class="comment">// &#34;NONE&#34; - The user has no access.</span> <span class="comment">// &#34;READ&#34; - The user has read-only access.</span> <span class="comment">// &#34;WRITE&#34; - The user has write access.</span> <span class="comment">// &#34;OWNER&#34; - The user is an owner.</span> UserAccessLevel <a href="/builtin#string">string</a> `json:&#34;userAccessLevel,omitempty&#34;` <span id="GoogleAppsScriptTypeProcess.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;Duration&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="GoogleAppsScriptTypeProcess.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;Duration&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>GoogleAppsScriptTypeProcess: Representation of a single script process execution that was started from the script editor, a trigger, an application, or using the Apps Script API. This is distinct from the `Operation` resource, which only represents executions started via the Apps Script API. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="GoogleAppsScriptTypeProcess.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (GoogleAppsScriptTypeProcess) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L843">MarshalJSON</a> <a class="Documentation-idLink" href="#GoogleAppsScriptTypeProcess.MarshalJSON" aria-label="Go to GoogleAppsScriptTypeProcess.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#GoogleAppsScriptTypeProcess">GoogleAppsScriptTypeProcess</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="GoogleAppsScriptTypeUser" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L849">GoogleAppsScriptTypeUser</a> <a class="Documentation-idLink" href="#GoogleAppsScriptTypeUser" aria-label="Go to GoogleAppsScriptTypeUser">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type GoogleAppsScriptTypeUser struct { <span id="GoogleAppsScriptTypeUser.Domain" data-kind="field"> <span class="comment">// Domain: The user&#39;s domain.</span> </span> Domain <a href="/builtin#string">string</a> `json:&#34;domain,omitempty&#34;` <span id="GoogleAppsScriptTypeUser.Email" data-kind="field"> <span class="comment">// Email: The user&#39;s identifying email address.</span> </span> Email <a href="/builtin#string">string</a> `json:&#34;email,omitempty&#34;` <span id="GoogleAppsScriptTypeUser.Name" data-kind="field"> <span class="comment">// Name: The user&#39;s display name.</span> </span> Name <a href="/builtin#string">string</a> `json:&#34;name,omitempty&#34;` <span id="GoogleAppsScriptTypeUser.PhotoUrl" data-kind="field"> <span class="comment">// PhotoUrl: The user&#39;s photo.</span> </span> PhotoUrl <a href="/builtin#string">string</a> `json:&#34;photoUrl,omitempty&#34;` <span id="GoogleAppsScriptTypeUser.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;Domain&#34;) to unconditionally</span> </span> <span class="comment">// include in API requests. By default, fields with empty or default values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="GoogleAppsScriptTypeUser.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;Domain&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>GoogleAppsScriptTypeUser: A simple user profile resource. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="GoogleAppsScriptTypeUser.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (GoogleAppsScriptTypeUser) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L871">MarshalJSON</a> <a class="Documentation-idLink" href="#GoogleAppsScriptTypeUser.MarshalJSON" aria-label="Go to GoogleAppsScriptTypeUser.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#GoogleAppsScriptTypeUser">GoogleAppsScriptTypeUser</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="GoogleAppsScriptTypeWebAppConfig" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L877">GoogleAppsScriptTypeWebAppConfig</a> <a class="Documentation-idLink" href="#GoogleAppsScriptTypeWebAppConfig" aria-label="Go to GoogleAppsScriptTypeWebAppConfig">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type GoogleAppsScriptTypeWebAppConfig struct { <span id="GoogleAppsScriptTypeWebAppConfig.Access" data-kind="field"> <span class="comment">// Access: Who has permission to run the web app.</span> </span> <span class="comment">//</span> <span class="comment">// Possible values:</span> <span class="comment">// &#34;UNKNOWN_ACCESS&#34; - Default value, should not be used.</span> <span class="comment">// &#34;MYSELF&#34; - Only the user who deployed the web app or executable can access</span> <span class="comment">// it. Note that this is not necessarily the owner of the script project.</span> <span class="comment">// &#34;DOMAIN&#34; - Only users in the same domain as the user who deployed the web</span> <span class="comment">// app or executable can access it.</span> <span class="comment">// &#34;ANYONE&#34; - Any logged in user can access the web app or executable.</span> <span class="comment">// &#34;ANYONE_ANONYMOUS&#34; - Any user, logged in or not, can access the web app or</span> <span class="comment">// executable.</span> Access <a href="/builtin#string">string</a> `json:&#34;access,omitempty&#34;` <span id="GoogleAppsScriptTypeWebAppConfig.ExecuteAs" data-kind="field"> <span class="comment">// ExecuteAs: Who to execute the web app as.</span> </span> <span class="comment">//</span> <span class="comment">// Possible values:</span> <span class="comment">// &#34;UNKNOWN_EXECUTE_AS&#34; - Default value, should not be used.</span> <span class="comment">// &#34;USER_ACCESSING&#34; - The script runs as the user accessing the web app.</span> <span class="comment">// &#34;USER_DEPLOYING&#34; - The script runs as the user who deployed the web app.</span> <span class="comment">// Note that this is not necessarily the owner of the script project.</span> ExecuteAs <a href="/builtin#string">string</a> `json:&#34;executeAs,omitempty&#34;` <span id="GoogleAppsScriptTypeWebAppConfig.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;Access&#34;) to unconditionally</span> </span> <span class="comment">// include in API requests. By default, fields with empty or default values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="GoogleAppsScriptTypeWebAppConfig.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;Access&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>GoogleAppsScriptTypeWebAppConfig: Web app entry point configuration. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="GoogleAppsScriptTypeWebAppConfig.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (GoogleAppsScriptTypeWebAppConfig) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L911">MarshalJSON</a> <a class="Documentation-idLink" href="#GoogleAppsScriptTypeWebAppConfig.MarshalJSON" aria-label="Go to GoogleAppsScriptTypeWebAppConfig.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#GoogleAppsScriptTypeWebAppConfig">GoogleAppsScriptTypeWebAppConfig</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="GoogleAppsScriptTypeWebAppEntryPoint" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L917">GoogleAppsScriptTypeWebAppEntryPoint</a> <a class="Documentation-idLink" href="#GoogleAppsScriptTypeWebAppEntryPoint" aria-label="Go to GoogleAppsScriptTypeWebAppEntryPoint">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type GoogleAppsScriptTypeWebAppEntryPoint struct { <span id="GoogleAppsScriptTypeWebAppEntryPoint.EntryPointConfig" data-kind="field"> <span class="comment">// EntryPointConfig: The entry point&#39;s configuration.</span> </span> EntryPointConfig *<a href="#GoogleAppsScriptTypeWebAppConfig">GoogleAppsScriptTypeWebAppConfig</a> `json:&#34;entryPointConfig,omitempty&#34;` <span id="GoogleAppsScriptTypeWebAppEntryPoint.Url" data-kind="field"> <span class="comment">// Url: The URL for the web application.</span> </span> Url <a href="/builtin#string">string</a> `json:&#34;url,omitempty&#34;` <span id="GoogleAppsScriptTypeWebAppEntryPoint.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;EntryPointConfig&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="GoogleAppsScriptTypeWebAppEntryPoint.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;EntryPointConfig&#34;) to include in</span> </span> <span class="comment">// API requests with the JSON null value. By default, fields with empty values</span> <span class="comment">// are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>GoogleAppsScriptTypeWebAppEntryPoint: A web application entry point. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="GoogleAppsScriptTypeWebAppEntryPoint.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (GoogleAppsScriptTypeWebAppEntryPoint) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L935">MarshalJSON</a> <a class="Documentation-idLink" href="#GoogleAppsScriptTypeWebAppEntryPoint.MarshalJSON" aria-label="Go to GoogleAppsScriptTypeWebAppEntryPoint.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#GoogleAppsScriptTypeWebAppEntryPoint">GoogleAppsScriptTypeWebAppEntryPoint</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ListDeploymentsResponse" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L942">ListDeploymentsResponse</a> <a class="Documentation-idLink" href="#ListDeploymentsResponse" aria-label="Go to ListDeploymentsResponse">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ListDeploymentsResponse struct { <span id="ListDeploymentsResponse.Deployments" data-kind="field"> <span class="comment">// Deployments: The list of deployments.</span> </span> Deployments []*<a href="#Deployment">Deployment</a> `json:&#34;deployments,omitempty&#34;` <span id="ListDeploymentsResponse.NextPageToken" data-kind="field"> <span class="comment">// NextPageToken: The token that can be used in the next call to get the next</span> </span> <span class="comment">// page of results.</span> NextPageToken <a href="/builtin#string">string</a> `json:&#34;nextPageToken,omitempty&#34;` <span id="ListDeploymentsResponse.ServerResponse" data-kind="field"> <span class="comment">// ServerResponse contains the HTTP response code and headers from the server.</span> </span> <a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#ServerResponse">ServerResponse</a> `json:&#34;-&#34;` <span id="ListDeploymentsResponse.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;Deployments&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="ListDeploymentsResponse.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;Deployments&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>ListDeploymentsResponse: Response with the list of deployments for the specified Apps Script project. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ListDeploymentsResponse.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (ListDeploymentsResponse) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L964">MarshalJSON</a> <a class="Documentation-idLink" href="#ListDeploymentsResponse.MarshalJSON" aria-label="Go to ListDeploymentsResponse.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#ListDeploymentsResponse">ListDeploymentsResponse</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ListScriptProcessesResponse" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L970">ListScriptProcessesResponse</a> <a class="Documentation-idLink" href="#ListScriptProcessesResponse" aria-label="Go to ListScriptProcessesResponse">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ListScriptProcessesResponse struct { <span id="ListScriptProcessesResponse.NextPageToken" data-kind="field"> <span class="comment">// NextPageToken: Token for the next page of results. If empty, there are no</span> </span> <span class="comment">// more pages remaining.</span> NextPageToken <a href="/builtin#string">string</a> `json:&#34;nextPageToken,omitempty&#34;` <span id="ListScriptProcessesResponse.Processes" data-kind="field"> <span class="comment">// Processes: List of processes matching request parameters.</span> </span> Processes []*<a href="#GoogleAppsScriptTypeProcess">GoogleAppsScriptTypeProcess</a> `json:&#34;processes,omitempty&#34;` <span id="ListScriptProcessesResponse.ServerResponse" data-kind="field"> <span class="comment">// ServerResponse contains the HTTP response code and headers from the server.</span> </span> <a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#ServerResponse">ServerResponse</a> `json:&#34;-&#34;` <span id="ListScriptProcessesResponse.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;NextPageToken&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="ListScriptProcessesResponse.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;NextPageToken&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>ListScriptProcessesResponse: Response with the list of Process resources. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ListScriptProcessesResponse.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (ListScriptProcessesResponse) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L992">MarshalJSON</a> <a class="Documentation-idLink" href="#ListScriptProcessesResponse.MarshalJSON" aria-label="Go to ListScriptProcessesResponse.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#ListScriptProcessesResponse">ListScriptProcessesResponse</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ListUserProcessesResponse" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L998">ListUserProcessesResponse</a> <a class="Documentation-idLink" href="#ListUserProcessesResponse" aria-label="Go to ListUserProcessesResponse">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ListUserProcessesResponse struct { <span id="ListUserProcessesResponse.NextPageToken" data-kind="field"> <span class="comment">// NextPageToken: Token for the next page of results. If empty, there are no</span> </span> <span class="comment">// more pages remaining.</span> NextPageToken <a href="/builtin#string">string</a> `json:&#34;nextPageToken,omitempty&#34;` <span id="ListUserProcessesResponse.Processes" data-kind="field"> <span class="comment">// Processes: List of processes matching request parameters.</span> </span> Processes []*<a href="#GoogleAppsScriptTypeProcess">GoogleAppsScriptTypeProcess</a> `json:&#34;processes,omitempty&#34;` <span id="ListUserProcessesResponse.ServerResponse" data-kind="field"> <span class="comment">// ServerResponse contains the HTTP response code and headers from the server.</span> </span> <a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#ServerResponse">ServerResponse</a> `json:&#34;-&#34;` <span id="ListUserProcessesResponse.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;NextPageToken&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="ListUserProcessesResponse.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;NextPageToken&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>ListUserProcessesResponse: Response with the list of Process resources. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ListUserProcessesResponse.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (ListUserProcessesResponse) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1020">MarshalJSON</a> <a class="Documentation-idLink" href="#ListUserProcessesResponse.MarshalJSON" aria-label="Go to ListUserProcessesResponse.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#ListUserProcessesResponse">ListUserProcessesResponse</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ListValue" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1026">ListValue</a> <a class="Documentation-idLink" href="#ListValue" aria-label="Go to ListValue">露</a></span> <span class="Documentation-sinceVersion"> <span class="Documentation-sinceVersionLabel">added in</span> <span class="Documentation-sinceVersionVersion">v0.6.0</span> </span> </h4> <div class="Documentation-declaration"> <pre>type ListValue struct { <span id="ListValue.Values" data-kind="field"> <span class="comment">// Values: Repeated field of dynamically typed values.</span> </span> Values []*<a href="#Value">Value</a> `json:&#34;values,omitempty&#34;` <span id="ListValue.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;Values&#34;) to unconditionally</span> </span> <span class="comment">// include in API requests. By default, fields with empty or default values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="ListValue.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;Values&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>ListValue: `ListValue` is a wrapper around a repeated field of values. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ListValue.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (ListValue) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1042">MarshalJSON</a> <a class="Documentation-idLink" href="#ListValue.MarshalJSON" aria-label="Go to ListValue.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> <span class="Documentation-sinceVersionLabel">added in</span> <span class="Documentation-sinceVersionVersion">v0.6.0</span> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#ListValue">ListValue</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ListVersionsResponse" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1049">ListVersionsResponse</a> <a class="Documentation-idLink" href="#ListVersionsResponse" aria-label="Go to ListVersionsResponse">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ListVersionsResponse struct { <span id="ListVersionsResponse.NextPageToken" data-kind="field"> <span class="comment">// NextPageToken: The token use to fetch the next page of records. if not exist</span> </span> <span class="comment">// in the response, that means no more versions to list.</span> NextPageToken <a href="/builtin#string">string</a> `json:&#34;nextPageToken,omitempty&#34;` <span id="ListVersionsResponse.Versions" data-kind="field"> <span class="comment">// Versions: The list of versions.</span> </span> Versions []*<a href="#Version">Version</a> `json:&#34;versions,omitempty&#34;` <span id="ListVersionsResponse.ServerResponse" data-kind="field"> <span class="comment">// ServerResponse contains the HTTP response code and headers from the server.</span> </span> <a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#ServerResponse">ServerResponse</a> `json:&#34;-&#34;` <span id="ListVersionsResponse.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;NextPageToken&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="ListVersionsResponse.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;NextPageToken&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>ListVersionsResponse: Response with the list of the versions for the specified script project. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ListVersionsResponse.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (ListVersionsResponse) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1071">MarshalJSON</a> <a class="Documentation-idLink" href="#ListVersionsResponse.MarshalJSON" aria-label="Go to ListVersionsResponse.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#ListVersionsResponse">ListVersionsResponse</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="Metrics" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1078">Metrics</a> <a class="Documentation-idLink" href="#Metrics" aria-label="Go to Metrics">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type Metrics struct { <span id="Metrics.ActiveUsers" data-kind="field"> <span class="comment">// ActiveUsers: Number of active users.</span> </span> ActiveUsers []*<a href="#MetricsValue">MetricsValue</a> `json:&#34;activeUsers,omitempty&#34;` <span id="Metrics.FailedExecutions" data-kind="field"> <span class="comment">// FailedExecutions: Number of failed executions.</span> </span> FailedExecutions []*<a href="#MetricsValue">MetricsValue</a> `json:&#34;failedExecutions,omitempty&#34;` <span id="Metrics.TotalExecutions" data-kind="field"> <span class="comment">// TotalExecutions: Number of total executions.</span> </span> TotalExecutions []*<a href="#MetricsValue">MetricsValue</a> `json:&#34;totalExecutions,omitempty&#34;` <span id="Metrics.ServerResponse" data-kind="field"> <span class="comment">// ServerResponse contains the HTTP response code and headers from the server.</span> </span> <a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#ServerResponse">ServerResponse</a> `json:&#34;-&#34;` <span id="Metrics.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;ActiveUsers&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="Metrics.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;ActiveUsers&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>Metrics: Resource containing usage stats for a given script, based on the supplied filter and mask present in the request. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="Metrics.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (Metrics) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1101">MarshalJSON</a> <a class="Documentation-idLink" href="#Metrics.MarshalJSON" aria-label="Go to Metrics.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#Metrics">Metrics</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="MetricsValue" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1107">MetricsValue</a> <a class="Documentation-idLink" href="#MetricsValue" aria-label="Go to MetricsValue">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type MetricsValue struct { <span id="MetricsValue.EndTime" data-kind="field"> <span class="comment">// EndTime: Required field indicating the end time of the interval.</span> </span> EndTime <a href="/builtin#string">string</a> `json:&#34;endTime,omitempty&#34;` <span id="MetricsValue.StartTime" data-kind="field"> <span class="comment">// StartTime: Required field indicating the start time of the interval.</span> </span> StartTime <a href="/builtin#string">string</a> `json:&#34;startTime,omitempty&#34;` <span id="MetricsValue.Value" data-kind="field"> <span class="comment">// Value: Indicates the number of executions counted.</span> </span> Value <a href="/builtin#uint64">uint64</a> `json:&#34;value,omitempty,string&#34;` <span id="MetricsValue.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;EndTime&#34;) to unconditionally</span> </span> <span class="comment">// include in API requests. By default, fields with empty or default values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="MetricsValue.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;EndTime&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>MetricsValue: Metrics value that holds number of executions counted. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="MetricsValue.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (MetricsValue) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1127">MarshalJSON</a> <a class="Documentation-idLink" href="#MetricsValue.MarshalJSON" aria-label="Go to MetricsValue.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#MetricsValue">MetricsValue</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="Operation" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1150">Operation</a> <a class="Documentation-idLink" href="#Operation" aria-label="Go to Operation">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type Operation struct { <span id="Operation.Done" data-kind="field"> <span class="comment">// Done: This field indicates whether the script execution has completed. A</span> </span> <span class="comment">// completed execution has a populated `response` field containing the</span> <span class="comment">// ExecutionResponse from function that was executed.</span> Done <a href="/builtin#bool">bool</a> `json:&#34;done,omitempty&#34;` <span id="Operation.Error" data-kind="field"> <span class="comment">// Error: If a `run` call succeeds but the script function (or Apps Script</span> </span> <span class="comment">// itself) throws an exception, this field contains a Status object. The</span> <span class="comment">// `Status` object&#39;s `details` field contains an array with a single</span> <span class="comment">// ExecutionError object that provides information about the nature of the</span> <span class="comment">// error.</span> Error *<a href="#Status">Status</a> `json:&#34;error,omitempty&#34;` <span id="Operation.Response" data-kind="field"> <span class="comment">// Response: If the script function returns successfully, this field contains</span> </span> <span class="comment">// an ExecutionResponse object with the function&#39;s return value.</span> Response <a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#RawMessage">RawMessage</a> `json:&#34;response,omitempty&#34;` <span id="Operation.ServerResponse" data-kind="field"> <span class="comment">// ServerResponse contains the HTTP response code and headers from the server.</span> </span> <a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#ServerResponse">ServerResponse</a> `json:&#34;-&#34;` <span id="Operation.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;Done&#34;) to unconditionally</span> </span> <span class="comment">// include in API requests. By default, fields with empty or default values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="Operation.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;Done&#34;) to include in API requests</span> </span> <span class="comment">// with the JSON null value. By default, fields with empty values are omitted</span> <span class="comment">// from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>Operation: A representation of an execution of an Apps Script function started with run. The execution response does not arrive until the function finishes executing. The maximum execution runtime is listed in the Apps Script quotas guide (/apps-script/guides/services/quotas#current_limitations). After execution has started, it can have one of four outcomes: - If the script function returns successfully, the response field contains an ExecutionResponse object with the function&#39;s return value in the object&#39;s `result` field. - If the script function (or Apps Script itself) throws an exception, the error field contains a Status object. The `Status` object&#39;s `details` field contains an array with a single ExecutionError object that provides information about the nature of the error. - If the execution has not yet completed, the done field is `false` and the neither the `response` nor `error` fields are present. - If the `run` call itself fails (for example, because of a malformed request or an authorization error), the method returns an HTTP response code in the 4XX range with a different format for the response body. Client libraries automatically convert a 4XX response into an exception class. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="Operation.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (Operation) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1180">MarshalJSON</a> <a class="Documentation-idLink" href="#Operation.MarshalJSON" aria-label="Go to Operation.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#Operation">Operation</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ProcessesListCall" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1441">ProcessesListCall</a> <a class="Documentation-idLink" href="#ProcessesListCall" aria-label="Go to ProcessesListCall">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ProcessesListCall struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListCall.Context" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1596">Context</a> <a class="Documentation-idLink" href="#ProcessesListCall.Context" aria-label="Go to ProcessesListCall.Context">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListCall">ProcessesListCall</a>) Context(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>) *<a href="#ProcessesListCall">ProcessesListCall</a></pre> </div> <p>Context sets the context to be used in this call&#39;s Do method. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListCall.Do" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1634">Do</a> <a class="Documentation-idLink" href="#ProcessesListCall.Do" aria-label="Go to ProcessesListCall.Do">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListCall">ProcessesListCall</a>) Do(opts ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#CallOption">CallOption</a>) (*<a href="#ListUserProcessesResponse">ListUserProcessesResponse</a>, <a href="/builtin#error">error</a>)</pre> </div> <p>Do executes the &#34;script.processes.list&#34; call. Any non-2xx status code is an error. Response headers are in either *ListUserProcessesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListCall.Fields" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1582">Fields</a> <a class="Documentation-idLink" href="#ProcessesListCall.Fields" aria-label="Go to ProcessesListCall.Fields">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListCall">ProcessesListCall</a>) Fields(s ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#Field">Field</a>) *<a href="#ProcessesListCall">ProcessesListCall</a></pre> </div> <p>Fields allows partial responses to be retrieved. See <a href="https://developers.google.com/gdata/docs/2.0/basics#PartialResponse">https://developers.google.com/gdata/docs/2.0/basics#PartialResponse</a> for more details. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListCall.Header" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1603">Header</a> <a class="Documentation-idLink" href="#ProcessesListCall.Header" aria-label="Go to ProcessesListCall.Header">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListCall">ProcessesListCall</a>) Header() <a href="/net/http">http</a>.<a href="/net/http#Header">Header</a></pre> </div> <p>Header returns a http.Header that can be modified by the caller to add headers to the request. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListCall.IfNoneMatch" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1590">IfNoneMatch</a> <a class="Documentation-idLink" href="#ProcessesListCall.IfNoneMatch" aria-label="Go to ProcessesListCall.IfNoneMatch">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListCall">ProcessesListCall</a>) IfNoneMatch(entityTag <a href="/builtin#string">string</a>) *<a href="#ProcessesListCall">ProcessesListCall</a></pre> </div> <p>IfNoneMatch sets an optional parameter which makes the operation fail if the object&#39;s ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListCall.PageSize" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1458">PageSize</a> <a class="Documentation-idLink" href="#ProcessesListCall.PageSize" aria-label="Go to ProcessesListCall.PageSize">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListCall">ProcessesListCall</a>) PageSize(pageSize <a href="/builtin#int64">int64</a>) *<a href="#ProcessesListCall">ProcessesListCall</a></pre> </div> <p>PageSize sets the optional parameter &#34;pageSize&#34;: The maximum number of returned processes per page of results. Defaults to 50. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListCall.PageToken" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1466">PageToken</a> <a class="Documentation-idLink" href="#ProcessesListCall.PageToken" aria-label="Go to ProcessesListCall.PageToken">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListCall">ProcessesListCall</a>) PageToken(pageToken <a href="/builtin#string">string</a>) *<a href="#ProcessesListCall">ProcessesListCall</a></pre> </div> <p>PageToken sets the optional parameter &#34;pageToken&#34;: The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from a previous response. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListCall.Pages" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1669">Pages</a> <a class="Documentation-idLink" href="#ProcessesListCall.Pages" aria-label="Go to ProcessesListCall.Pages">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListCall">ProcessesListCall</a>) Pages(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>, f func(*<a href="#ListUserProcessesResponse">ListUserProcessesResponse</a>) <a href="/builtin#error">error</a>) <a href="/builtin#error">error</a></pre> </div> <p>Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListCall.UserProcessFilterDeploymentId" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1474">UserProcessFilterDeploymentId</a> <a class="Documentation-idLink" href="#ProcessesListCall.UserProcessFilterDeploymentId" aria-label="Go to ProcessesListCall.UserProcessFilterDeploymentId">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListCall">ProcessesListCall</a>) UserProcessFilterDeploymentId(userProcessFilterDeploymentId <a href="/builtin#string">string</a>) *<a href="#ProcessesListCall">ProcessesListCall</a></pre> </div> <p>UserProcessFilterDeploymentId sets the optional parameter &#34;userProcessFilter.deploymentId&#34;: Optional field used to limit returned processes to those originating from projects with a specific deployment ID. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListCall.UserProcessFilterEndTime" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1482">UserProcessFilterEndTime</a> <a class="Documentation-idLink" href="#ProcessesListCall.UserProcessFilterEndTime" aria-label="Go to ProcessesListCall.UserProcessFilterEndTime">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListCall">ProcessesListCall</a>) UserProcessFilterEndTime(userProcessFilterEndTime <a href="/builtin#string">string</a>) *<a href="#ProcessesListCall">ProcessesListCall</a></pre> </div> <p>UserProcessFilterEndTime sets the optional parameter &#34;userProcessFilter.endTime&#34;: Optional field used to limit returned processes to those that completed on or before the given timestamp. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListCall.UserProcessFilterFunctionName" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1491">UserProcessFilterFunctionName</a> <a class="Documentation-idLink" href="#ProcessesListCall.UserProcessFilterFunctionName" aria-label="Go to ProcessesListCall.UserProcessFilterFunctionName">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListCall">ProcessesListCall</a>) UserProcessFilterFunctionName(userProcessFilterFunctionName <a href="/builtin#string">string</a>) *<a href="#ProcessesListCall">ProcessesListCall</a></pre> </div> <p>UserProcessFilterFunctionName sets the optional parameter &#34;userProcessFilter.functionName&#34;: Optional field used to limit returned processes to those originating from a script function with the given function name. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListCall.UserProcessFilterProjectName" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1500">UserProcessFilterProjectName</a> <a class="Documentation-idLink" href="#ProcessesListCall.UserProcessFilterProjectName" aria-label="Go to ProcessesListCall.UserProcessFilterProjectName">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListCall">ProcessesListCall</a>) UserProcessFilterProjectName(userProcessFilterProjectName <a href="/builtin#string">string</a>) *<a href="#ProcessesListCall">ProcessesListCall</a></pre> </div> <p>UserProcessFilterProjectName sets the optional parameter &#34;userProcessFilter.projectName&#34;: Optional field used to limit returned processes to those originating from projects with project names containing a specific string. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListCall.UserProcessFilterScriptId" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1508">UserProcessFilterScriptId</a> <a class="Documentation-idLink" href="#ProcessesListCall.UserProcessFilterScriptId" aria-label="Go to ProcessesListCall.UserProcessFilterScriptId">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListCall">ProcessesListCall</a>) UserProcessFilterScriptId(userProcessFilterScriptId <a href="/builtin#string">string</a>) *<a href="#ProcessesListCall">ProcessesListCall</a></pre> </div> <p>UserProcessFilterScriptId sets the optional parameter &#34;userProcessFilter.scriptId&#34;: Optional field used to limit returned processes to those originating from projects with a specific script ID. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListCall.UserProcessFilterStartTime" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1516">UserProcessFilterStartTime</a> <a class="Documentation-idLink" href="#ProcessesListCall.UserProcessFilterStartTime" aria-label="Go to ProcessesListCall.UserProcessFilterStartTime">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListCall">ProcessesListCall</a>) UserProcessFilterStartTime(userProcessFilterStartTime <a href="/builtin#string">string</a>) *<a href="#ProcessesListCall">ProcessesListCall</a></pre> </div> <p>UserProcessFilterStartTime sets the optional parameter &#34;userProcessFilter.startTime&#34;: Optional field used to limit returned processes to those that were started on or after the given timestamp. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListCall.UserProcessFilterStatuses" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1537">UserProcessFilterStatuses</a> <a class="Documentation-idLink" href="#ProcessesListCall.UserProcessFilterStatuses" aria-label="Go to ProcessesListCall.UserProcessFilterStatuses">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListCall">ProcessesListCall</a>) UserProcessFilterStatuses(userProcessFilterStatuses ...<a href="/builtin#string">string</a>) *<a href="#ProcessesListCall">ProcessesListCall</a></pre> </div> <p>UserProcessFilterStatuses sets the optional parameter &#34;userProcessFilter.statuses&#34;: Optional field used to limit returned processes to those having one of the specified process statuses. </p><p>Possible values: </p><pre>&#34;PROCESS_STATUS_UNSPECIFIED&#34; - Unspecified status. &#34;RUNNING&#34; - The process is currently running. &#34;PAUSED&#34; - The process has paused. &#34;COMPLETED&#34; - The process has completed. &#34;CANCELED&#34; - The process was cancelled. &#34;FAILED&#34; - The process failed. &#34;TIMED_OUT&#34; - The process timed out. &#34;UNKNOWN&#34; - Process status unknown. &#34;DELAYED&#34; - The process is delayed, waiting for quota. &#34;EXECUTION_DISABLED&#34; - AppsScript executions are disabled by Admin. </pre> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListCall.UserProcessFilterTypes" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1558">UserProcessFilterTypes</a> <a class="Documentation-idLink" href="#ProcessesListCall.UserProcessFilterTypes" aria-label="Go to ProcessesListCall.UserProcessFilterTypes">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListCall">ProcessesListCall</a>) UserProcessFilterTypes(userProcessFilterTypes ...<a href="/builtin#string">string</a>) *<a href="#ProcessesListCall">ProcessesListCall</a></pre> </div> <p>UserProcessFilterTypes sets the optional parameter &#34;userProcessFilter.types&#34;: Optional field used to limit returned processes to those having one of the specified process types. </p><p>Possible values: </p><pre>&#34;PROCESS_TYPE_UNSPECIFIED&#34; - Unspecified type. &#34;ADD_ON&#34; - The process was started from an add-on entry point. &#34;EXECUTION_API&#34; - The process was started using the Apps Script API. &#34;TIME_DRIVEN&#34; - The process was started from a time-based trigger. &#34;TRIGGER&#34; - The process was started from an event-based trigger. &#34;WEBAPP&#34; - The process was started from a web app entry point. &#34;EDITOR&#34; - The process was started using the Apps Script IDE. &#34;SIMPLE_TRIGGER&#34; - The process was started from a G Suite simple trigger. &#34;MENU&#34; - The process was started from a G Suite menu item. &#34;BATCH_TASK&#34; - The process was started as a task in a batch job. </pre> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListCall.UserProcessFilterUserAccessLevels" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1574">UserProcessFilterUserAccessLevels</a> <a class="Documentation-idLink" href="#ProcessesListCall.UserProcessFilterUserAccessLevels" aria-label="Go to ProcessesListCall.UserProcessFilterUserAccessLevels">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListCall">ProcessesListCall</a>) UserProcessFilterUserAccessLevels(userProcessFilterUserAccessLevels ...<a href="/builtin#string">string</a>) *<a href="#ProcessesListCall">ProcessesListCall</a></pre> </div> <p>UserProcessFilterUserAccessLevels sets the optional parameter &#34;userProcessFilter.userAccessLevels&#34;: Optional field used to limit returned processes to those having one of the specified user access levels. </p><p>Possible values: </p><pre>&#34;USER_ACCESS_LEVEL_UNSPECIFIED&#34; - User access level unspecified &#34;NONE&#34; - The user has no access. &#34;READ&#34; - The user has read-only access. &#34;WRITE&#34; - The user has write access. &#34;OWNER&#34; - The user is an owner. </pre> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ProcessesListScriptProcessesCall" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1687">ProcessesListScriptProcessesCall</a> <a class="Documentation-idLink" href="#ProcessesListScriptProcessesCall" aria-label="Go to ProcessesListScriptProcessesCall">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ProcessesListScriptProcessesCall struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListScriptProcessesCall.Context" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListScriptProcessesCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1832">Context</a> <a class="Documentation-idLink" href="#ProcessesListScriptProcessesCall.Context" aria-label="Go to ProcessesListScriptProcessesCall.Context">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a>) Context(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>) *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a></pre> </div> <p>Context sets the context to be used in this call&#39;s Do method. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListScriptProcessesCall.Do" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListScriptProcessesCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1870">Do</a> <a class="Documentation-idLink" href="#ProcessesListScriptProcessesCall.Do" aria-label="Go to ProcessesListScriptProcessesCall.Do">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a>) Do(opts ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#CallOption">CallOption</a>) (*<a href="#ListScriptProcessesResponse">ListScriptProcessesResponse</a>, <a href="/builtin#error">error</a>)</pre> </div> <p>Do executes the &#34;script.processes.listScriptProcesses&#34; call. Any non-2xx status code is an error. Response headers are in either *ListScriptProcessesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListScriptProcessesCall.Fields" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListScriptProcessesCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1818">Fields</a> <a class="Documentation-idLink" href="#ProcessesListScriptProcessesCall.Fields" aria-label="Go to ProcessesListScriptProcessesCall.Fields">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a>) Fields(s ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#Field">Field</a>) *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a></pre> </div> <p>Fields allows partial responses to be retrieved. See <a href="https://developers.google.com/gdata/docs/2.0/basics#PartialResponse">https://developers.google.com/gdata/docs/2.0/basics#PartialResponse</a> for more details. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListScriptProcessesCall.Header" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListScriptProcessesCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1839">Header</a> <a class="Documentation-idLink" href="#ProcessesListScriptProcessesCall.Header" aria-label="Go to ProcessesListScriptProcessesCall.Header">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a>) Header() <a href="/net/http">http</a>.<a href="/net/http#Header">Header</a></pre> </div> <p>Header returns a http.Header that can be modified by the caller to add headers to the request. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListScriptProcessesCall.IfNoneMatch" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListScriptProcessesCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1826">IfNoneMatch</a> <a class="Documentation-idLink" href="#ProcessesListScriptProcessesCall.IfNoneMatch" aria-label="Go to ProcessesListScriptProcessesCall.IfNoneMatch">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a>) IfNoneMatch(entityTag <a href="/builtin#string">string</a>) *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a></pre> </div> <p>IfNoneMatch sets an optional parameter which makes the operation fail if the object&#39;s ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListScriptProcessesCall.PageSize" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListScriptProcessesCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1704">PageSize</a> <a class="Documentation-idLink" href="#ProcessesListScriptProcessesCall.PageSize" aria-label="Go to ProcessesListScriptProcessesCall.PageSize">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a>) PageSize(pageSize <a href="/builtin#int64">int64</a>) *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a></pre> </div> <p>PageSize sets the optional parameter &#34;pageSize&#34;: The maximum number of returned processes per page of results. Defaults to 50. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListScriptProcessesCall.PageToken" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListScriptProcessesCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1712">PageToken</a> <a class="Documentation-idLink" href="#ProcessesListScriptProcessesCall.PageToken" aria-label="Go to ProcessesListScriptProcessesCall.PageToken">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a>) PageToken(pageToken <a href="/builtin#string">string</a>) *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a></pre> </div> <p>PageToken sets the optional parameter &#34;pageToken&#34;: The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from a previous response. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListScriptProcessesCall.Pages" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListScriptProcessesCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1905">Pages</a> <a class="Documentation-idLink" href="#ProcessesListScriptProcessesCall.Pages" aria-label="Go to ProcessesListScriptProcessesCall.Pages">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a>) Pages(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>, f func(*<a href="#ListScriptProcessesResponse">ListScriptProcessesResponse</a>) <a href="/builtin#error">error</a>) <a href="/builtin#error">error</a></pre> </div> <p>Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListScriptProcessesCall.ScriptId" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListScriptProcessesCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1719">ScriptId</a> <a class="Documentation-idLink" href="#ProcessesListScriptProcessesCall.ScriptId" aria-label="Go to ProcessesListScriptProcessesCall.ScriptId">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a>) ScriptId(scriptId <a href="/builtin#string">string</a>) *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a></pre> </div> <p>ScriptId sets the optional parameter &#34;scriptId&#34;: The script ID of the project whose processes are listed. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListScriptProcessesCall.ScriptProcessFilterDeploymentId" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListScriptProcessesCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1727">ScriptProcessFilterDeploymentId</a> <a class="Documentation-idLink" href="#ProcessesListScriptProcessesCall.ScriptProcessFilterDeploymentId" aria-label="Go to ProcessesListScriptProcessesCall.ScriptProcessFilterDeploymentId">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a>) ScriptProcessFilterDeploymentId(scriptProcessFilterDeploymentId <a href="/builtin#string">string</a>) *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a></pre> </div> <p>ScriptProcessFilterDeploymentId sets the optional parameter &#34;scriptProcessFilter.deploymentId&#34;: Optional field used to limit returned processes to those originating from projects with a specific deployment ID. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListScriptProcessesCall.ScriptProcessFilterEndTime" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListScriptProcessesCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1735">ScriptProcessFilterEndTime</a> <a class="Documentation-idLink" href="#ProcessesListScriptProcessesCall.ScriptProcessFilterEndTime" aria-label="Go to ProcessesListScriptProcessesCall.ScriptProcessFilterEndTime">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a>) ScriptProcessFilterEndTime(scriptProcessFilterEndTime <a href="/builtin#string">string</a>) *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a></pre> </div> <p>ScriptProcessFilterEndTime sets the optional parameter &#34;scriptProcessFilter.endTime&#34;: Optional field used to limit returned processes to those that completed on or before the given timestamp. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListScriptProcessesCall.ScriptProcessFilterFunctionName" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListScriptProcessesCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1744">ScriptProcessFilterFunctionName</a> <a class="Documentation-idLink" href="#ProcessesListScriptProcessesCall.ScriptProcessFilterFunctionName" aria-label="Go to ProcessesListScriptProcessesCall.ScriptProcessFilterFunctionName">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a>) ScriptProcessFilterFunctionName(scriptProcessFilterFunctionName <a href="/builtin#string">string</a>) *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a></pre> </div> <p>ScriptProcessFilterFunctionName sets the optional parameter &#34;scriptProcessFilter.functionName&#34;: Optional field used to limit returned processes to those originating from a script function with the given function name. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListScriptProcessesCall.ScriptProcessFilterStartTime" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListScriptProcessesCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1752">ScriptProcessFilterStartTime</a> <a class="Documentation-idLink" href="#ProcessesListScriptProcessesCall.ScriptProcessFilterStartTime" aria-label="Go to ProcessesListScriptProcessesCall.ScriptProcessFilterStartTime">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a>) ScriptProcessFilterStartTime(scriptProcessFilterStartTime <a href="/builtin#string">string</a>) *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a></pre> </div> <p>ScriptProcessFilterStartTime sets the optional parameter &#34;scriptProcessFilter.startTime&#34;: Optional field used to limit returned processes to those that were started on or after the given timestamp. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListScriptProcessesCall.ScriptProcessFilterStatuses" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListScriptProcessesCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1773">ScriptProcessFilterStatuses</a> <a class="Documentation-idLink" href="#ProcessesListScriptProcessesCall.ScriptProcessFilterStatuses" aria-label="Go to ProcessesListScriptProcessesCall.ScriptProcessFilterStatuses">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a>) ScriptProcessFilterStatuses(scriptProcessFilterStatuses ...<a href="/builtin#string">string</a>) *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a></pre> </div> <p>ScriptProcessFilterStatuses sets the optional parameter &#34;scriptProcessFilter.statuses&#34;: Optional field used to limit returned processes to those having one of the specified process statuses. </p><p>Possible values: </p><pre>&#34;PROCESS_STATUS_UNSPECIFIED&#34; - Unspecified status. &#34;RUNNING&#34; - The process is currently running. &#34;PAUSED&#34; - The process has paused. &#34;COMPLETED&#34; - The process has completed. &#34;CANCELED&#34; - The process was cancelled. &#34;FAILED&#34; - The process failed. &#34;TIMED_OUT&#34; - The process timed out. &#34;UNKNOWN&#34; - Process status unknown. &#34;DELAYED&#34; - The process is delayed, waiting for quota. &#34;EXECUTION_DISABLED&#34; - AppsScript executions are disabled by Admin. </pre> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListScriptProcessesCall.ScriptProcessFilterTypes" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListScriptProcessesCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1794">ScriptProcessFilterTypes</a> <a class="Documentation-idLink" href="#ProcessesListScriptProcessesCall.ScriptProcessFilterTypes" aria-label="Go to ProcessesListScriptProcessesCall.ScriptProcessFilterTypes">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a>) ScriptProcessFilterTypes(scriptProcessFilterTypes ...<a href="/builtin#string">string</a>) *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a></pre> </div> <p>ScriptProcessFilterTypes sets the optional parameter &#34;scriptProcessFilter.types&#34;: Optional field used to limit returned processes to those having one of the specified process types. </p><p>Possible values: </p><pre>&#34;PROCESS_TYPE_UNSPECIFIED&#34; - Unspecified type. &#34;ADD_ON&#34; - The process was started from an add-on entry point. &#34;EXECUTION_API&#34; - The process was started using the Apps Script API. &#34;TIME_DRIVEN&#34; - The process was started from a time-based trigger. &#34;TRIGGER&#34; - The process was started from an event-based trigger. &#34;WEBAPP&#34; - The process was started from a web app entry point. &#34;EDITOR&#34; - The process was started using the Apps Script IDE. &#34;SIMPLE_TRIGGER&#34; - The process was started from a G Suite simple trigger. &#34;MENU&#34; - The process was started from a G Suite menu item. &#34;BATCH_TASK&#34; - The process was started as a task in a batch job. </pre> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesListScriptProcessesCall.ScriptProcessFilterUserAccessLevels" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesListScriptProcessesCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1810">ScriptProcessFilterUserAccessLevels</a> <a class="Documentation-idLink" href="#ProcessesListScriptProcessesCall.ScriptProcessFilterUserAccessLevels" aria-label="Go to ProcessesListScriptProcessesCall.ScriptProcessFilterUserAccessLevels">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a>) ScriptProcessFilterUserAccessLevels(scriptProcessFilterUserAccessLevels ...<a href="/builtin#string">string</a>) *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a></pre> </div> <p>ScriptProcessFilterUserAccessLevels sets the optional parameter &#34;scriptProcessFilter.userAccessLevels&#34;: Optional field used to limit returned processes to those having one of the specified user access levels. </p><p>Possible values: </p><pre>&#34;USER_ACCESS_LEVEL_UNSPECIFIED&#34; - User access level unspecified &#34;NONE&#34; - The user has no access. &#34;READ&#34; - The user has read-only access. &#34;WRITE&#34; - The user has write access. &#34;OWNER&#34; - The user is an owner. </pre> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ProcessesService" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L241">ProcessesService</a> <a class="Documentation-idLink" href="#ProcessesService" aria-label="Go to ProcessesService">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ProcessesService struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeFunc"> <h4 tabindex="-1" id="NewProcessesService" data-kind="function" class="Documentation-typeFuncHeader"> <span>func <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L236">NewProcessesService</a> <a class="Documentation-idLink" href="#NewProcessesService" aria-label="Go to NewProcessesService">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func NewProcessesService(s *<a href="#Service">Service</a>) *<a href="#ProcessesService">ProcessesService</a></pre> </div> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesService.List" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesService) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1451">List</a> <a class="Documentation-idLink" href="#ProcessesService.List" aria-label="Go to ProcessesService.List">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (r *<a href="#ProcessesService">ProcessesService</a>) List() *<a href="#ProcessesListCall">ProcessesListCall</a></pre> </div> <p>List: List information about processes made by or on behalf of a user, such as process type and current status. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProcessesService.ListScriptProcesses" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProcessesService) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1697">ListScriptProcesses</a> <a class="Documentation-idLink" href="#ProcessesService.ListScriptProcesses" aria-label="Go to ProcessesService.ListScriptProcesses">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (r *<a href="#ProcessesService">ProcessesService</a>) ListScriptProcesses() *<a href="#ProcessesListScriptProcessesCall">ProcessesListScriptProcessesCall</a></pre> </div> <p>ListScriptProcesses: List information about a script&#39;s executed processes, such as process type and current status. </p> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="Project" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1186">Project</a> <a class="Documentation-idLink" href="#Project" aria-label="Go to Project">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type Project struct { <span id="Project.CreateTime" data-kind="field"> <span class="comment">// CreateTime: When the script was created.</span> </span> CreateTime <a href="/builtin#string">string</a> `json:&#34;createTime,omitempty&#34;` <span id="Project.Creator" data-kind="field"> <span class="comment">// Creator: User who originally created the script.</span> </span> Creator *<a href="#GoogleAppsScriptTypeUser">GoogleAppsScriptTypeUser</a> `json:&#34;creator,omitempty&#34;` <span id="Project.LastModifyUser" data-kind="field"> <span class="comment">// LastModifyUser: User who last modified the script.</span> </span> LastModifyUser *<a href="#GoogleAppsScriptTypeUser">GoogleAppsScriptTypeUser</a> `json:&#34;lastModifyUser,omitempty&#34;` <span id="Project.ParentId" data-kind="field"> <span class="comment">// ParentId: The parent&#39;s Drive ID that the script will be attached to. This is</span> </span> <span class="comment">// usually the ID of a Google Document or Google Sheet. This filed is optional,</span> <span class="comment">// and if not set, a stand-alone script will be created.</span> ParentId <a href="/builtin#string">string</a> `json:&#34;parentId,omitempty&#34;` <span id="Project.ScriptId" data-kind="field"> <span class="comment">// ScriptId: The script project&#39;s Drive ID.</span> </span> ScriptId <a href="/builtin#string">string</a> `json:&#34;scriptId,omitempty&#34;` <span id="Project.Title" data-kind="field"> <span class="comment">// Title: The title for the project.</span> </span> Title <a href="/builtin#string">string</a> `json:&#34;title,omitempty&#34;` <span id="Project.UpdateTime" data-kind="field"> <span class="comment">// UpdateTime: When the script was last updated.</span> </span> UpdateTime <a href="/builtin#string">string</a> `json:&#34;updateTime,omitempty&#34;` <span id="Project.ServerResponse" data-kind="field"> <span class="comment">// ServerResponse contains the HTTP response code and headers from the server.</span> </span> <a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#ServerResponse">ServerResponse</a> `json:&#34;-&#34;` <span id="Project.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;CreateTime&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="Project.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;CreateTime&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>Project: The script project resource. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="Project.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (Project) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1219">MarshalJSON</a> <a class="Documentation-idLink" href="#Project.MarshalJSON" aria-label="Go to Project.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#Project">Project</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ProjectsCreateCall" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1923">ProjectsCreateCall</a> <a class="Documentation-idLink" href="#ProjectsCreateCall" aria-label="Go to ProjectsCreateCall">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ProjectsCreateCall struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsCreateCall.Context" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsCreateCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1948">Context</a> <a class="Documentation-idLink" href="#ProjectsCreateCall.Context" aria-label="Go to ProjectsCreateCall.Context">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsCreateCall">ProjectsCreateCall</a>) Context(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>) *<a href="#ProjectsCreateCall">ProjectsCreateCall</a></pre> </div> <p>Context sets the context to be used in this call&#39;s Do method. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsCreateCall.Do" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsCreateCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1986">Do</a> <a class="Documentation-idLink" href="#ProjectsCreateCall.Do" aria-label="Go to ProjectsCreateCall.Do">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsCreateCall">ProjectsCreateCall</a>) Do(opts ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#CallOption">CallOption</a>) (*<a href="#Project">Project</a>, <a href="/builtin#error">error</a>)</pre> </div> <p>Do executes the &#34;script.projects.create&#34; call. Any non-2xx status code is an error. Response headers are in either *Project.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsCreateCall.Fields" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsCreateCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1942">Fields</a> <a class="Documentation-idLink" href="#ProjectsCreateCall.Fields" aria-label="Go to ProjectsCreateCall.Fields">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsCreateCall">ProjectsCreateCall</a>) Fields(s ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#Field">Field</a>) *<a href="#ProjectsCreateCall">ProjectsCreateCall</a></pre> </div> <p>Fields allows partial responses to be retrieved. See <a href="https://developers.google.com/gdata/docs/2.0/basics#PartialResponse">https://developers.google.com/gdata/docs/2.0/basics#PartialResponse</a> for more details. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsCreateCall.Header" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsCreateCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1955">Header</a> <a class="Documentation-idLink" href="#ProjectsCreateCall.Header" aria-label="Go to ProjectsCreateCall.Header">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsCreateCall">ProjectsCreateCall</a>) Header() <a href="/net/http">http</a>.<a href="/net/http#Header">Header</a></pre> </div> <p>Header returns a http.Header that can be modified by the caller to add headers to the request. </p> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ProjectsDeploymentsCreateCall" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2478">ProjectsDeploymentsCreateCall</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsCreateCall" aria-label="Go to ProjectsDeploymentsCreateCall">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ProjectsDeploymentsCreateCall struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsCreateCall.Context" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsCreateCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2506">Context</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsCreateCall.Context" aria-label="Go to ProjectsDeploymentsCreateCall.Context">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsCreateCall">ProjectsDeploymentsCreateCall</a>) Context(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>) *<a href="#ProjectsDeploymentsCreateCall">ProjectsDeploymentsCreateCall</a></pre> </div> <p>Context sets the context to be used in this call&#39;s Do method. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsCreateCall.Do" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsCreateCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2547">Do</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsCreateCall.Do" aria-label="Go to ProjectsDeploymentsCreateCall.Do">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsCreateCall">ProjectsDeploymentsCreateCall</a>) Do(opts ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#CallOption">CallOption</a>) (*<a href="#Deployment">Deployment</a>, <a href="/builtin#error">error</a>)</pre> </div> <p>Do executes the &#34;script.projects.deployments.create&#34; call. Any non-2xx status code is an error. Response headers are in either *Deployment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsCreateCall.Fields" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsCreateCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2500">Fields</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsCreateCall.Fields" aria-label="Go to ProjectsDeploymentsCreateCall.Fields">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsCreateCall">ProjectsDeploymentsCreateCall</a>) Fields(s ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#Field">Field</a>) *<a href="#ProjectsDeploymentsCreateCall">ProjectsDeploymentsCreateCall</a></pre> </div> <p>Fields allows partial responses to be retrieved. See <a href="https://developers.google.com/gdata/docs/2.0/basics#PartialResponse">https://developers.google.com/gdata/docs/2.0/basics#PartialResponse</a> for more details. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsCreateCall.Header" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsCreateCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2513">Header</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsCreateCall.Header" aria-label="Go to ProjectsDeploymentsCreateCall.Header">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsCreateCall">ProjectsDeploymentsCreateCall</a>) Header() <a href="/net/http">http</a>.<a href="/net/http#Header">Header</a></pre> </div> <p>Header returns a http.Header that can be modified by the caller to add headers to the request. </p> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ProjectsDeploymentsDeleteCall" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2579">ProjectsDeploymentsDeleteCall</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsDeleteCall" aria-label="Go to ProjectsDeploymentsDeleteCall">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ProjectsDeploymentsDeleteCall struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsDeleteCall.Context" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsDeleteCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2608">Context</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsDeleteCall.Context" aria-label="Go to ProjectsDeploymentsDeleteCall.Context">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsDeleteCall">ProjectsDeploymentsDeleteCall</a>) Context(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>) *<a href="#ProjectsDeploymentsDeleteCall">ProjectsDeploymentsDeleteCall</a></pre> </div> <p>Context sets the context to be used in this call&#39;s Do method. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsDeleteCall.Do" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsDeleteCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2646">Do</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsDeleteCall.Do" aria-label="Go to ProjectsDeploymentsDeleteCall.Do">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsDeleteCall">ProjectsDeploymentsDeleteCall</a>) Do(opts ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#CallOption">CallOption</a>) (*<a href="#Empty">Empty</a>, <a href="/builtin#error">error</a>)</pre> </div> <p>Do executes the &#34;script.projects.deployments.delete&#34; call. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsDeleteCall.Fields" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsDeleteCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2602">Fields</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsDeleteCall.Fields" aria-label="Go to ProjectsDeploymentsDeleteCall.Fields">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsDeleteCall">ProjectsDeploymentsDeleteCall</a>) Fields(s ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#Field">Field</a>) *<a href="#ProjectsDeploymentsDeleteCall">ProjectsDeploymentsDeleteCall</a></pre> </div> <p>Fields allows partial responses to be retrieved. See <a href="https://developers.google.com/gdata/docs/2.0/basics#PartialResponse">https://developers.google.com/gdata/docs/2.0/basics#PartialResponse</a> for more details. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsDeleteCall.Header" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsDeleteCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2615">Header</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsDeleteCall.Header" aria-label="Go to ProjectsDeploymentsDeleteCall.Header">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsDeleteCall">ProjectsDeploymentsDeleteCall</a>) Header() <a href="/net/http">http</a>.<a href="/net/http#Header">Header</a></pre> </div> <p>Header returns a http.Header that can be modified by the caller to add headers to the request. </p> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ProjectsDeploymentsGetCall" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2678">ProjectsDeploymentsGetCall</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsGetCall" aria-label="Go to ProjectsDeploymentsGetCall">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ProjectsDeploymentsGetCall struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsGetCall.Context" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsGetCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2716">Context</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsGetCall.Context" aria-label="Go to ProjectsDeploymentsGetCall.Context">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsGetCall">ProjectsDeploymentsGetCall</a>) Context(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>) *<a href="#ProjectsDeploymentsGetCall">ProjectsDeploymentsGetCall</a></pre> </div> <p>Context sets the context to be used in this call&#39;s Do method. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsGetCall.Do" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsGetCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2757">Do</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsGetCall.Do" aria-label="Go to ProjectsDeploymentsGetCall.Do">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsGetCall">ProjectsDeploymentsGetCall</a>) Do(opts ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#CallOption">CallOption</a>) (*<a href="#Deployment">Deployment</a>, <a href="/builtin#error">error</a>)</pre> </div> <p>Do executes the &#34;script.projects.deployments.get&#34; call. Any non-2xx status code is an error. Response headers are in either *Deployment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsGetCall.Fields" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsGetCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2702">Fields</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsGetCall.Fields" aria-label="Go to ProjectsDeploymentsGetCall.Fields">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsGetCall">ProjectsDeploymentsGetCall</a>) Fields(s ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#Field">Field</a>) *<a href="#ProjectsDeploymentsGetCall">ProjectsDeploymentsGetCall</a></pre> </div> <p>Fields allows partial responses to be retrieved. See <a href="https://developers.google.com/gdata/docs/2.0/basics#PartialResponse">https://developers.google.com/gdata/docs/2.0/basics#PartialResponse</a> for more details. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsGetCall.Header" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsGetCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2723">Header</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsGetCall.Header" aria-label="Go to ProjectsDeploymentsGetCall.Header">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsGetCall">ProjectsDeploymentsGetCall</a>) Header() <a href="/net/http">http</a>.<a href="/net/http#Header">Header</a></pre> </div> <p>Header returns a http.Header that can be modified by the caller to add headers to the request. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsGetCall.IfNoneMatch" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsGetCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2710">IfNoneMatch</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsGetCall.IfNoneMatch" aria-label="Go to ProjectsDeploymentsGetCall.IfNoneMatch">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsGetCall">ProjectsDeploymentsGetCall</a>) IfNoneMatch(entityTag <a href="/builtin#string">string</a>) *<a href="#ProjectsDeploymentsGetCall">ProjectsDeploymentsGetCall</a></pre> </div> <p>IfNoneMatch sets an optional parameter which makes the operation fail if the object&#39;s ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. </p> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ProjectsDeploymentsListCall" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2789">ProjectsDeploymentsListCall</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsListCall" aria-label="Go to ProjectsDeploymentsListCall">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ProjectsDeploymentsListCall struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsListCall.Context" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2839">Context</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsListCall.Context" aria-label="Go to ProjectsDeploymentsListCall.Context">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsListCall">ProjectsDeploymentsListCall</a>) Context(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>) *<a href="#ProjectsDeploymentsListCall">ProjectsDeploymentsListCall</a></pre> </div> <p>Context sets the context to be used in this call&#39;s Do method. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsListCall.Do" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2880">Do</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsListCall.Do" aria-label="Go to ProjectsDeploymentsListCall.Do">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsListCall">ProjectsDeploymentsListCall</a>) Do(opts ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#CallOption">CallOption</a>) (*<a href="#ListDeploymentsResponse">ListDeploymentsResponse</a>, <a href="/builtin#error">error</a>)</pre> </div> <p>Do executes the &#34;script.projects.deployments.list&#34; call. Any non-2xx status code is an error. Response headers are in either *ListDeploymentsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsListCall.Fields" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2825">Fields</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsListCall.Fields" aria-label="Go to ProjectsDeploymentsListCall.Fields">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsListCall">ProjectsDeploymentsListCall</a>) Fields(s ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#Field">Field</a>) *<a href="#ProjectsDeploymentsListCall">ProjectsDeploymentsListCall</a></pre> </div> <p>Fields allows partial responses to be retrieved. See <a href="https://developers.google.com/gdata/docs/2.0/basics#PartialResponse">https://developers.google.com/gdata/docs/2.0/basics#PartialResponse</a> for more details. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsListCall.Header" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2846">Header</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsListCall.Header" aria-label="Go to ProjectsDeploymentsListCall.Header">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsListCall">ProjectsDeploymentsListCall</a>) Header() <a href="/net/http">http</a>.<a href="/net/http#Header">Header</a></pre> </div> <p>Header returns a http.Header that can be modified by the caller to add headers to the request. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsListCall.IfNoneMatch" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2833">IfNoneMatch</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsListCall.IfNoneMatch" aria-label="Go to ProjectsDeploymentsListCall.IfNoneMatch">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsListCall">ProjectsDeploymentsListCall</a>) IfNoneMatch(entityTag <a href="/builtin#string">string</a>) *<a href="#ProjectsDeploymentsListCall">ProjectsDeploymentsListCall</a></pre> </div> <p>IfNoneMatch sets an optional parameter which makes the operation fail if the object&#39;s ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsListCall.PageSize" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2809">PageSize</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsListCall.PageSize" aria-label="Go to ProjectsDeploymentsListCall.PageSize">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsListCall">ProjectsDeploymentsListCall</a>) PageSize(pageSize <a href="/builtin#int64">int64</a>) *<a href="#ProjectsDeploymentsListCall">ProjectsDeploymentsListCall</a></pre> </div> <p>PageSize sets the optional parameter &#34;pageSize&#34;: The maximum number of deployments on each returned page. Defaults to 50. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsListCall.PageToken" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2817">PageToken</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsListCall.PageToken" aria-label="Go to ProjectsDeploymentsListCall.PageToken">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsListCall">ProjectsDeploymentsListCall</a>) PageToken(pageToken <a href="/builtin#string">string</a>) *<a href="#ProjectsDeploymentsListCall">ProjectsDeploymentsListCall</a></pre> </div> <p>PageToken sets the optional parameter &#34;pageToken&#34;: The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from a previous response. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsListCall.Pages" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2915">Pages</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsListCall.Pages" aria-label="Go to ProjectsDeploymentsListCall.Pages">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsListCall">ProjectsDeploymentsListCall</a>) Pages(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>, f func(*<a href="#ListDeploymentsResponse">ListDeploymentsResponse</a>) <a href="/builtin#error">error</a>) <a href="/builtin#error">error</a></pre> </div> <p>Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method. </p> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ProjectsDeploymentsService" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L265">ProjectsDeploymentsService</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsService" aria-label="Go to ProjectsDeploymentsService">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ProjectsDeploymentsService struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeFunc"> <h4 tabindex="-1" id="NewProjectsDeploymentsService" data-kind="function" class="Documentation-typeFuncHeader"> <span>func <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L260">NewProjectsDeploymentsService</a> <a class="Documentation-idLink" href="#NewProjectsDeploymentsService" aria-label="Go to NewProjectsDeploymentsService">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func NewProjectsDeploymentsService(s *<a href="#Service">Service</a>) *<a href="#ProjectsDeploymentsService">ProjectsDeploymentsService</a></pre> </div> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsService.Create" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsService) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2490">Create</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsService.Create" aria-label="Go to ProjectsDeploymentsService.Create">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (r *<a href="#ProjectsDeploymentsService">ProjectsDeploymentsService</a>) Create(scriptId <a href="/builtin#string">string</a>, deploymentconfig *<a href="#DeploymentConfig">DeploymentConfig</a>) *<a href="#ProjectsDeploymentsCreateCall">ProjectsDeploymentsCreateCall</a></pre> </div> <p>Create: Creates a deployment of an Apps Script project. </p><p>- scriptId: The script project&#39;s Drive ID. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsService.Delete" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsService) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2592">Delete</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsService.Delete" aria-label="Go to ProjectsDeploymentsService.Delete">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (r *<a href="#ProjectsDeploymentsService">ProjectsDeploymentsService</a>) Delete(scriptId <a href="/builtin#string">string</a>, deploymentId <a href="/builtin#string">string</a>) *<a href="#ProjectsDeploymentsDeleteCall">ProjectsDeploymentsDeleteCall</a></pre> </div> <p>Delete: Deletes a deployment of an Apps Script project. </p><p>- deploymentId: The deployment ID to be undeployed. - scriptId: The script project&#39;s Drive ID. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsService.Get" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsService) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2692">Get</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsService.Get" aria-label="Go to ProjectsDeploymentsService.Get">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (r *<a href="#ProjectsDeploymentsService">ProjectsDeploymentsService</a>) Get(scriptId <a href="/builtin#string">string</a>, deploymentId <a href="/builtin#string">string</a>) *<a href="#ProjectsDeploymentsGetCall">ProjectsDeploymentsGetCall</a></pre> </div> <p>Get: Gets a deployment of an Apps Script project. </p><p>- deploymentId: The deployment ID. - scriptId: The script project&#39;s Drive ID. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsService.List" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsService) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2801">List</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsService.List" aria-label="Go to ProjectsDeploymentsService.List">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (r *<a href="#ProjectsDeploymentsService">ProjectsDeploymentsService</a>) List(scriptId <a href="/builtin#string">string</a>) *<a href="#ProjectsDeploymentsListCall">ProjectsDeploymentsListCall</a></pre> </div> <p>List: Lists the deployments of an Apps Script project. </p><p>- scriptId: The script project&#39;s Drive ID. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsService.Update" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsService) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2947">Update</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsService.Update" aria-label="Go to ProjectsDeploymentsService.Update">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (r *<a href="#ProjectsDeploymentsService">ProjectsDeploymentsService</a>) Update(scriptId <a href="/builtin#string">string</a>, deploymentId <a href="/builtin#string">string</a>, updatedeploymentrequest *<a href="#UpdateDeploymentRequest">UpdateDeploymentRequest</a>) *<a href="#ProjectsDeploymentsUpdateCall">ProjectsDeploymentsUpdateCall</a></pre> </div> <p>Update: Updates a deployment of an Apps Script project. </p><p>- deploymentId: The deployment ID for this deployment. - scriptId: The script project&#39;s Drive ID. </p> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ProjectsDeploymentsUpdateCall" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2933">ProjectsDeploymentsUpdateCall</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsUpdateCall" aria-label="Go to ProjectsDeploymentsUpdateCall">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ProjectsDeploymentsUpdateCall struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsUpdateCall.Context" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsUpdateCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2964">Context</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsUpdateCall.Context" aria-label="Go to ProjectsDeploymentsUpdateCall.Context">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsUpdateCall">ProjectsDeploymentsUpdateCall</a>) Context(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>) *<a href="#ProjectsDeploymentsUpdateCall">ProjectsDeploymentsUpdateCall</a></pre> </div> <p>Context sets the context to be used in this call&#39;s Do method. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsUpdateCall.Do" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsUpdateCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3006">Do</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsUpdateCall.Do" aria-label="Go to ProjectsDeploymentsUpdateCall.Do">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsUpdateCall">ProjectsDeploymentsUpdateCall</a>) Do(opts ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#CallOption">CallOption</a>) (*<a href="#Deployment">Deployment</a>, <a href="/builtin#error">error</a>)</pre> </div> <p>Do executes the &#34;script.projects.deployments.update&#34; call. Any non-2xx status code is an error. Response headers are in either *Deployment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsUpdateCall.Fields" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsUpdateCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2958">Fields</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsUpdateCall.Fields" aria-label="Go to ProjectsDeploymentsUpdateCall.Fields">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsUpdateCall">ProjectsDeploymentsUpdateCall</a>) Fields(s ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#Field">Field</a>) *<a href="#ProjectsDeploymentsUpdateCall">ProjectsDeploymentsUpdateCall</a></pre> </div> <p>Fields allows partial responses to be retrieved. See <a href="https://developers.google.com/gdata/docs/2.0/basics#PartialResponse">https://developers.google.com/gdata/docs/2.0/basics#PartialResponse</a> for more details. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsDeploymentsUpdateCall.Header" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsDeploymentsUpdateCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2971">Header</a> <a class="Documentation-idLink" href="#ProjectsDeploymentsUpdateCall.Header" aria-label="Go to ProjectsDeploymentsUpdateCall.Header">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsDeploymentsUpdateCall">ProjectsDeploymentsUpdateCall</a>) Header() <a href="/net/http">http</a>.<a href="/net/http#Header">Header</a></pre> </div> <p>Header returns a http.Header that can be modified by the caller to add headers to the request. </p> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ProjectsGetCall" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2018">ProjectsGetCall</a> <a class="Documentation-idLink" href="#ProjectsGetCall" aria-label="Go to ProjectsGetCall">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ProjectsGetCall struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsGetCall.Context" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsGetCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2053">Context</a> <a class="Documentation-idLink" href="#ProjectsGetCall.Context" aria-label="Go to ProjectsGetCall.Context">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsGetCall">ProjectsGetCall</a>) Context(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>) *<a href="#ProjectsGetCall">ProjectsGetCall</a></pre> </div> <p>Context sets the context to be used in this call&#39;s Do method. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsGetCall.Do" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsGetCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2093">Do</a> <a class="Documentation-idLink" href="#ProjectsGetCall.Do" aria-label="Go to ProjectsGetCall.Do">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsGetCall">ProjectsGetCall</a>) Do(opts ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#CallOption">CallOption</a>) (*<a href="#Project">Project</a>, <a href="/builtin#error">error</a>)</pre> </div> <p>Do executes the &#34;script.projects.get&#34; call. Any non-2xx status code is an error. Response headers are in either *Project.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsGetCall.Fields" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsGetCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2039">Fields</a> <a class="Documentation-idLink" href="#ProjectsGetCall.Fields" aria-label="Go to ProjectsGetCall.Fields">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsGetCall">ProjectsGetCall</a>) Fields(s ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#Field">Field</a>) *<a href="#ProjectsGetCall">ProjectsGetCall</a></pre> </div> <p>Fields allows partial responses to be retrieved. See <a href="https://developers.google.com/gdata/docs/2.0/basics#PartialResponse">https://developers.google.com/gdata/docs/2.0/basics#PartialResponse</a> for more details. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsGetCall.Header" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsGetCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2060">Header</a> <a class="Documentation-idLink" href="#ProjectsGetCall.Header" aria-label="Go to ProjectsGetCall.Header">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsGetCall">ProjectsGetCall</a>) Header() <a href="/net/http">http</a>.<a href="/net/http#Header">Header</a></pre> </div> <p>Header returns a http.Header that can be modified by the caller to add headers to the request. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsGetCall.IfNoneMatch" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsGetCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2047">IfNoneMatch</a> <a class="Documentation-idLink" href="#ProjectsGetCall.IfNoneMatch" aria-label="Go to ProjectsGetCall.IfNoneMatch">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsGetCall">ProjectsGetCall</a>) IfNoneMatch(entityTag <a href="/builtin#string">string</a>) *<a href="#ProjectsGetCall">ProjectsGetCall</a></pre> </div> <p>IfNoneMatch sets an optional parameter which makes the operation fail if the object&#39;s ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. </p> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ProjectsGetContentCall" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2125">ProjectsGetContentCall</a> <a class="Documentation-idLink" href="#ProjectsGetContentCall" aria-label="Go to ProjectsGetContentCall">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ProjectsGetContentCall struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsGetContentCall.Context" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsGetContentCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2169">Context</a> <a class="Documentation-idLink" href="#ProjectsGetContentCall.Context" aria-label="Go to ProjectsGetContentCall.Context">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsGetContentCall">ProjectsGetContentCall</a>) Context(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>) *<a href="#ProjectsGetContentCall">ProjectsGetContentCall</a></pre> </div> <p>Context sets the context to be used in this call&#39;s Do method. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsGetContentCall.Do" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsGetContentCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2209">Do</a> <a class="Documentation-idLink" href="#ProjectsGetContentCall.Do" aria-label="Go to ProjectsGetContentCall.Do">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsGetContentCall">ProjectsGetContentCall</a>) Do(opts ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#CallOption">CallOption</a>) (*<a href="#Content">Content</a>, <a href="/builtin#error">error</a>)</pre> </div> <p>Do executes the &#34;script.projects.getContent&#34; call. Any non-2xx status code is an error. Response headers are in either *Content.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsGetContentCall.Fields" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsGetContentCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2155">Fields</a> <a class="Documentation-idLink" href="#ProjectsGetContentCall.Fields" aria-label="Go to ProjectsGetContentCall.Fields">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsGetContentCall">ProjectsGetContentCall</a>) Fields(s ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#Field">Field</a>) *<a href="#ProjectsGetContentCall">ProjectsGetContentCall</a></pre> </div> <p>Fields allows partial responses to be retrieved. See <a href="https://developers.google.com/gdata/docs/2.0/basics#PartialResponse">https://developers.google.com/gdata/docs/2.0/basics#PartialResponse</a> for more details. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsGetContentCall.Header" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsGetContentCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2176">Header</a> <a class="Documentation-idLink" href="#ProjectsGetContentCall.Header" aria-label="Go to ProjectsGetContentCall.Header">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsGetContentCall">ProjectsGetContentCall</a>) Header() <a href="/net/http">http</a>.<a href="/net/http#Header">Header</a></pre> </div> <p>Header returns a http.Header that can be modified by the caller to add headers to the request. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsGetContentCall.IfNoneMatch" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsGetContentCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2163">IfNoneMatch</a> <a class="Documentation-idLink" href="#ProjectsGetContentCall.IfNoneMatch" aria-label="Go to ProjectsGetContentCall.IfNoneMatch">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsGetContentCall">ProjectsGetContentCall</a>) IfNoneMatch(entityTag <a href="/builtin#string">string</a>) *<a href="#ProjectsGetContentCall">ProjectsGetContentCall</a></pre> </div> <p>IfNoneMatch sets an optional parameter which makes the operation fail if the object&#39;s ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsGetContentCall.VersionNumber" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsGetContentCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2147">VersionNumber</a> <a class="Documentation-idLink" href="#ProjectsGetContentCall.VersionNumber" aria-label="Go to ProjectsGetContentCall.VersionNumber">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsGetContentCall">ProjectsGetContentCall</a>) VersionNumber(versionNumber <a href="/builtin#int64">int64</a>) *<a href="#ProjectsGetContentCall">ProjectsGetContentCall</a></pre> </div> <p>VersionNumber sets the optional parameter &#34;versionNumber&#34;: The version number of the project to retrieve. If not provided, the project&#39;s HEAD version is returned. </p> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ProjectsGetMetricsCall" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2241">ProjectsGetMetricsCall</a> <a class="Documentation-idLink" href="#ProjectsGetMetricsCall" aria-label="Go to ProjectsGetMetricsCall">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ProjectsGetMetricsCall struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsGetMetricsCall.Context" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsGetMetricsCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2301">Context</a> <a class="Documentation-idLink" href="#ProjectsGetMetricsCall.Context" aria-label="Go to ProjectsGetMetricsCall.Context">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsGetMetricsCall">ProjectsGetMetricsCall</a>) Context(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>) *<a href="#ProjectsGetMetricsCall">ProjectsGetMetricsCall</a></pre> </div> <p>Context sets the context to be used in this call&#39;s Do method. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsGetMetricsCall.Do" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsGetMetricsCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2341">Do</a> <a class="Documentation-idLink" href="#ProjectsGetMetricsCall.Do" aria-label="Go to ProjectsGetMetricsCall.Do">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsGetMetricsCall">ProjectsGetMetricsCall</a>) Do(opts ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#CallOption">CallOption</a>) (*<a href="#Metrics">Metrics</a>, <a href="/builtin#error">error</a>)</pre> </div> <p>Do executes the &#34;script.projects.getMetrics&#34; call. Any non-2xx status code is an error. Response headers are in either *Metrics.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsGetMetricsCall.Fields" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsGetMetricsCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2287">Fields</a> <a class="Documentation-idLink" href="#ProjectsGetMetricsCall.Fields" aria-label="Go to ProjectsGetMetricsCall.Fields">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsGetMetricsCall">ProjectsGetMetricsCall</a>) Fields(s ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#Field">Field</a>) *<a href="#ProjectsGetMetricsCall">ProjectsGetMetricsCall</a></pre> </div> <p>Fields allows partial responses to be retrieved. See <a href="https://developers.google.com/gdata/docs/2.0/basics#PartialResponse">https://developers.google.com/gdata/docs/2.0/basics#PartialResponse</a> for more details. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsGetMetricsCall.Header" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsGetMetricsCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2308">Header</a> <a class="Documentation-idLink" href="#ProjectsGetMetricsCall.Header" aria-label="Go to ProjectsGetMetricsCall.Header">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsGetMetricsCall">ProjectsGetMetricsCall</a>) Header() <a href="/net/http">http</a>.<a href="/net/http#Header">Header</a></pre> </div> <p>Header returns a http.Header that can be modified by the caller to add headers to the request. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsGetMetricsCall.IfNoneMatch" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsGetMetricsCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2295">IfNoneMatch</a> <a class="Documentation-idLink" href="#ProjectsGetMetricsCall.IfNoneMatch" aria-label="Go to ProjectsGetMetricsCall.IfNoneMatch">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsGetMetricsCall">ProjectsGetMetricsCall</a>) IfNoneMatch(entityTag <a href="/builtin#string">string</a>) *<a href="#ProjectsGetMetricsCall">ProjectsGetMetricsCall</a></pre> </div> <p>IfNoneMatch sets an optional parameter which makes the operation fail if the object&#39;s ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsGetMetricsCall.MetricsFilterDeploymentId" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsGetMetricsCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2263">MetricsFilterDeploymentId</a> <a class="Documentation-idLink" href="#ProjectsGetMetricsCall.MetricsFilterDeploymentId" aria-label="Go to ProjectsGetMetricsCall.MetricsFilterDeploymentId">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsGetMetricsCall">ProjectsGetMetricsCall</a>) MetricsFilterDeploymentId(metricsFilterDeploymentId <a href="/builtin#string">string</a>) *<a href="#ProjectsGetMetricsCall">ProjectsGetMetricsCall</a></pre> </div> <p>MetricsFilterDeploymentId sets the optional parameter &#34;metricsFilter.deploymentId&#34;: Optional field indicating a specific deployment to retrieve metrics from. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsGetMetricsCall.MetricsGranularity" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsGetMetricsCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2279">MetricsGranularity</a> <a class="Documentation-idLink" href="#ProjectsGetMetricsCall.MetricsGranularity" aria-label="Go to ProjectsGetMetricsCall.MetricsGranularity">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsGetMetricsCall">ProjectsGetMetricsCall</a>) MetricsGranularity(metricsGranularity <a href="/builtin#string">string</a>) *<a href="#ProjectsGetMetricsCall">ProjectsGetMetricsCall</a></pre> </div> <p>MetricsGranularity sets the optional parameter &#34;metricsGranularity&#34;: Required field indicating what granularity of metrics are returned. </p><p>Possible values: </p><pre>&#34;UNSPECIFIED_GRANULARITY&#34; - Default metric granularity used to query no </pre><p>metrics. </p><pre>&#34;WEEKLY&#34; - Represents weekly metrics. &#34;DAILY&#34; - Represents daily metrics over a period of 7 days. </pre> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ProjectsService" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L252">ProjectsService</a> <a class="Documentation-idLink" href="#ProjectsService" aria-label="Go to ProjectsService">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ProjectsService struct { <span id="ProjectsService.Deployments" data-kind="field"> Deployments *<a href="#ProjectsDeploymentsService">ProjectsDeploymentsService</a> </span> <span id="ProjectsService.Versions" data-kind="field"> Versions *<a href="#ProjectsVersionsService">ProjectsVersionsService</a> </span> <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeFunc"> <h4 tabindex="-1" id="NewProjectsService" data-kind="function" class="Documentation-typeFuncHeader"> <span>func <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L245">NewProjectsService</a> <a class="Documentation-idLink" href="#NewProjectsService" aria-label="Go to NewProjectsService">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func NewProjectsService(s *<a href="#Service">Service</a>) *<a href="#ProjectsService">ProjectsService</a></pre> </div> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsService.Create" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsService) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1933">Create</a> <a class="Documentation-idLink" href="#ProjectsService.Create" aria-label="Go to ProjectsService.Create">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (r *<a href="#ProjectsService">ProjectsService</a>) Create(createprojectrequest *<a href="#CreateProjectRequest">CreateProjectRequest</a>) *<a href="#ProjectsCreateCall">ProjectsCreateCall</a></pre> </div> <p>Create: Creates a new, empty script project with no script files and a base manifest file. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsService.Get" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsService) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2030">Get</a> <a class="Documentation-idLink" href="#ProjectsService.Get" aria-label="Go to ProjectsService.Get">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (r *<a href="#ProjectsService">ProjectsService</a>) Get(scriptId <a href="/builtin#string">string</a>) *<a href="#ProjectsGetCall">ProjectsGetCall</a></pre> </div> <p>Get: Gets a script project&#39;s metadata. </p><p>- scriptId: The script project&#39;s Drive ID. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsService.GetContent" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsService) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2138">GetContent</a> <a class="Documentation-idLink" href="#ProjectsService.GetContent" aria-label="Go to ProjectsService.GetContent">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (r *<a href="#ProjectsService">ProjectsService</a>) GetContent(scriptId <a href="/builtin#string">string</a>) *<a href="#ProjectsGetContentCall">ProjectsGetContentCall</a></pre> </div> <p>GetContent: Gets the content of the script project, including the code source and metadata for each script file. </p><p>- scriptId: The script project&#39;s Drive ID. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsService.GetMetrics" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsService) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2254">GetMetrics</a> <a class="Documentation-idLink" href="#ProjectsService.GetMetrics" aria-label="Go to ProjectsService.GetMetrics">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (r *<a href="#ProjectsService">ProjectsService</a>) GetMetrics(scriptId <a href="/builtin#string">string</a>) *<a href="#ProjectsGetMetricsCall">ProjectsGetMetricsCall</a></pre> </div> <p>GetMetrics: Get metrics data for scripts, such as number of executions and active users. </p><p>- scriptId: Required field indicating the script to get metrics for. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsService.UpdateContent" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsService) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2389">UpdateContent</a> <a class="Documentation-idLink" href="#ProjectsService.UpdateContent" aria-label="Go to ProjectsService.UpdateContent">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (r *<a href="#ProjectsService">ProjectsService</a>) UpdateContent(scriptId <a href="/builtin#string">string</a>, content *<a href="#Content">Content</a>) *<a href="#ProjectsUpdateContentCall">ProjectsUpdateContentCall</a></pre> </div> <p>UpdateContent: Updates the content of the specified script project. This content is stored as the HEAD version, and is used when the script is executed as a trigger, in the script editor, in add-on preview mode, or as a web app or Apps Script API in development mode. This clears all the existing files in the project. </p><p>- scriptId: The script project&#39;s Drive ID. </p> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ProjectsUpdateContentCall" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2373">ProjectsUpdateContentCall</a> <a class="Documentation-idLink" href="#ProjectsUpdateContentCall" aria-label="Go to ProjectsUpdateContentCall">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ProjectsUpdateContentCall struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsUpdateContentCall.Context" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsUpdateContentCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2405">Context</a> <a class="Documentation-idLink" href="#ProjectsUpdateContentCall.Context" aria-label="Go to ProjectsUpdateContentCall.Context">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsUpdateContentCall">ProjectsUpdateContentCall</a>) Context(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>) *<a href="#ProjectsUpdateContentCall">ProjectsUpdateContentCall</a></pre> </div> <p>Context sets the context to be used in this call&#39;s Do method. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsUpdateContentCall.Do" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsUpdateContentCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2446">Do</a> <a class="Documentation-idLink" href="#ProjectsUpdateContentCall.Do" aria-label="Go to ProjectsUpdateContentCall.Do">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsUpdateContentCall">ProjectsUpdateContentCall</a>) Do(opts ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#CallOption">CallOption</a>) (*<a href="#Content">Content</a>, <a href="/builtin#error">error</a>)</pre> </div> <p>Do executes the &#34;script.projects.updateContent&#34; call. Any non-2xx status code is an error. Response headers are in either *Content.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsUpdateContentCall.Fields" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsUpdateContentCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2399">Fields</a> <a class="Documentation-idLink" href="#ProjectsUpdateContentCall.Fields" aria-label="Go to ProjectsUpdateContentCall.Fields">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsUpdateContentCall">ProjectsUpdateContentCall</a>) Fields(s ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#Field">Field</a>) *<a href="#ProjectsUpdateContentCall">ProjectsUpdateContentCall</a></pre> </div> <p>Fields allows partial responses to be retrieved. See <a href="https://developers.google.com/gdata/docs/2.0/basics#PartialResponse">https://developers.google.com/gdata/docs/2.0/basics#PartialResponse</a> for more details. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsUpdateContentCall.Header" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsUpdateContentCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L2412">Header</a> <a class="Documentation-idLink" href="#ProjectsUpdateContentCall.Header" aria-label="Go to ProjectsUpdateContentCall.Header">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsUpdateContentCall">ProjectsUpdateContentCall</a>) Header() <a href="/net/http">http</a>.<a href="/net/http#Header">Header</a></pre> </div> <p>Header returns a http.Header that can be modified by the caller to add headers to the request. </p> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ProjectsVersionsCreateCall" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3038">ProjectsVersionsCreateCall</a> <a class="Documentation-idLink" href="#ProjectsVersionsCreateCall" aria-label="Go to ProjectsVersionsCreateCall">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ProjectsVersionsCreateCall struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsCreateCall.Context" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsCreateCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3067">Context</a> <a class="Documentation-idLink" href="#ProjectsVersionsCreateCall.Context" aria-label="Go to ProjectsVersionsCreateCall.Context">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsVersionsCreateCall">ProjectsVersionsCreateCall</a>) Context(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>) *<a href="#ProjectsVersionsCreateCall">ProjectsVersionsCreateCall</a></pre> </div> <p>Context sets the context to be used in this call&#39;s Do method. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsCreateCall.Do" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsCreateCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3108">Do</a> <a class="Documentation-idLink" href="#ProjectsVersionsCreateCall.Do" aria-label="Go to ProjectsVersionsCreateCall.Do">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsVersionsCreateCall">ProjectsVersionsCreateCall</a>) Do(opts ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#CallOption">CallOption</a>) (*<a href="#Version">Version</a>, <a href="/builtin#error">error</a>)</pre> </div> <p>Do executes the &#34;script.projects.versions.create&#34; call. Any non-2xx status code is an error. Response headers are in either *Version.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsCreateCall.Fields" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsCreateCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3061">Fields</a> <a class="Documentation-idLink" href="#ProjectsVersionsCreateCall.Fields" aria-label="Go to ProjectsVersionsCreateCall.Fields">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsVersionsCreateCall">ProjectsVersionsCreateCall</a>) Fields(s ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#Field">Field</a>) *<a href="#ProjectsVersionsCreateCall">ProjectsVersionsCreateCall</a></pre> </div> <p>Fields allows partial responses to be retrieved. See <a href="https://developers.google.com/gdata/docs/2.0/basics#PartialResponse">https://developers.google.com/gdata/docs/2.0/basics#PartialResponse</a> for more details. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsCreateCall.Header" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsCreateCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3074">Header</a> <a class="Documentation-idLink" href="#ProjectsVersionsCreateCall.Header" aria-label="Go to ProjectsVersionsCreateCall.Header">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsVersionsCreateCall">ProjectsVersionsCreateCall</a>) Header() <a href="/net/http">http</a>.<a href="/net/http#Header">Header</a></pre> </div> <p>Header returns a http.Header that can be modified by the caller to add headers to the request. </p> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ProjectsVersionsGetCall" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3140">ProjectsVersionsGetCall</a> <a class="Documentation-idLink" href="#ProjectsVersionsGetCall" aria-label="Go to ProjectsVersionsGetCall">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ProjectsVersionsGetCall struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsGetCall.Context" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsGetCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3178">Context</a> <a class="Documentation-idLink" href="#ProjectsVersionsGetCall.Context" aria-label="Go to ProjectsVersionsGetCall.Context">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsVersionsGetCall">ProjectsVersionsGetCall</a>) Context(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>) *<a href="#ProjectsVersionsGetCall">ProjectsVersionsGetCall</a></pre> </div> <p>Context sets the context to be used in this call&#39;s Do method. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsGetCall.Do" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsGetCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3219">Do</a> <a class="Documentation-idLink" href="#ProjectsVersionsGetCall.Do" aria-label="Go to ProjectsVersionsGetCall.Do">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsVersionsGetCall">ProjectsVersionsGetCall</a>) Do(opts ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#CallOption">CallOption</a>) (*<a href="#Version">Version</a>, <a href="/builtin#error">error</a>)</pre> </div> <p>Do executes the &#34;script.projects.versions.get&#34; call. Any non-2xx status code is an error. Response headers are in either *Version.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsGetCall.Fields" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsGetCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3164">Fields</a> <a class="Documentation-idLink" href="#ProjectsVersionsGetCall.Fields" aria-label="Go to ProjectsVersionsGetCall.Fields">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsVersionsGetCall">ProjectsVersionsGetCall</a>) Fields(s ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#Field">Field</a>) *<a href="#ProjectsVersionsGetCall">ProjectsVersionsGetCall</a></pre> </div> <p>Fields allows partial responses to be retrieved. See <a href="https://developers.google.com/gdata/docs/2.0/basics#PartialResponse">https://developers.google.com/gdata/docs/2.0/basics#PartialResponse</a> for more details. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsGetCall.Header" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsGetCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3185">Header</a> <a class="Documentation-idLink" href="#ProjectsVersionsGetCall.Header" aria-label="Go to ProjectsVersionsGetCall.Header">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsVersionsGetCall">ProjectsVersionsGetCall</a>) Header() <a href="/net/http">http</a>.<a href="/net/http#Header">Header</a></pre> </div> <p>Header returns a http.Header that can be modified by the caller to add headers to the request. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsGetCall.IfNoneMatch" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsGetCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3172">IfNoneMatch</a> <a class="Documentation-idLink" href="#ProjectsVersionsGetCall.IfNoneMatch" aria-label="Go to ProjectsVersionsGetCall.IfNoneMatch">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsVersionsGetCall">ProjectsVersionsGetCall</a>) IfNoneMatch(entityTag <a href="/builtin#string">string</a>) *<a href="#ProjectsVersionsGetCall">ProjectsVersionsGetCall</a></pre> </div> <p>IfNoneMatch sets an optional parameter which makes the operation fail if the object&#39;s ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. </p> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ProjectsVersionsListCall" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3251">ProjectsVersionsListCall</a> <a class="Documentation-idLink" href="#ProjectsVersionsListCall" aria-label="Go to ProjectsVersionsListCall">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ProjectsVersionsListCall struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsListCall.Context" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3301">Context</a> <a class="Documentation-idLink" href="#ProjectsVersionsListCall.Context" aria-label="Go to ProjectsVersionsListCall.Context">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsVersionsListCall">ProjectsVersionsListCall</a>) Context(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>) *<a href="#ProjectsVersionsListCall">ProjectsVersionsListCall</a></pre> </div> <p>Context sets the context to be used in this call&#39;s Do method. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsListCall.Do" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3342">Do</a> <a class="Documentation-idLink" href="#ProjectsVersionsListCall.Do" aria-label="Go to ProjectsVersionsListCall.Do">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsVersionsListCall">ProjectsVersionsListCall</a>) Do(opts ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#CallOption">CallOption</a>) (*<a href="#ListVersionsResponse">ListVersionsResponse</a>, <a href="/builtin#error">error</a>)</pre> </div> <p>Do executes the &#34;script.projects.versions.list&#34; call. Any non-2xx status code is an error. Response headers are in either *ListVersionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsListCall.Fields" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3287">Fields</a> <a class="Documentation-idLink" href="#ProjectsVersionsListCall.Fields" aria-label="Go to ProjectsVersionsListCall.Fields">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsVersionsListCall">ProjectsVersionsListCall</a>) Fields(s ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#Field">Field</a>) *<a href="#ProjectsVersionsListCall">ProjectsVersionsListCall</a></pre> </div> <p>Fields allows partial responses to be retrieved. See <a href="https://developers.google.com/gdata/docs/2.0/basics#PartialResponse">https://developers.google.com/gdata/docs/2.0/basics#PartialResponse</a> for more details. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsListCall.Header" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3308">Header</a> <a class="Documentation-idLink" href="#ProjectsVersionsListCall.Header" aria-label="Go to ProjectsVersionsListCall.Header">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsVersionsListCall">ProjectsVersionsListCall</a>) Header() <a href="/net/http">http</a>.<a href="/net/http#Header">Header</a></pre> </div> <p>Header returns a http.Header that can be modified by the caller to add headers to the request. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsListCall.IfNoneMatch" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3295">IfNoneMatch</a> <a class="Documentation-idLink" href="#ProjectsVersionsListCall.IfNoneMatch" aria-label="Go to ProjectsVersionsListCall.IfNoneMatch">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsVersionsListCall">ProjectsVersionsListCall</a>) IfNoneMatch(entityTag <a href="/builtin#string">string</a>) *<a href="#ProjectsVersionsListCall">ProjectsVersionsListCall</a></pre> </div> <p>IfNoneMatch sets an optional parameter which makes the operation fail if the object&#39;s ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsListCall.PageSize" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3271">PageSize</a> <a class="Documentation-idLink" href="#ProjectsVersionsListCall.PageSize" aria-label="Go to ProjectsVersionsListCall.PageSize">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsVersionsListCall">ProjectsVersionsListCall</a>) PageSize(pageSize <a href="/builtin#int64">int64</a>) *<a href="#ProjectsVersionsListCall">ProjectsVersionsListCall</a></pre> </div> <p>PageSize sets the optional parameter &#34;pageSize&#34;: The maximum number of versions on each returned page. Defaults to 50. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsListCall.PageToken" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3279">PageToken</a> <a class="Documentation-idLink" href="#ProjectsVersionsListCall.PageToken" aria-label="Go to ProjectsVersionsListCall.PageToken">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsVersionsListCall">ProjectsVersionsListCall</a>) PageToken(pageToken <a href="/builtin#string">string</a>) *<a href="#ProjectsVersionsListCall">ProjectsVersionsListCall</a></pre> </div> <p>PageToken sets the optional parameter &#34;pageToken&#34;: The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from a previous response. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsListCall.Pages" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsListCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3377">Pages</a> <a class="Documentation-idLink" href="#ProjectsVersionsListCall.Pages" aria-label="Go to ProjectsVersionsListCall.Pages">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ProjectsVersionsListCall">ProjectsVersionsListCall</a>) Pages(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>, f func(*<a href="#ListVersionsResponse">ListVersionsResponse</a>) <a href="/builtin#error">error</a>) <a href="/builtin#error">error</a></pre> </div> <p>Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method. </p> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ProjectsVersionsService" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L274">ProjectsVersionsService</a> <a class="Documentation-idLink" href="#ProjectsVersionsService" aria-label="Go to ProjectsVersionsService">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ProjectsVersionsService struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeFunc"> <h4 tabindex="-1" id="NewProjectsVersionsService" data-kind="function" class="Documentation-typeFuncHeader"> <span>func <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L269">NewProjectsVersionsService</a> <a class="Documentation-idLink" href="#NewProjectsVersionsService" aria-label="Go to NewProjectsVersionsService">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func NewProjectsVersionsService(s *<a href="#Service">Service</a>) *<a href="#ProjectsVersionsService">ProjectsVersionsService</a></pre> </div> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsService.Create" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsService) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3051">Create</a> <a class="Documentation-idLink" href="#ProjectsVersionsService.Create" aria-label="Go to ProjectsVersionsService.Create">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (r *<a href="#ProjectsVersionsService">ProjectsVersionsService</a>) Create(scriptId <a href="/builtin#string">string</a>, version *<a href="#Version">Version</a>) *<a href="#ProjectsVersionsCreateCall">ProjectsVersionsCreateCall</a></pre> </div> <p>Create: Creates a new immutable version using the current code, with a unique version number. </p><p>- scriptId: The script project&#39;s Drive ID. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsService.Get" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsService) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3154">Get</a> <a class="Documentation-idLink" href="#ProjectsVersionsService.Get" aria-label="Go to ProjectsVersionsService.Get">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (r *<a href="#ProjectsVersionsService">ProjectsVersionsService</a>) Get(scriptId <a href="/builtin#string">string</a>, versionNumber <a href="/builtin#int64">int64</a>) *<a href="#ProjectsVersionsGetCall">ProjectsVersionsGetCall</a></pre> </div> <p>Get: Gets a version of a script project. </p><p>- scriptId: The script project&#39;s Drive ID. - versionNumber: The version number. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ProjectsVersionsService.List" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ProjectsVersionsService) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3263">List</a> <a class="Documentation-idLink" href="#ProjectsVersionsService.List" aria-label="Go to ProjectsVersionsService.List">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (r *<a href="#ProjectsVersionsService">ProjectsVersionsService</a>) List(scriptId <a href="/builtin#string">string</a>) *<a href="#ProjectsVersionsListCall">ProjectsVersionsListCall</a></pre> </div> <p>List: List the versions of a script project. </p><p>- scriptId: The script project&#39;s Drive ID. </p> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ScriptExecutionResult" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1225">ScriptExecutionResult</a> <a class="Documentation-idLink" href="#ScriptExecutionResult" aria-label="Go to ScriptExecutionResult">露</a></span> <span class="Documentation-sinceVersion"> <span class="Documentation-sinceVersionLabel">added in</span> <span class="Documentation-sinceVersionVersion">v0.6.0</span> </span> </h4> <div class="Documentation-declaration"> <pre>type ScriptExecutionResult struct { <span id="ScriptExecutionResult.ReturnValue" data-kind="field"> <span class="comment">// ReturnValue: The returned value of the execution.</span> </span> ReturnValue *<a href="#Value">Value</a> `json:&#34;returnValue,omitempty&#34;` <span id="ScriptExecutionResult.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;ReturnValue&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="ScriptExecutionResult.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;ReturnValue&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>ScriptExecutionResult: The result of an execution. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ScriptExecutionResult.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (ScriptExecutionResult) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1241">MarshalJSON</a> <a class="Documentation-idLink" href="#ScriptExecutionResult.MarshalJSON" aria-label="Go to ScriptExecutionResult.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> <span class="Documentation-sinceVersionLabel">added in</span> <span class="Documentation-sinceVersionVersion">v0.6.0</span> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#ScriptExecutionResult">ScriptExecutionResult</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ScriptStackTraceElement" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1248">ScriptStackTraceElement</a> <a class="Documentation-idLink" href="#ScriptStackTraceElement" aria-label="Go to ScriptStackTraceElement">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ScriptStackTraceElement struct { <span id="ScriptStackTraceElement.Function" data-kind="field"> <span class="comment">// Function: The name of the function that failed.</span> </span> Function <a href="/builtin#string">string</a> `json:&#34;function,omitempty&#34;` <span id="ScriptStackTraceElement.LineNumber" data-kind="field"> <span class="comment">// LineNumber: The line number where the script failed.</span> </span> LineNumber <a href="/builtin#int64">int64</a> `json:&#34;lineNumber,omitempty&#34;` <span id="ScriptStackTraceElement.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;Function&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="ScriptStackTraceElement.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;Function&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>ScriptStackTraceElement: A stack trace through the script that shows where the execution failed. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ScriptStackTraceElement.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (ScriptStackTraceElement) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1266">MarshalJSON</a> <a class="Documentation-idLink" href="#ScriptStackTraceElement.MarshalJSON" aria-label="Go to ScriptStackTraceElement.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#ScriptStackTraceElement">ScriptStackTraceElement</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ScriptsRunCall" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3395">ScriptsRunCall</a> <a class="Documentation-idLink" href="#ScriptsRunCall" aria-label="Go to ScriptsRunCall">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ScriptsRunCall struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ScriptsRunCall.Context" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ScriptsRunCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3437">Context</a> <a class="Documentation-idLink" href="#ScriptsRunCall.Context" aria-label="Go to ScriptsRunCall.Context">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ScriptsRunCall">ScriptsRunCall</a>) Context(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>) *<a href="#ScriptsRunCall">ScriptsRunCall</a></pre> </div> <p>Context sets the context to be used in this call&#39;s Do method. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ScriptsRunCall.Do" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ScriptsRunCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3478">Do</a> <a class="Documentation-idLink" href="#ScriptsRunCall.Do" aria-label="Go to ScriptsRunCall.Do">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ScriptsRunCall">ScriptsRunCall</a>) Do(opts ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#CallOption">CallOption</a>) (*<a href="#Operation">Operation</a>, <a href="/builtin#error">error</a>)</pre> </div> <p>Do executes the &#34;script.scripts.run&#34; call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ScriptsRunCall.Fields" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ScriptsRunCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3431">Fields</a> <a class="Documentation-idLink" href="#ScriptsRunCall.Fields" aria-label="Go to ScriptsRunCall.Fields">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ScriptsRunCall">ScriptsRunCall</a>) Fields(s ...<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#Field">Field</a>) *<a href="#ScriptsRunCall">ScriptsRunCall</a></pre> </div> <p>Fields allows partial responses to be retrieved. See <a href="https://developers.google.com/gdata/docs/2.0/basics#PartialResponse">https://developers.google.com/gdata/docs/2.0/basics#PartialResponse</a> for more details. </p> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ScriptsRunCall.Header" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ScriptsRunCall) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3444">Header</a> <a class="Documentation-idLink" href="#ScriptsRunCall.Header" aria-label="Go to ScriptsRunCall.Header">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (c *<a href="#ScriptsRunCall">ScriptsRunCall</a>) Header() <a href="/net/http">http</a>.<a href="/net/http#Header">Header</a></pre> </div> <p>Header returns a http.Header that can be modified by the caller to add headers to the request. </p> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="ScriptsService" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L283">ScriptsService</a> <a class="Documentation-idLink" href="#ScriptsService" aria-label="Go to ScriptsService">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type ScriptsService struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeFunc"> <h4 tabindex="-1" id="NewScriptsService" data-kind="function" class="Documentation-typeFuncHeader"> <span>func <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L278">NewScriptsService</a> <a class="Documentation-idLink" href="#NewScriptsService" aria-label="Go to NewScriptsService">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func NewScriptsService(s *<a href="#Service">Service</a>) *<a href="#ScriptsService">ScriptsService</a></pre> </div> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="ScriptsService.Run" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*ScriptsService) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L3421">Run</a> <a class="Documentation-idLink" href="#ScriptsService.Run" aria-label="Go to ScriptsService.Run">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (r *<a href="#ScriptsService">ScriptsService</a>) Run(scriptId <a href="/builtin#string">string</a>, executionrequest *<a href="#ExecutionRequest">ExecutionRequest</a>) *<a href="#ScriptsRunCall">ScriptsRunCall</a></pre> </div> <p>Run: Runs a function in an Apps Script project. The script project must be deployed for use with the Apps Script API and the calling application must share the same Cloud Platform project. This method requires authorization with an OAuth 2.0 token that includes at least one of the scopes listed in the Authorization (#authorization-scopes) section; script projects that do not require authorization cannot be executed through this API. To find the correct scopes to include in the authentication token, open the script project **Overview** page and scroll down to &#34;Project OAuth Scopes.&#34; The error `403, PERMISSION_DENIED: The caller does not have permission` indicates that the Cloud Platform project used to authorize the request is not the same as the one used by the script. </p><ul class="Documentation-bulletList"> <li>scriptId: The script ID of the script to be executed. Find the script ID on the **Project settings** page under &#34;IDs.&#34; As multiple executable APIs can be deployed in new IDE for same script, this field should be populated with DeploymentID generated while deploying in new IDE instead of script ID.</li> </ul> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="Service" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L217">Service</a> <a class="Documentation-idLink" href="#Service" aria-label="Go to Service">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type Service struct { <span id="Service.BasePath" data-kind="field"> BasePath <a href="/builtin#string">string</a> <span class="comment">// API endpoint base URL</span> </span><span id="Service.UserAgent" data-kind="field"> UserAgent <a href="/builtin#string">string</a> <span class="comment">// optional additional User-Agent fragment</span> </span> <span id="Service.Processes" data-kind="field"> Processes *<a href="#ProcessesService">ProcessesService</a> </span> <span id="Service.Projects" data-kind="field"> Projects *<a href="#ProjectsService">ProjectsService</a> </span> <span id="Service.Scripts" data-kind="field"> Scripts *<a href="#ScriptsService">ScriptsService</a> </span> <span class="comment">// contains filtered or unexported fields</span> }</pre> </div> <div class="Documentation-typeFunc"> <details class="Documentation-deprecatedDetails js-deprecatedDetails"> <summary> <h4 tabindex="-1" id="New" data-kind="function" class="Documentation-typeFuncHeader"> <span class="Documentation-deprecatedTitle"> func <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L206">New</a> <span class="Documentation-deprecatedTag">deprecated</span> <span class="Documentation-deprecatedBody"></span> </span> <span class="Documentation-sinceVersion"> </span> </h4> </summary> <div class="go-Message go-Message--warning Documentation-deprecatedItemBody"> <div class="Documentation-declaration"> <pre>func New(client *<a href="/net/http">http</a>.<a href="/net/http#Client">Client</a>) (*<a href="#Service">Service</a>, <a href="/builtin#error">error</a>)</pre> </div> <p>New creates a new Service. It uses the provided http.Client for requests. </p><p>Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead. </p> </div> </details> </div><div class="Documentation-typeFunc"> <h4 tabindex="-1" id="NewService" data-kind="function" class="Documentation-typeFuncHeader"> <span>func <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L160">NewService</a> <a class="Documentation-idLink" href="#NewService" aria-label="Go to NewService">露</a></span> <span class="Documentation-sinceVersion"> <span class="Documentation-sinceVersionLabel">added in</span> <span class="Documentation-sinceVersionVersion">v0.3.0</span> </span> </h4> <div class="Documentation-declaration"> <pre>func NewService(ctx <a href="/context">context</a>.<a href="/context#Context">Context</a>, opts ...<a href="/google.golang.org/api@v0.209.0/option">option</a>.<a href="/google.golang.org/api@v0.209.0/option#ClientOption">ClientOption</a>) (*<a href="#Service">Service</a>, <a href="/builtin#error">error</a>)</pre> </div> <p>NewService creates a new Service. </p> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="Status" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1274">Status</a> <a class="Documentation-idLink" href="#Status" aria-label="Go to Status">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type Status struct { <span id="Status.Code" data-kind="field"> <span class="comment">// Code: The status code. For this API, this value either: - 10, indicating a</span> </span> <span class="comment">// `SCRIPT_TIMEOUT` error, - 3, indicating an `INVALID_ARGUMENT` error, or - 1,</span> <span class="comment">// indicating a `CANCELLED` execution.</span> Code <a href="/builtin#int64">int64</a> `json:&#34;code,omitempty&#34;` <span id="Status.Details" data-kind="field"> <span class="comment">// Details: An array that contains a single ExecutionError object that provides</span> </span> <span class="comment">// information about the nature of the error.</span> Details []<a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#RawMessage">RawMessage</a> `json:&#34;details,omitempty&#34;` <span id="Status.Message" data-kind="field"> <span class="comment">// Message: A developer-facing error message, which is in English. Any</span> </span> <span class="comment">// user-facing error message is localized and sent in the details field, or</span> <span class="comment">// localized by the client.</span> Message <a href="/builtin#string">string</a> `json:&#34;message,omitempty&#34;` <span id="Status.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;Code&#34;) to unconditionally</span> </span> <span class="comment">// include in API requests. By default, fields with empty or default values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="Status.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;Code&#34;) to include in API requests</span> </span> <span class="comment">// with the JSON null value. By default, fields with empty values are omitted</span> <span class="comment">// from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>Status: If a `run` call succeeds but the script function (or Apps Script itself) throws an exception, the response body&#39;s error field contains this `Status` object. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="Status.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (Status) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1299">MarshalJSON</a> <a class="Documentation-idLink" href="#Status.MarshalJSON" aria-label="Go to Status.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#Status">Status</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="Struct" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1306">Struct</a> <a class="Documentation-idLink" href="#Struct" aria-label="Go to Struct">露</a></span> <span class="Documentation-sinceVersion"> <span class="Documentation-sinceVersionLabel">added in</span> <span class="Documentation-sinceVersionVersion">v0.6.0</span> </span> </h4> <div class="Documentation-declaration"> <pre>type Struct struct { <span id="Struct.Fields" data-kind="field"> <span class="comment">// Fields: Unordered map of dynamically typed values.</span> </span> Fields map[<a href="/builtin#string">string</a>]<a href="#Value">Value</a> `json:&#34;fields,omitempty&#34;` <span id="Struct.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;Fields&#34;) to unconditionally</span> </span> <span class="comment">// include in API requests. By default, fields with empty or default values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="Struct.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;Fields&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>Struct: `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="Struct.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (Struct) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1322">MarshalJSON</a> <a class="Documentation-idLink" href="#Struct.MarshalJSON" aria-label="Go to Struct.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> <span class="Documentation-sinceVersionLabel">added in</span> <span class="Documentation-sinceVersionVersion">v0.6.0</span> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#Struct">Struct</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="UpdateDeploymentRequest" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1329">UpdateDeploymentRequest</a> <a class="Documentation-idLink" href="#UpdateDeploymentRequest" aria-label="Go to UpdateDeploymentRequest">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type UpdateDeploymentRequest struct { <span id="UpdateDeploymentRequest.DeploymentConfig" data-kind="field"> <span class="comment">// DeploymentConfig: The deployment configuration.</span> </span> DeploymentConfig *<a href="#DeploymentConfig">DeploymentConfig</a> `json:&#34;deploymentConfig,omitempty&#34;` <span id="UpdateDeploymentRequest.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;DeploymentConfig&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="UpdateDeploymentRequest.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;DeploymentConfig&#34;) to include in</span> </span> <span class="comment">// API requests with the JSON null value. By default, fields with empty values</span> <span class="comment">// are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>UpdateDeploymentRequest: Request with deployment information to update an existing deployment. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="UpdateDeploymentRequest.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (UpdateDeploymentRequest) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1345">MarshalJSON</a> <a class="Documentation-idLink" href="#UpdateDeploymentRequest.MarshalJSON" aria-label="Go to UpdateDeploymentRequest.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#UpdateDeploymentRequest">UpdateDeploymentRequest</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="Value" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1352">Value</a> <a class="Documentation-idLink" href="#Value" aria-label="Go to Value">露</a></span> <span class="Documentation-sinceVersion"> <span class="Documentation-sinceVersionLabel">added in</span> <span class="Documentation-sinceVersionVersion">v0.6.0</span> </span> </h4> <div class="Documentation-declaration"> <pre>type Value struct { <span id="Value.BoolValue" data-kind="field"> <span class="comment">// BoolValue: Represents a boolean value.</span> </span> BoolValue <a href="/builtin#bool">bool</a> `json:&#34;boolValue,omitempty&#34;` <span id="Value.BytesValue" data-kind="field"> <span class="comment">// BytesValue: Represents raw byte values.</span> </span> BytesValue <a href="/builtin#string">string</a> `json:&#34;bytesValue,omitempty&#34;` <span id="Value.DateValue" data-kind="field"> <span class="comment">// DateValue: Represents a date in ms since the epoch.</span> </span> DateValue <a href="/builtin#int64">int64</a> `json:&#34;dateValue,omitempty,string&#34;` <span id="Value.ListValue" data-kind="field"> <span class="comment">// ListValue: Represents a repeated `Value`.</span> </span> ListValue *<a href="#ListValue">ListValue</a> `json:&#34;listValue,omitempty&#34;` <span id="Value.NullValue" data-kind="field"> <span class="comment">// NullValue: Represents a null value.</span> </span> <span class="comment">//</span> <span class="comment">// Possible values:</span> <span class="comment">// &#34;NULL_VALUE&#34; - Null value.</span> NullValue <a href="/builtin#string">string</a> `json:&#34;nullValue,omitempty&#34;` <span id="Value.NumberValue" data-kind="field"> <span class="comment">// NumberValue: Represents a double value.</span> </span> NumberValue <a href="/builtin#float64">float64</a> `json:&#34;numberValue,omitempty&#34;` <span id="Value.ProtoValue" data-kind="field"> <span class="comment">// ProtoValue: Represents a structured proto value.</span> </span> ProtoValue <a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#RawMessage">RawMessage</a> `json:&#34;protoValue,omitempty&#34;` <span id="Value.StringValue" data-kind="field"> <span class="comment">// StringValue: Represents a string value.</span> </span> StringValue <a href="/builtin#string">string</a> `json:&#34;stringValue,omitempty&#34;` <span id="Value.StructValue" data-kind="field"> <span class="comment">// StructValue: Represents a structured value.</span> </span> StructValue *<a href="#Struct">Struct</a> `json:&#34;structValue,omitempty&#34;` <span id="Value.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;BoolValue&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="Value.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;BoolValue&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>Value: `Value` represents a dynamically typed value which is the outcome of an executed script. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="Value.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (Value) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1387">MarshalJSON</a> <a class="Documentation-idLink" href="#Value.MarshalJSON" aria-label="Go to Value.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> <span class="Documentation-sinceVersionLabel">added in</span> <span class="Documentation-sinceVersionVersion">v0.6.0</span> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#Value">Value</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div><div class="Documentation-typeMethod"> <h4 tabindex="-1" id="Value.UnmarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (*Value) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1392">UnmarshalJSON</a> <a class="Documentation-idLink" href="#Value.UnmarshalJSON" aria-label="Go to Value.UnmarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> <span class="Documentation-sinceVersionLabel">added in</span> <span class="Documentation-sinceVersionVersion">v0.6.0</span> </span> </h4> <div class="Documentation-declaration"> <pre>func (s *<a href="#Value">Value</a>) UnmarshalJSON(data []<a href="/builtin#byte">byte</a>) <a href="/builtin#error">error</a></pre> </div> </div> </div><div class="Documentation-type"> <h4 tabindex="-1" id="Version" data-kind="type" class="Documentation-typeHeader"> <span>type <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1409">Version</a> <a class="Documentation-idLink" href="#Version" aria-label="Go to Version">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>type Version struct { <span id="Version.CreateTime" data-kind="field"> <span class="comment">// CreateTime: When the version was created.</span> </span> CreateTime <a href="/builtin#string">string</a> `json:&#34;createTime,omitempty&#34;` <span id="Version.Description" data-kind="field"> <span class="comment">// Description: The description for this version.</span> </span> Description <a href="/builtin#string">string</a> `json:&#34;description,omitempty&#34;` <span id="Version.ScriptId" data-kind="field"> <span class="comment">// ScriptId: The script project&#39;s Drive ID.</span> </span> ScriptId <a href="/builtin#string">string</a> `json:&#34;scriptId,omitempty&#34;` <span id="Version.VersionNumber" data-kind="field"> <span class="comment">// VersionNumber: The incremental ID that is created by Apps Script when a</span> </span> <span class="comment">// version is created. This is system assigned number and is immutable once</span> <span class="comment">// created.</span> VersionNumber <a href="/builtin#int64">int64</a> `json:&#34;versionNumber,omitempty&#34;` <span id="Version.ServerResponse" data-kind="field"> <span class="comment">// ServerResponse contains the HTTP response code and headers from the server.</span> </span> <a href="/google.golang.org/api@v0.209.0/googleapi">googleapi</a>.<a href="/google.golang.org/api@v0.209.0/googleapi#ServerResponse">ServerResponse</a> `json:&#34;-&#34;` <span id="Version.ForceSendFields" data-kind="field"> <span class="comment">// ForceSendFields is a list of field names (e.g. &#34;CreateTime&#34;) to</span> </span> <span class="comment">// unconditionally include in API requests. By default, fields with empty or</span> <span class="comment">// default values are omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields">https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields</a> for more</span> <span class="comment">// details.</span> ForceSendFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` <span id="Version.NullFields" data-kind="field"> <span class="comment">// NullFields is a list of field names (e.g. &#34;CreateTime&#34;) to include in API</span> </span> <span class="comment">// requests with the JSON null value. By default, fields with empty values are</span> <span class="comment">// omitted from API requests. See</span> <span class="comment">// <a href="https://pkg.go.dev/google.golang.org/api#hdr-NullFields">https://pkg.go.dev/google.golang.org/api#hdr-NullFields</a> for more details.</span> NullFields []<a href="/builtin#string">string</a> `json:&#34;-&#34;` }</pre> </div> <p>Version: A resource representing a script project version. A version is a &#34;snapshot&#34; of a script project and is similar to a read-only branched release. When creating deployments, the version to use must be specified. </p> <div class="Documentation-typeMethod"> <h4 tabindex="-1" id="Version.MarshalJSON" data-kind="method" class="Documentation-typeMethodHeader"> <span>func (Version) <a class="Documentation-source" href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go#L1436">MarshalJSON</a> <a class="Documentation-idLink" href="#Version.MarshalJSON" aria-label="Go to Version.MarshalJSON">露</a></span> <span class="Documentation-sinceVersion"> </span> </h4> <div class="Documentation-declaration"> <pre>func (s <a href="#Version">Version</a>) MarshalJSON() ([]<a href="/builtin#byte">byte</a>, <a href="/builtin#error">error</a>)</pre> </div> </div> </div></section></div> </div> </div> <div class="UnitFiles js-unitFiles"> <h2 class="UnitFiles-title" id="section-sourcefiles"> <img class="go-Icon" height="24" width="24" src="/static/shared/icon/insert_drive_file_gm_grey_24dp.svg" alt=""> Source Files <a class="UnitFiles-idLink" href="#section-sourcefiles" aria-label="Go to Source Files">露</a> </h2> <div class="UnitFiles-titleLink"> <a href="https://github.com/googleapis/google-api-go-client/tree/v0.209.0/script/v1" target="_blank" rel="noopener">View all Source files</a> </div> <div> <ul class="UnitFiles-fileList"><li> <a href="https://github.com/googleapis/google-api-go-client/blob/v0.209.0/script/v1/script-gen.go" target="_blank" rel="noopener" title="script-gen.go">script-gen.go</a> </li></ul> </div> </div> </div> </div> <div id="showInternal-description" hidden> Click to show internal directories. </div> <div id="hideInternal-description" hidden> Click to hide internal directories. </div> </article> <footer class="go-Main-footer"></footer> </main> <footer class="go-Footer"> <div class="go-Footer-links"> <div class="go-Footer-linkColumn"> <a href="https://go.dev/solutions" class="go-Footer-link go-Footer-link--primary" data-gtmc="footer link"> Why Go </a> <a href="https://go.dev/solutions#use-cases" class="go-Footer-link" data-gtmc="footer link"> Use Cases </a> <a href="https://go.dev/solutions#case-studies" class="go-Footer-link" data-gtmc="footer link"> Case Studies </a> </div> <div class="go-Footer-linkColumn"> <a href="https://learn.go.dev/" class="go-Footer-link go-Footer-link--primary" data-gtmc="footer link"> Get Started </a> <a href="https://play.golang.org" class="go-Footer-link" data-gtmc="footer link"> Playground </a> <a href="https://tour.golang.org" class="go-Footer-link" data-gtmc="footer link"> Tour </a> <a href="https://stackoverflow.com/questions/tagged/go?tab=Newest" class="go-Footer-link" data-gtmc="footer link"> Stack Overflow </a> <a href="https://go.dev/help" class="go-Footer-link" data-gtmc="footer link"> Help </a> </div> <div class="go-Footer-linkColumn"> <a href="https://pkg.go.dev" class="go-Footer-link go-Footer-link--primary" data-gtmc="footer link"> Packages </a> <a href="/std" class="go-Footer-link" data-gtmc="footer link"> Standard Library </a> <a href="/golang.org/x" class="go-Footer-link" data-gtmc="footer link"> Sub-repositories </a> <a href="https://pkg.go.dev/about" class="go-Footer-link" data-gtmc="footer link"> About Go Packages </a> </div> <div class="go-Footer-linkColumn"> <a href="https://go.dev/project" class="go-Footer-link go-Footer-link--primary" data-gtmc="footer link"> About </a> <a href="https://go.dev/dl/" class="go-Footer-link" data-gtmc="footer link">Download</a> <a href="https://go.dev/blog" class="go-Footer-link" data-gtmc="footer link">Blog</a> <a href="https://github.com/golang/go/issues" class="go-Footer-link" data-gtmc="footer link"> Issue Tracker </a> <a href="https://go.dev/doc/devel/release.html" class="go-Footer-link" data-gtmc="footer link"> Release Notes </a> <a href="https://blog.golang.org/go-brand" class="go-Footer-link" data-gtmc="footer link"> Brand Guidelines </a> <a href="https://go.dev/conduct" class="go-Footer-link" data-gtmc="footer link"> Code of Conduct </a> </div> <div class="go-Footer-linkColumn"> <a href="https://www.twitter.com/golang" class="go-Footer-link go-Footer-link--primary" data-gtmc="footer link"> Connect </a> <a href="https://www.twitter.com/golang" class="go-Footer-link" data-gtmc="footer link"> Twitter </a> <a href="https://github.com/golang" class="go-Footer-link" data-gtmc="footer link">GitHub</a> <a href="https://invite.slack.golangbridge.org/" class="go-Footer-link" data-gtmc="footer link"> Slack </a> <a href="https://reddit.com/r/golang" class="go-Footer-link" data-gtmc="footer link"> r/golang </a> <a href="https://www.meetup.com/pro/go" class="go-Footer-link" data-gtmc="footer link"> Meetup </a> <a href="https://golangweekly.com/" class="go-Footer-link" data-gtmc="footer link"> Golang Weekly </a> </div> </div> <div class="go-Footer-bottom"> <img class="go-Footer-gopher" width="1431" height="901" src="/static/shared/gopher/pilot-bust-1431x901.svg" alt="Gopher in flight goggles"> <ul class="go-Footer-listRow"> <li class="go-Footer-listItem"> <a href="https://go.dev/copyright" data-gtmc="footer link">Copyright</a> </li> <li class="go-Footer-listItem"> <a href="https://go.dev/tos" data-gtmc="footer link">Terms of Service</a> </li> <li class="go-Footer-listItem"> <a href="http://www.google.com/intl/en/policies/privacy/" data-gtmc="footer link" target="_blank" rel="noopener"> Privacy Policy </a> </li> <li class="go-Footer-listItem"> <a href="https://go.dev/s/pkgsite-feedback" target="_blank" rel="noopener" data-gtmc="footer link"> Report an Issue </a> </li> <li class="go-Footer-listItem"> <button class="go-Button go-Button--text go-Footer-toggleTheme js-toggleTheme" aria-label="Theme Toggle"> <img data-value="auto" class="go-Icon go-Icon--inverted" height="24" width="24" src="/static/shared/icon/brightness_6_gm_grey_24dp.svg" alt="System theme"> <img data-value="dark" class="go-Icon go-Icon--inverted" height="24" width="24" src="/static/shared/icon/brightness_2_gm_grey_24dp.svg" alt="Dark theme"> <img data-value="light" class="go-Icon go-Icon--inverted" height="24" width="24" src="/static/shared/icon/light_mode_gm_grey_24dp.svg" alt="Light theme"> <p> Theme Toggle </p> </button> </li> <li class="go-Footer-listItem"> <button class="go-Button go-Button--text go-Footer-keyboard js-openShortcuts" aria-label="Shorcuts Modal"> <img class="go-Icon go-Icon--inverted" height="24" width="24" src="/static/shared/icon/keyboard_grey_24dp.svg" alt=""> <p> Shortcuts Modal </p> </button> </li> </ul> <a class="go-Footer-googleLogo" href="https://google.com" target="_blank"rel="noopener" data-gtmc="footer link"> <img class="go-Footer-googleLogoImg" height="24" width="72" src="/static/shared/logo/google-white.svg" alt="Google logo"> </a> </div> </footer> <dialog id="jump-to-modal" class="JumpDialog go-Modal go-Modal--md js-modal"> <form method="dialog" data-gmtc="jump to form" aria-label="Jump to Identifier"> <div class="Dialog-title go-Modal-header"> <h2>Jump to</h2> <button class="go-Button go-Button--inline" type="button" data-modal-close data-gtmc="modal button" aria-label="Close" > <img class="go-Icon" height="24" width="24" src="/static/shared/icon/close_gm_grey_24dp.svg" alt="" /> </button> </div> <div class="JumpDialog-filter"> <input class="JumpDialog-input go-Input" autocomplete="off" type="text"> </div> <div class="JumpDialog-body go-Modal-body"> <div class="JumpDialog-list"></div> </div> <div class="go-Modal-actions"> <button class="go-Button" data-test-id="close-dialog">Close</button> </div> </form> </dialog> <dialog class="ShortcutsDialog go-Modal go-Modal--sm js-modal"> <form method="dialog"> <div class="go-Modal-header"> <h2>Keyboard shortcuts</h2> <button class="go-Button go-Button--inline" type="button" data-modal-close data-gtmc="modal button" aria-label="Close" > <img class="go-Icon" height="24" width="24" src="/static/shared/icon/close_gm_grey_24dp.svg" alt="" /> </button> </div> <div class="go-Modal-body"> <table> <tbody> <tr><td class="ShortcutsDialog-key"> <strong>?</strong></td><td> : This menu</td> </tr> <tr><td class="ShortcutsDialog-key"> <strong>/</strong></td><td> : Search site</td> </tr> <tr><td class="ShortcutsDialog-key"> <strong>f</strong> or <strong>F</strong></td><td> : Jump to</td> </tr> <tr> <td class="ShortcutsDialog-key"><strong>y</strong> or <strong>Y</strong></td> <td> : Canonical URL</td> </tr> </tbody> </table> </div> <div class="go-Modal-actions"> <button class="go-Button" data-test-id="close-dialog">Close</button> </div> </form> </dialog> <section class="Cookie-notice js-cookieNotice"> <div>go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic. <a target=_blank href="https://policies.google.com/technologies/cookies">Learn more.</a></div> <div><button class="go-Button">Okay</button></div> </section> <script> // this will throw if the querySelector can鈥檛 find the element const gtmId = document.querySelector('.js-gtmID').dataset.gtmid; if (!gtmId) { throw new Error('Google Tag Manager ID not found'); } loadScript(`https://www.googletagmanager.com/gtm.js?id=${gtmId}`); </script> <noscript> <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-W8MVQXG" height="0" width="0" style="display:none;visibility:hidden"> </iframe> </noscript> <div class="js-canonicalURLPath" data-canonical-url-path="/google.golang.org/api@v0.209.0/script/v1" hidden></div> <div class="js-playgroundVars" data-modulepath="google.golang.org/api" data-version="v0.209.0" hidden></div> <script> loadScript('/static/frontend/unit/main/main.js') </script> <script> loadScript('/static/frontend/unit/unit.js') </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10