diff --git a/docs/json/index.html b/docs/json/index.html index 205a209b78d8..0cda6a7fb768 100644 --- a/docs/json/index.html +++ b/docs/json/index.html @@ -1,6 +1,6 @@ -gcloud-python
+ \ No newline at end of file diff --git a/docs/json/src/app-3b8b4d1d04.js b/docs/json/src/app-3b8b4d1d04.js new file mode 100644 index 000000000000..9fd2a176f09a --- /dev/null +++ b/docs/json/src/app-3b8b4d1d04.js @@ -0,0 +1 @@ +!function(){"use strict";angular.module("gcloud",["gcloud.manifest","ui.router","hljs"])}(),function(){"use strict";function e(){return{restrict:"E",replace:!0,templateUrl:"app/components/version-switcher/version-switcher.html"}}angular.module("gcloud").directive("versionSwitcher",e)}(),function(){"use strict";function e(){function e(e,i){return e.filter(function(e){return t(e,i)})}function t(e,t){var i;for(i in t)if(e[i]!==t[i])return!1;return!0}function i(t,i){var n=e(t,i);return n.length?n[0]:null}function n(e){return angular.isArray(e)?e:[e]}return{contains:t,where:e,findWhere:i,arrify:n}}angular.module("gcloud").factory("util",e)}(),function(){"use strict";function e(e,t,i){var n=i("#/docs/{{module}}/{{version}}{{href}}");return{restrict:"A",link:function(i,s,r){function l(){return e.path()}function o(e){return e="#"+e,e===a?void s.addClass("current"):void s.removeClass("current")}var a=n({module:t.params.module||"",version:t.params.version,href:r.sideNavLink}).replace("//","/");s.attr("href",a),i.$watch(l,o)}}}e.$inject=["$location","$state","$interpolate"],angular.module("gcloud").directive("sideNavLink",e)}(),function(){"use strict";function e(e){return{restrict:"E",templateUrl:"app/components/page-header/page-header.html",replace:!0,transclude:!0,scope:{title:"="},link:function(t){t.title=t.title||e.friendlyLang,angular.isArray(t.title)&&(t.title=t.title.join(e.titleDelimiter||" » "))}}}e.$inject=["manifest"],angular.module("gcloud").directive("pageHeader",e)}(),function(){"use strict";function e(e,t,i){return{restrict:"A",templateUrl:"app/components/module-switcher/module-switcher.html",link:function(n){n.modules=t.modules,n.$watch(e,function(){var s=i.findWhere(t.modules,{id:e.module});n.selected=s.name})}}}e.$inject=["$stateParams","manifest","util"],angular.module("gcloud").directive("moduleSwitcher",e)}(),function(){"use strict";function e(e,t){return{restrict:"E",link:function(i,n){function s(){var s=t.makeHtml(n.text()),l=angular.element(s);n.html("").append(l),e(n.contents())(i),r()}var r=i.$on("$includeContentLoaded",s)}}}e.$inject=["$compile","markdownConverter"],angular.module("gcloud").directive("markdown",e)}(),function(){"use strict";function e(e){return{restrict:"E",link:function(t,i){function n(){angular.forEach(s,e.highlightBlock,e),r()}if(!i.hasClass("skip-highlight")){var s=i.children("code");if(s.length)var r=t.$watch(n)}}}}e.$inject=["hljs"],angular.module("gcloud").directive("pre",e)}(),function(){"use strict";function e(e,t){function i(e,t,i){var r=/^\#/.test(i),o=r?n(i):s(i);return l({text:t,href:o})}function n(e){return r({section:e.replace("#","")})}function s(e){return r({guideId:e.replace(/\//g,"").replace("readme.md","")})}function r(e){var i=angular.extend({},t.params,e);return t.href("docs.guides",i)}var l=e('{{text}}');return new showdown.Converter({extensions:[function(){return[{type:"lang",regex:"\\[([^\\]]+)\\]\\(([\\/|\\#][^)]+)\\)",replace:i}]}]})}e.$inject=["$interpolate","$state"],angular.module("gcloud").factory("markdownConverter",e)}(),function(){"use strict";function e(e,t){return{restrict:"A",templateUrl:"app/components/language-switcher/language-switcher.html",link:function(i){i.langs=e,i.modules=t.modules}}}e.$inject=["langs","manifest"],angular.module("gcloud").directive("languageSwitcher",e)}(),function(){"use strict";function e(e,t){function i(e,t){return e.$watch(t,n)}function n(i){return e(t,s,null,i)}var s=250;return t.yOffset=70,{watch:i,scrollTo:n}}e.$inject=["$timeout","$anchorScroll"],angular.module("gcloud").factory("DeeplinkService",e)}(),function(){"use strict";function e(){return{restrict:"E",replace:!0,templateUrl:"app/components/dropdown/dropdown.html",transclude:!0,scope:{selected:"="},controller:t,controllerAs:"dropdown",bindToController:!0}}function t(){var e=this;e.isOpen=!1}angular.module("gcloud").directive("dropdown",e)}(),function(){"use strict";function e(e,t){var i=function(i,n,s){var r=!!t.findWhere(i.docs.types,{id:n}),l=["#","docs"];if(r){var o=[e.params.version,n];e.params.module&&o.unshift(e.params.module),l=l.concat(o)}else l.push(n);return l=l.join("/"),s&&(l+="?method="+s),l};return{restrict:"A",link:function(e,t,n){var s=n.customType,r=n.method;0===t.html().length&&t.html(r?r:s);var l=i(e,s.replace("[]",""),r);t.addClass("skip-external-link").attr("href",l)}}}e.$inject=["$state","util"],angular.module("gcloud").directive("customType",e)}(),function(){"use strict";function e(e){return{restrict:"A",link:function(t,i,n){function s(){return t.$eval(n.bindHtmlCompile)}function r(n){i.html(n),e(i.contents())(t),l()}var l=t.$watch(s,r)}}}e.$inject=["$compile"],angular.module("gcloud").directive("bindHtmlCompile",e)}(),function(){"use strict";function e(){return{restrict:"E",link:t}}function t(e,t){var i=t.hasClass("skip-external-link");if(!i){var n=t.attr("href"),s=/^http/.test(n);s&&t.attr("target","_blank")}}angular.module("gcloud").directive("a",e)}(),function(){"use strict";function e(e,t,i,n,s,r){function l(e){return e.name}function o(){return i.watch(e,a)}function a(){return t.params&&t.params.method}function c(e,t){return"constructor"===e.type?-1:"constructor"===t.type?1:+(e.name>t.name)||+(e.name===t.name)-1}var u=this;angular.extend(u,n.setAsTrusted(s)),u.methods=s.methods.map(n.setAsTrusted).sort(c),u.libraryTitle=r.libraryTitle||"Google Cloud",u.methodNames=u.methods.map(l),u.showGettingStarted=!1,e.$on("$viewContentLoaded",o)}e.$inject=["$scope","$state","DeeplinkService","DocsService","serviceObject","manifest"],angular.module("gcloud").controller("ServiceCtrl",e)}(),function(){"use strict";function e(e,i){i.state("home",{url:"/",templateUrl:"app/home/home.html",controller:"HomeCtrl",controllerAs:"home",resolve:{latestRelease:t}})}function t(e,t){var i="https://api.github.com/repos/GoogleCloudPlatform/"+t.moduleName+"/releases/latest";return e.get(i).then(function(e){var t=e.data;return{name:t.tag_name,date:new Date(t.published_at),link:t.html_url}}).then(null,angular.noop)}e.$inject=["manifest","$stateProvider"],t.$inject=["$http","manifest"],angular.module("gcloud").config(e)}(),function(){"use strict";function e(e,t,i){var n=this;if(n.contentUrl=[e.content,e.home].join("/"),n.latestRelease=t,e.modules){var s=i.findWhere(e.modules,{id:e.defaultModule});n.module={name:s.id,version:s.versions[0],service:s.defaultService}}}e.$inject=["manifest","latestRelease","util"],angular.module("gcloud").controller("HomeCtrl",e)}(),function(){"use strict";function e(e,t,i,n,s,r,l,o){function a(){return l.watch(e,c)}function c(){var e=t.params&&t.params.section;return e?e.replace(/\-/g,""):null}function u(e){return/^http/.test(e)?i.trustAsResourceUrl(e):n("{{content}}/{{module}}/{{version}}/{{data}}")({content:r.content,module:t.params.module||"",version:t.params.version,data:e})}var d=this;d.title=s.title,d.contents=o.arrify(s.contents).map(u),d.editUrl=s.edit?u(s.edit):null,e.$on("$viewContentLoaded",a)}e.$inject=["$scope","$state","$sce","$interpolate","guideObject","manifest","DeeplinkService","util"],angular.module("gcloud").controller("GuideCtrl",e)}(),function(){"use strict";function e(e,t,i){function n(t){var i=angular.copy(t);return i.isConstructor="constructor"===i.type,i.typeSymbol=s(i.type),i.description&&(i.description=e.trustAsHtml(i.description)),i.examples&&(i.examples=i.examples.map(l)),i.returns&&(i.returns=i.returns.map(r)),i.params&&(i.params=i.params.map(o)),i.overview&&(i.overview=e.trustAsHtml(i.overview)),i}function s(e){var n="#";if(e&&t.methodTypeSymbols){var s=i.findWhere(t.methodTypeSymbols,{type:e});s&&(n=s.symbol)}return n}function r(t){return e.trustAsHtml(t.types.join(", "))}function l(t){var i,n;return t.code&&(i=e.trustAsHtml(t.code)),t.caption&&(n=e.trustAsHtml(t.caption)),{code:i,caption:n}}function o(t){var i=t.name.split(".");return i.length>1&&(t.name=i.pop(),t.parent=i.join(".")),t.types=e.trustAsHtml(t.types.join(", ")),t.description=e.trustAsHtml(t.description),t}return{setAsTrusted:n,trust:e.trustAsHtml.bind(e)}}e.$inject=["$sce","manifest","util"],angular.module("gcloud").factory("DocsService",e)}(),function(){"use strict";function e(e,u,d,m){var g,p="\\bv?(?:0|[1-9][0-9]*)\\.(?:0|[1-9][0-9]*)\\.(?:0|[1-9][0-9]*)(?:-[\\da-z-]+(?:\\.[\\da-z\\-]+)*)?(?:\\+[\\da-z\\-]+(?:\\.[\\da-z\\-]+)*)?\\b",v="(?!master|\\d).*",h="/docs/"+(m.modules?"{module:"+v+"}/":"")+"{version:master|"+p+"}";if(m.versions)g=m.versions[0];else{if(!m.modules)throw new Error('Either "versions" or "modules" must be set.');g=m.modules[0].versions[0]}d.type("nonURIEncoded",{encode:o,decode:o,is:function(){return!0}}),e.state("docs",{url:h,templateUrl:"app/docs/docs.html",controller:"DocsCtrl",controllerAs:"docs","abstract":!0,resolve:{lastBuiltDate:t,toc:i,types:n,versions:l},params:{version:"latest",module:m.defaultModule}}).state("docs.guides",{url:"/guides/:guideId?section",templateUrl:"app/guide/guide.html",controller:"GuideCtrl",controllerAs:"guide",resolve:{guideObject:s}}).state("docs.service",{url:"/{serviceId:nonURIEncoded}?method",templateUrl:"app/service/service.html",controller:"ServiceCtrl",controllerAs:"service",resolve:{serviceObject:r}}),u.when("/docs","/docs/latest"),u.otherwise(function(e,t){var i=t.path(),n="/docs/",s=-1===i.indexOf(n);if(s)return"/";var r,l=i.replace(n,"").split("/");return r=m.modules?a(l,m,e):c(l,m,e),n+r.join("/")})}function t(e,t){var i="https://api.github.com/repos/GoogleCloudPlatform/"+t.moduleName+"/commits?sha=gh-pages&per_page=1";return e({method:"get",url:i,cache:!0}).then(function(e){return e.data[0].commit.committer.date}).then(null,angular.noop)}function i(e,t,i,n){var s=e("{{content}}/{{module}}/{{version}}/toc.json")({content:n.content,module:i.module||n.defaultModule,version:i.version});return t.get(s).then(function(e){return e.data})}function n(e,t,i,n){var s=e("{{content}}/{{module}}/{{version}}/types.json")({content:n.content,module:i.module||n.defaultModule,version:i.version});return t.get(s).then(function(e){return e.data})}function s(e,t,i,n){var s=t.guideId.replace(/\-/g," "),r=i.findWhere(n.guides,{id:s});return r?r:e.reject("Unknown guide: "+s)}function r(e,t,i,n,s,r,l){var o=e.serviceId,a=l.findWhere(r,{id:o});if(!a)return n.reject("Unknown service: "+o);var c=e.module||"",u=t("{{content}}/{{module}}/{{version}}/{{json}}")({content:s.content,version:e.version,json:a.contents,module:c});return i.get(u).then(function(e){var t=e.data;return a.title&&(t.title=a.title),t})}function l(e,t,i,n){if(!e.modules)return e.versions?e.versions:n.reject('"versions" field missing from manifest.json');var s=t.module,r=i.findWhere(e.modules,{id:s});return r?r.versions:n.reject('Unknown module "'+s+'"')}function o(e){return e?e.toString():null}function a(e,t,i){var n=i.get("util").findWhere(t.modules,{id:e[0]});if(!n)return e.unshift(t.defaultModule),e;if("latest"===e[1]||"stable"===e[1])return e[1]=n.versions[0],e;var s=e.shift(),r=n.versions.indexOf(e[0])>-1;if(!r)return[s,n.versions[0],s].concat(e);var l=e.shift();return[s,l,n.defaultService]}function c(e,t){if("latest"===e[0]||"stable"===e[0])return e[0]=t.versions[0],e;var i=t.versions.indexOf(e[0])>-1;if(!i)return e.unshift(t.versions[0]),e;var n=e.shift();return[n,t.defaultService||"gcloud"]}e.$inject=["$stateProvider","$urlRouterProvider","$urlMatcherFactoryProvider","manifest"],t.$inject=["$http","manifest"],i.$inject=["$interpolate","$http","$stateParams","manifest"],n.$inject=["$interpolate","$http","$stateParams","manifest"],s.$inject=["$q","$stateParams","util","toc"],r.$inject=["$stateParams","$interpolate","$http","$q","manifest","types","util"],l.$inject=["manifest","$stateParams","util","$q"],angular.module("gcloud").config(e)}(),function(){"use strict";function e(e,t,i,n,s,r,l){function o(t){return e.go(e.current.name,{version:t})}function a(t){return t=t.split("/")[0],!!(e.params.serviceId||"").match(t)}function c(e){return e.title.toLowerCase().replace(/\s/g,"-")}var u=this;u.libraryTitle=i.libraryTitle||"Google Cloud",u.langs=t,u.lastBuiltDate=r,u.guides=n.guides,u.services=n.services,u.versions=l,u.version=e.params.version,u.overviewFileUrl=null,u.types=s,u.selectedVersion=u.version,u.loadVersion=o,u.getGuideUrl=c,u.isActive=a,n.overview&&(u.overviewFileUrl=[i.content,e.params.module,e.params.version,n.overview].join("/"))}e.$inject=["$state","langs","manifest","toc","types","lastBuiltDate","versions"],angular.module("gcloud").controller("DocsCtrl",e)}(),function(){"use strict";function e(e,t,i,n,s){n.moduleName||(n.moduleName="gcloud-"+n.lang),angular.extend(t,n),t.$on("$stateChangeError",function(){var t=e.params.module||n.defaultModule;!t&&n.modules&&(t=n.modules[0].id);var i;t&&(i=s.findWhere(n.modules,{id:t}));var r=(i?i:n).versions[0],l=(i?i:n).defaultService||"gcloud";e.go("docs.service",{module:t,version:r,serviceId:l})})}e.$inject=["$state","$rootScope","$timeout","manifest","util"],angular.module("gcloud").run(e)}(),function(){"use strict";angular.module("gcloud").constant("hljs",hljs).constant("langs",[{friendly:".NET",key:"dotnet",repo:"google-cloud-dotnet"},{friendly:"Java",key:"java",repo:"gcloud-java"},{friendly:"Node.js",key:"node",repo:"gcloud-node"},{friendly:"PHP",key:"php",repo:"gcloud-php"},{friendly:"Python",key:"python",repo:"gcloud-python"},{friendly:"Ruby",key:"ruby",repo:"gcloud-ruby"}])}(),angular.module("gcloud").run(["$templateCache",function(e){e.put("app/docs/docs.html",'
'),e.put("app/guide/guide.html",'
'),e.put("app/home/home.html",'
'),e.put("app/service/service.html",'

Getting Started


{{::service.name}} Overview

More Information

Example

Available methods: {{method.name}}{{$last ? \'\' : \', \'}}

Parameters

{{::param.parent}}
{{::param.name}}

Returns

Example

More Information

'),e.put("app/components/dropdown/dropdown.html",''),e.put("app/components/language-switcher/language-switcher.html",'
  • {{::lang.friendly}}
  • '),e.put("app/components/module-switcher/module-switcher.html",'
  • {{::module.name}} latest: {{::module.versions[0]}}
  • '),e.put("app/components/page-header/page-header.html",'

    {{::title}}

    '),e.put("app/components/version-switcher/version-switcher.html",'
    Browsing Version  
    Docs last built {{docs.lastBuiltDate | date : longDate}}.
    ')}]); \ No newline at end of file diff --git a/docs/json/src/app-4918b7fab6.js b/docs/json/src/app-4918b7fab6.js deleted file mode 100644 index fc754050547b..000000000000 --- a/docs/json/src/app-4918b7fab6.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";angular.module("gcloud",["gcloud.manifest","ui.router","hljs"])}(),function(){"use strict";function e(){return{restrict:"E",replace:!0,templateUrl:"app/components/version-switcher/version-switcher.html"}}angular.module("gcloud").directive("versionSwitcher",e)}(),function(){"use strict";function e(){function e(e,i){return e.filter(function(e){return t(e,i)})}function t(e,t){var i;for(i in t)if(e[i]!==t[i])return!1;return!0}function i(t,i){var n=e(t,i);return n.length?n[0]:null}function n(e){return angular.isArray(e)?e:[e]}return{contains:t,where:e,findWhere:i,arrify:n}}angular.module("gcloud").factory("util",e)}(),function(){"use strict";function e(e,t,i){var n=i("#/docs/{{version}}{{href}}");return{restrict:"A",link:function(i,r,s){function a(){return e.path()}function l(e){return e="#"+e,e===o?void r.addClass("current"):void r.removeClass("current")}var o=n({version:t.params.version,href:s.sideNavLink});r.attr("href",o),i.$watch(a,l)}}}e.$inject=["$location","$state","$interpolate"],angular.module("gcloud").directive("sideNavLink",e)}(),function(){"use strict";function e(e){return{restrict:"E",templateUrl:"app/components/page-header/page-header.html",replace:!0,transclude:!0,scope:{title:"="},link:function(t){t.title=t.title||e.friendlyLang,angular.isArray(t.title)&&(t.title=t.title.join(e.titleDelimiter||" » "))}}}e.$inject=["manifest"],angular.module("gcloud").directive("pageHeader",e)}(),function(){"use strict";function e(e,t){return{restrict:"E",link:function(i,n){function r(){var r=t.makeHtml(n.text()),a=angular.element(r);n.html("").append(a),e(n.contents())(i),s()}var s=i.$on("$includeContentLoaded",r)}}}e.$inject=["$compile","markdownConverter"],angular.module("gcloud").directive("markdown",e)}(),function(){"use strict";function e(e){return{restrict:"E",link:function(t,i){function n(){angular.forEach(r,e.highlightBlock,e),s()}if(!i.hasClass("skip-highlight")){var r=i.children("code");if(r.length)var s=t.$watch(n)}}}}e.$inject=["hljs"],angular.module("gcloud").directive("pre",e)}(),function(){"use strict";function e(e,t){function i(e,t,i){var s=/^\#/.test(i),l=s?n(i):r(i);return a({text:t,href:l})}function n(e){return s({section:e.replace("#","")})}function r(e){return s({guideId:e.replace(/\//g,"").replace("readme.md","")})}function s(e){var i=angular.extend({},t.params,e);return t.href("docs.guides",i)}var a=e('{{text}}');return new showdown.Converter({extensions:[function(){return[{type:"lang",regex:"\\[([^\\]]+)\\]\\(([\\/|\\#][^)]+)\\)",replace:i}]}]})}e.$inject=["$interpolate","$state"],angular.module("gcloud").factory("markdownConverter",e)}(),function(){"use strict";function e(e,t){function i(e,t){return e.$watch(t,n)}function n(i){return e(t,r,null,i)}var r=250;return t.yOffset=70,{watch:i,scrollTo:n}}e.$inject=["$timeout","$anchorScroll"],angular.module("gcloud").factory("DeeplinkService",e)}(),function(){"use strict";function e(){return{restrict:"A",templateUrl:"app/components/language-switcher/language-switcher.html",controller:t,controllerAs:"switcher",bindToController:!0}}function t(e){var t=this;t.langs=e}t.$inject=["langs"],angular.module("gcloud").directive("languageSwitcher",e)}(),function(){"use strict";function e(e){var t=function(t,i){var n="docs.service",r={serviceId:t,version:e.params.version},s={inherit:!1};return i&&(r.method=i),e.href(n,r,s)};return{restrict:"A",link:function(e,i,n){var r=n.customType,s=n.method;0===i.html().length&&i.html(s?s:r),i.addClass("skip-external-link").attr("href",t(r.replace("[]",""),s))}}}e.$inject=["$state"],angular.module("gcloud").directive("customType",e)}(),function(){"use strict";function e(e){return{restrict:"A",link:function(t,i,n){function r(){return t.$eval(n.bindHtmlCompile)}function s(n){i.html(n),e(i.contents())(t),a()}var a=t.$watch(r,s)}}}e.$inject=["$compile"],angular.module("gcloud").directive("bindHtmlCompile",e)}(),function(){"use strict";function e(){return{restrict:"E",link:t}}function t(e,t){var i=t.hasClass("skip-external-link");if(!i){var n=t.attr("href"),r=/^http/.test(n);r&&t.attr("target","_blank")}}angular.module("gcloud").directive("a",e)}(),function(){"use strict";function e(e,t,i,n,r,s){function a(e){return e.name}function l(){return i.watch(e,o)}function o(){return t.params&&t.params.method}function c(e,t){return"constructor"===e.type?-1:"constructor"===t.type?1:+(e.name>t.name)||+(e.name===t.name)-1}var u=this;angular.extend(u,n.setAsTrusted(r)),u.methods=r.methods.map(n.setAsTrusted).sort(c),u.libraryTitle=s.libraryTitle||"gcloud",u.methodNames=u.methods.map(a),u.showGettingStarted=!1,e.$on("$viewContentLoaded",l)}e.$inject=["$scope","$state","DeeplinkService","DocsService","serviceObject","manifest"],angular.module("gcloud").controller("ServiceCtrl",e)}(),function(){"use strict";function e(e,t,i,n,r,s,a,l){function o(){return a.watch(e,c)}function c(){var e=t.params&&t.params.section;return e?e.replace(/\-/g,""):null}function u(e){return/^http/.test(e)?i.trustAsResourceUrl(e):n("{{content}}/{{version}}/{{data}}")({content:s.content,version:t.params.version,data:e})}var d=this;d.title=r.title,d.contents=l.arrify(r.contents).map(u),d.editUrl=r.edit?u(r.edit):null,e.$on("$viewContentLoaded",o)}e.$inject=["$scope","$state","$sce","$interpolate","guideObject","manifest","DeeplinkService","util"],angular.module("gcloud").controller("GuideCtrl",e)}(),function(){"use strict";function e(e,i){i.state("home",{url:"/",templateUrl:"app/home/home.html",controller:"HomeCtrl",controllerAs:"home",resolve:{latestRelease:t}})}function t(e,t){var i="https://api.github.com/repos/GoogleCloudPlatform/gcloud-"+t.lang+"/releases/latest";return e.get(i).then(function(e){var t=e.data;return{name:t.tag_name,date:new Date(t.published_at),link:t.html_url}}).then(null,angular.noop)}e.$inject=["manifest","$stateProvider"],t.$inject=["$http","manifest"],angular.module("gcloud").config(e)}(),function(){"use strict";function e(e,t){var i=this;i.contentUrl=[e.content,e.home].join("/"),i.latestRelease=t}e.$inject=["manifest","latestRelease"],angular.module("gcloud").controller("HomeCtrl",e)}(),function(){"use strict";function e(e,t,i){function n(t){var i=angular.copy(t);return i.isConstructor="constructor"===i.type,i.typeSymbol=r(i.type),i.description&&(i.description=e.trustAsHtml(i.description)),i.examples&&(i.examples=i.examples.map(a)),i.returns&&(i.returns=i.returns.map(s)),i.params&&(i.params=i.params.map(l)),i}function r(e){var n="#";if(e&&t.methodTypeSymbols){var r=i.findWhere(t.methodTypeSymbols,{type:e});r&&(n=r.symbol)}return n}function s(t){return e.trustAsHtml(t.types.join(", "))}function a(t){var i,n;return t.code&&(i=e.trustAsHtml(t.code)),t.caption&&(n=e.trustAsHtml(t.caption)),{code:i,caption:n}}function l(t){var i=t.name.split(".");return i.length>1&&(t.name=i.pop(),t.parent=i.join(".")),t.types=e.trustAsHtml(t.types.join(", ")),t.description=e.trustAsHtml(t.description),t}return{setAsTrusted:n,trust:e.trustAsHtml.bind(e)}}e.$inject=["$sce","manifest","util"],angular.module("gcloud").factory("DocsService",e)}(),function(){"use strict";function e(e,l,o,c){var u="\\bv?(?:0|[1-9][0-9]*)\\.(?:0|[1-9][0-9]*)\\.(?:0|[1-9][0-9]*)(?:-[\\da-z-]+(?:\\.[\\da-z\\-]+)*)?(?:\\+[\\da-z\\-]+(?:\\.[\\da-z\\-]+)*)?\\b",d="/docs/{version:master|"+u+"}",g=c.versions[0],p=c.defaultService||"gcloud";o.type("nonURIEncoded",{encode:a,decode:a,is:function(){return!0}}),e.state("docs",{url:d,templateUrl:"app/docs/docs.html",controller:"DocsCtrl",controllerAs:"docs","abstract":!0,resolve:{lastBuiltDate:t,toc:i,types:n},params:{version:g}}).state("docs.guides",{url:"/guides/:guideId?section",templateUrl:"app/guide/guide.html",controller:"GuideCtrl",controllerAs:"guide",resolve:{guideObject:r}}).state("docs.service",{url:"/{serviceId:nonURIEncoded}?method",templateUrl:"app/service/service.html",controller:"ServiceCtrl",controllerAs:"service",resolve:{serviceObject:s},params:{serviceId:"gcloud"}}),l.when("/docs","/docs/latest"),l.when(d,"/docs/:version/"+p),l.otherwise(function(e,t){var i=t.path(),n="/docs/",r=-1===i.indexOf(n);if(r)return"/";var s=e.get("manifest").versions,a=i.replace(n,"").split("/"),l=-1!==s.indexOf(a[0]);return l?n+a[0]:("latest"===a[0]||"stable"===a[0]?a[0]=g:a.unshift(e.get("$stateParams").version||g),n+a.join("/"))})}function t(e,t){var i="https://api.github.com/repos/GoogleCloudPlatform/gcloud-"+t.lang+"/commits?sha=gh-pages&per_page=1";return e({method:"get",url:i,cache:!0}).then(function(e){return e.data[0].commit.committer.date}).then(null,angular.noop)}function i(e,t,i,n){var r=e("{{content}}/{{version}}/toc.json")({content:n.content,version:i.version});return t.get(r).then(function(e){return e.data})}function n(e,t,i,n){var r=e("{{content}}/{{version}}/types.json")({content:n.content,version:i.version});return t.get(r).then(function(e){return e.data})}function r(e,t,i,n){var r=t.guideId.replace(/\-/g," "),s=i.findWhere(n.guides,{id:r});return s?s:e.reject("Unknown guide: "+r)}function s(e,t,i,n,r,s,a){var l=e.serviceId,o=a.findWhere(s,{id:l});if(!o)return n.reject("Unknown service: "+l);var c=t("{{content}}/{{version}}/{{resource}}")({content:r.content,version:e.version,resource:o.contents});return i.get(c).then(function(e){var t=e.data;return o.title&&(t.title=o.title),t})}function a(e){return e?e.toString():null}e.$inject=["$stateProvider","$urlRouterProvider","$urlMatcherFactoryProvider","manifest"],t.$inject=["$http","manifest"],i.$inject=["$interpolate","$http","$stateParams","manifest"],n.$inject=["$interpolate","$http","$stateParams","manifest"],r.$inject=["$q","$stateParams","util","toc"],s.$inject=["$stateParams","$interpolate","$http","$q","manifest","types","util"],angular.module("gcloud").config(e)}(),function(){"use strict";function e(e,t,i,n,r){function s(t){return e.go(e.current.name,{version:t})}function a(t){return t=t.split("/")[0],!!(e.params.serviceId||"").match(t)}function l(e){return e.title.toLowerCase().replace(/\s/g,"-")}var o=this;o.libraryTitle=i.libraryTitle||"gcloud",o.langs=t,o.lastBuiltDate=r,o.guides=n.guides,o.services=n.services,o.version=e.params.version,o.overviewFileUrl=null,o.selectedVersion=o.version,o.loadVersion=s,o.getGuideUrl=l,o.isActive=a,n.overview&&(o.overviewFileUrl=[i.content,e.params.version,n.overview].join("/"))}e.$inject=["$state","langs","manifest","toc","lastBuiltDate"],angular.module("gcloud").controller("DocsCtrl",e)}(),function(){"use strict";function e(e,t,i){angular.extend(t,i),t.$on("$stateChangeError",function(){e.go("docs.service",{version:e.params.version,serviceId:"gcloud"})})}e.$inject=["$state","$rootScope","manifest"],angular.module("gcloud").run(e)}(),function(){"use strict";angular.module("gcloud").constant("hljs",hljs).constant("langs",[{friendly:".NET",key:"dotnet",repo:"google-cloud-dotnet"},{friendly:"Java",key:"java",repo:"gcloud-java"},{friendly:"Node.js",key:"node",repo:"gcloud-node"},{friendly:"PHP",key:"php",repo:"gcloud-php"},{friendly:"Python",key:"python",repo:"gcloud-python"},{friendly:"Ruby",key:"ruby",repo:"gcloud-ruby"}])}(),angular.module("gcloud").run(["$templateCache",function(e){e.put("app/docs/docs.html",'
    '),e.put("app/guide/guide.html",'
    '),e.put("app/home/home.html",'
    '),e.put("app/service/service.html",'

    Getting Started


    {{::service.name}} Overview

    More Information

    Example

    Available methods: {{method.name}}{{$last ? \'\' : \', \'}}

    Parameters

    {{::param.parent}}
    {{::param.name}}

    Returns

    Example

    More Information

    '),e.put("app/components/language-switcher/language-switcher.html",''),e.put("app/components/page-header/page-header.html",'

    {{::title}}

    '),e.put("app/components/version-switcher/version-switcher.html",'
    Browsing Version  
    Docs last built {{docs.lastBuiltDate | date : longDate}}.
    ')}]); \ No newline at end of file diff --git a/docs/json/src/app-a103c713b2.css b/docs/json/src/app-a103c713b2.css deleted file mode 100644 index ee0adb4e0fc3..000000000000 --- a/docs/json/src/app-a103c713b2.css +++ /dev/null @@ -1,3 +0,0 @@ -@import url(https://fonts.googleapis.com/css?family=Droid+Sans+Mono|Roboto:300,400,700,700italic,400italic|Open+Sans:300);@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css);.hljs{display:block;overflow-x:auto;padding:.5em;color:#333;background:#f8f8f8}.hljs-comment,.hljs-quote{color:#998;font-style:italic}.hljs-keyword,.hljs-selector-tag{color:#333;font-weight:700}.hljs-subst{color:#333}.hljs-literal,.hljs-number,.hljs-tag .hljs-attr,.hljs-template-variable,.hljs-variable{color:teal}.hljs-doctag,.hljs-string{color:#d14}.hljs-section,.hljs-selector-id,.hljs-title{color:#900;font-weight:700}.hljs-subst{font-weight:400}.hljs-class .hljs-title,.hljs-type{color:#458;font-weight:700}.hljs-attribute,.hljs-name,.hljs-tag{color:navy;font-weight:400}.hljs-link,.hljs-regexp{color:#009926}.hljs-bullet,.hljs-symbol{color:#990073}.hljs-built_in,.hljs-builtin-name{color:#0086b3}.hljs-meta{color:#999;font-weight:700}.hljs-deletion{background:#fdd}.hljs-addition{background:#dfd}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700} -/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */ -button,html,input,select,textarea{color:#222}html{font-size:1em;line-height:1.4;height:100%;background:#fff}a[href]:not([href^="#/"]):not([href^="/"]):not([href="."]):not(.ext-link):not(.skip-external-link){text-decoration:none}a[href]:not([href^="#/"]):not([href^="/"]):not([href="."]):not(.ext-link):not(.skip-external-link):after{font:14px/1 FontAwesome;content:" \f08e";color:#666}::-moz-selection{background:#b3d4fc;text-shadow:none}::selection{background:#b3d4fc;text-shadow:none}fieldset,hr{border:0;padding:0}hr{display:block;height:1px;border-top:1px solid #ccc;margin:1em 0}audio,canvas,img,video{vertical-align:middle}fieldset{margin:0}textarea{resize:vertical}.browsehappy{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}body{min-height:100%;font-family:'Roboto',sans-serif;color:#5d6061}pre{background:#fff;line-height:1.6em}.code-block>pre{margin:0!important;font-size:1em}code,pre{font-family:Monaco,'Droid Sans Mono',monospace!important}img{max-width:100%}h1,h2,h3,h4,h5,h6{font-weight:300}h2 code,pre{font-size:.9em}h2,h3{color:#4285f4}a{cursor:pointer}ul{padding:0;list-style-type:none}.row:after{content:'';display:table;clear:both}.row--right,[class*=col]{float:none}@media only screen and (min-width:19em){.row--sm .row--right{float:right}.row--sm [class*=col]{float:left}.row--sm .col--right{float:right}.row--sm .col-10{width:10%}.row--sm .col-20{width:20%}.row--sm .col-25{width:25%}.row--sm .col-30{width:30%}.row--sm .col-33{width:33%}.row--sm .col-40{width:40%}.row--sm .col-50{width:50%}.row--sm .col-60{width:60%}.row--sm .col-66{width:66%}.row--sm .col-70{width:70%}.row--sm .col-75{width:75%}.row--sm .col-80{width:80%}.row--sm .col-90{width:90%}}@media only screen and (min-width:45em){.row--right{float:right}[class*=col]{float:left}.col--right{float:right}.col-10{width:10%}.col-20{width:20%}.col-25{width:25%}.col-30{width:30%}.col-33{width:33%}.col-40{width:40%}.col-50{width:50%}.col-60{width:60%}.col-66{width:66%}.col-70{width:70%}.col-75{width:75%}.col-80{width:80%}.col-90{width:90%}}.padding{padding:10px}.margin{margin:10px}.margin-left{margin-left:10px}.margin-vertical{margin-top:10px;margin-bottom:10px}.subtle-bg{background-color:#f8f8f8}.warning{color:#db4437}.subtle--blue{color:#a0c2f4}.subtle{color:#f8f8f8}.white{color:#fff}.white:after{color:#fff!important}.hero-banner,.page-header{background:#4285f4;color:#fff}.hero-banner .quote-box--supplementary{text-align:center}.latest-release{margin-top:10px}.latest-release--link{color:#fff;font-weight:700;margin-left:5px;margin-right:5px}.page-header{position:relative;padding:1em}.page-header.fixed{position:fixed;z-index:2;top:0;width:100%;padding:0}.header--right{display:none;position:absolute}.page-header.fixed .v-btn{background-color:#fff;color:#444;border-radius:5px;border:0;padding:11px 10px;font-size:.8em;-webkit-transition:all .3s ease;transition:all .3s ease}.page-header.fixed .v-btn:hover{opacity:1;background-color:#f6f6f6}.logo{margin:0;width:13em;font-size:1em;line-height:normal}.page-header.fixed .logo{width:auto}.page-header.fixed a{color:#fff;text-decoration:none}.page-header.fixed a:hover{opacity:.4}.page-header.fixed .logo img{position:relative;top:-.2em;width:2em;margin:0 .5em}.page-header.fixed .gcloud{display:inline-block;padding:.4em 0 .6em .6em;border-left:1px solid rgba(255,255,255,.2);font-family:'Open Sans',sans-serif;font-weight:300;font-size:1.4em}.nav-current{display:block;position:absolute;top:1.2em;right:1em;width:24px;height:20px;background:url(../src/images/icon-menu.svg) no-repeat;text-indent:-90000px;cursor:pointer}.page-header.fixed .nav-current{top:1em}.menu,.menu a{-webkit-transition:all .3s ease;transition:all .3s ease}.menu{position:fixed;top:3.6em;right:0;width:100%;bottom:0;overflow-y:auto;margin:0;background:#2570ec;box-shadow:5px 5px 8px rgba(0,16,41,.3);display:none;padding:0}.language-switcher--home .menu{position:absolute;bottom:initial;z-index:1}.page-header.fixed .menu{top:3.3em}.menu a{display:block;padding:1em;border-top:1px solid rgba(255,255,255,.2);color:#fff;text-decoration:none}.menu a:hover{background:#1a65e0}.menu .list-item--heading{padding-left:1em;color:#eee;font-style:italic}.menu--extra-links-item a{padding:.5em .5em .5em 1em}.menu--extra-links-item .sub-sections a{padding-left:2em;border-top:0}.menu--extra-links-item ul{margin:0}.btn img,.menu-icon{margin-right:.5em}.main-nav.open .nav-current{opacity:.4}.main-nav.open .menu{display:block}.main{font-size:.9em;line-height:1.8em}.container{padding:2.8em 2em}.block-title{margin-top:0;font-size:1.6em}.hero-banner h1{margin:0 0 .6em;font-family:'Open Sans',sans-serif;font-size:3.5em;font-weight:300}.hero-banner p{margin-bottom:2.2em;font-size:.9em;line-height:1.6em}.hero-banner h2{margin-bottom:.2em;font-size:1.3em}.btn,.hero-banner pre{padding:1em;border:none}.hero-banner pre{margin:0;background:#2a74ed}.featuring .block-title{text-align:center}.featuring p{font-size:.9em;line-height:1.6em}.featuring-links{list-style:none;margin:0 0 -1em;padding:0}.btn{display:block;border-radius:5px;background:#db4437;color:#fff;text-decoration:none;-webkit-transition:all .3s ease;transition:all .3s ease}.btn:hover{background:#f24f41}.featuring-links .btn{margin-bottom:1em;padding:1.5em;font-size:1.1em;text-align:center}.featuring-links .btn img{width:2em}.btn-docs img{background-color:#fff;border:1px solid transparent;border-radius:80px;padding:4px;width:40px;-webkit-transition:all .5s ease;transition:all .5s ease}.btn-docs:hover img{border:1px solid #ccc;-webkit-transform:rotate(135deg);transform:rotate(135deg);box-shadow:4px 4px 4px rgba(0,0,0,.3)}.btn-docs:active img{box-shadow:4px 4px 4px rgba(0,0,0,.5)}.ext-link{display:block;padding:1em;border-bottom:1px solid rgba(0,0,0,.1);color:#5d6061;text-decoration:none;-webkit-transition:all .3s ease;transition:all .3s ease}.featuring-links li:last-child .ext-link{border-bottom:none}.ext-link:hover{background:#f6f6f6}.ext-link img{opacity:.5;margin-right:.5em;-webkit-transition:all .3s ease;transition:all .3s ease}.ext-link:hover img{opacity:.7}.pagination{margin:2em 0 0;padding:0;list-style:none;text-decoration:none;text-align:center}.pagination li{display:inline-block;width:1em;height:1em;margin:0 .2em}.pagination a{display:block;width:100%;height:100%;border:1px solid rgba(0,0,0,.2);border-radius:50%;background:#fff;text-indent:-90000px}.pagination a:hover{background:rgba(0,0,0,.1)}.pagination .current,.pagination .current:hover{background:#db4437;border-color:#db4437}.about{background:#eee}.about h4{margin:0;font-size:1.2em;font-weight:700;color:#4285f4}.about .code-sample-tabs{margin-top:10px;width:450px}.about .code-sample-tabs a{display:inline-block;padding:2px 12px 0;background-color:#f8f8f8;margin-right:8px;color:#333;text-decoration:none}.about .code-sample-tabs a.selected{background-color:#fff;font-weight:700}.about pre{padding:8px;margin-top:0}.about .hljs{background-color:#fff;font-size:.9em}.examples{background-color:#f9f9f9}.faq-btn,.faq-questions{max-width:20em;padding:0;list-style:none}.faq-questions{margin:0}.faq-btn{position:relative;margin:0 0 2em}.faq-btn .current,.faq-questions a{display:block;padding:1em;border:1px solid #a7bfe8;color:#2b70e2;cursor:pointer;text-decoration:none;-webkit-transition:all .3s ease;transition:all .3s ease}.faq-btn .current{background:#e6eefc url(../src/images/icon-dropdown-faq.svg) 95% 50% no-repeat}.faq-questions a{border-top:none;background:#e6eefc}.faq-questions{display:none;position:absolute;width:100%}.faq-questions a:hover{background:#fcfdff}.faq-btn.open .current{background-color:#c6d7f6;box-shadow:inset 0 0 10px rgba(16,71,163,.3);color:#1555bf}.faq-btn.open .faq-questions{display:block}.how-to-get-help--container{margin-top:2em}.docs-header{position:relative;padding:7em 2em 4em;background:#f8f8f8;border-bottom:1px solid rgba(0,0,0,.05)}.param{white-space:nowrap}.param-parent{font-weight:400}.param-parent>div{font-size:80%;line-height:50%;padding-top:.7em}.param-nullable .param-types,.param-optional .param-types{font-style:italic}.param-nullable .param-types:after,.param-optional .param-types:after{display:block;color:#aaa;font-style:italic;font-size:85%}.param-optional .param-types:after{content:" (optional)"}.param-nullable .param-types:after{content:" (may be null)"}.method-heading{position:relative}.notice{background-color:#e5ecf9;padding:8px}.permalink{text-decoration:none;color:#2b70e2}.permalink:hover{color:#4285f4}.permalink span{position:absolute;padding:0 7px;left:-24px}.sub-heading{color:#5d6061;margin:0!important}.toggler{float:left;min-width:15px;margin:auto}.toggle{cursor:pointer}.js{display:block;padding:.5em;color:#333;background:#f8f8f8}.view-code-link>a{font-size:80%;color:#888}.resource-links{margin:0;padding:8px;background-color:#f5f8ff}.page-title{margin:0;font-family:'Open Sans',sans-serif;font-weight:300;color:#4285f4;font-size:2.4em;line-height:1em}.versions a,.versions span{display:block}.v-current{font-size:1.2em;color:#2b70e2}.v-current i{font-size:.7em}.v-btn{margin:.5em 0;padding:.5em;border:1px solid rgba(0,0,0,.2);background:rgba(0,0,0,.07);font-size:.8em;color:rgba(0,0,0,.6);text-align:center;text-decoration:none;-webkit-transition:all .3s ease;transition:all .3s ease}.v-btn:hover{background:rgba(0,0,0,.02)}.v-btn img{position:relative;top:-.1em;opacity:.3}.v-list{color:rgba(0,0,0,.2)}.v-list a{color:#4285f4;text-decoration:none}.v-list a:hover{text-decoration:underline}.build-date{font-style:italic;font-size:.8em}.content{padding:1em 2em}.content pre,.table{border:0;margin-bottom:2em}.content h2,.content h3,.content h4,.content h5,.content h6{margin:2em 0 .5em}.content>h2:first-child{margin-top:1em}.table{text-align:left}.table td,.table th{padding:.3em 1em;border:1px solid #cfcfcf}.table th[scope=col]{border-color:#2264d0;background:#4285f4;color:#fff}.table th[scope=row]{background:#f6f6f6}.side-nav{padding-bottom:3em;background:#efefef}.side-nav--meta{padding:10px;background-color:#f5f5f5;text-align:center;margin-bottom:10px}.side-nav--meta--top{padding-left:2em;padding-right:2em}.side-nav a{display:block;padding:.3em 2em;color:#5d6061;text-decoration:none;-webkit-transition:all .3s ease;transition:all .3s ease}.side-nav a:hover{background:rgba(255,255,255,.7)}.side-nav .current,.side-nav .current:hover{background:#e2e2e2}.side-nav ul{margin:0;padding:0}.side-nav .list-item--heading{color:#999;margin-bottom:0;padding-left:1em}.side-nav .sub-sections a{padding-left:4em}.side-nav .external-links{margin-top:2em}.side-nav .col{width:100%}.external-links img{margin-right:.3em;opacity:.3;-webkit-transition:all .3s ease;transition:all .3s ease}.external-links a:hover img{opacity:.6}.ir{background-color:transparent;border:0;overflow:hidden;*text-indent:-9999px}.ir:before{content:"";display:block;width:0;height:150%}.hidden{display:none!important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}.clearfix{*zoom:1}.visible-lg,.visible-med{display:none}@media only screen and (min-width:19em){.header--right{display:block;right:54px;top:10px}}@media only screen and (min-width:37em){.main{font-size:1em}.featuring-links li:first-child{display:block}.featuring-links{text-align:center}.featuring-links li{display:inline-block}.ext-link,.featuring-links .btn{display:inline-block;padding:1em 2.4em}.ext-link{padding:.8em 1.2em;border:none;border-radius:5px}.pagination li{width:.6em;height:.6em}}@media only screen and (min-width:45em){.v-btn{font-size:.7em;line-height:normal;margin-left:.5em}}@media only screen and (min-width:50em){.visible-med{display:block}.invisible-med{display:none!important}.page-header{padding:1.6em}.page-header.fixed .logo img{margin:0 .8em}.page-header.fixed .gcloud{padding:0 0 0 1em;height:70px;line-height:70px}.header--right{top:20px}.nav-current{top:26px!important}.logo{width:280px}.menu{top:3em;left:0}.page-header.fixed .menu{top:70px}.docs-header{padding-top:7.7em}.versions{top:7em}.container,.content{width:80%;margin:0 auto;padding:2em 0}.hero-banner{padding:2em 0}.hero-banner h1{font-size:5em;margin-bottom:.8em}.hero-banner p{font-size:1em;line-height:2em}.featuring .block-title{margin-bottom:1.4em}}@media only screen and (min-width:60em){.visible-lg{display:block}.invisible-lg{display:none!important}.main-nav,.menu{position:absolute}.main-nav{margin:0 1.3em;top:1.2em}.page-header.fixed .main-nav{top:0}.nav-current{position:relative;top:0!important;left:0;padding:.8em 1.6em;width:150px;height:auto;border:1px solid rgba(255,255,255,.4);background:url(../src/images/icon-dropdown.svg) 90% 50% no-repeat;text-indent:0}.page-header.fixed .nav-current{top:0;padding:0 1.6em;height:70px;border:1px solid rgba(255,255,255,.2);border-top:none;border-bottom:none;line-height:70px}.nav-current:hover{background-color:rgba(255,255,255,.1)}.menu{bottom:initial}.header--right{right:20px}.container{width:90%;max-width:1020px;font-size:.9em}.quote-box{width:46%;float:left}.quote-box--supplementary{float:right;width:46%}.block-title{font-size:2em}.hero-banner{padding-bottom:0}.hero-banner .quote-box--supplementary{padding-top:6.2em}.hero-banner h1{font-size:5.6em}.hero-banner p{font-size:1.1em}.hero-banner h2{font-size:1.3em;margin-bottom:.4em}.hero-banner pre{font-size:1.1em;padding:1em 1.5em}.featuring{text-align:center}.featuring-links li{font-size:1em}.featuring-links li:first-child{display:inline-block}.featuring-links .btn{margin-right:.5em}.ext-link{padding:.5em 1.2em}.featuring p{max-width:80%;margin:0 auto;font-size:1em}.about .col-right{padding-top:2.4em}.faq .answer{-moz-column-count:2;-moz-column-gap:50px;-webkit-column-count:2;-webkit-column-gap:50px;column-count:2;column-gap:50px}.lang-page{background:url(../src/images/lang-bg.png) repeat-y}.docs-header{margin-left:240px}.content{width:100%;max-width:1070px;padding-left:290px;padding-right:2em;box-sizing:border-box;margin:0;font-size:.9em}.side-nav{position:fixed;top:0;left:0;bottom:0;width:240px;padding-top:5.1em;font-size:.9em;overflow-y:auto}.side-nav a{padding-left:2.5em}}@media print{*{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999}thead{display:table-header-group}blockquote,img,pre,tr{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}}pre.ruby{padding:.5em;font-size:1em;color:#333}pre.ruby,pre.ruby .hll{background-color:#f8f8f8}pre.ruby .c{color:#998;font-style:italic}pre.ruby .err{color:#a61717;background-color:#e3d2d2}pre.ruby .k,pre.ruby .o{color:#333;font-weight:700}pre.ruby .o{color:#990073}pre.ruby .cm{color:#998;font-style:italic}pre.ruby .cp{font-weight:700}pre.ruby .c1,pre.ruby .cp,pre.ruby .cs{color:#998;font-style:italic}pre.ruby .cs{font-weight:700}pre.ruby .gd{color:#000;background-color:#fdd}pre.ruby .ge{color:#000;font-style:italic}pre.ruby .gr{color:#a00}pre.ruby .gh{color:#999}pre.ruby .gi{color:#000;background-color:#dfd}pre.ruby .go{color:#888}pre.ruby .gp{color:#555}pre.ruby .gs{font-weight:700}pre.ruby .gu{color:#aaa}pre.ruby .gt{color:#a00}pre.ruby .kc,pre.ruby .kd,pre.ruby .kn,pre.ruby .kp,pre.ruby .kr,pre.ruby .kt{color:#333;font-weight:700}pre.ruby .m{color:#d14}pre.ruby .s{color:#990073}pre.ruby .na{color:teal}pre.ruby .nb{color:#0086b3}pre.ruby .nc{color:#458;font-weight:700}pre.ruby .no{color:teal}pre.ruby .nd{color:#3c5d5d;font-weight:700}pre.ruby .ni{color:purple}pre.ruby .ne,pre.ruby .nf,pre.ruby .nl{color:#900;font-weight:700}pre.ruby .nn{color:#555}pre.ruby .nt{color:navy}pre.ruby .nv{color:teal}pre.ruby .ow{color:#000;font-weight:700}pre.ruby .w{color:#bbb}pre.ruby .mf,pre.ruby .mh,pre.ruby .mi,pre.ruby .mo{color:#d14}pre.ruby .s2,pre.ruby .sb,pre.ruby .sc,pre.ruby .sd,pre.ruby .se,pre.ruby .sh,pre.ruby .si,pre.ruby .sx{color:#990073}pre.ruby .sr{color:#009926}pre.ruby .s1{color:#d01040}pre.ruby .ss{color:#990073}pre.ruby .bp{color:#999}pre.ruby .vc{color:#458}pre.ruby .vg,pre.ruby .vi{color:teal}pre.ruby .il{color:#d14} \ No newline at end of file diff --git a/docs/json/src/app-ba83da1379.css b/docs/json/src/app-ba83da1379.css new file mode 100644 index 000000000000..ea89ef750dc0 --- /dev/null +++ b/docs/json/src/app-ba83da1379.css @@ -0,0 +1,3 @@ +@import url(https://fonts.googleapis.com/css?family=Droid+Sans+Mono|Roboto:300,400,700,700italic,400italic|Open+Sans:300);@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css);.hljs{display:block;overflow-x:auto;padding:.5em;color:#333;background:#f8f8f8}.hljs-comment,.hljs-quote{color:#998;font-style:italic}.hljs-keyword,.hljs-selector-tag{color:#333;font-weight:700}.hljs-subst{color:#333}.hljs-literal,.hljs-number,.hljs-tag .hljs-attr,.hljs-template-variable,.hljs-variable{color:teal}.hljs-doctag,.hljs-string{color:#d14}.hljs-section,.hljs-selector-id,.hljs-title{color:#900;font-weight:700}.hljs-subst{font-weight:400}.hljs-class .hljs-title,.hljs-type{color:#458;font-weight:700}.hljs-attribute,.hljs-name,.hljs-tag{color:navy;font-weight:400}.hljs-link,.hljs-regexp{color:#009926}.hljs-bullet,.hljs-symbol{color:#990073}.hljs-built_in,.hljs-builtin-name{color:#0086b3}.hljs-meta{color:#999;font-weight:700}.hljs-deletion{background:#fdd}.hljs-addition{background:#dfd}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700} +/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */ +button,html,input,select,textarea{color:#222}html{font-size:1em;line-height:1.4;height:100%;background:#fff}a[href]:not([href^="#/"]):not([href^="/"]):not([href="."]):not(.ext-link):not(.skip-external-link){text-decoration:none}a[href]:not([href^="#/"]):not([href^="/"]):not([href="."]):not(.ext-link):not(.skip-external-link):after{font:14px/1 FontAwesome;content:" \f08e";color:#666}::-moz-selection{background:#b3d4fc;text-shadow:none}::selection{background:#b3d4fc;text-shadow:none}fieldset,hr{border:0;padding:0}hr{display:block;height:1px;border-top:1px solid #ccc;margin:1em 0}audio,canvas,img,video{vertical-align:middle}fieldset{margin:0}textarea{resize:vertical}.browsehappy{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}body{min-height:100%;font-family:'Roboto',sans-serif;color:#5d6061}pre{background:#fff;line-height:1.6em}.code-block>pre{margin:0!important;font-size:1em}code,pre{font-family:Monaco,'Droid Sans Mono',monospace!important}img{max-width:100%}h1,h2,h3,h4,h5,h6{font-weight:300}h2 code,pre{font-size:.9em}h2,h3{color:#4285f4}a{cursor:pointer}ul{padding:0;list-style-type:none}.row:after{content:'';display:table;clear:both}.row--right,[class*=col]{float:none}@media only screen and (min-width:19em){.row--sm .row--right{float:right}.row--sm [class*=col]{float:left}.row--sm .col--right{float:right}.row--sm .col-10{width:10%}.row--sm .col-20{width:20%}.row--sm .col-25{width:25%}.row--sm .col-30{width:30%}.row--sm .col-33{width:33%}.row--sm .col-40{width:40%}.row--sm .col-50{width:50%}.row--sm .col-60{width:60%}.row--sm .col-66{width:66%}.row--sm .col-70{width:70%}.row--sm .col-75{width:75%}.row--sm .col-80{width:80%}.row--sm .col-90{width:90%}}@media only screen and (min-width:45em){.row--right{float:right}[class*=col]{float:left}.col--right{float:right}.col-10{width:10%}.col-20{width:20%}.col-25{width:25%}.col-30{width:30%}.col-33{width:33%}.col-40{width:40%}.col-50{width:50%}.col-60{width:60%}.col-66{width:66%}.col-70{width:70%}.col-75{width:75%}.col-80{width:80%}.col-90{width:90%}}.padding{padding:10px}.margin{margin:10px}.margin-left{margin-left:10px}.margin-vertical{margin-top:10px;margin-bottom:10px}.subtle-bg{background-color:#f8f8f8}.warning{color:#db4437}.subtle--blue{color:#a0c2f4}.subtle{color:#f8f8f8}.white{color:#fff}.white:after{color:#fff!important}.hero-banner,.page-header{background:#4285f4;color:#fff}.hero-banner .quote-box--supplementary{text-align:center}.latest-release{margin-top:10px}.latest-release--link{color:#fff;font-weight:700;margin-left:5px;margin-right:5px}.page-header{position:relative;padding:1em}.page-header.fixed{position:fixed;z-index:2;top:0;width:100%;padding:0}.header--right{display:none;position:absolute}.page-header.fixed .v-btn{background-color:#fff;color:#444;border-radius:5px;border:0;padding:11px 10px;font-size:.8em;-webkit-transition:all .3s ease;transition:all .3s ease}.page-header.fixed .v-btn:hover{opacity:1;background-color:#f6f6f6}.logo{margin:0;width:13em;font-size:1em;line-height:normal}.page-header.fixed .logo{width:auto}.page-header.fixed a{color:#fff;text-decoration:none}.page-header.fixed a:hover{opacity:.4}.page-header.fixed .logo img{position:relative;top:-.2em;width:2em;margin:0 .5em}.page-header.fixed .gcloud{display:inline-block;padding:.4em 0 .6em .6em;border-left:1px solid rgba(255,255,255,.2);font-family:'Open Sans',sans-serif;font-weight:300;font-size:1.4em}.dropdown-current{display:block;position:absolute;top:1.2em;right:1em;width:24px;height:20px;background:url(../src/images/icon-menu.svg) no-repeat;text-indent:-90000px;cursor:pointer}.page-header.fixed .dropdown-current{top:1em}.menu{display:none;position:fixed;top:3.6em;right:0;width:100%;max-height:400px;bottom:0;overflow-y:auto;margin:0;padding:0;background:#2570ec;box-shadow:5px 5px 8px rgba(0,16,41,.3);-webkit-transition:all .3s ease;transition:all .3s ease}.language-switcher--home .menu{position:absolute;bottom:initial;z-index:1}.language-switcher.dropdown{margin-right:0}.module-switcher.dropdown{margin-left:0}.module-switcher.dropdown .dropdown-current{border-left:none!important}.module-switcher.dropdown .module-name{display:block;white-space:nowrap}.module-switcher.dropdown .module-version{display:block;font-size:.8em}.page-header.fixed .menu{top:3.3em}.menu a{display:block;padding:1em;border-top:1px solid rgba(255,255,255,.2);color:#fff;text-decoration:none;-webkit-transition:all .3s ease;transition:all .3s ease}.menu a:hover{background:#1a65e0}.menu .list-item--heading{padding-left:1em;color:#eee;font-style:italic}.menu--extra-links-item a{padding:.5em .5em .5em 1em}.menu--extra-links-item .sub-sections a{padding-left:2em;border-top:0}.menu--extra-links-item ul{margin:0}.btn img,.menu-icon{margin-right:.5em}.dropdown.open .dropdown-current{opacity:.4}.dropdown.open .menu{display:block}.main{font-size:.9em;line-height:1.8em}.container{padding:2.8em 2em}.block-title{margin-top:0;font-size:1.6em}.hero-banner h1{margin:0 0 .6em;font-family:'Open Sans',sans-serif;font-size:3.5em;font-weight:300;white-space: nowrap;}.hero-banner p{margin-bottom:2.2em;font-size:.9em;line-height:1.6em}.hero-banner h2{margin-bottom:.2em;font-size:1.3em}.btn,.hero-banner pre{padding:1em;border:none}.hero-banner pre{margin:0;background:#2a74ed}.featuring .block-title{text-align:center}.featuring p{font-size:.9em;line-height:1.6em}.featuring-links{list-style:none;margin:0 0 -1em;padding:0}.btn{display:block;border-radius:5px;background:#db4437;color:#fff;text-decoration:none;-webkit-transition:all .3s ease;transition:all .3s ease}.btn:hover{background:#f24f41}.featuring-links .btn{margin-bottom:1em;padding:1.5em;font-size:1.1em;text-align:center}.featuring-links .btn img{width:2em}.btn-docs img{background-color:#fff;border:1px solid transparent;border-radius:80px;padding:4px;width:40px;-webkit-transition:all .5s ease;transition:all .5s ease}.btn-docs:hover img{border:1px solid #ccc;-webkit-transform:rotate(135deg);transform:rotate(135deg);box-shadow:4px 4px 4px rgba(0,0,0,.3)}.btn-docs:active img{box-shadow:4px 4px 4px rgba(0,0,0,.5)}.ext-link{display:block;padding:1em;border-bottom:1px solid rgba(0,0,0,.1);color:#5d6061;text-decoration:none;-webkit-transition:all .3s ease;transition:all .3s ease}.featuring-links li:last-child .ext-link{border-bottom:none}.ext-link:hover{background:#f6f6f6}.ext-link img{opacity:.5;margin-right:.5em;-webkit-transition:all .3s ease;transition:all .3s ease}.ext-link:hover img{opacity:.7}.pagination{margin:2em 0 0;padding:0;list-style:none;text-decoration:none;text-align:center}.pagination li{display:inline-block;width:1em;height:1em;margin:0 .2em}.pagination a{display:block;width:100%;height:100%;border:1px solid rgba(0,0,0,.2);border-radius:50%;background:#fff;text-indent:-90000px}.pagination a:hover{background:rgba(0,0,0,.1)}.pagination .current,.pagination .current:hover{background:#db4437;border-color:#db4437}.about{background:#eee}.about h4{margin:0;font-size:1.2em;font-weight:700;color:#4285f4}.about .code-sample-tabs{margin-top:10px;width:450px}.about .code-sample-tabs a{display:inline-block;padding:2px 12px 0;background-color:#f8f8f8;margin-right:8px;color:#333;text-decoration:none}.about .code-sample-tabs a.selected{background-color:#fff;font-weight:700}.about pre{padding:8px;margin-top:0}.about .hljs{background-color:#fff;font-size:.9em}.examples{background-color:#f9f9f9}.faq-btn,.faq-questions{max-width:20em;padding:0;list-style:none}.faq-questions{margin:0}.faq-btn{position:relative;margin:0 0 2em}.faq-btn .current,.faq-questions a{display:block;padding:1em;border:1px solid #a7bfe8;color:#2b70e2;cursor:pointer;text-decoration:none;-webkit-transition:all .3s ease;transition:all .3s ease}.faq-btn .current{background:#e6eefc url(../src/images/icon-dropdown-faq.svg) 95% 50% no-repeat}.faq-questions a{border-top:none;background:#e6eefc}.faq-questions{display:none;position:absolute;width:100%}.faq-questions a:hover{background:#fcfdff}.faq-btn.open .current{background-color:#c6d7f6;box-shadow:inset 0 0 10px rgba(16,71,163,.3);color:#1555bf}.faq-btn.open .faq-questions{display:block}.how-to-get-help--container{margin-top:2em}.docs-header{position:relative;padding:7em 2em 4em;background:#f8f8f8;border-bottom:1px solid rgba(0,0,0,.05)}.param{white-space:nowrap}.param-parent{font-weight:400}.param-parent>div{font-size:80%;line-height:50%;padding-top:.7em}.param-nullable .param-types,.param-optional .param-types{font-style:italic}.param-nullable .param-types:after,.param-optional .param-types:after{display:block;color:#aaa;font-style:italic;font-size:85%}.param-optional .param-types:after{content:" (optional)"}.param-nullable .param-types:after{content:" (may be null)"}.method-heading{position:relative}.description{margin-bottom:2em}.notice{background-color:#e5ecf9;padding:8px}.permalink{text-decoration:none;color:#2b70e2}.permalink:hover{color:#4285f4}.permalink span{position:absolute;padding:0 7px;left:-24px}.sub-heading{color:#5d6061;margin:0!important}.toggler{float:left;min-width:15px;margin:auto}.toggle{cursor:pointer}.js{display:block;padding:.5em;color:#333;background:#f8f8f8}.view-code-link>a{font-size:80%;color:#888}.resource-links{margin:0;padding:8px;background-color:#f5f8ff}.page-title{margin:0;font-family:'Open Sans',sans-serif;font-weight:300;color:#4285f4;font-size:2.4em;line-height:1em}.versions a,.versions span{display:block}.v-current{font-size:1.2em;color:#2b70e2}.v-current i{font-size:.7em}.v-btn{margin:.5em 0;padding:.5em;border:1px solid rgba(0,0,0,.2);background:rgba(0,0,0,.07);font-size:.8em;color:rgba(0,0,0,.6);text-align:center;text-decoration:none;-webkit-transition:all .3s ease;transition:all .3s ease}.v-btn:hover{background:rgba(0,0,0,.02)}.v-btn img{position:relative;top:-.1em;opacity:.3}.v-list{color:rgba(0,0,0,.2)}.v-list a{color:#4285f4;text-decoration:none}.v-list a:hover{text-decoration:underline}.build-date{font-style:italic;font-size:.8em}.content{padding:1em 2em}.content pre,.table{border:0;margin-bottom:2em}.content h2,.content h3,.content h4,.content h5,.content h6{margin:2em 0 .5em}.content>h2:first-child{margin-top:1em}.table{text-align:left}.table td,.table th{padding:.3em 1em;border:1px solid #cfcfcf}.table th[scope=col]{border-color:#2264d0;background:#4285f4;color:#fff}.table th[scope=row]{background:#f6f6f6}.side-nav{padding-bottom:3em;background:#efefef}.side-nav--meta{padding:10px;background-color:#f5f5f5;text-align:center;margin-bottom:10px}.side-nav--meta--top{padding-left:2em;padding-right:2em}.side-nav a{display:block;padding:.3em 2em;color:#5d6061;text-decoration:none;-webkit-transition:all .3s ease;transition:all .3s ease}.side-nav a:hover{background:rgba(255,255,255,.7)}.side-nav .current,.side-nav .current:hover{background:#e2e2e2}.side-nav ul{margin:0;padding:0}.side-nav .list-item--heading{color:#999;margin-bottom:0;padding-left:1em}.side-nav .sub-sections a{padding-left:4em}.side-nav .external-links{margin-top:2em}.side-nav .col{width:100%}.external-links img{margin-right:.3em;opacity:.3;-webkit-transition:all .3s ease;transition:all .3s ease}.external-links a:hover img{opacity:.6}.ir{background-color:transparent;border:0;overflow:hidden;*text-indent:-9999px}.ir:before{content:"";display:block;width:0;height:150%}.hidden{display:none!important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}.clearfix{*zoom:1}.visible-lg,.visible-med{display:none}@media only screen and (min-width:19em){.header--right{display:block;right:54px;top:10px}}@media only screen and (min-width:37em){.main{font-size:1em}.featuring-links li:first-child{display:block}.featuring-links{text-align:center}.featuring-links li{display:inline-block}.ext-link,.featuring-links .btn{display:inline-block;padding:1em 2.4em}.ext-link{padding:.8em 1.2em;border:none;border-radius:5px}.pagination li{width:.6em;height:.6em}}@media only screen and (min-width:45em){.v-btn{font-size:.7em;line-height:normal;margin-left:.5em}}@media only screen and (min-width:50em){.visible-med{display:block}.invisible-med{display:none!important}.page-header{padding:1.6em}.page-header.fixed .logo img{margin:0 .8em}.page-header.fixed .gcloud{padding:0 0 0 1em;height:70px;line-height:70px}.header--right{top:20px}.dropdown-current{top:26px!important}.logo{width:280px}.menu{top:3em;left:0}.page-header.fixed .menu{top:70px}.docs-header{padding-top:7.7em}.versions{top:7em}.container,.content{width:80%;margin:0 auto;padding:2em 0}.hero-banner{padding:2em 0}.hero-banner h1{font-size:5em;margin-bottom:.8em}.hero-banner p{font-size:1em;line-height:2em}.featuring .block-title{margin-bottom:1.4em}}@media only screen and (min-width:60em){.visible-lg{display:block}.invisible-lg{display:none!important}.menu{position:absolute}.dropdown{margin:0 1.3em;position:relative}.dropdown-current{position:relative;top:-5px!important;left:0;padding:.8em 1.6em;min-width:150px;width:auto;height:auto;border:1px solid rgba(255,255,255,.4);background:url(../src/images/icon-dropdown.svg) 90% 50% no-repeat;text-indent:0}.page-header.fixed .dropdown-current{top:0!important;padding:0 3.4em 0 1.6em;height:70px;border:1px solid rgba(255,255,255,.2);border-top:none;border-bottom:none;line-height:70px}.dropdown-current:hover{background-color:rgba(255,255,255,.1)}.menu{bottom:initial}.header--right{right:20px}.container{width:90%;max-width:1020px;font-size:.9em}.quote-box{width:46%;float:left}.quote-box--supplementary{float:right;width:46%}.block-title{font-size:2em}.hero-banner{padding-bottom:0}.hero-banner .quote-box--supplementary{padding-top:6.2em}.hero-banner h1{font-size:5.6em}.hero-banner p{font-size:1.1em}.hero-banner h2{font-size:1.3em;margin-bottom:.4em}.hero-banner pre{font-size:1.1em;padding:1em 1.5em}.featuring{text-align:center}.featuring-links li{font-size:1em}.featuring-links li:first-child{display:inline-block}.featuring-links .btn{margin-right:.5em}.ext-link{padding:.5em 1.2em}.featuring p{max-width:80%;margin:0 auto;font-size:1em}.about .col-right{padding-top:2.4em}.faq .answer{-moz-column-count:2;-moz-column-gap:50px;-webkit-column-count:2;-webkit-column-gap:50px;column-count:2;column-gap:50px}.lang-page{background:url(../src/images/lang-bg.png) repeat-y}.docs-header{margin-left:240px}.content{width:100%;max-width:1070px;padding-left:290px;padding-right:2em;box-sizing:border-box;margin:0;font-size:.9em}.side-nav{position:fixed;top:0;left:0;bottom:0;width:240px;padding-top:5.1em;font-size:.9em;overflow-y:auto}.side-nav a{padding-left:2.5em}}@media print{*{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999}thead{display:table-header-group}blockquote,img,pre,tr{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}}pre.ruby{padding:.5em;font-size:1em;color:#333}pre.ruby,pre.ruby .hll{background-color:#f8f8f8}pre.ruby .c{color:#998;font-style:italic}pre.ruby .err{color:#a61717;background-color:#e3d2d2}pre.ruby .k,pre.ruby .o{color:#333;font-weight:700}pre.ruby .o{color:#990073}pre.ruby .cm{color:#998;font-style:italic}pre.ruby .cp{font-weight:700}pre.ruby .c1,pre.ruby .cp,pre.ruby .cs{color:#998;font-style:italic}pre.ruby .cs{font-weight:700}pre.ruby .gd{color:#000;background-color:#fdd}pre.ruby .ge{color:#000;font-style:italic}pre.ruby .gr{color:#a00}pre.ruby .gh{color:#999}pre.ruby .gi{color:#000;background-color:#dfd}pre.ruby .go{color:#888}pre.ruby .gp{color:#555}pre.ruby .gs{font-weight:700}pre.ruby .gu{color:#aaa}pre.ruby .gt{color:#a00}pre.ruby .kc,pre.ruby .kd,pre.ruby .kn,pre.ruby .kp,pre.ruby .kr,pre.ruby .kt{color:#333;font-weight:700}pre.ruby .m{color:#d14}pre.ruby .s{color:#990073}pre.ruby .na{color:teal}pre.ruby .nb{color:#0086b3}pre.ruby .nc{color:#458;font-weight:700}pre.ruby .no{color:teal}pre.ruby .nd{color:#3c5d5d;font-weight:700}pre.ruby .ni{color:purple}pre.ruby .ne,pre.ruby .nf,pre.ruby .nl{color:#900;font-weight:700}pre.ruby .nn{color:#555}pre.ruby .nt{color:navy}pre.ruby .nv{color:teal}pre.ruby .ow{color:#000;font-weight:700}pre.ruby .w{color:#bbb}pre.ruby .mf,pre.ruby .mh,pre.ruby .mi,pre.ruby .mo{color:#d14}pre.ruby .s2,pre.ruby .sb,pre.ruby .sc,pre.ruby .sd,pre.ruby .se,pre.ruby .sh,pre.ruby .si,pre.ruby .sx{color:#990073}pre.ruby .sr{color:#009926}pre.ruby .s1{color:#d01040}pre.ruby .ss{color:#990073}pre.ruby .bp{color:#999}pre.ruby .vc{color:#458}pre.ruby .vg,pre.ruby .vi{color:teal}pre.ruby .il{color:#d14} diff --git a/docs/json/src/app-fdd83dcdd8.js b/docs/json/src/app-fdd83dcdd8.js deleted file mode 100644 index bc2c7a36da9a..000000000000 --- a/docs/json/src/app-fdd83dcdd8.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";angular.module("gcloud",["gcloud.manifest","ui.router","hljs"])}(),function(){"use strict";function e(){return{restrict:"E",replace:!0,templateUrl:"app/components/version-switcher/version-switcher.html"}}angular.module("gcloud").directive("versionSwitcher",e)}(),function(){"use strict";function e(){function e(e,i){return e.filter(function(e){return t(e,i)})}function t(e,t){var i;for(i in t)if(e[i]!==t[i])return!1;return!0}function i(t,i){var n=e(t,i);return n.length?n[0]:null}function n(e){return angular.isArray(e)?e:[e]}return{contains:t,where:e,findWhere:i,arrify:n}}angular.module("gcloud").factory("util",e)}(),function(){"use strict";function e(e,t,i){var n=i("#/docs/{{version}}{{href}}");return{restrict:"A",link:function(i,r,s){function a(){return e.path()}function l(e){return e="#"+e,e===o?void r.addClass("current"):void r.removeClass("current")}var o=n({version:t.params.version,href:s.sideNavLink});r.attr("href",o),i.$watch(a,l)}}}e.$inject=["$location","$state","$interpolate"],angular.module("gcloud").directive("sideNavLink",e)}(),function(){"use strict";function e(e){return{restrict:"E",templateUrl:"app/components/page-header/page-header.html",replace:!0,transclude:!0,scope:{title:"="},link:function(t){t.title=t.title||e.friendlyLang,angular.isArray(t.title)&&(t.title=t.title.join(e.titleDelimiter||" » "))}}}e.$inject=["manifest"],angular.module("gcloud").directive("pageHeader",e)}(),function(){"use strict";function e(e,t){return{restrict:"E",link:function(i,n){function r(){var r=t.makeHtml(n.text()),a=angular.element(r);n.html("").append(a),e(n.contents())(i),s()}var s=i.$on("$includeContentLoaded",r)}}}e.$inject=["$compile","markdownConverter"],angular.module("gcloud").directive("markdown",e)}(),function(){"use strict";function e(e){return{restrict:"E",link:function(t,i){function n(){angular.forEach(r,e.highlightBlock,e),s()}if(!i.hasClass("skip-highlight")){var r=i.children("code");if(r.length)var s=t.$watch(n)}}}}e.$inject=["hljs"],angular.module("gcloud").directive("pre",e)}(),function(){"use strict";function e(e,t){function i(e,t,i){var s=/^\#/.test(i),l=s?n(i):r(i);return a({text:t,href:l})}function n(e){return s({section:e.replace("#","")})}function r(e){return s({guideId:e.replace(/\//g,"").replace("readme.md","")})}function s(e){var i=angular.extend({},t.params,e);return t.href("docs.guides",i)}var a=e('{{text}}');return new showdown.Converter({extensions:[function(){return[{type:"lang",regex:"\\[([^\\]]+)\\]\\(([\\/|\\#][^)]+)\\)",replace:i}]}]})}e.$inject=["$interpolate","$state"],angular.module("gcloud").factory("markdownConverter",e)}(),function(){"use strict";function e(){return{restrict:"A",templateUrl:"app/components/language-switcher/language-switcher.html",controller:t,controllerAs:"switcher",bindToController:!0}}function t(e){var t=this;t.langs=e}t.$inject=["langs"],angular.module("gcloud").directive("languageSwitcher",e)}(),function(){"use strict";function e(e,t){function i(e,t){return e.$watch(t,n)}function n(i){return e(t,r,null,i)}var r=250;return t.yOffset=70,{watch:i,scrollTo:n}}e.$inject=["$timeout","$anchorScroll"],angular.module("gcloud").factory("DeeplinkService",e)}(),function(){"use strict";function e(e){var t=function(t,i){var n="docs.service",r={serviceId:t,version:e.params.version},s={inherit:!1};return i&&(r.method=i),e.href(n,r,s)};return{restrict:"A",link:function(e,i,n){var r=n.customType,s=n.method;0===i.html().length&&i.html(s?s:r),i.addClass("skip-external-link").attr("href",t(r.replace("[]",""),s))}}}e.$inject=["$state"],angular.module("gcloud").directive("customType",e)}(),function(){"use strict";function e(e){return{restrict:"A",link:function(t,i,n){function r(){return t.$eval(n.bindHtmlCompile)}function s(n){i.html(n),e(i.contents())(t),a()}var a=t.$watch(r,s)}}}e.$inject=["$compile"],angular.module("gcloud").directive("bindHtmlCompile",e)}(),function(){"use strict";function e(){return{restrict:"E",link:t}}function t(e,t){var i=t.hasClass("skip-external-link");if(!i){var n=t.attr("href"),r=/^http/.test(n);r&&t.attr("target","_blank")}}angular.module("gcloud").directive("a",e)}(),function(){"use strict";function e(e,t,i,n,r,s){function a(e){return e.name}function l(){return i.watch(e,o)}function o(){return t.params&&t.params.method}function c(e,t){return"constructor"===e.type?-1:"constructor"===t.type?1:+(e.name>t.name)||+(e.name===t.name)-1}var u=this;angular.extend(u,n.setAsTrusted(r)),u.methods=r.methods.map(n.setAsTrusted).sort(c),u.libraryTitle=s.libraryTitle||"gcloud",u.methodNames=u.methods.map(a),u.showGettingStarted=!1,e.$on("$viewContentLoaded",l)}e.$inject=["$scope","$state","DeeplinkService","DocsService","serviceObject","manifest"],angular.module("gcloud").controller("ServiceCtrl",e)}(),function(){"use strict";function e(e,i){i.state("home",{url:"/",templateUrl:"app/home/home.html",controller:"HomeCtrl",controllerAs:"home",resolve:{latestRelease:t}})}function t(e,t){var i="https://api.github.com/repos/GoogleCloudPlatform/gcloud-"+t.lang+"/releases/latest";return e.get(i).then(function(e){var t=e.data;return{name:t.tag_name,date:new Date(t.published_at),link:t.html_url}}).then(null,angular.noop)}e.$inject=["manifest","$stateProvider"],t.$inject=["$http","manifest"],angular.module("gcloud").config(e)}(),function(){"use strict";function e(e,t){var i=this;i.contentUrl=[e.content,e.home].join("/"),i.latestRelease=t}e.$inject=["manifest","latestRelease"],angular.module("gcloud").controller("HomeCtrl",e)}(),function(){"use strict";function e(e,t,i,n,r,s,a,l){function o(){return a.watch(e,c)}function c(){var e=t.params&&t.params.section;return e?e.replace(/\-/g,""):null}function u(e){return/^http/.test(e)?i.trustAsResourceUrl(e):n("{{content}}/{{version}}/{{data}}")({content:s.content,version:t.params.version,data:e})}var d=this;d.title=r.title,d.contents=l.arrify(r.contents).map(u),d.editUrl=r.edit?u(r.edit):null,e.$on("$viewContentLoaded",o)}e.$inject=["$scope","$state","$sce","$interpolate","guideObject","manifest","DeeplinkService","util"],angular.module("gcloud").controller("GuideCtrl",e)}(),function(){"use strict";function e(e,t,i){function n(t){var i=angular.copy(t);return i.isConstructor="constructor"===i.type,i.typeSymbol=r(i.type),i.description&&(i.description=e.trustAsHtml(i.description)),i.examples&&(i.examples=i.examples.map(a)),i.returns&&(i.returns=i.returns.map(s)),i.params&&(i.params=i.params.map(l)),i}function r(e){var n="#";if(e&&t.methodTypeSymbols){var r=i.findWhere(t.methodTypeSymbols,{type:e});r&&(n=r.symbol)}return n}function s(t){return e.trustAsHtml(t.types.join(", "))}function a(t){var i,n;return t.code&&(i=e.trustAsHtml(t.code)),t.caption&&(n=e.trustAsHtml(t.caption)),{code:i,caption:n}}function l(t){var i=t.name.split(".");return i.length>1&&(t.name=i.pop(),t.parent=i.join(".")),t.types=e.trustAsHtml(t.types.join(", ")),t.description=e.trustAsHtml(t.description),t}return{setAsTrusted:n,trust:e.trustAsHtml.bind(e)}}e.$inject=["$sce","manifest","util"],angular.module("gcloud").factory("DocsService",e)}(),function(){"use strict";function e(e,l,o,c){var u="\\bv?(?:0|[1-9][0-9]*)\\.(?:0|[1-9][0-9]*)\\.(?:0|[1-9][0-9]*)(?:-[\\da-z-]+(?:\\.[\\da-z\\-]+)*)?(?:\\+[\\da-z\\-]+(?:\\.[\\da-z\\-]+)*)?\\b",d="/docs/{version:master|"+u+"}",g=c.versions[0],p=c.defaultService||"gcloud";o.type("nonURIEncoded",{encode:a,decode:a,is:function(){return!0}}),e.state("docs",{url:d,templateUrl:"app/docs/docs.html",controller:"DocsCtrl",controllerAs:"docs","abstract":!0,resolve:{lastBuiltDate:t,toc:i,types:n},params:{version:g}}).state("docs.guides",{url:"/guides/:guideId?section",templateUrl:"app/guide/guide.html",controller:"GuideCtrl",controllerAs:"guide",resolve:{guideObject:r}}).state("docs.service",{url:"/{serviceId:nonURIEncoded}?method",templateUrl:"app/service/service.html",controller:"ServiceCtrl",controllerAs:"service",resolve:{serviceObject:s},params:{serviceId:"gcloud"}}),l.when("/docs","/docs/latest"),l.when(d,"/docs/:version/"+p),l.otherwise(function(e,t){var i=t.path(),n="/docs/",r=-1===i.indexOf(n);if(r)return"/";var s=e.get("manifest").versions,a=i.replace(n,"").split("/"),l=-1!==s.indexOf(a[0]);return l?n+a[0]:("latest"===a[0]||"stable"===a[0]?a[0]=g:a.unshift(e.get("$stateParams").version||g),n+a.join("/"))})}function t(e,t){var i="https://api.github.com/repos/GoogleCloudPlatform/gcloud-"+t.lang+"/commits?sha=gh-pages&per_page=1";return e({method:"get",url:i,cache:!0}).then(function(e){return e.data[0].commit.committer.date}).then(null,angular.noop)}function i(e,t,i,n){var r=e("{{content}}/{{version}}/toc.json")({content:n.content,version:i.version});return t.get(r).then(function(e){return e.data})}function n(e,t,i,n){var r=e("{{content}}/{{version}}/types.json")({content:n.content,version:i.version});return t.get(r).then(function(e){return e.data})}function r(e,t,i,n){var r=t.guideId.replace(/\-/g," "),s=i.findWhere(n.guides,{id:r});return s?s:e.reject("Unknown guide: "+r)}function s(e,t,i,n,r,s,a){var l=e.serviceId,o=a.findWhere(s,{id:l});if(!o)return n.reject("Unknown service: "+l);var c=t("{{content}}/{{version}}/{{resource}}")({content:r.content,version:e.version,resource:o.contents});return i.get(c).then(function(e){var t=e.data;return o.title&&(t.title=o.title),t})}function a(e){return e?e.toString():null}e.$inject=["$stateProvider","$urlRouterProvider","$urlMatcherFactoryProvider","manifest"],t.$inject=["$http","manifest"],i.$inject=["$interpolate","$http","$stateParams","manifest"],n.$inject=["$interpolate","$http","$stateParams","manifest"],r.$inject=["$q","$stateParams","util","toc"],s.$inject=["$stateParams","$interpolate","$http","$q","manifest","types","util"],angular.module("gcloud").config(e)}(),function(){"use strict";function e(e,t,i,n,r){function s(t){return e.go(e.current.name,{version:t})}function a(t){return t=t.split("/")[0],!!(e.params.serviceId||"").match(t)}function l(e){return e.title.toLowerCase().replace(/\s/g,"-")}var o=this;o.libraryTitle=i.libraryTitle||"gcloud",o.langs=t,o.lastBuiltDate=r,o.guides=n.guides,o.services=n.services,o.version=e.params.version,o.overviewFileUrl=null,o.selectedVersion=o.version,o.loadVersion=s,o.getGuideUrl=l,o.isActive=a,n.overview&&(o.overviewFileUrl=[i.content,e.params.version,n.overview].join("/"))}e.$inject=["$state","langs","manifest","toc","lastBuiltDate"],angular.module("gcloud").controller("DocsCtrl",e)}(),function(){"use strict";function e(e,t,i){angular.extend(t,i),t.$on("$stateChangeError",function(){e.go("docs.service",{version:e.params.version,serviceId:"gcloud"})})}e.$inject=["$state","$rootScope","manifest"],angular.module("gcloud").run(e)}(),function(){"use strict";angular.module("gcloud").constant("hljs",hljs).constant("langs",[{friendly:".NET",key:"dotnet",repo:"google-cloud-dotnet"},{friendly:"Java",key:"java",repo:"gcloud-java"},{friendly:"Node.js",key:"node",repo:"gcloud-node"},{friendly:"PHP",key:"php",repo:"gcloud-php"},{friendly:"Python",key:"python",repo:"gcloud-python"},{friendly:"Ruby",key:"ruby",repo:"gcloud-ruby"}])}(),angular.module("gcloud").run(["$templateCache",function(e){e.put("app/docs/docs.html",'
    '),e.put("app/home/home.html",'
    '),e.put("app/guide/guide.html",'
    '),e.put("app/service/service.html",'

    Getting Started


    {{::service.name}} Overview

    More Information

    Example

    Available methods: {{method.name}}{{$last ? \'\' : \', \'}}

    Parameters

    {{::param.parent}}
    {{::param.name}}

    Returns

    Example

    More Information

    '),e.put("app/components/language-switcher/language-switcher.html",''),e.put("app/components/page-header/page-header.html",'

    {{::title}}

    '),e.put("app/components/version-switcher/version-switcher.html",'
    Browsing Version  
    Docs last built {{docs.lastBuiltDate | date : longDate}}.
    ')}]); \ No newline at end of file