CINXE.COM
REST Resource: projects.subscriptions | Pub/Sub Documentation | Google Cloud
<!doctype html> <html lang="en" dir="ltr"> <head> <meta name="google-signin-client-id" content="721724668570-nbkv1cfusk7kk4eni4pjvepaus73b13t.apps.googleusercontent.com"> <meta name="google-signin-scope" content="profile email https://www.googleapis.com/auth/developerprofiles https://www.googleapis.com/auth/developerprofiles.award https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/webhistory"> <meta property="og:site_name" content="Google Cloud"> <meta property="og:type" content="website"><meta name="theme-color" content="#039be5"><meta charset="utf-8"> <meta content="IE=Edge" http-equiv="X-UA-Compatible"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="manifest" href="/_pwa/cloud/manifest.json" crossorigin="use-credentials"> <link rel="preconnect" href="//www.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.googleapis.com" crossorigin> <link rel="preconnect" href="//apis.google.com" crossorigin> <link rel="preconnect" href="//www.google-analytics.com" crossorigin><link rel="stylesheet" href="//fonts.googleapis.com/css?family=Google+Sans:400,500,700|Google+Sans+Text:400,400italic,500,500italic,700,700italic|Roboto:400,400italic,500,500italic,700,700italic|Roboto+Mono:400,500,700&display=swap"> <link rel="stylesheet" href="//fonts.googleapis.com/css2?family=Material+Icons&family=Material+Symbols+Outlined&display=block"><link rel="stylesheet" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/css/app.css"> <link rel="shortcut icon" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/favicon.ico"> <link rel="apple-touch-icon" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png"><link rel="canonical" href="https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions"><link rel="search" type="application/opensearchdescription+xml" title="Google Cloud" href="https://cloud.google.com/s/opensearch.xml"> <link rel="alternate" hreflang="en" href="https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions" /><link rel="alternate" hreflang="x-default" href="https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions" /><title>REST Resource: projects.subscriptions | Pub/Sub Documentation | Google Cloud</title> <meta property="og:title" content="REST Resource: projects.subscriptions | Pub/Sub Documentation | Google Cloud"><meta property="og:url" content="https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions"><meta property="og:image" content="https://cloud.google.com/_static/cloud/images/social-icon-google-cloud-1200-630.png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="630"><meta property="og:locale" content="en"><meta name="twitter:card" content="summary_large_image"><script type="application/ld+json"> { "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "Pub/Sub", "item": "https://cloud.google.com/pubsub" },{ "@type": "ListItem", "position": 2, "name": "Documentation", "item": "https://cloud.google.com/pubsub/docs" },{ "@type": "ListItem", "position": 3, "name": "REST Resource: projects.subscriptions", "item": "https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions" }] } </script> <link rel="stylesheet" href="/extras.css"></head> <body class="docs" template="page" theme="cloud-theme" type="reference" itemscope itemtype="http://developers.google.com/ReferenceObject" layout="docs" free-trial display-toc pending> <devsite-progress type="indeterminate" id="app-progress"></devsite-progress> <section class="devsite-wrapper"> <devsite-cookie-notification-bar></devsite-cookie-notification-bar><cloudx-track userCountry="SG"></cloudx-track> <cloudx-utils-init></cloudx-utils-init> <devsite-header keep-tabs-visible> <div class="devsite-header--inner nocontent"> <div class="devsite-top-logo-row-wrapper-wrapper"> <div class="devsite-top-logo-row-wrapper"> <div class="devsite-top-logo-row"> <button type="button" id="devsite-hamburger-menu" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Navigation menu button" visually-hidden aria-label="Open menu"> </button> <div class="devsite-product-name-wrapper"> <a href="/" class="devsite-site-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Site logo" track-type="globalNav" track-name="googleCloud" track-metadata-position="nav" track-metadata-eventDetail="nav"> <picture> <img src="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/cloud-logo.svg" class="devsite-site-logo" alt="Google Cloud"> </picture> </a> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item devsite-has-google-wordmark"> </li> </ul> </span> </div> <div class="devsite-top-logo-row-middle"> <div class="devsite-header-upper-tabs"> <cloudx-tabs-nav class="upper-tabs"> <nav class="devsite-tabs-wrapper" aria-label="Upper tabs"> <tab class="devsite-active"> <a href="https://cloud.google.com/docs" track-metadata-eventdetail="https://cloud.google.com/docs" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - docs-home" track-metadata-module="primary nav" aria-label="Documentation, selected" data-category="Site-Wide Custom Events" data-label="Tab: Documentation" track-name="docs-home" track-link-column-type="single-column" > Documentation </a> </tab> <tab class="devsite-dropdown devsite-clickable "> <a href="https://cloud.google.com/docs/tech-area-overviews" track-metadata-eventdetail="https://cloud.google.com/docs/tech-area-overviews" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - technology-areas" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" > Technology areas </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Technology areas" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/tech-area-overviews" track-metadata-position="nav - technology-areas" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <button class="devsite-tabs-close-button material-icons button-flat gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close dropdown menu" aria-label="Close dropdown menu" track-type="nav" track-name="close" track-metadata-eventdetail="#" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav">close</button> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/ai-ml" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/ai-ml" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> AI and ML </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/application-development" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/application-development" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Application development </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/application-hosting" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/application-hosting" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Application hosting </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/compute-area" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/compute-area" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Compute </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/data" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/data" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Data analytics and pipelines </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/databases" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/databases" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Databases </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/dhm-cloud" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/dhm-cloud" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Distributed, hybrid, and multicloud </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/generative-ai" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/generative-ai" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Generative AI </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/industry" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/industry" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Industry solutions </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/networking" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/networking" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Networking </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/observability" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/observability" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Observability and monitoring </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/security" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/security" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Security </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/storage" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/storage" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Storage </div> </a> </li> </ul> </div> </div> </div> </tab> <tab class="devsite-dropdown devsite-clickable "> <a href="https://cloud.google.com/docs/cross-product-overviews" track-metadata-eventdetail="https://cloud.google.com/docs/cross-product-overviews" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - crossproduct" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" > Cross-product tools </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Cross-product tools" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/cross-product-overviews" track-metadata-position="nav - crossproduct" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <button class="devsite-tabs-close-button material-icons button-flat gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close dropdown menu" aria-label="Close dropdown menu" track-type="nav" track-name="close" track-metadata-eventdetail="#" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav">close</button> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/access-resources" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/access-resources" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Access and resources management </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/costs-usage" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/costs-usage" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Costs and usage management </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/devtools" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/devtools" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud SDK, languages, frameworks, and tools </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/iac" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/iac" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Infrastructure as code </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/migration" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/migration" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Migration </div> </a> </li> </ul> </div> </div> </div> </tab> <tab class="devsite-dropdown devsite-clickable "> <a href="https://cloud.google.com/" track-metadata-eventdetail="https://cloud.google.com/" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - related-sites" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" > Related sites </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Related sites" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/" track-metadata-position="nav - related-sites" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <button class="devsite-tabs-close-button material-icons button-flat gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close dropdown menu" aria-label="Close dropdown menu" track-type="nav" track-name="close" track-metadata-eventdetail="#" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav">close</button> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://cloud.google.com/" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Home </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/free" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/free" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Free Trial and Free Tier </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/architecture" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/architecture" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Architecture Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/blog" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/blog" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Blog </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/contact" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/contact" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Contact Sales </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/developers" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/developers" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Developer Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developers.google.com/" track-type="nav" track-metadata-eventdetail="https://developers.google.com/" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Developer Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://console.cloud.google.com/marketplace" track-type="nav" track-metadata-eventdetail="https://console.cloud.google.com/marketplace" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Marketplace </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/marketplace/docs" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/marketplace/docs" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Marketplace Documentation </div> </a> </li> <li class="devsite-nav-item"> <a href="https://www.cloudskillsboost.google/paths" track-type="nav" track-metadata-eventdetail="https://www.cloudskillsboost.google/paths" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Skills Boost </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/solutions" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/solutions" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Solution Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/support-hub" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/support-hub" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Support </div> </a> </li> <li class="devsite-nav-item"> <a href="https://www.youtube.com/@googlecloudtech" track-type="nav" track-metadata-eventdetail="https://www.youtube.com/@googlecloudtech" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Tech Youtube Channel </div> </a> </li> </ul> </div> </div> </div> </tab> </nav> </cloudx-tabs-nav> </div> <devsite-search enable-signin enable-search enable-suggestions project-name="Pub/Sub Documentation" tenant-name="Google Cloud" project-scope="/pubsub/docs" url-scoped="https://cloud.google.com/s/results/pubsub/docs" > <form class="devsite-search-form" action="https://cloud.google.com/s/results" method="GET"> <div class="devsite-search-container"> <button type="button" search-open class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Open search"></button> <div class="devsite-searchbox"> <input aria-activedescendant="" aria-autocomplete="list" aria-label="Search" aria-expanded="false" aria-haspopup="listbox" autocomplete="off" class="devsite-search-field devsite-search-query" name="q" placeholder="Search" role="combobox" type="text" value="" > <div class="devsite-search-image material-icons" aria-hidden="true"> </div> <div class="devsite-search-shortcut-icon-container" aria-hidden="true"> <kbd class="devsite-search-shortcut-icon">/</kbd> </div> </div> </div> </form> <button type="button" search-close class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Close search"></button> </devsite-search> </div> <devsite-language-selector> <ul role="presentation"> <li role="presentation"> <a role="menuitem" lang="en" >English</a> </li> <li role="presentation"> <a role="menuitem" lang="de" >Deutsch</a> </li> <li role="presentation"> <a role="menuitem" lang="es_419" >Español – América Latina</a> </li> <li role="presentation"> <a role="menuitem" lang="fr" >Français</a> </li> <li role="presentation"> <a role="menuitem" lang="pt_br" >Português – Brasil</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_cn" >中文 – 简体</a> </li> <li role="presentation"> <a role="menuitem" lang="ja" >日本語</a> </li> <li role="presentation"> <a role="menuitem" lang="ko" >한국어</a> </li> </ul> </devsite-language-selector> <devsite-user enable-profiles fp-auth id="devsite-user"> <span class="button devsite-top-button" aria-hidden="true" visually-hidden>Sign in</span> </devsite-user> </div> </div> </div> <div class="devsite-collapsible-section "> <div class="devsite-header-background"> <div class="devsite-product-id-row" hidden> <div class="devsite-product-description-row"> </div> </div> <div class="devsite-doc-set-nav-row"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item "> <a href="https://cloud.google.com/pubsub" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Lower Header" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="Pub/Sub" > Pub/Sub </a> </li> </ul> <cloudx-tabs-nav class="lower-tabs"> <nav class="devsite-tabs-wrapper" aria-label="Lower tabs"> <tab > <a href="https://cloud.google.com/pubsub/docs" track-metadata-eventdetail="https://cloud.google.com/pubsub/docs" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - overview" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Overview" track-name="overview" > Overview </a> </tab> <tab > <a href="https://cloud.google.com/pubsub/docs/overview" track-metadata-eventdetail="https://cloud.google.com/pubsub/docs/overview" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - guides" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Guides" track-name="guides" > Guides </a> </tab> <tab class="devsite-active"> <a href="https://cloud.google.com/pubsub/docs/apis" track-metadata-eventdetail="https://cloud.google.com/pubsub/docs/apis" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - reference" track-metadata-module="primary nav" aria-label="Reference, selected" data-category="Site-Wide Custom Events" data-label="Tab: Reference" track-name="reference" > Reference </a> </tab> <tab > <a href="https://cloud.google.com/pubsub/docs/samples" track-metadata-eventdetail="https://cloud.google.com/pubsub/docs/samples" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - samples" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Samples" track-name="samples" > Samples </a> </tab> <tab > <a href="https://cloud.google.com/pubsub/docs/media" track-metadata-eventdetail="https://cloud.google.com/pubsub/docs/media" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - resources" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Resources" track-name="resources" > Resources </a> </tab> </nav> </cloudx-tabs-nav> <div class="devsite-product-button-row"> <a href="https://cloud.google.com/contact" class="cta-button-secondary button " track-metadata-eventDetail="nav" data-overflow="devsite-tabs-wrapper" data-overflow-wrapper="tab" track-name="sales" track-metadata-position="nav" track-type="contact" data-overflow-container="left" >Contact Us</a> <a href="//console.cloud.google.com/freetrial" class="cloud-free-trial-button cta-button-primary button-primary button cloud-button cloud-button--primary " track-type="freeTrial" track-metadata-position="nav" track-metadata-eventDetail="nav" data-overflow="devsite-top-logo-row" data-overflow-container="right" track-name="gcpCta" referrerpolicy="no-referrer-when-downgrade" data-overflow-class="devsite-header-link devsite-top-button button cloud-free-trial-button cloud-free-trial-enabled cloud-button cloud-button--primary" >Start free</a> </div> </div> </div> </div> </div> </devsite-header> <devsite-book-nav scrollbars > <div class="devsite-book-nav-filter" > <span class="filter-list-icon material-icons" aria-hidden="true"></span> <input type="text" placeholder="Filter" aria-label="Type to filter" role="searchbox"> <span class="filter-clear-button hidden" data-title="Clear filter" aria-label="Clear filter" role="button" tabindex="0"></span> </div> <nav class="devsite-book-nav devsite-nav nocontent" aria-label="Side menu"> <div class="devsite-mobile-header"> <button type="button" id="devsite-close-nav" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close navigation" aria-label="Close navigation"> </button> <div class="devsite-product-name-wrapper"> <a href="/" class="devsite-site-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Site logo" track-type="globalNav" track-name="googleCloud" track-metadata-position="nav" track-metadata-eventDetail="nav"> <picture> <img src="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/cloud-logo.svg" class="devsite-site-logo" alt="Google Cloud"> </picture> </a> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item devsite-has-google-wordmark"> </li> </ul> </span> </div> </div> <div class="devsite-book-nav-wrapper"> <div class="devsite-mobile-nav-top"> <ul class="devsite-nav-list"> <li class="devsite-nav-item"> <a href="/docs" class="devsite-nav-title gc-analytics-event devsite-nav-active" data-category="Site-Wide Custom Events" data-label="Tab: Documentation" track-name="docs-home" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Documentation" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Documentation </span> </a> <ul class="devsite-nav-responsive-tabs"> <li class="devsite-nav-item"> <a href="/pubsub/docs" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Overview" track-name="overview" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Overview" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Overview </span> </a> </li> <li class="devsite-nav-item"> <a href="/pubsub/docs/overview" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Guides" track-name="guides" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Guides" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Guides </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> <li class="devsite-nav-item"> <a href="/pubsub/docs/apis" class="devsite-nav-title gc-analytics-event devsite-nav-has-children devsite-nav-active" data-category="Site-Wide Custom Events" data-label="Tab: Reference" track-name="reference" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Reference" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip menu="_book"> Reference </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="_book"> </span> </a> </li> <li class="devsite-nav-item"> <a href="/pubsub/docs/samples" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Samples" track-name="samples" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Samples" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Samples </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> <li class="devsite-nav-item"> <a href="/pubsub/docs/media" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Resources" track-name="resources" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Resources" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Resources </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/docs/tech-area-overviews" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Technology areas" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Technology areas </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" > <span class="devsite-nav-text" tooltip menu="Technology areas"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Technology areas"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/docs/cross-product-overviews" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Cross-product tools" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Cross-product tools </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" > <span class="devsite-nav-text" tooltip menu="Cross-product tools"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Cross-product tools"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Related sites" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Related sites </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" > <span class="devsite-nav-text" tooltip menu="Related sites"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Related sites"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="//console.cloud.google.com/" class="devsite-nav-title gc-analytics-event " track-type="globalNav" track-name="console" referrerpolicy="no-referrer-when-downgrade" track-metadata-position="nav" track-metadata-eventDetail="nav" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Console" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Console </span> </a> </li> <li class="devsite-nav-item"> <a href="/contact" class="cta-button-secondary button" track-metadata-eventDetail="nav" data-overflow="devsite-tabs-wrapper" data-overflow-wrapper="tab" track-name="sales" track-metadata-position="nav" track-type="contact" data-overflow-container="left" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Contact Us" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Contact Us </span> </a> </li> <li class="devsite-nav-item"> <a href="//console.cloud.google.com/freetrial" class="cloud-free-trial-button cta-button-primary button-primary button cloud-button cloud-button--primary" track-type="freeTrial" track-metadata-position="nav" track-metadata-eventDetail="nav" data-overflow="devsite-top-logo-row" data-overflow-container="right" track-name="gcpCta" referrerpolicy="no-referrer-when-downgrade" data-overflow-class="devsite-header-link devsite-top-button button cloud-free-trial-button cloud-free-trial-enabled cloud-button cloud-button--primary" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Start free" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Start free </span> </a> </li> </ul> </div> <div class="devsite-mobile-nav-bottom"> <ul class="devsite-nav-list" menu="_book"> <li class="devsite-nav-item"><a href="/pubsub/docs/apis" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/apis" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/apis" ><span class="devsite-nav-text" tooltip>All APIs and references</span></a></li> <li class="devsite-nav-item"><a href="/pubsub/docs/subscription-properties" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/subscription-properties" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/subscription-properties" ><span class="devsite-nav-text" tooltip>Subscription properties</span></a></li> <li class="devsite-nav-item"><a href="/pubsub/docs/topic-properties" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/topic-properties" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/topic-properties" ><span class="devsite-nav-text" tooltip>Topic properties</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Client libraries</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/pubsub/docs/reference/libraries" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/libraries" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/libraries" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/cpp/docs/reference/pubsub/latest" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /cpp/docs/reference/pubsub/latest" track-type="bookNav" track-name="click" track-metadata-eventdetail="/cpp/docs/reference/pubsub/latest" ><span class="devsite-nav-text" tooltip>C++ reference</span></a></li><li class="devsite-nav-item devsite-nav-external"><a href="https://googleapis.github.io/google-cloud-dotnet/docs/Google.Cloud.PubSub.V1/" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: https://googleapis.github.io/google-cloud-dotnet/docs/Google.Cloud.PubSub.V1/" track-type="bookNav" track-name="click" track-metadata-eventdetail="https://googleapis.github.io/google-cloud-dotnet/docs/Google.Cloud.PubSub.V1/" ><span class="devsite-nav-text" tooltip>C# reference</span><span class="devsite-nav-icon material-icons" data-icon="external" data-title="External" aria-hidden="true"></span></a></li><li class="devsite-nav-item devsite-nav-external"><a href="https://godoc.org/cloud.google.com/go/pubsub" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: https://godoc.org/cloud.google.com/go/pubsub" track-type="bookNav" track-name="click" track-metadata-eventdetail="https://godoc.org/cloud.google.com/go/pubsub" ><span class="devsite-nav-text" tooltip>Go reference</span><span class="devsite-nav-icon material-icons" data-icon="external" data-title="External" aria-hidden="true"></span></a></li><li class="devsite-nav-item"><a href="/java/docs/reference/google-cloud-pubsub/latest/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /java/docs/reference/google-cloud-pubsub/latest/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/java/docs/reference/google-cloud-pubsub/latest/overview" ><span class="devsite-nav-text" tooltip>Java reference</span></a></li><li class="devsite-nav-item"><a href="/nodejs/docs/reference/pubsub/latest" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /nodejs/docs/reference/pubsub/latest" track-type="bookNav" track-name="click" track-metadata-eventdetail="/nodejs/docs/reference/pubsub/latest" ><span class="devsite-nav-text" tooltip>Node.js reference</span></a></li><li class="devsite-nav-item devsite-nav-external"><a href="https://googleapis.github.io/google-cloud-php/#/docs/google-cloud/latest/pubsub/pubsubclient" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: https://googleapis.github.io/google-cloud-php/#/docs/google-cloud/latest/pubsub/pubsubclient" track-type="bookNav" track-name="click" track-metadata-eventdetail="https://googleapis.github.io/google-cloud-php/#/docs/google-cloud/latest/pubsub/pubsubclient" ><span class="devsite-nav-text" tooltip>PHP reference</span><span class="devsite-nav-icon material-icons" data-icon="external" data-title="External" aria-hidden="true"></span></a></li><li class="devsite-nav-item"><a href="/python/docs/reference/pubsub/latest" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /python/docs/reference/pubsub/latest" track-type="bookNav" track-name="click" track-metadata-eventdetail="/python/docs/reference/pubsub/latest" ><span class="devsite-nav-text" tooltip>Python reference</span></a></li><li class="devsite-nav-item devsite-nav-external"><a href="https://googleapis.dev/ruby/google-cloud-pubsub/latest" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: https://googleapis.dev/ruby/google-cloud-pubsub/latest" track-type="bookNav" track-name="click" track-metadata-eventdetail="https://googleapis.dev/ruby/google-cloud-pubsub/latest" ><span class="devsite-nav-text" tooltip>Ruby reference</span><span class="devsite-nav-icon material-icons" data-icon="external" data-title="External" aria-hidden="true"></span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Service APIs</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/pubsub/docs/reference/service_apis_overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/service_apis_overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/service_apis_overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>REST reference</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>v1</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>REST Resources</span> </div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>projects.schemas</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.schemas" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.schemas" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.schemas" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.schemas/commit" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.schemas/commit" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.schemas/commit" ><span class="devsite-nav-text" tooltip>commit</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.schemas/create" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.schemas/create" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.schemas/create" ><span class="devsite-nav-text" tooltip>create</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.schemas/delete" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.schemas/delete" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.schemas/delete" ><span class="devsite-nav-text" tooltip>delete</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.schemas/deleteRevision" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.schemas/deleteRevision" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.schemas/deleteRevision" ><span class="devsite-nav-text" tooltip>deleteRevision</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.schemas/get" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.schemas/get" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.schemas/get" ><span class="devsite-nav-text" tooltip>get</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.schemas/list" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.schemas/list" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.schemas/list" ><span class="devsite-nav-text" tooltip>list</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.schemas/listRevisions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.schemas/listRevisions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.schemas/listRevisions" ><span class="devsite-nav-text" tooltip>listRevisions</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.schemas/rollback" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.schemas/rollback" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.schemas/rollback" ><span class="devsite-nav-text" tooltip>rollback</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.schemas/validate" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.schemas/validate" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.schemas/validate" ><span class="devsite-nav-text" tooltip>validate</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.schemas/validateMessage" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.schemas/validateMessage" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.schemas/validateMessage" ><span class="devsite-nav-text" tooltip>validateMessage</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>projects.snapshots</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.snapshots" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.snapshots" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.snapshots" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.snapshots/create" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.snapshots/create" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.snapshots/create" ><span class="devsite-nav-text" tooltip>create</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.snapshots/delete" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.snapshots/delete" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.snapshots/delete" ><span class="devsite-nav-text" tooltip>delete</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.snapshots/get" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.snapshots/get" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.snapshots/get" ><span class="devsite-nav-text" tooltip>get</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.snapshots/getIamPolicy" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.snapshots/getIamPolicy" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.snapshots/getIamPolicy" ><span class="devsite-nav-text" tooltip>getIamPolicy</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.snapshots/list" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.snapshots/list" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.snapshots/list" ><span class="devsite-nav-text" tooltip>list</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.snapshots/patch" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.snapshots/patch" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.snapshots/patch" ><span class="devsite-nav-text" tooltip>patch</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.snapshots/setIamPolicy" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.snapshots/setIamPolicy" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.snapshots/setIamPolicy" ><span class="devsite-nav-text" tooltip>setIamPolicy</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.snapshots/testIamPermissions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.snapshots/testIamPermissions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.snapshots/testIamPermissions" ><span class="devsite-nav-text" tooltip>testIamPermissions</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>projects.subscriptions</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.subscriptions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.subscriptions" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/acknowledge" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.subscriptions/acknowledge" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.subscriptions/acknowledge" ><span class="devsite-nav-text" tooltip>acknowledge</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/create" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.subscriptions/create" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.subscriptions/create" ><span class="devsite-nav-text" tooltip>create</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/delete" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.subscriptions/delete" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.subscriptions/delete" ><span class="devsite-nav-text" tooltip>delete</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/detach" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.subscriptions/detach" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.subscriptions/detach" ><span class="devsite-nav-text" tooltip>detach</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/get" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.subscriptions/get" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.subscriptions/get" ><span class="devsite-nav-text" tooltip>get</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/getIamPolicy" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.subscriptions/getIamPolicy" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.subscriptions/getIamPolicy" ><span class="devsite-nav-text" tooltip>getIamPolicy</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/list" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.subscriptions/list" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.subscriptions/list" ><span class="devsite-nav-text" tooltip>list</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/modifyAckDeadline" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.subscriptions/modifyAckDeadline" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.subscriptions/modifyAckDeadline" ><span class="devsite-nav-text" tooltip>modifyAckDeadline</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/modifyPushConfig" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.subscriptions/modifyPushConfig" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.subscriptions/modifyPushConfig" ><span class="devsite-nav-text" tooltip>modifyPushConfig</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/patch" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.subscriptions/patch" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.subscriptions/patch" ><span class="devsite-nav-text" tooltip>patch</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/pull" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.subscriptions/pull" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.subscriptions/pull" ><span class="devsite-nav-text" tooltip>pull</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/seek" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.subscriptions/seek" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.subscriptions/seek" ><span class="devsite-nav-text" tooltip>seek</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/setIamPolicy" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.subscriptions/setIamPolicy" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.subscriptions/setIamPolicy" ><span class="devsite-nav-text" tooltip>setIamPolicy</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/testIamPermissions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.subscriptions/testIamPermissions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.subscriptions/testIamPermissions" ><span class="devsite-nav-text" tooltip>testIamPermissions</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>projects.topics</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.topics" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.topics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.topics" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.topics/create" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.topics/create" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.topics/create" ><span class="devsite-nav-text" tooltip>create</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.topics/delete" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.topics/delete" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.topics/delete" ><span class="devsite-nav-text" tooltip>delete</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.topics/get" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.topics/get" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.topics/get" ><span class="devsite-nav-text" tooltip>get</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.topics/getIamPolicy" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.topics/getIamPolicy" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.topics/getIamPolicy" ><span class="devsite-nav-text" tooltip>getIamPolicy</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.topics/list" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.topics/list" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.topics/list" ><span class="devsite-nav-text" tooltip>list</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.topics/patch" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.topics/patch" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.topics/patch" ><span class="devsite-nav-text" tooltip>patch</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.topics/publish" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.topics/publish" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.topics/publish" ><span class="devsite-nav-text" tooltip>publish</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.topics/setIamPolicy" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.topics/setIamPolicy" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.topics/setIamPolicy" ><span class="devsite-nav-text" tooltip>setIamPolicy</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.topics/testIamPermissions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.topics/testIamPermissions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.topics/testIamPermissions" ><span class="devsite-nav-text" tooltip>testIamPermissions</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>projects.topics.snapshots</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.topics.snapshots" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.topics.snapshots" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.topics.snapshots" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.topics.snapshots/list" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.topics.snapshots/list" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.topics.snapshots/list" ><span class="devsite-nav-text" tooltip>list</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>projects.topics.subscriptions</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.topics.subscriptions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.topics.subscriptions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.topics.subscriptions" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/projects.topics.subscriptions/list" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/projects.topics.subscriptions/list" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/projects.topics.subscriptions/list" ><span class="devsite-nav-text" tooltip>list</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Types</span> </div></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/GetPolicyOptions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/GetPolicyOptions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/GetPolicyOptions" ><span class="devsite-nav-text" tooltip>GetPolicyOptions</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/Policy" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/Policy" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/Policy" ><span class="devsite-nav-text" tooltip>Policy</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/PubsubMessage" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/PubsubMessage" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/PubsubMessage" ><span class="devsite-nav-text" tooltip>PubsubMessage</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/SchemaView" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/SchemaView" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/SchemaView" ><span class="devsite-nav-text" tooltip>SchemaView</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/StreamingPullRequest" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/StreamingPullRequest" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/StreamingPullRequest" ><span class="devsite-nav-text" tooltip>StreamingPullRequest</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/StreamingPullResponse" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/StreamingPullResponse" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/StreamingPullResponse" ><span class="devsite-nav-text" tooltip>StreamingPullResponse</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rest/v1/TestIamPermissionsResponse" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rest/v1/TestIamPermissionsResponse" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rest/v1/TestIamPermissionsResponse" ><span class="devsite-nav-text" tooltip>TestIamPermissionsResponse</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/error-codes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/error-codes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/error-codes" ><span class="devsite-nav-text" tooltip>Error codes</span></a></li></ul></div></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>RPC reference</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rpc" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rpc" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rpc" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rpc/google.iam.v1" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rpc/google.iam.v1" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rpc/google.iam.v1" ><span class="devsite-nav-text" tooltip>google.iam.v1</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rpc/google.protobuf" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rpc/google.protobuf" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rpc/google.protobuf" ><span class="devsite-nav-text" tooltip>google.protobuf</span></a></li><li class="devsite-nav-item"><a href="/pubsub/docs/reference/rpc/google.pubsub.v1" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /pubsub/docs/reference/rpc/google.pubsub.v1" track-type="bookNav" track-name="click" track-metadata-eventdetail="/pubsub/docs/reference/rpc/google.pubsub.v1" ><span class="devsite-nav-text" tooltip>google.pubsub.v1</span></a></li></ul></div></li></ul></div></li> </ul> <ul class="devsite-nav-list" menu="Technology areas" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/docs/ai-ml" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: AI and ML" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > AI and ML </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/application-development" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Application development" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Application development </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/application-hosting" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Application hosting" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Application hosting </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/compute-area" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Compute" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Compute </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/data" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Data analytics and pipelines" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Data analytics and pipelines </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/databases" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Databases" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Databases </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/dhm-cloud" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Distributed, hybrid, and multicloud" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Distributed, hybrid, and multicloud </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/generative-ai" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Generative AI" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Generative AI </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/industry" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Industry solutions" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Industry solutions </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/networking" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Networking" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Networking </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/observability" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Observability and monitoring" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Observability and monitoring </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/security" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Security" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Security </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/storage" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Storage" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Storage </span> </a> </li> </ul> <ul class="devsite-nav-list" menu="Cross-product tools" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/docs/access-resources" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Access and resources management" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Access and resources management </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/costs-usage" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Costs and usage management" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Costs and usage management </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/devtools" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud SDK, languages, frameworks, and tools" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud SDK, languages, frameworks, and tools </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/iac" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Infrastructure as code" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Infrastructure as code </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/migration" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Migration" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Migration </span> </a> </li> </ul> <ul class="devsite-nav-list" menu="Related sites" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Home" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Home </span> </a> </li> <li class="devsite-nav-item"> <a href="/free" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Free Trial and Free Tier" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Free Trial and Free Tier </span> </a> </li> <li class="devsite-nav-item"> <a href="/architecture" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Architecture Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Architecture Center </span> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/blog" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Blog" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Blog </span> </a> </li> <li class="devsite-nav-item"> <a href="/contact" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Contact Sales" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Contact Sales </span> </a> </li> <li class="devsite-nav-item"> <a href="/developers" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Developer Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Developer Center </span> </a> </li> <li class="devsite-nav-item"> <a href="https://developers.google.com/" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Developer Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Developer Center </span> </a> </li> <li class="devsite-nav-item"> <a href="https://console.cloud.google.com/marketplace" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Marketplace" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Marketplace </span> </a> </li> <li class="devsite-nav-item"> <a href="/marketplace/docs" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Marketplace Documentation" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Marketplace Documentation </span> </a> </li> <li class="devsite-nav-item"> <a href="https://www.cloudskillsboost.google/paths" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Skills Boost" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Skills Boost </span> </a> </li> <li class="devsite-nav-item"> <a href="/solutions" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Solution Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Solution Center </span> </a> </li> <li class="devsite-nav-item"> <a href="/support-hub" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Support" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Support </span> </a> </li> <li class="devsite-nav-item"> <a href="https://www.youtube.com/@googlecloudtech" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Tech Youtube Channel" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Tech Youtube Channel </span> </a> </li> </ul> </div> </div> </nav> </devsite-book-nav> <section id="gc-wrapper"> <main role="main" class="devsite-main-content" has-book-nav has-sidebar > <div class="devsite-sidebar"> <div class="devsite-sidebar-content"> <devsite-toc class="devsite-nav" role="navigation" aria-label="On this page" depth="2" scrollbars ></devsite-toc> <devsite-recommendations-sidebar class="nocontent devsite-nav"> </devsite-recommendations-sidebar> </div> </div> <devsite-content> <article class="devsite-article"> <div class="devsite-article-meta nocontent" role="navigation"> <ul class="devsite-breadcrumb-list" aria-label="Breadcrumb"> <li class="devsite-breadcrumb-item "> <a href="https://cloud.google.com/" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="Google Cloud" > Home </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://cloud.google.com/pubsub" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="2" track-type="globalNav" track-name="breadcrumb" track-metadata-position="2" track-metadata-eventdetail="Pub/Sub" > Pub/Sub </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://cloud.google.com/pubsub/docs" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="3" track-type="globalNav" track-name="breadcrumb" track-metadata-position="3" track-metadata-eventdetail="Pub/Sub Documentation" > Documentation </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://cloud.google.com/pubsub/docs/apis" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="4" track-type="globalNav" track-name="breadcrumb" track-metadata-position="4" track-metadata-eventdetail="" > Reference </a> </li> </ul> <devsite-thumb-rating position="header"> </devsite-thumb-rating> </div> <devsite-feedback position="header" project-name="Pub/Sub Documentation" product-id="96707" bucket="documentation" context="" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="header" class="nocontent" project-feedback-url="https://issuetracker.google.com/issues/new?component=187173&template=0" project-icon="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png" > <button> Send feedback </button> </devsite-feedback> <h1 class="devsite-page-title" tabindex="-1"> REST Resource: projects.subscriptions </h1> <devsite-feature-tooltip ack-key="AckCollectionsBookmarkTooltipDismiss" analytics-category="Site-Wide Custom Events" analytics-action-show="Callout Profile displayed" analytics-action-close="Callout Profile dismissed" analytics-label="Create Collection Callout" class="devsite-page-bookmark-tooltip nocontent" dismiss-button="true" id="devsite-collections-dropdown" dismiss-button-text="Dismiss" close-button-text="Got it"> <devsite-bookmark></devsite-bookmark> <span slot="popout-heading"> Stay organized with collections </span> <span slot="popout-contents"> Save and categorize content based on your preferences. </span> </devsite-feature-tooltip> <div class="devsite-page-title-meta"><devsite-view-release-notes></devsite-view-release-notes></div> <devsite-toc class="devsite-nav" depth="2" devsite-toc-embedded > </devsite-toc> <div class="devsite-article-body clearfix "> <meta itemprop="name" content="projects.subscriptions"> <meta itemprop="path" content="/pubsub/docs/reference/rest/v1/projects.subscriptions"> <section id="/pubsub/docs/reference/rest/v1/projects.subscriptions"> <ul class="toc"> <li><a href="#Subscription">Resource: Subscription</a> <ul> <li><a href="#Subscription.SCHEMA_REPRESENTATION">JSON representation</a></li> </ul> </li> <li><a href="#PushConfig">PushConfig</a> <ul> <li><a href="#PushConfig.SCHEMA_REPRESENTATION">JSON representation</a></li> </ul> </li> <li><a href="#OidcToken">OidcToken</a> <ul> <li><a href="#OidcToken.SCHEMA_REPRESENTATION">JSON representation</a></li> </ul> </li> <li><a href="#PubsubWrapper">PubsubWrapper</a></li> <li><a href="#NoWrapper">NoWrapper</a> <ul> <li><a href="#NoWrapper.SCHEMA_REPRESENTATION">JSON representation</a></li> </ul> </li> <li><a href="#BigQueryConfig">BigQueryConfig</a> <ul> <li><a href="#BigQueryConfig.SCHEMA_REPRESENTATION">JSON representation</a></li> </ul> </li> <li><a href="#State">State</a></li> <li><a href="#CloudStorageConfig">CloudStorageConfig</a> <ul> <li><a href="#CloudStorageConfig.SCHEMA_REPRESENTATION">JSON representation</a></li> </ul> </li> <li><a href="#TextConfig">TextConfig</a></li> <li><a href="#AvroConfig">AvroConfig</a> <ul> <li><a href="#AvroConfig.SCHEMA_REPRESENTATION">JSON representation</a></li> </ul> </li> <li><a href="#State_1">State</a></li> <li><a href="#ExpirationPolicy">ExpirationPolicy</a> <ul> <li><a href="#ExpirationPolicy.SCHEMA_REPRESENTATION">JSON representation</a></li> </ul> </li> <li><a href="#DeadLetterPolicy">DeadLetterPolicy</a> <ul> <li><a href="#DeadLetterPolicy.SCHEMA_REPRESENTATION">JSON representation</a></li> </ul> </li> <li><a href="#RetryPolicy">RetryPolicy</a> <ul> <li><a href="#RetryPolicy.SCHEMA_REPRESENTATION">JSON representation</a></li> </ul> </li> <li><a href="#State_2">State</a></li> <li><a href="#AnalyticsHubSubscriptionInfo">AnalyticsHubSubscriptionInfo</a> <ul> <li><a href="#AnalyticsHubSubscriptionInfo.SCHEMA_REPRESENTATION">JSON representation</a></li> </ul> </li> <li><a href="#METHODS_SUMMARY">Methods</a></li> </ul> <section id="Subscription"> <h2 id="resource:-subscription" data-text="Resource: Subscription" tabindex="-1">Resource: Subscription</h2> <section id="Subscription.description"> <p>A subscription resource. If none of <code translate="no" dir="ltr">pushConfig</code>, <code translate="no" dir="ltr">bigqueryConfig</code>, or <code translate="no" dir="ltr">cloudStorageConfig</code> is set, then the subscriber will pull and ack messages using API methods. At most one of these fields may be set.</p> </section> <section id="Subscription.SCHEMA_REPRESENTATION"> <table class="properties responsive fixed"> <thead> <tr> <th>JSON representation</th> </tr> </thead> <tbody> <tr> <td style="margin:0;padding:0;"><pre style="border: 0;margin: 0;" translate="no" dir="ltr"><span class="pun">{</span> <span class="str">"name"</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="str">"topic"</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="str">"pushConfig"</span><span class="pun">: </span><span class="pun">{</span> <span class="kwd">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#PushConfig">PushConfig</a></code>)</span> <span class="pun">}</span><span class="pun">,</span> <span class="str">"bigqueryConfig"</span><span class="pun">: </span><span class="pun">{</span> <span class="kwd">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#BigQueryConfig">BigQueryConfig</a></code>)</span> <span class="pun">}</span><span class="pun">,</span> <span class="str">"cloudStorageConfig"</span><span class="pun">: </span><span class="pun">{</span> <span class="kwd">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#CloudStorageConfig">CloudStorageConfig</a></code>)</span> <span class="pun">}</span><span class="pun">,</span> <span class="str">"ackDeadlineSeconds"</span><span class="pun">: </span><span class="kwd">integer</span><span class="pun">,</span> <span class="str">"retainAckedMessages"</span><span class="pun">: </span><span class="kwd">boolean</span><span class="pun">,</span> <span class="str">"messageRetentionDuration"</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="str">"labels"</span><span class="pun">: </span><span class="pun">{</span> <span class="str">string</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="kwd">...</span> <span class="pun">}</span><span class="pun">,</span> <span class="str">"enableMessageOrdering"</span><span class="pun">: </span><span class="kwd">boolean</span><span class="pun">,</span> <span class="str">"expirationPolicy"</span><span class="pun">: </span><span class="pun">{</span> <span class="kwd">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#ExpirationPolicy">ExpirationPolicy</a></code>)</span> <span class="pun">}</span><span class="pun">,</span> <span class="str">"filter"</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="str">"deadLetterPolicy"</span><span class="pun">: </span><span class="pun">{</span> <span class="kwd">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#DeadLetterPolicy">DeadLetterPolicy</a></code>)</span> <span class="pun">}</span><span class="pun">,</span> <span class="str">"retryPolicy"</span><span class="pun">: </span><span class="pun">{</span> <span class="kwd">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#RetryPolicy">RetryPolicy</a></code>)</span> <span class="pun">}</span><span class="pun">,</span> <span class="str">"detached"</span><span class="pun">: </span><span class="kwd">boolean</span><span class="pun">,</span> <span class="str">"enableExactlyOnceDelivery"</span><span class="pun">: </span><span class="kwd">boolean</span><span class="pun">,</span> <span class="str">"topicMessageRetentionDuration"</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="str">"state"</span><span class="pun">: </span><span class="kwd">enum (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#State_2">State</a></code>)</span><span class="pun">,</span> <span class="str">"analyticsHubSubscriptionInfo"</span><span class="pun">: </span><span class="pun">{</span> <span class="kwd">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#AnalyticsHubSubscriptionInfo">AnalyticsHubSubscriptionInfo</a></code>)</span> <span class="pun">}</span> <span class="pun">}</span></pre></td> </tr> </tbody> </table> </section> <section id="Subscription.FIELDS"> <table class="properties responsive fixed" id="Subscription.FIELDS-table"> <colgroup> <col width="25%"> <col> </colgroup> <thead> <tr> <th colspan="2">Fields</th> </tr> </thead> <tbody> <tr id="Subscription.FIELDS.name"> <td><code translate="no" dir="ltr">name</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string</code></p> <p>Required. Name of the subscription. Format is <code translate="no" dir="ltr">projects/{project}/subscriptions/{sub}</code>.</p> </td> </tr> <tr id="Subscription.FIELDS.topic"> <td><code translate="no" dir="ltr">topic</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string</code></p> <p>Required. The name of the topic from which this subscription is receiving messages. Format is <code translate="no" dir="ltr">projects/{project}/topics/{topic}</code>. The value of this field will be <code translate="no" dir="ltr">_deleted-topic_</code> if the topic has been deleted.</p> </td> </tr> <tr id="Subscription.FIELDS.push_config"> <td><code translate="no" dir="ltr">push<wbr>Config</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#PushConfig">PushConfig</a></code>)</code></p> <p>Optional. If push delivery is used with this subscription, this field is used to configure it.</p> </td> </tr> <tr id="Subscription.FIELDS.bigquery_config"> <td><code translate="no" dir="ltr">bigquery<wbr>Config</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#BigQueryConfig">BigQueryConfig</a></code>)</code></p> <p>Optional. If delivery to BigQuery is used with this subscription, this field is used to configure it.</p> </td> </tr> <tr id="Subscription.FIELDS.cloud_storage_config"> <td><code translate="no" dir="ltr">cloud<wbr>Storage<wbr>Config</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#CloudStorageConfig">CloudStorageConfig</a></code>)</code></p> <p>Optional. If delivery to Google Cloud Storage is used with this subscription, this field is used to configure it.</p> </td> </tr> <tr id="Subscription.FIELDS.ack_deadline_seconds"> <td><code translate="no" dir="ltr">ack<wbr>Deadline<wbr>Seconds</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">integer</code></p> <p>Optional. The approximate amount of time (on a best-effort basis) Pub/Sub waits for the subscriber to acknowledge receipt before resending the message. In the interval after the message is delivered and before it is acknowledged, it is considered to be <em>outstanding</em>. During that time period, the message will not be redelivered (on a best-effort basis).</p><p>For pull subscriptions, this value is used as the initial value for the ack deadline. To override this value for a given message, call <code translate="no" dir="ltr">subscriptions.modifyAckDeadline</code> with the corresponding <code translate="no" dir="ltr">ackId</code> if using non-streaming pull or send the <code translate="no" dir="ltr">ackId</code> in a <code translate="no" dir="ltr">StreamingModifyAckDeadlineRequest</code> if using streaming pull. The minimum custom deadline you can specify is 10 seconds. The maximum custom deadline you can specify is 600 seconds (10 minutes). If this parameter is 0, a default value of 10 seconds is used.</p><p>For push delivery, this value is also used to set the request timeout for the call to the push endpoint.</p><p>If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message.</p> </td> </tr> <tr id="Subscription.FIELDS.retain_acked_messages"> <td><code translate="no" dir="ltr">retain<wbr>Acked<wbr>Messages</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">boolean</code></p> <p>Optional. Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the <code translate="no" dir="ltr">messageRetentionDuration</code> window. This must be true if you would like to <a href="https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time"><code translate="no" dir="ltr">subscriptions.seek</code> to a timestamp</a> in the past to replay previously-acknowledged messages.</p> </td> </tr> <tr id="Subscription.FIELDS.message_retention_duration"> <td><code translate="no" dir="ltr">message<wbr>Retention<wbr>Duration</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string (<code translate="no" dir="ltr"><a href="https://protobuf.dev/reference/protobuf/google.protobuf/#duration">Duration</a></code> format)</code></p> <p>Optional. How long to retain unacknowledged messages in the subscription's backlog, from the moment a message is published. If <code translate="no" dir="ltr">retainAckedMessages</code> is true, then this also configures the retention of acknowledged messages, and thus configures how far back in time a <code translate="no" dir="ltr">subscriptions.seek</code> can be done. Defaults to 7 days. Cannot be more than 31 days or less than 10 minutes.</p><p>A duration in seconds with up to nine fractional digits, ending with '<code translate="no" dir="ltr">s</code>'. Example: <code translate="no" dir="ltr">"3.5s"</code>.</p> </td> </tr> <tr id="Subscription.FIELDS.labels"> <td><code translate="no" dir="ltr">labels</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">map (key: string, value: string)</code></p> <p>Optional. See <a href="https://cloud.google.com/pubsub/docs/labels">Creating and managing labels</a>.</p><p>An object containing a list of <code translate="no" dir="ltr">"key": value</code> pairs. Example: <code translate="no" dir="ltr">{ "name": "wrench", "mass": "1.3kg", "count": "3" }</code>.</p> </td> </tr> <tr id="Subscription.FIELDS.enable_message_ordering"> <td><code translate="no" dir="ltr">enable<wbr>Message<wbr>Ordering</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">boolean</code></p> <p>Optional. If true, messages published with the same <code translate="no" dir="ltr">orderingKey</code> in <code translate="no" dir="ltr">PubsubMessage</code> will be delivered to the subscribers in the order in which they are received by the Pub/Sub system. Otherwise, they may be delivered in any order.</p> </td> </tr> <tr id="Subscription.FIELDS.expiration_policy"> <td><code translate="no" dir="ltr">expiration<wbr>Policy</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#ExpirationPolicy">ExpirationPolicy</a></code>)</code></p> <p>Optional. A policy that specifies the conditions for this subscription's expiration. A subscription is considered active as long as any connected subscriber is successfully consuming messages from the subscription or is issuing operations on the subscription. If <code translate="no" dir="ltr">expirationPolicy</code> is not set, a <em>default policy</em> with <code translate="no" dir="ltr">ttl</code> of 31 days will be used. The minimum allowed value for <code translate="no" dir="ltr">expirationPolicy.ttl</code> is 1 day. If <code translate="no" dir="ltr">expirationPolicy</code> is set, but <code translate="no" dir="ltr">expirationPolicy.ttl</code> is not set, the subscription never expires.</p> </td> </tr> <tr id="Subscription.FIELDS.filter"> <td><code translate="no" dir="ltr">filter</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string</code></p> <p>Optional. An expression written in the Pub/Sub <a href="https://cloud.google.com/pubsub/docs/filtering">filter language</a>. If non-empty, then only <code translate="no" dir="ltr">PubsubMessage</code>s whose <code translate="no" dir="ltr">attributes</code> field matches the filter are delivered on this subscription. If empty, then no messages are filtered out.</p> </td> </tr> <tr id="Subscription.FIELDS.dead_letter_policy"> <td><code translate="no" dir="ltr">dead<wbr>Letter<wbr>Policy</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#DeadLetterPolicy">DeadLetterPolicy</a></code>)</code></p> <p>Optional. A policy that specifies the conditions for dead lettering messages in this subscription. If deadLetterPolicy is not set, dead lettering is disabled.</p><p>The Pub/Sub service account associated with this subscriptions's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to subscriptions.acknowledge() messages on this subscription.</p> </td> </tr> <tr id="Subscription.FIELDS.retry_policy"> <td><code translate="no" dir="ltr">retry<wbr>Policy</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#RetryPolicy">RetryPolicy</a></code>)</code></p> <p>Optional. A policy that specifies how Pub/Sub retries message delivery for this subscription.</p><p>If not set, the default retry policy is applied. This generally implies that messages will be retried as soon as possible for healthy subscribers. RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded events for a given message.</p> </td> </tr> <tr id="Subscription.FIELDS.detached"> <td><code translate="no" dir="ltr">detached</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">boolean</code></p> <p>Optional. Indicates whether the subscription is detached from its topic. Detached subscriptions don't receive messages from their topic and don't retain any backlog. <code translate="no" dir="ltr">subscriptions.pull</code> and <code translate="no" dir="ltr">StreamingPull</code> requests will return FAILED_PRECONDITION. If the subscription is a push subscription, pushes to the endpoint will not be made.</p> </td> </tr> <tr id="Subscription.FIELDS.enable_exactly_once_delivery"> <td><code translate="no" dir="ltr">enable<wbr>Exactly<wbr>Once<wbr>Delivery</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">boolean</code></p> <p>Optional. If true, Pub/Sub provides the following guarantees for the delivery of a message with a given value of <code translate="no" dir="ltr">messageId</code> on this subscription:</p> <ul> <li>The message sent to a subscriber is guaranteed not to be resent before the message's acknowledgement deadline expires.</li> <li>An acknowledged message will not be resent to a subscriber.</li> </ul><p>Note that subscribers may still receive multiple copies of a message when <code translate="no" dir="ltr">enableExactlyOnceDelivery</code> is true if the message was published multiple times by a publisher client. These copies are considered distinct by Pub/Sub and have distinct <code translate="no" dir="ltr">messageId</code> values.</p> </td> </tr> <tr id="Subscription.FIELDS.topic_message_retention_duration"> <td><code translate="no" dir="ltr">topic<wbr>Message<wbr>Retention<wbr>Duration</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string (<code translate="no" dir="ltr"><a href="https://protobuf.dev/reference/protobuf/google.protobuf/#duration">Duration</a></code> format)</code></p> <p>Output only. Indicates the minimum duration for which a message is retained after it is published to the subscription's topic. If this field is set, messages published to the subscription's topic in the last <code translate="no" dir="ltr">topicMessageRetentionDuration</code> are always available to subscribers. See the <code translate="no" dir="ltr">messageRetentionDuration</code> field in <code translate="no" dir="ltr">Topic</code>. This field is set only in responses from the server; it is ignored if it is set in any requests.</p><p>A duration in seconds with up to nine fractional digits, ending with '<code translate="no" dir="ltr">s</code>'. Example: <code translate="no" dir="ltr">"3.5s"</code>.</p> </td> </tr> <tr id="Subscription.FIELDS.state"> <td><code translate="no" dir="ltr">state</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">enum (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#State_2">State</a></code>)</code></p> <p>Output only. An output-only field indicating whether or not the subscription can receive messages.</p> </td> </tr> <tr id="Subscription.FIELDS.analytics_hub_subscription_info"> <td><code translate="no" dir="ltr">analytics<wbr>Hub<wbr>Subscription<wbr>Info</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#AnalyticsHubSubscriptionInfo">AnalyticsHubSubscriptionInfo</a></code>)</code></p> <p>Output only. Information about the associated Analytics Hub subscription. Only set if the subscritpion is created by Analytics Hub.</p> </td> </tr> </tbody> </table> </section> </section> <section id="PushConfig"> <h2 id="pushconfig" data-text="PushConfig" tabindex="-1">PushConfig</h2> <section id="PushConfig.description"> <p>Configuration for a push delivery endpoint.</p> </section> <section id="PushConfig.SCHEMA_REPRESENTATION"> <table class="properties responsive fixed"> <thead> <tr> <th>JSON representation</th> </tr> </thead> <tbody> <tr> <td style="margin:0;padding:0;"><pre style="border: 0;margin: 0;" translate="no" dir="ltr"><span class="pun">{</span> <span class="str">"pushEndpoint"</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="str">"attributes"</span><span class="pun">: </span><span class="pun">{</span> <span class="str">string</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="kwd">...</span> <span class="pun">}</span><span class="pun">,</span> <span class="com">// Union field <code translate="no" dir="ltr">authentication_method</code> can be only one of the following:</span> <span class="str">"oidcToken"</span><span class="pun">: </span><span class="pun">{</span> <span class="kwd">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#OidcToken">OidcToken</a></code>)</span> <span class="pun">}</span> <span class="com">// End of list of possible types for union field <code translate="no" dir="ltr">authentication_method</code>.</span> <span class="com">// Union field <code translate="no" dir="ltr">wrapper</code> can be only one of the following:</span> <span class="str">"pubsubWrapper"</span><span class="pun">: </span><span class="pun">{</span> <span class="kwd">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#PubsubWrapper">PubsubWrapper</a></code>)</span> <span class="pun">}</span><span class="pun">,</span> <span class="str">"noWrapper"</span><span class="pun">: </span><span class="pun">{</span> <span class="kwd">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#NoWrapper">NoWrapper</a></code>)</span> <span class="pun">}</span> <span class="com">// End of list of possible types for union field <code translate="no" dir="ltr">wrapper</code>.</span> <span class="pun">}</span></pre></td> </tr> </tbody> </table> </section> <section id="PushConfig.FIELDS"> <table class="properties responsive fixed" id="PushConfig.FIELDS-table"> <colgroup> <col width="25%"> <col> </colgroup> <thead> <tr> <th colspan="2">Fields</th> </tr> </thead> <tbody> <tr id="PushConfig.FIELDS.push_endpoint"> <td><code translate="no" dir="ltr">push<wbr>Endpoint</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string</code></p> <p>Optional. A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use <code translate="no" dir="ltr">https://example.com/push</code>.</p> </td> </tr> <tr id="PushConfig.FIELDS.attributes"> <td><code translate="no" dir="ltr">attributes</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">map (key: string, value: string)</code></p> <p>Optional. Endpoint configuration attributes that can be used to control different aspects of the message delivery.</p><p>The only currently supported attribute is <code translate="no" dir="ltr">x-goog-version</code>, which you can use to change the format of the pushed message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the pushed message (i.e., its fields and metadata).</p><p>If not present during the <code translate="no" dir="ltr">subscriptions.create</code> call, it will default to the version of the Pub/Sub API used to make such call. If not present in a <code translate="no" dir="ltr">subscriptions.modifyPushConfig</code> call, its value will not be changed. <code translate="no" dir="ltr">subscriptions.get</code> calls will always return a valid version, even if the subscription was created without this attribute.</p><p>The only supported values for the <code translate="no" dir="ltr">x-goog-version</code> attribute are:</p> <ul> <li><code translate="no" dir="ltr">v1beta1</code>: uses the push format defined in the v1beta1 Pub/Sub API.</li> <li><code translate="no" dir="ltr">v1</code> or <code translate="no" dir="ltr">v1beta2</code>: uses the push format defined in the v1 Pub/Sub API.</li> </ul><p>For example: <code translate="no" dir="ltr">attributes { "x-goog-version": "v1" }</code></p><p>An object containing a list of <code translate="no" dir="ltr">"key": value</code> pairs. Example: <code translate="no" dir="ltr">{ "name": "wrench", "mass": "1.3kg", "count": "3" }</code>.</p> </td> </tr> <tr id="PushConfig.FIELDS.oneof_authentication_method" class="alt"> <td colspan="2">Union field <code translate="no" dir="ltr">authentication_method</code>. An authentication method used by push endpoints to verify the source of push requests. This can be used with push endpoints that are private by default to allow requests only from the Pub/Sub system, for example. This field is optional and should be set only by users interested in authenticated push. <code translate="no" dir="ltr">authentication_method</code> can be only one of the following:</td> </tr> <tr id="PushConfig.FIELDS.oidc_token"> <td><code translate="no" dir="ltr">oidc<wbr>Token</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#OidcToken">OidcToken</a></code>)</code></p> <p>Optional. If specified, Pub/Sub will generate and attach an OIDC JWT token as an <code translate="no" dir="ltr">Authorization</code> header in the HTTP request for every pushed message.</p> </td> </tr> <tr id="PushConfig.FIELDS.oneof_wrapper" class="alt"> <td colspan="2">Union field <code translate="no" dir="ltr">wrapper</code>. The format of the delivered message to the push endpoint is defined by the chosen wrapper. When unset, <code translate="no" dir="ltr">PubsubWrapper</code> is used. <code translate="no" dir="ltr">wrapper</code> can be only one of the following:</td> </tr> <tr id="PushConfig.FIELDS.pubsub_wrapper"> <td><code translate="no" dir="ltr">pubsub<wbr>Wrapper</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#PubsubWrapper">PubsubWrapper</a></code>)</code></p> <p>Optional. When set, the payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (<a href="https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage)">https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage)</a>.</p> </td> </tr> <tr id="PushConfig.FIELDS.no_wrapper"> <td><code translate="no" dir="ltr">no<wbr>Wrapper</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#NoWrapper">NoWrapper</a></code>)</code></p> <p>Optional. When set, the payload to the push endpoint is not wrapped.</p> </td> </tr> </tbody> </table> </section> </section> <section id="OidcToken"> <h2 id="oidctoken" data-text="OidcToken" tabindex="-1">OidcToken</h2> <section id="OidcToken.description"> <p>Contains information needed for generating an <a href="https://developers.google.com/identity/protocols/OpenIDConnect">OpenID Connect token</a>.</p> </section> <section id="OidcToken.SCHEMA_REPRESENTATION"> <table class="properties responsive fixed"> <thead> <tr> <th>JSON representation</th> </tr> </thead> <tbody> <tr> <td style="margin:0;padding:0;"><pre style="border: 0;margin: 0;" translate="no" dir="ltr"><span class="pun">{</span> <span class="str">"serviceAccountEmail"</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="str">"audience"</span><span class="pun">: </span><span class="kwd">string</span> <span class="pun">}</span></pre></td> </tr> </tbody> </table> </section> <section id="OidcToken.FIELDS"> <table class="properties responsive fixed" id="OidcToken.FIELDS-table"> <colgroup> <col width="25%"> <col> </colgroup> <thead> <tr> <th colspan="2">Fields</th> </tr> </thead> <tbody> <tr id="OidcToken.FIELDS.service_account_email"> <td><code translate="no" dir="ltr">service<wbr>Account<wbr>Email</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string</code></p> <p>Optional. <a href="https://cloud.google.com/iam/docs/service-accounts">Service account email</a> used for generating the OIDC token. For more information on setting up authentication, see <a href="https://cloud.google.com/pubsub/docs/push">Push subscriptions</a>.</p> </td> </tr> <tr id="OidcToken.FIELDS.audience"> <td><code translate="no" dir="ltr">audience</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string</code></p> <p>Optional. Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: <a href="https://tools.ietf.org/html/rfc7519#section-4.1.3">https://tools.ietf.org/html/rfc7519#section-4.1.3</a> Note: if not specified, the Push endpoint URL will be used.</p> </td> </tr> </tbody> </table> </section> </section> <section id="PubsubWrapper"> <h2 id="pubsubwrapper" data-text="PubsubWrapper" tabindex="-1">PubsubWrapper</h2> <p>This type has no fields.</p> <section id="PubsubWrapper.description"> <p>The payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (<a href="https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage)">https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage)</a>.</p> </section> </section> <section id="NoWrapper"> <h2 id="nowrapper" data-text="NoWrapper" tabindex="-1">NoWrapper</h2> <section id="NoWrapper.description"> <p>Sets the <code translate="no" dir="ltr">data</code> field as the HTTP body for delivery.</p> </section> <section id="NoWrapper.SCHEMA_REPRESENTATION"> <table class="properties responsive fixed"> <thead> <tr> <th>JSON representation</th> </tr> </thead> <tbody> <tr> <td style="margin:0;padding:0;"><pre style="border: 0;margin: 0;" translate="no" dir="ltr"><span class="pun">{</span> <span class="str">"writeMetadata"</span><span class="pun">: </span><span class="kwd">boolean</span> <span class="pun">}</span></pre></td> </tr> </tbody> </table> </section> <section id="NoWrapper.FIELDS"> <table class="properties responsive fixed" id="NoWrapper.FIELDS-table"> <colgroup> <col width="25%"> <col> </colgroup> <thead> <tr> <th colspan="2">Fields</th> </tr> </thead> <tbody> <tr id="NoWrapper.FIELDS.write_metadata"> <td><code translate="no" dir="ltr">write<wbr>Metadata</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">boolean</code></p> <p>Optional. When true, writes the Pub/Sub message metadata to <code translate="no" dir="ltr">x-goog-pubsub-<KEY>:<VAL></code> headers of the HTTP request. Writes the Pub/Sub message attributes to <code translate="no" dir="ltr"><KEY>:<VAL></code> headers of the HTTP request.</p> </td> </tr> </tbody> </table> </section> </section> <section id="BigQueryConfig"> <h2 id="bigqueryconfig" data-text="BigQueryConfig" tabindex="-1">BigQueryConfig</h2> <section id="BigQueryConfig.description"> <p>Configuration for a BigQuery subscription.</p> </section> <section id="BigQueryConfig.SCHEMA_REPRESENTATION"> <table class="properties responsive fixed"> <thead> <tr> <th>JSON representation</th> </tr> </thead> <tbody> <tr> <td style="margin:0;padding:0;"><pre style="border: 0;margin: 0;" translate="no" dir="ltr"><span class="pun">{</span> <span class="str">"table"</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="str">"useTopicSchema"</span><span class="pun">: </span><span class="kwd">boolean</span><span class="pun">,</span> <span class="str">"writeMetadata"</span><span class="pun">: </span><span class="kwd">boolean</span><span class="pun">,</span> <span class="str">"dropUnknownFields"</span><span class="pun">: </span><span class="kwd">boolean</span><span class="pun">,</span> <span class="str">"state"</span><span class="pun">: </span><span class="kwd">enum (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#State">State</a></code>)</span><span class="pun">,</span> <span class="str">"useTableSchema"</span><span class="pun">: </span><span class="kwd">boolean</span><span class="pun">,</span> <span class="str">"serviceAccountEmail"</span><span class="pun">: </span><span class="kwd">string</span> <span class="pun">}</span></pre></td> </tr> </tbody> </table> </section> <section id="BigQueryConfig.FIELDS"> <table class="properties responsive fixed" id="BigQueryConfig.FIELDS-table"> <colgroup> <col width="25%"> <col> </colgroup> <thead> <tr> <th colspan="2">Fields</th> </tr> </thead> <tbody> <tr id="BigQueryConfig.FIELDS.table"> <td><code translate="no" dir="ltr">table</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string</code></p> <p>Optional. The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}</p> </td> </tr> <tr id="BigQueryConfig.FIELDS.use_topic_schema"> <td><code translate="no" dir="ltr">use<wbr>Topic<wbr>Schema</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">boolean</code></p> <p>Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists. <code translate="no" dir="ltr">useTopicSchema</code> and <code translate="no" dir="ltr">useTableSchema</code> cannot be enabled at the same time.</p> </td> </tr> <tr id="BigQueryConfig.FIELDS.write_metadata"> <td><code translate="no" dir="ltr">write<wbr>Metadata</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">boolean</code></p> <p>Optional. When true, write the subscription name, messageId, publishTime, attributes, and orderingKey to additional columns in the table. The subscription name, messageId, and publishTime fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column.</p> </td> </tr> <tr id="BigQueryConfig.FIELDS.drop_unknown_fields"> <td><code translate="no" dir="ltr">drop<wbr>Unknown<wbr>Fields</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">boolean</code></p> <p>Optional. When true and useTopicSchema is true, any fields that are a part of the topic schema that are not part of the BigQuery table schema are dropped when writing to BigQuery. Otherwise, the schemas must be kept in sync and any messages with extra fields are not written and remain in the subscription's backlog.</p> </td> </tr> <tr id="BigQueryConfig.FIELDS.state"> <td><code translate="no" dir="ltr">state</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">enum (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#State">State</a></code>)</code></p> <p>Output only. An output-only field that indicates whether or not the subscription can receive messages.</p> </td> </tr> <tr id="BigQueryConfig.FIELDS.use_table_schema"> <td><code translate="no" dir="ltr">use<wbr>Table<wbr>Schema</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">boolean</code></p> <p>Optional. When true, use the BigQuery table's schema as the columns to write to in BigQuery. <code translate="no" dir="ltr">useTableSchema</code> and <code translate="no" dir="ltr">useTopicSchema</code> cannot be enabled at the same time.</p> </td> </tr> <tr id="BigQueryConfig.FIELDS.service_account_email"> <td><code translate="no" dir="ltr">service<wbr>Account<wbr>Email</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string</code></p> <p>Optional. The service account to use to write to BigQuery. The subscription creator or updater that specifies this field must have <code translate="no" dir="ltr">iam.serviceAccounts.actAs</code> permission on the service account. If not specified, the Pub/Sub <a href="https://cloud.google.com/iam/docs/service-agents">service agent</a>, service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.</p> </td> </tr> </tbody> </table> </section> </section> <section id="State"> <h2 id="state" data-text="State" tabindex="-1">State</h2> <section id="State.description"> <p>Possible states for a BigQuery subscription.</p> </section> <section id="State.ENUM_VALUES"> <table class="constants responsive fixed" id="State.ENUM_VALUES-table"> <colgroup> <col width="25%"> <col> </colgroup> <thead> <tr> <th colspan="2">Enums</th> </tr> </thead> <tbody> <tr id="State.ENUM_VALUES.STATE_UNSPECIFIED"> <td><code class="apitype" translate="no" dir="ltr">STATE_UNSPECIFIED</code></td> <td>Default value. This value is unused.</td> </tr> <tr id="State.ENUM_VALUES.ACTIVE"> <td><code class="apitype" translate="no" dir="ltr">ACTIVE</code></td> <td>The subscription can actively send messages to BigQuery</td> </tr> <tr id="State.ENUM_VALUES.PERMISSION_DENIED"> <td><code class="apitype" translate="no" dir="ltr">PERMISSION_DENIED</code></td> <td>Cannot write to the BigQuery table because of permission denied errors. This can happen if - Pub/Sub SA has not been granted the <a href="https://cloud.google.com/pubsub/docs/create-subscription#assign_bigquery_service_account">appropriate BigQuery IAM permissions</a> - bigquery.googleapis.com API is not enabled for the project (<a href="https://cloud.google.com/service-usage/docs/enable-disable">instructions</a>)</td> </tr> <tr id="State.ENUM_VALUES.NOT_FOUND"> <td><code class="apitype" translate="no" dir="ltr">NOT_FOUND</code></td> <td>Cannot write to the BigQuery table because it does not exist.</td> </tr> <tr id="State.ENUM_VALUES.SCHEMA_MISMATCH"> <td><code class="apitype" translate="no" dir="ltr">SCHEMA_MISMATCH</code></td> <td>Cannot write to the BigQuery table due to a schema mismatch.</td> </tr> <tr id="State.ENUM_VALUES.IN_TRANSIT_LOCATION_RESTRICTION"> <td><code class="apitype" translate="no" dir="ltr">IN_TRANSIT_LOCATION_RESTRICTION</code></td> <td>Cannot write to the destination because enforceInTransit is set to true and the destination locations are not in the allowed regions.</td> </tr> </tbody> </table> </section> </section> <section id="CloudStorageConfig"> <h2 id="cloudstorageconfig" data-text="CloudStorageConfig" tabindex="-1">CloudStorageConfig</h2> <section id="CloudStorageConfig.description"> <p>Configuration for a Cloud Storage subscription.</p> </section> <section id="CloudStorageConfig.SCHEMA_REPRESENTATION"> <table class="properties responsive fixed"> <thead> <tr> <th>JSON representation</th> </tr> </thead> <tbody> <tr> <td style="margin:0;padding:0;"><pre style="border: 0;margin: 0;" translate="no" dir="ltr"><span class="pun">{</span> <span class="str">"bucket"</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="str">"filenamePrefix"</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="str">"filenameSuffix"</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="str">"filenameDatetimeFormat"</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="str">"maxDuration"</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="str">"maxBytes"</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="str">"maxMessages"</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="str">"state"</span><span class="pun">: </span><span class="kwd">enum (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#State_1">State</a></code>)</span><span class="pun">,</span> <span class="str">"serviceAccountEmail"</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="com">// Union field <code translate="no" dir="ltr">output_format</code> can be only one of the following:</span> <span class="str">"textConfig"</span><span class="pun">: </span><span class="pun">{</span> <span class="kwd">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#TextConfig">TextConfig</a></code>)</span> <span class="pun">}</span><span class="pun">,</span> <span class="str">"avroConfig"</span><span class="pun">: </span><span class="pun">{</span> <span class="kwd">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#AvroConfig">AvroConfig</a></code>)</span> <span class="pun">}</span> <span class="com">// End of list of possible types for union field <code translate="no" dir="ltr">output_format</code>.</span> <span class="pun">}</span></pre></td> </tr> </tbody> </table> </section> <section id="CloudStorageConfig.FIELDS"> <table class="properties responsive fixed" id="CloudStorageConfig.FIELDS-table"> <colgroup> <col width="25%"> <col> </colgroup> <thead> <tr> <th colspan="2">Fields</th> </tr> </thead> <tbody> <tr id="CloudStorageConfig.FIELDS.bucket"> <td><code translate="no" dir="ltr">bucket</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string</code></p> <p>Required. User-provided name for the Cloud Storage bucket. The bucket must be created by the user. The bucket name must be without any prefix like "gs://". See the <a href="https://cloud.google.com/storage/docs/buckets#naming">bucket naming requirements</a>.</p> </td> </tr> <tr id="CloudStorageConfig.FIELDS.filename_prefix"> <td><code translate="no" dir="ltr">filename<wbr>Prefix</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string</code></p> <p>Optional. User-provided prefix for Cloud Storage filename. See the <a href="https://cloud.google.com/storage/docs/objects#naming">object naming requirements</a>.</p> </td> </tr> <tr id="CloudStorageConfig.FIELDS.filename_suffix"> <td><code translate="no" dir="ltr">filename<wbr>Suffix</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string</code></p> <p>Optional. User-provided suffix for Cloud Storage filename. See the <a href="https://cloud.google.com/storage/docs/objects#naming">object naming requirements</a>. Must not end in "/".</p> </td> </tr> <tr id="CloudStorageConfig.FIELDS.filename_datetime_format"> <td><code translate="no" dir="ltr">filename<wbr>Datetime<wbr>Format</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string</code></p> <p>Optional. User-provided format string specifying how to represent datetimes in Cloud Storage filenames. See the <a href="https://cloud.google.com/pubsub/docs/create-cloudstorage-subscription#file_names">datetime format guidance</a>.</p> </td> </tr> <tr id="CloudStorageConfig.FIELDS.max_duration"> <td><code translate="no" dir="ltr">max<wbr>Duration</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string (<code translate="no" dir="ltr"><a href="https://protobuf.dev/reference/protobuf/google.protobuf/#duration">Duration</a></code> format)</code></p> <p>Optional. The maximum duration that can elapse before a new Cloud Storage file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed the subscription's acknowledgement deadline.</p><p>A duration in seconds with up to nine fractional digits, ending with '<code translate="no" dir="ltr">s</code>'. Example: <code translate="no" dir="ltr">"3.5s"</code>.</p> </td> </tr> <tr id="CloudStorageConfig.FIELDS.max_bytes"> <td><code translate="no" dir="ltr">max<wbr>Bytes</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string (<a href="https://developers.google.com/discovery/v1/type-format">int64</a> format)</code></p> <p>Optional. The maximum bytes that can be written to a Cloud Storage file before a new file is created. Min 1 KB, max 10 GiB. The maxBytes limit may be exceeded in cases where messages are larger than the limit.</p> </td> </tr> <tr id="CloudStorageConfig.FIELDS.max_messages"> <td><code translate="no" dir="ltr">max<wbr>Messages</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string (<a href="https://developers.google.com/discovery/v1/type-format">int64</a> format)</code></p> <p>Optional. The maximum number of messages that can be written to a Cloud Storage file before a new file is created. Min 1000 messages.</p> </td> </tr> <tr id="CloudStorageConfig.FIELDS.state"> <td><code translate="no" dir="ltr">state</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">enum (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#State_1">State</a></code>)</code></p> <p>Output only. An output-only field that indicates whether or not the subscription can receive messages.</p> </td> </tr> <tr id="CloudStorageConfig.FIELDS.service_account_email"> <td><code translate="no" dir="ltr">service<wbr>Account<wbr>Email</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string</code></p> <p>Optional. The service account to use to write to Cloud Storage. The subscription creator or updater that specifies this field must have <code translate="no" dir="ltr">iam.serviceAccounts.actAs</code> permission on the service account. If not specified, the Pub/Sub <a href="https://cloud.google.com/iam/docs/service-agents">service agent</a>, service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.</p> </td> </tr> <tr id="CloudStorageConfig.FIELDS.oneof_output_format" class="alt"> <td colspan="2">Union field <code translate="no" dir="ltr">output_format</code>. Defaults to text format. <code translate="no" dir="ltr">output_format</code> can be only one of the following:</td> </tr> <tr id="CloudStorageConfig.FIELDS.text_config"> <td><code translate="no" dir="ltr">text<wbr>Config</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#TextConfig">TextConfig</a></code>)</code></p> <p>Optional. If set, message data will be written to Cloud Storage in text format.</p> </td> </tr> <tr id="CloudStorageConfig.FIELDS.avro_config"> <td><code translate="no" dir="ltr">avro<wbr>Config</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">object (<code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions#AvroConfig">AvroConfig</a></code>)</code></p> <p>Optional. If set, message data will be written to Cloud Storage in Avro format.</p> </td> </tr> </tbody> </table> </section> </section> <section id="TextConfig"> <h2 id="textconfig" data-text="TextConfig" tabindex="-1">TextConfig</h2> <p>This type has no fields.</p> <section id="TextConfig.description"> <p>Configuration for writing message data in text format. Message payloads will be written to files as raw text, separated by a newline.</p> </section> </section> <section id="AvroConfig"> <h2 id="avroconfig" data-text="AvroConfig" tabindex="-1">AvroConfig</h2> <section id="AvroConfig.description"> <p>Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary.</p> </section> <section id="AvroConfig.SCHEMA_REPRESENTATION"> <table class="properties responsive fixed"> <thead> <tr> <th>JSON representation</th> </tr> </thead> <tbody> <tr> <td style="margin:0;padding:0;"><pre style="border: 0;margin: 0;" translate="no" dir="ltr"><span class="pun">{</span> <span class="str">"writeMetadata"</span><span class="pun">: </span><span class="kwd">boolean</span><span class="pun">,</span> <span class="str">"useTopicSchema"</span><span class="pun">: </span><span class="kwd">boolean</span> <span class="pun">}</span></pre></td> </tr> </tbody> </table> </section> <section id="AvroConfig.FIELDS"> <table class="properties responsive fixed" id="AvroConfig.FIELDS-table"> <colgroup> <col width="25%"> <col> </colgroup> <thead> <tr> <th colspan="2">Fields</th> </tr> </thead> <tbody> <tr id="AvroConfig.FIELDS.write_metadata"> <td><code translate="no" dir="ltr">write<wbr>Metadata</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">boolean</code></p> <p>Optional. When true, write the subscription name, messageId, publishTime, attributes, and orderingKey as additional fields in the output. The subscription name, messageId, and publishTime fields are put in their own fields while all other message properties other than data (for example, an orderingKey, if present) are added as entries in the attributes map.</p> </td> </tr> <tr id="AvroConfig.FIELDS.use_topic_schema"> <td><code translate="no" dir="ltr">use<wbr>Topic<wbr>Schema</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">boolean</code></p> <p>Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.</p> </td> </tr> </tbody> </table> </section> </section> <section id="State_1"> <h2 id="state_1" data-text="State" tabindex="-1">State</h2> <section id="State_1.description"> <p>Possible states for a Cloud Storage subscription.</p> </section> <section id="State_1.ENUM_VALUES"> <table class="constants responsive fixed" id="State_1.ENUM_VALUES-table"> <colgroup> <col width="25%"> <col> </colgroup> <thead> <tr> <th colspan="2">Enums</th> </tr> </thead> <tbody> <tr id="State_1.ENUM_VALUES.STATE_UNSPECIFIED"> <td><code class="apitype" translate="no" dir="ltr">STATE_UNSPECIFIED</code></td> <td>Default value. This value is unused.</td> </tr> <tr id="State_1.ENUM_VALUES.ACTIVE"> <td><code class="apitype" translate="no" dir="ltr">ACTIVE</code></td> <td>The subscription can actively send messages to Cloud Storage.</td> </tr> <tr id="State_1.ENUM_VALUES.PERMISSION_DENIED"> <td><code class="apitype" translate="no" dir="ltr">PERMISSION_DENIED</code></td> <td>Cannot write to the Cloud Storage bucket because of permission denied errors.</td> </tr> <tr id="State_1.ENUM_VALUES.NOT_FOUND"> <td><code class="apitype" translate="no" dir="ltr">NOT_FOUND</code></td> <td>Cannot write to the Cloud Storage bucket because it does not exist.</td> </tr> <tr id="State_1.ENUM_VALUES.IN_TRANSIT_LOCATION_RESTRICTION"> <td><code class="apitype" translate="no" dir="ltr">IN_TRANSIT_LOCATION_RESTRICTION</code></td> <td>Cannot write to the destination because enforceInTransit is set to true and the destination locations are not in the allowed regions.</td> </tr> <tr id="State_1.ENUM_VALUES.SCHEMA_MISMATCH"> <td><code class="apitype" translate="no" dir="ltr">SCHEMA_MISMATCH</code></td> <td>Cannot write to the Cloud Storage bucket due to an incompatibility between the topic schema and subscription settings.</td> </tr> </tbody> </table> </section> </section> <section id="ExpirationPolicy"> <h2 id="expirationpolicy" data-text="ExpirationPolicy" tabindex="-1">ExpirationPolicy</h2> <section id="ExpirationPolicy.description"> <p>A policy that specifies the conditions for resource expiration (i.e., automatic resource deletion).</p> </section> <section id="ExpirationPolicy.SCHEMA_REPRESENTATION"> <table class="properties responsive fixed"> <thead> <tr> <th>JSON representation</th> </tr> </thead> <tbody> <tr> <td style="margin:0;padding:0;"><pre style="border: 0;margin: 0;" translate="no" dir="ltr"><span class="pun">{</span> <span class="str">"ttl"</span><span class="pun">: </span><span class="kwd">string</span> <span class="pun">}</span></pre></td> </tr> </tbody> </table> </section> <section id="ExpirationPolicy.FIELDS"> <table class="properties responsive fixed" id="ExpirationPolicy.FIELDS-table"> <colgroup> <col width="25%"> <col> </colgroup> <thead> <tr> <th colspan="2">Fields</th> </tr> </thead> <tbody> <tr id="ExpirationPolicy.FIELDS.ttl"> <td><code translate="no" dir="ltr">ttl</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string (<code translate="no" dir="ltr"><a href="https://protobuf.dev/reference/protobuf/google.protobuf/#duration">Duration</a></code> format)</code></p> <p>Optional. Specifies the "time-to-live" duration for an associated resource. The resource expires if it is not active for a period of <code translate="no" dir="ltr">ttl</code>. The definition of "activity" depends on the type of the associated resource. The minimum and maximum allowed values for <code translate="no" dir="ltr">ttl</code> depend on the type of the associated resource, as well. If <code translate="no" dir="ltr">ttl</code> is not set, the associated resource never expires.</p><p>A duration in seconds with up to nine fractional digits, ending with '<code translate="no" dir="ltr">s</code>'. Example: <code translate="no" dir="ltr">"3.5s"</code>.</p> </td> </tr> </tbody> </table> </section> </section> <section id="DeadLetterPolicy"> <h2 id="deadletterpolicy" data-text="DeadLetterPolicy" tabindex="-1">DeadLetterPolicy</h2> <section id="DeadLetterPolicy.description"> <p>Dead lettering is done on a best effort basis. The same message might be dead lettered multiple times.</p><p>If validation on any of the fields fails at subscription creation/updation, the create/update subscription request will fail.</p> </section> <section id="DeadLetterPolicy.SCHEMA_REPRESENTATION"> <table class="properties responsive fixed"> <thead> <tr> <th>JSON representation</th> </tr> </thead> <tbody> <tr> <td style="margin:0;padding:0;"><pre style="border: 0;margin: 0;" translate="no" dir="ltr"><span class="pun">{</span> <span class="str">"deadLetterTopic"</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="str">"maxDeliveryAttempts"</span><span class="pun">: </span><span class="kwd">integer</span> <span class="pun">}</span></pre></td> </tr> </tbody> </table> </section> <section id="DeadLetterPolicy.FIELDS"> <table class="properties responsive fixed" id="DeadLetterPolicy.FIELDS-table"> <colgroup> <col width="25%"> <col> </colgroup> <thead> <tr> <th colspan="2">Fields</th> </tr> </thead> <tbody> <tr id="DeadLetterPolicy.FIELDS.dead_letter_topic"> <td><code translate="no" dir="ltr">dead<wbr>Letter<wbr>Topic</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string</code></p> <p>Optional. The name of the topic to which dead letter messages should be published. Format is <code translate="no" dir="ltr">projects/{project}/topics/{topic}</code>.The Pub/Sub service account associated with the enclosing subscription's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to topics.publish() to this topic.</p><p>The operation will fail if the topic does not exist. Users should ensure that there is a subscription attached to this topic since messages published to a topic with no subscriptions are lost.</p> </td> </tr> <tr id="DeadLetterPolicy.FIELDS.max_delivery_attempts"> <td><code translate="no" dir="ltr">max<wbr>Delivery<wbr>Attempts</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">integer</code></p> <p>Optional. The maximum number of delivery attempts for any message. The value must be between 5 and 100.</p><p>The number of delivery attempts is defined as 1 + (the sum of number of NACKs and number of times the acknowledgement deadline has been exceeded for the message).</p><p>A NACK is any call to subscriptions.modifyAckDeadline with a 0 deadline. Note that client libraries may automatically extend ack_deadlines.</p><p>This field will be honored on a best effort basis.</p><p>If this parameter is 0, a default value of 5 is used.</p> </td> </tr> </tbody> </table> </section> </section> <section id="RetryPolicy"> <h2 id="retrypolicy" data-text="RetryPolicy" tabindex="-1">RetryPolicy</h2> <section id="RetryPolicy.description"> <p>A policy that specifies how Pub/Sub retries message delivery.</p><p>Retry delay will be exponential based on provided minimum and maximum backoffs. <a href="https://en.wikipedia.org/wiki/Exponential_backoff">https://en.wikipedia.org/wiki/Exponential_backoff</a>.</p><p>RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded events for a given message.</p><p>Retry Policy is implemented on a best effort basis. At times, the delay between consecutive deliveries may not match the configuration. That is, delay can be more or less than configured backoff.</p> </section> <section id="RetryPolicy.SCHEMA_REPRESENTATION"> <table class="properties responsive fixed"> <thead> <tr> <th>JSON representation</th> </tr> </thead> <tbody> <tr> <td style="margin:0;padding:0;"><pre style="border: 0;margin: 0;" translate="no" dir="ltr"><span class="pun">{</span> <span class="str">"minimumBackoff"</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="str">"maximumBackoff"</span><span class="pun">: </span><span class="kwd">string</span> <span class="pun">}</span></pre></td> </tr> </tbody> </table> </section> <section id="RetryPolicy.FIELDS"> <table class="properties responsive fixed" id="RetryPolicy.FIELDS-table"> <colgroup> <col width="25%"> <col> </colgroup> <thead> <tr> <th colspan="2">Fields</th> </tr> </thead> <tbody> <tr id="RetryPolicy.FIELDS.minimum_backoff"> <td><code translate="no" dir="ltr">minimum<wbr>Backoff</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string (<code translate="no" dir="ltr"><a href="https://protobuf.dev/reference/protobuf/google.protobuf/#duration">Duration</a></code> format)</code></p> <p>Optional. The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds.</p><p>A duration in seconds with up to nine fractional digits, ending with '<code translate="no" dir="ltr">s</code>'. Example: <code translate="no" dir="ltr">"3.5s"</code>.</p> </td> </tr> <tr id="RetryPolicy.FIELDS.maximum_backoff"> <td><code translate="no" dir="ltr">maximum<wbr>Backoff</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string (<code translate="no" dir="ltr"><a href="https://protobuf.dev/reference/protobuf/google.protobuf/#duration">Duration</a></code> format)</code></p> <p>Optional. The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds.</p><p>A duration in seconds with up to nine fractional digits, ending with '<code translate="no" dir="ltr">s</code>'. Example: <code translate="no" dir="ltr">"3.5s"</code>.</p> </td> </tr> </tbody> </table> </section> </section> <section id="State_2"> <h2 id="state_2" data-text="State" tabindex="-1">State</h2> <section id="State_2.description"> <p>Possible states for a subscription.</p> </section> <section id="State_2.ENUM_VALUES"> <table class="constants responsive fixed" id="State_2.ENUM_VALUES-table"> <colgroup> <col width="25%"> <col> </colgroup> <thead> <tr> <th colspan="2">Enums</th> </tr> </thead> <tbody> <tr id="State_2.ENUM_VALUES.STATE_UNSPECIFIED"> <td><code class="apitype" translate="no" dir="ltr">STATE_UNSPECIFIED</code></td> <td>Default value. This value is unused.</td> </tr> <tr id="State_2.ENUM_VALUES.ACTIVE"> <td><code class="apitype" translate="no" dir="ltr">ACTIVE</code></td> <td>The subscription can actively receive messages</td> </tr> <tr id="State_2.ENUM_VALUES.RESOURCE_ERROR"> <td><code class="apitype" translate="no" dir="ltr">RESOURCE_ERROR</code></td> <td>The subscription cannot receive messages because of an error with the resource to which it pushes messages. See the more detailed error state in the corresponding configuration.</td> </tr> </tbody> </table> </section> </section> <section id="AnalyticsHubSubscriptionInfo"> <h2 id="analyticshubsubscriptioninfo" data-text="AnalyticsHubSubscriptionInfo" tabindex="-1">AnalyticsHubSubscriptionInfo</h2> <section id="AnalyticsHubSubscriptionInfo.description"> <p>Information about an associated Analytics Hub subscription (<a href="https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions)">https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions)</a>.</p> </section> <section id="AnalyticsHubSubscriptionInfo.SCHEMA_REPRESENTATION"> <table class="properties responsive fixed"> <thead> <tr> <th>JSON representation</th> </tr> </thead> <tbody> <tr> <td style="margin:0;padding:0;"><pre style="border: 0;margin: 0;" translate="no" dir="ltr"><span class="pun">{</span> <span class="str">"listing"</span><span class="pun">: </span><span class="kwd">string</span><span class="pun">,</span> <span class="str">"subscription"</span><span class="pun">: </span><span class="kwd">string</span> <span class="pun">}</span></pre></td> </tr> </tbody> </table> </section> <section id="AnalyticsHubSubscriptionInfo.FIELDS"> <table class="properties responsive fixed" id="AnalyticsHubSubscriptionInfo.FIELDS-table"> <colgroup> <col width="25%"> <col> </colgroup> <thead> <tr> <th colspan="2">Fields</th> </tr> </thead> <tbody> <tr id="AnalyticsHubSubscriptionInfo.FIELDS.listing"> <td><code translate="no" dir="ltr">listing</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string</code></p> <p>Optional. The name of the associated Analytics Hub listing resource. Pattern: "projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}"</p> </td> </tr> <tr id="AnalyticsHubSubscriptionInfo.FIELDS.subscription"> <td><code translate="no" dir="ltr">subscription</code></td> <td> <p><code class="apitype" translate="no" dir="ltr">string</code></p> <p>Optional. The name of the associated Analytics Hub subscription resource. Pattern: "projects/{project}/locations/{location}/subscriptions/{subscription}"</p> </td> </tr> </tbody> </table> </section> </section> <section id="METHODS_SUMMARY"> <table class="methods responsive fixed" id="METHODS_SUMMARY-table"> <colgroup> <col width="25%"> <col> </colgroup> <thead> <tr> <th colspan="2"><h2 id="methods" data-text="Methods" tabindex="-1">Methods</h2></th> </tr> </thead> <tbody> <tr> <td> <h3 id="acknowledge" data-text="acknowledge" tabindex="-1"><code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/acknowledge">acknowledge</a></code></h3></td> <td> Acknowledges the messages associated with the <code translate="no" dir="ltr">ack_ids</code> in the <code translate="no" dir="ltr">AcknowledgeRequest</code>.</td> </tr> <tr> <td> <h3 id="create" data-text="create" tabindex="-1"><code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/create">create</a></code></h3></td> <td> Creates a subscription to a given topic.</td> </tr> <tr> <td> <h3 id="delete" data-text="delete" tabindex="-1"><code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/delete">delete</a></code></h3></td> <td> Deletes an existing subscription.</td> </tr> <tr> <td> <h3 id="detach" data-text="detach" tabindex="-1"><code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/detach">detach</a></code></h3></td> <td> Detaches a subscription from this topic.</td> </tr> <tr> <td> <h3 id="get" data-text="get" tabindex="-1"><code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/get">get</a></code></h3></td> <td> Gets the configuration details of a subscription.</td> </tr> <tr> <td> <h3 id="getiampolicy" data-text="getIamPolicy" tabindex="-1"><code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/getIamPolicy">get<wbr>Iam<wbr>Policy</wbr></wbr></a></code></h3></td> <td> Gets the access control policy for a resource.</td> </tr> <tr> <td> <h3 id="list" data-text="list" tabindex="-1"><code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/list">list</a></code></h3></td> <td> Lists matching subscriptions.</td> </tr> <tr> <td> <h3 id="modifyackdeadline" data-text="modifyAckDeadline" tabindex="-1"><code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/modifyAckDeadline">modify<wbr>Ack<wbr>Deadline</wbr></wbr></a></code></h3></td> <td> Modifies the ack deadline for a specific message.</td> </tr> <tr> <td> <h3 id="modifypushconfig" data-text="modifyPushConfig" tabindex="-1"><code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/modifyPushConfig">modify<wbr>Push<wbr>Config</wbr></wbr></a></code></h3></td> <td> Modifies the <code translate="no" dir="ltr">PushConfig</code> for a specified subscription.</td> </tr> <tr> <td> <h3 id="patch" data-text="patch" tabindex="-1"><code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/patch">patch</a></code></h3></td> <td> Updates an existing subscription by updating the fields specified in the update mask.</td> </tr> <tr> <td> <h3 id="pull" data-text="pull" tabindex="-1"><code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/pull">pull</a></code></h3></td> <td> Pulls messages from the server.</td> </tr> <tr> <td> <h3 id="seek" data-text="seek" tabindex="-1"><code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/seek">seek</a></code></h3></td> <td> Seeks an existing subscription to a point in time or to a given snapshot, whichever is provided in the request.</td> </tr> <tr> <td> <h3 id="setiampolicy" data-text="setIamPolicy" tabindex="-1"><code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/setIamPolicy">set<wbr>Iam<wbr>Policy</wbr></wbr></a></code></h3></td> <td> Sets the access control policy on the specified resource.</td> </tr> <tr> <td> <h3 id="testiampermissions" data-text="testIamPermissions" tabindex="-1"><code translate="no" dir="ltr"><a href="/pubsub/docs/reference/rest/v1/projects.subscriptions/testIamPermissions">test<wbr>Iam<wbr>Permissions</wbr></wbr></a></code></h3></td> <td> Returns permissions that a caller has on the specified resource.</td> </tr> </tbody> </table> </section> </section> <devsite-hats-survey class="nocontent" hats-id="Nd7nTix2o0eU5NUYprb0ThtUc5jf" listnr-id="83405"></devsite-hats-survey> </div> <devsite-thumb-rating position="footer"> </devsite-thumb-rating> <devsite-feedback position="footer" project-name="Pub/Sub Documentation" product-id="96707" bucket="documentation" context="" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="footer" class="nocontent" project-feedback-url="https://issuetracker.google.com/issues/new?component=187173&template=0" project-icon="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png" > <button> Send feedback </button> </devsite-feedback> <div class="devsite-floating-action-buttons"> </div> </article> <devsite-content-footer class="nocontent"> <p>Except as otherwise noted, the content of this page is licensed under the <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 License</a>, and code samples are licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache 2.0 License</a>. For details, see the <a href="https://developers.google.com/site-policies">Google Developers Site Policies</a>. Java is a registered trademark of Oracle and/or its affiliates.</p> <p>Last updated 2024-11-06 UTC.</p> </devsite-content-footer> <devsite-notification > </devsite-notification> <div class="devsite-content-data"> <template class="devsite-thumb-rating-feedback"> <devsite-feedback position="thumb-rating" project-name="Pub/Sub Documentation" product-id="96707" bucket="documentation" context="" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="thumb-rating" class="nocontent" project-feedback-url="https://issuetracker.google.com/issues/new?component=187173&template=0" project-icon="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png" > <button> Need to tell us more? </button> </devsite-feedback> </template> <template class="devsite-content-data-template"> [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-06 UTC."],[],[]] </template> </div> </devsite-content> </main> <devsite-footer-promos class="devsite-footer"> </devsite-footer-promos> <devsite-footer-linkboxes class="devsite-footer"> <nav class="devsite-footer-linkboxes nocontent" aria-label="Footer links"> <ul class="devsite-footer-linkboxes-list"> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Why Google</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/why-google-cloud/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-name="choosing google cloud"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/why-google-cloud/"track-metadata-child_headline="why google"track-type="footer link"track-metadata-module="footer"> Choosing Google Cloud </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/trust-center/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-metadata-position="footer"track-metadata-child_headline="why google"track-type="footer link"track-metadata-module="footer"track-name="trust and security"track-metadata-eventDetail="cloud.google.com/security/"> Trust and security </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/modern-infrastructure/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-metadata-child_headline="why google"track-type="footer link"track-metadata-module="footer"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/solutions/modern-infrastructure/"track-name="modern infrastructure cloud"> Modern Infrastructure Cloud </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/multicloud/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-metadata-module="footer"track-name="multicloud"track-type="footer link"track-metadata-eventDetail="cloud.google.com/multicloud/"track-metadata-position="footer"track-metadata-child_headline="why google"> Multicloud </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/infrastructure/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" track-name="global infrastructure"track-type="footer link"track-metadata-eventDetail="cloud.google.com/infrastructure/"track-metadata-position="footer"track-metadata-module="footer"track-metadata-child_headline="why google"> Global infrastructure </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/customers/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-name="customers and case studies"track-metadata-eventDetail="cloud.google.com/customers/"track-metadata-module="footer"track-metadata-child_headline="why google"track-metadata-position="footer"track-type="footer link"> Customers and case studies </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/analyst-reports/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" track-metadata-child_headline="why google"track-metadata-position="footer"track-metadata-module="footer"track-name="analyst reports"track-metadata-eventDetail="cloud.google.com/analyst-reports/"track-type="footer link"> Analyst reports </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/whitepapers/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" track-name="whitepapers"track-metadata-eventDetail="cloud.google.com/whitepapers/"track-metadata-position="footer"track-type="footer link"track-metadata-child_headline="why google"track-metadata-module="footer"> Whitepapers </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//cloud.google.com/blog/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" track-metadata-child_headline="engage"track-metadata-module="footer"track-name="blog"track-type="footer link"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/blog/"> Blog </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Products and pricing</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/pricing/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-type="footer link"track-metadata-eventDetail="cloud.google.com/pricing/"track-metadata-child_headline="products and pricing"track-metadata-position="footer"track-metadata-module="footer"track-name="google cloud pricing"> Google Cloud pricing </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//workspace.google.com/pricing.html" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-type="footer link"track-metadata-position="footer"track-metadata-child_headline="products and pricing"track-name="google workspace pricing"target="_blank"track-metadata-eventDetail="workspace.google.com/pricing.html"track-metadata-module="footer"> Google Workspace pricing </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/products/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-metadata-module="footer"track-name="see all products"track-type="footer link"track-metadata-eventDetail="cloud.google.com/products/"track-metadata-child_headline="products and pricing"track-metadata-position="footer"> See all products </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Solutions</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/solutions/infrastructure-modernization/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-name="infrastructure modernization"track-metadata-child_headline="solutions"track-type="footer link"track-metadata-eventDetail="cloud.google.com/solutions/infrastructure-modernization/"track-metadata-module="footer"track-metadata-position="footer"> Infrastructure modernization </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/databases/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-type="footer link"track-metadata-child_headline="solutions"track-name="databases"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/solutions/databases"track-metadata-module="footer"> Databases </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/application-modernization/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-metadata-position="footer"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/solutions/application-modernization/"track-type="footer link"track-metadata-child_headline="solutions"track-name="application development"> Application modernization </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/smart-analytics/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-metadata-position="footer"track-metadata-child_headline="solutions"track-type="footer link"track-name="smart analytics"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/solutions/smart-analytics/"> Smart analytics </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/ai/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" track-metadata-eventDetail="cloud.google.com/solutions/ai/"track-metadata-module="footer"track-metadata-position="footer"track-name="artificial intelligence"track-metadata-child_headline="solutions"track-type="footer link"> Artificial Intelligence </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/security/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-metadata-eventDetail="cloud.google.com/solutions/security/"track-metadata-position="footer"track-type="footer link"track-name="security"track-metadata-child_headline="solutions"track-metadata-module="footer"> Security </a> </li> <li class="devsite-footer-linkbox-item"> <a href="https://workspace.google.com/enterprise/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" track-metadata-eventDetail="workspace.google.com/enterprise/"track-name="productivity and work transformation"track-metadata-module="footer"target="_blank"track-metadata-child_headline="solutions"track-type="footer link"track-metadata-position="footer"> Productivity & work transformation </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/#industry-solutions" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" track-metadata-eventDetail="cloud.google.com/solutions/#industry-solutions"track-metadata-module="footer"track-metadata-position="footer"track-name="industry solutions"track-type="footer link"track-metadata-child_headline="solutions"> Industry solutions </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/devops/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" track-name="devops solutions"track-metadata-child_headline="solutions"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/solutions/devops/"track-type="footer link"track-metadata-module="footer"> DevOps solutions </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/#section-14" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 10)" track-metadata-eventDetail="cloud.google.com/solutions/#section-14"track-name="small business solutions"track-metadata-module="footer"track-type="footer link"track-metadata-child_headline="solutions"track-metadata-position="footer"> Small business solutions </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 11)" track-type="footer link"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/solutions/"track-metadata-child_headline="solutions"track-metadata-position="footer"track-name="see all solutions"> See all solutions </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Resources</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/affiliate-program/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-type="footer link"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/affiliate-program/"track-metadata-child_headline="resources"track-metadata-module="footer"track-name="google cloud affiliate program"> Google Cloud Affiliate Program </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/docs/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-type="footer link"track-metadata-child_headline="resources"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/docs/"track-metadata-module="footer"track-name="google cloud documentation"> Google Cloud documentation </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/docs/get-started/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-type="footer link"track-metadata-eventDetail="cloud.google.com/docs/get-started/"track-metadata-child_headline="resources"track-metadata-module="footer"track-name="google cloud quickstarts"track-metadata-position="footer"> Google Cloud quickstarts </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/marketplace/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-metadata-eventDetail="cloud.google.com/marketplace/"track-metadata-child_headline="resources"track-metadata-position="footer"track-metadata-module="footer"track-name="google cloud marketplace"track-type="footer link"> Google Cloud Marketplace </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/discover/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" track-metadata-child_headline="resources"track-metadata-eventDetail="learn/"track-name="learn about cloud computing"track-metadata-position="footer"track-metadata-module="footer"track-type="footer link"> Learn about cloud computing </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/support-hub/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-name="support"track-metadata-module="footer"track-metadata-position="footer"track-type="footer link"track-metadata-child_headline="resources"track-metadata-eventDetail="cloud.google.com/support-hub/"> Support </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/docs/samples" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" track-metadata-position="footer"track-name="code samples"track-type="footer link"track-metadata-child_headline="resources"track-metadata-eventDetail="cloud.google.com/docs/samples"track-metadata-module="footer"> Code samples </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/architecture/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" track-type="footer link"track-metadata-child_headline="resources"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/architecture/"track-name="cloud architecture center"track-metadata-position="footer"> Cloud Architecture Center </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/learn/training/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" track-name="training"track-type="footer link"track-metadata-eventDetail="cloud.google.com/training/"track-metadata-child_headline="resources"track-metadata-position="footer"track-metadata-module="footer"> Training </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/learn/certification/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 10)" track-metadata-eventDetail="cloud.google.com/certification"track-name="certifications"track-type="footer link"track-metadata-module="footer"track-metadata-position="footer"track-metadata-child_headline="resources"> Certifications </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//developers.google.com" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 11)" track-metadata-module="footer"track-metadata-child_headline="resources"track-metadata-position="footer"track-type="footer link"track-name="google developers"track-metadata-eventDetail="developers.google.com"target="_blank"> Google for Developers </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/startup/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 12)" track-metadata-eventDetail="cloud.google.com/startup/"track-type="footer link"track-metadata-position="footer"track-metadata-child_headline="resources"track-name="google cloud for startups"track-metadata-module="footer"> Google Cloud for Startups </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//status.cloud.google.com" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 13)" track-name="system status"track-type="footer link"track-metadata-child_headline="resources"track-metadata-eventDetail="status.cloud.google.com"target="_blank"track-metadata-position="footer"track-metadata-module="footer"> System status </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/release-notes" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 14)" track-metadata-module="footer"track-metadata-child_headline="resources"track-name="release notes"track-metadata-eventDetail="cloud.google.com/release-notes/"track-type="footer link"track-metadata-position="footer"> Release Notes </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Engage</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/contact/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-type="footer link"track-name="contact sales"track-metadata-eventDetail="cloud.google.com/contact/"track-metadata-child_headline="engage"track-metadata-position="footer"track-metadata-module="footer"> Contact sales </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//cloud.google.com/find-a-partner" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-metadata-position="footer"target="_blank"track-name="find a partner"track-type="footer link"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/find-a-partner"track-metadata-child_headline="engage"> Find a Partner </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/partners/become-a-partner/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-metadata-eventDetail="cloud.google.com/partners/become-a-partner/"track-metadata-child_headline="engage"track-name="become a partner"track-metadata-module="footer"track-type="footer link"track-metadata-position="footer"> Become a Partner </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/events/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-metadata-position="footer"track-metadata-module="footer"track-metadata-eventDetail="cloud.withgoogle.com/events"track-type="footer link"track-name="events"track-metadata-child_headline="engage"> Events </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/podcasts/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" rel="noopener"track-name="podcasts"track-metadata-module="footer"track-metadata-child_headline="engage"track-type="footer link"track-metadata-position="footer"target="_blank"track-metadata-eventDetail="cloud.google.com/podcasts/"> Podcasts </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/developers/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-metadata-module="footer"track-metadata-position="footer"track-type="footer link"track-name="developer center"track-metadata-eventDetail="cloud.google.com/developers/"track-metadata-child_headline="engage"> Developer Center </a> </li> <li class="devsite-footer-linkbox-item"> <a href="https://www.googlecloudpresscorner.com/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" track-type="footer link"track-metadata-eventDetail="www.googlecloudpresscorner.com"track-metadata-child_headline="engage"track-metadata-position="footer"track-metadata-module="footer"rel="noopener"target="_blank"track-name="press corner"> Press Corner </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//www.youtube.com/googlecloud" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" rel="noopener"track-type="footer link"track-metadata-child_headline="engage"target="_blank"track-metadata-eventDetail="www.youtube.com/googlecloud"track-name="google cloud on youtube"track-metadata-position="footer"track-metadata-module="footer"> Google Cloud on YouTube </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//www.youtube.com/googlecloudplatform" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" rel="noopener"track-metadata-child_headline="engage"target="_blank"track-metadata-eventDetail="www.youtube.com/googlecloudplatform"track-metadata-module="footer"track-metadata-position="footer"track-type="footer link"track-name="google cloud tech on youtube"> Google Cloud Tech on YouTube </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//x.com/googlecloud" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 10)" track-name="follow on x"rel="noopener"track-metadata-module="footer"track-type="footer link"track-metadata-position="footer"target="_blank"track-metadata-eventDetail="x.com/googlecloud"track-metadata-child_headline="engage"> Follow on X </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//userresearch.google.com/?reserved=1&utm_source=website&Q_Language=en&utm_medium=own_srch&utm_campaign=CloudWebFooter&utm_term=0&utm_content=0&productTag=clou&campaignDate=jul19&pType=devel&referral_code=jk212693" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 11)" target="_blank"track-type="footer link"track-metadata-module="footer"track-metadata-eventDetail="userresearch.google.com/?reserved=1&utm_source=website&Q_Language=en&utm_medium=own_srch&utm_campaign=CloudWebFooter&utm_term=0&utm_content=0&productTag=clou&campaignDate=jul19&pType=devel&referral_code=jk212693"track-metadata-child_headline="engage"track-metadata-position="footer"track-name="join user research"> Join User Research </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//careers.google.com/cloud" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 12)" track-metadata-module="footer"track-metadata-position="footer"target="_blank"track-name="we are hiring join google cloud"track-type="footer link"track-metadata-eventDetail="careers.google.com/cloud"track-metadata-child_headline="engage"> We're hiring. Join Google Cloud! </a> </li> <li class="devsite-footer-linkbox-item"> <a href="https://www.googlecloudcommunity.com/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 13)" track-metadata-eventDetail="www.googlecloudcommunity.com"rel="noopener"track-name="google cloud community"track-metadata-position="footer"track-metadata-module="footer"target="_blank"track-metadata-child_headline="engage"track-type="footer link"> Google Cloud Community </a> </li> </ul> </li> </ul> </nav> </devsite-footer-linkboxes> <devsite-footer-utility class="devsite-footer"> <div class="devsite-footer-utility nocontent"> <nav class="devsite-footer-utility-links" aria-label="Utility links"> <ul class="devsite-footer-utility-list"> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="//about.google/" data-category="Site-Wide Custom Events" data-label="Footer About Google link" track-name="about google" track-metadata-module="utility footer" track-metadata-position="footer" track-type="footer link" track-metadata-eventDetail="//about.google/" target="_blank" > About Google </a> </li> <li class="devsite-footer-utility-item devsite-footer-privacy-link"> <a class="devsite-footer-utility-link gc-analytics-event" href="//policies.google.com/privacy" data-category="Site-Wide Custom Events" data-label="Footer Privacy link" track-metadata-module="utility footer" track-name="privacy" track-metadata-position="footer" track-type="footer link" track-metadata-eventDetail="//policies.google.com/privacy" target="_blank" > Privacy </a> </li> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="//www.google.com/intl/en/policies/terms/regional.html" data-category="Site-Wide Custom Events" data-label="Footer Site terms link" track-name="site terms" track-metadata-module="utility footer" track-type="footer link" track-metadata-position="footer" target="_blank" track-metadata-eventDetail="//www.google.com/intl/en/policies/terms/regional.html" > Site terms </a> </li> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="/product-terms/" data-category="Site-Wide Custom Events" data-label="Footer Google Cloud terms link" track-type="footer link" track-name="google cloud terms" track-metadata-eventDetail="/product-terms/" track-metadata-module="utility footer" track-metadata-position="footer" > Google Cloud terms </a> </li> <li class="devsite-footer-utility-item glue-cookie-notification-bar-control"> <a class="devsite-footer-utility-link gc-analytics-event" href="#" data-category="Site-Wide Custom Events" data-label="Footer Manage cookies link" track-metadata-eventDetail="#" track-metadata-position="footer" track-metadata-module="utility footer" track-type="footer link" track-name="Manage cookies" aria-hidden="true" > Manage cookies </a> </li> <li class="devsite-footer-utility-item devsite-footer-carbon-button"> <a class="devsite-footer-utility-link gc-analytics-event" href="/sustainability" data-category="Site-Wide Custom Events" data-label="Footer Our third decade of climate action: join us link" track-metadata-position="footer" track-name="Our third decade of climate action: join us" track-metadata-eventDetail="/sustainability/" track-type="footer link" track-metadata-module="utility footer" > Our third decade of climate action: join us </a> </li> <li class="devsite-footer-utility-item devsite-footer-utility-button"> <span class="devsite-footer-utility-description">Sign up for the Google Cloud newsletter</span> <a class="devsite-footer-utility-link gc-analytics-event" href="/newsletter/" data-category="Site-Wide Custom Events" data-label="Footer Subscribe link" track-type="footer link" track-metadata-eventDetail="/newsletter/" track-metadata-module="utility footer" track-metadata-position="footer" track-name="subscribe" > Subscribe </a> </li> </ul> <devsite-language-selector> <ul role="presentation"> <li role="presentation"> <a role="menuitem" lang="en" >English</a> </li> <li role="presentation"> <a role="menuitem" lang="de" >Deutsch</a> </li> <li role="presentation"> <a role="menuitem" lang="es_419" >Español – América Latina</a> </li> <li role="presentation"> <a role="menuitem" lang="fr" >Français</a> </li> <li role="presentation"> <a role="menuitem" lang="pt_br" >Português – Brasil</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_cn" >中文 – 简体</a> </li> <li role="presentation"> <a role="menuitem" lang="ja" >日本語</a> </li> <li role="presentation"> <a role="menuitem" lang="ko" >한국어</a> </li> </ul> </devsite-language-selector> </nav> </div> </devsite-footer-utility> <devsite-panel></devsite-panel> </section></section> <devsite-sitemask></devsite-sitemask> <devsite-snackbar></devsite-snackbar> <devsite-tooltip ></devsite-tooltip> <devsite-heading-link></devsite-heading-link> <devsite-analytics> <script type="application/json" analytics>[]</script> <script type="application/json" tag-management>{"at": "True", "ga4": [], "ga4p": [], "gtm": [{"id": "GTM-5CVQBG", "purpose": 1}], "parameters": {"internalUser": "False", "language": {"machineTranslated": "False", "requested": "en", "served": "en"}, "pageType": "reference", "projectName": "Pub/Sub Documentation", "signedIn": "False", "tenant": "cloud", "recommendations": {"sourcePage": "", "sourceType": 0, "sourceRank": 0, "sourceIdenticalDescriptions": 0, "sourceTitleWords": 0, "sourceDescriptionWords": 0, "experiment": ""}, "experiment": {"ids": ""}}}</script> </devsite-analytics> <devsite-badger></devsite-badger> <cloudx-user></cloudx-user> <cloudx-free-trial-eligible-store freeTrialEligible='true'></cloudx-free-trial-eligible-store> <cloudx-pricing-socket></cloudx-pricing-socket> <cloudx-experiments type="TestAACodivertedExperiment" path="/virtual/TestAACodivertedExperiment/configureExperiment" location="SG" variant="variant2" ></cloudx-experiments> <cloudx-experiment-ids userCountry="SG" devsiteExperimentIdList="[39300012, 39300023, 39300118, 39300196, 39300241, 39300318, 39300320, 39300326, 39300346, 39300354, 39300364, 39300374, 39300412, 39300421, 39300436, 39300472, 39300488, 39300496, 39300498]"> </cloudx-experiment-ids> <script nonce="Q9CUANxSE2quopkPJ8taWJEe/UmlAq"> (function(d,e,v,s,i,t,E){d['GoogleDevelopersObject']=i; t=e.createElement(v);t.async=1;t.src=s;E=e.getElementsByTagName(v)[0]; E.parentNode.insertBefore(t,E);})(window, document, 'script', 'https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/js/app_loader.js', '[2,"en",null,"/js/devsite_app_module.js","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud","https://cloud-dot-devsite-v2-prod.appspot.com",null,null,["/_pwa/cloud/manifest.json","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/images/video-placeholder.svg","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/favicon.ico","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/cloud-logo.svg","https://fonts.googleapis.com/css?family=Google+Sans:400,500,700|Google+Sans+Text:400,400italic,500,500italic,700,700italic|Roboto:400,400italic,500,500italic,700,700italic|Roboto+Mono:400,500,700&display=swap"],1,null,[1,6,8,12,14,17,21,25,50,52,63,70,75,76,80,87,91,92,93,97,98,100,101,102,103,104,105,107,108,109,110,112,113,116,117,118,120,122,124,125,126,127,129,130,131,132,133,134,135,136,138,140,141,147,148,149,151,152,156,157,158,159,161,163,164,168,169,170,179,180,182,183,186,191,193,196],"AIzaSyAP-jjEJBzmIyKR4F-3XITp8yM9T1gEEI8","AIzaSyB6xiKGDR5O3Ak2okS4rLkauxGUG7XP0hg","cloud.google.com","AIzaSyAQk0fBONSGUqCNznf6Krs82Ap1-NV6J4o","AIzaSyCCxcqdrZ_7QMeLCRY20bh_SXdAYqy70KY",null,null,null,["Cloud__enable_cloud_dlp_service","Profiles__enable_recognition_badges","MiscFeatureFlags__emergency_css","Profiles__enable_developer_profiles_callout","MiscFeatureFlags__developers_footer_image","Search__enable_ai_search_summaries","MiscFeatureFlags__developers_footer_dark_image","TpcFeatures__enable_required_headers","CloudShell__cloud_shell_button","Profiles__enable_release_notes_notifications","Cloud__enable_cloudx_ping","Profiles__require_profile_eligibility_for_signin","Cloud__enable_legacy_calculator_redirect","Search__enable_page_map","MiscFeatureFlags__enable_project_variables","Search__enable_suggestions_from_borg","BookNav__enable_tenant_cache_key","MiscFeatureFlags__enable_view_transitions","Profiles__enable_page_saving","DevPro__enable_cloud_innovators_plus","Profiles__enable_awarding_url","Cloud__enable_cloudx_experiment_ids","Profiles__enable_profile_collections","Cloud__enable_cloud_shell_fte_user_flow","Cloud__enable_cloud_facet_chat","MiscFeatureFlags__enable_explain_this_code","Concierge__enable_pushui","MiscFeatureFlags__enable_variable_operator","Search__enable_ai_eligibility_checks","Search__enable_dynamic_content_confidential_banner","CloudShell__cloud_code_overflow_menu","Profiles__enable_complete_playlist_endpoint","Concierge__enable_concierge_restricted","Profiles__enable_dashboard_curated_recommendations","Cloud__enable_llm_concierge_chat","Profiles__enable_completecodelab_endpoint","Cloud__enable_cloud_shell","DevPro__enable_developer_subscriptions","Experiments__reqs_query_experiments","TpcFeatures__enable_mirror_tenant_redirects","Search__enable_ai_search_summaries_restricted","EngEduTelemetry__enable_engedu_telemetry","MiscFeatureFlags__enable_firebase_utm","Profiles__enable_public_developer_profiles","Analytics__enable_clearcut_logging","Cloud__enable_free_trial_server_call","Search__scope_to_project_tenant"],null,null,"AIzaSyBLEMok-5suZ67qRPzx0qUtbnLmyT_kCVE","https://developerscontentserving-pa.clients6.google.com","AIzaSyCM4QpTRSqP5qI4Dvjt4OAScIN8sOUlO-k","https://developerscontentsearch-pa.clients6.google.com",1,4,1,"https://developerprofiles-pa.clients6.google.com",[2,"cloud","Google Cloud","cloud.google.com",null,"cloud-dot-devsite-v2-prod.appspot.com",null,null,[1,1,null,null,null,null,null,null,null,null,null,[1],null,null,null,null,null,1,[1],[null,null,null,[1,20],"/terms/recommendations"],[1],null,[1],[1,null,1],[1,1,null,null,1,null,["/vertex-ai/"]]],null,[22,null,null,null,null,null,"/images/cloud-logo.svg","/images/favicons/onecloud/apple-icon.png",null,null,null,null,1,1,1,[6,5],[],null,null,[[],[],[],[],[],[],[],[]],null,1,null,null,null,null,[]],[],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[6,1,14,15,22,23,29,37],null,[[null,null,null,null,null,null,[1,[["docType","Choose a content type",[["ApiReference",null,null,null,null,null,null,null,null,"API reference"],["Sample",null,null,null,null,null,null,null,null,"Code sample"],["ReferenceArchitecture",null,null,null,null,null,null,null,null,"Reference architecture"],["Tutorial",null,null,null,null,null,null,null,null,"Tutorial"]]],["category","Choose a topic",[["AiAndMachineLearning",null,null,null,null,null,null,null,null,"Artificial intelligence and machine learning (AI/ML)"],["ApplicationDevelopment",null,null,null,null,null,null,null,null,"Application development"],["BigDataAndAnalytics",null,null,null,null,null,null,null,null,"Big data and analytics"],["Compute",null,null,null,null,null,null,null,null,"Compute"],["Containers",null,null,null,null,null,null,null,null,"Containers"],["Databases",null,null,null,null,null,null,null,null,"Databases"],["HybridCloud",null,null,null,null,null,null,null,null,"Hybrid and multicloud"],["LoggingAndMonitoring",null,null,null,null,null,null,null,null,"Logging and monitoring"],["Migrations",null,null,null,null,null,null,null,null,"Migrations"],["Networking",null,null,null,null,null,null,null,null,"Networking"],["SecurityAndCompliance",null,null,null,null,null,null,null,null,"Security and compliance"],["Serverless",null,null,null,null,null,null,null,null,"Serverless"],["Storage",null,null,null,null,null,null,null,null,"Storage"]]]]]],[1],null,1],[[null,null,null,null,null,["GTM-5CVQBG"],null,null,null,null,null,[["GTM-5CVQBG",2]],1],null,null,null,null,null,1],"mwETRvWii0eU5NUYprb0Y9z5GVbc",4,null,null,null,null,null,null,null,null,null,null,null,null,null,"cloud.devsite.google"],null,"pk_live_5170syrHvgGVmSx9sBrnWtA5luvk9BwnVcvIi7HizpwauFG96WedXsuXh790rtij9AmGllqPtMLfhe2RSwD6Pn38V00uBCydV4m"]') </script> <devsite-a11y-announce></devsite-a11y-announce> </body> </html>