<pre>
Code and application artifacts that make up this version.
Only returned in `GET` requests if `view=FULL` is set.
</pre>

<code>.google.appengine.v1.Deployment deployment = 108;</code>
335280
public com.google.appengine.v1.Deployment getDeployment() {
    return deployment_ == null ? com.google.appengine.v1.Deployment.getDefaultInstance() : deployment_;
  }
981963
public com.google.appengine.v1.ErrorHandler.ErrorCode getErrorCode() {
    com.google.appengine.v1.ErrorHandler.ErrorCode result = com.google.appengine.v1.ErrorHandler.ErrorCode.valueOf(errorCode_);
    return result == null ? com.google.appengine.v1.ErrorHandler.ErrorCode.UNRECOGNIZED : result;
  }
333104
def apiv1_root_view():
    
    docs_url = current_app.config.get('DOCS_URL',
                                      'http://' + request.host + '/docs')
    message = "Welcome to the voeventdb REST API, " \
              "interface version '{}'.".format(
        apiv1.name)
    api_details = {
        'message': message,
        'api_version': apiv1.name,
        'git_sha': package_version_dict['full-revisionid'][:8],
        'version_tag': package_version_dict['version'],
        'endpoints': [str(r) for r in get_apiv1_rules()],
        'docs_url': docs_url
    }

    if 'text/html' in request.headers.get("Accept", ""):
        return render_template('landing.html',
                               **api_details
                               )
    else:
        return jsonify(api_details)
1246894
public java.lang.String getAppEngineRelease() {
    java.lang.Object ref = appEngineRelease_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      appEngineRelease_ = s;
      return s;
    }
  }
556526
@SuppressWarnings("unchecked")
	@Override
	public Integer execute() {
		logger.fine("Executing [AppEngineUpdate] command");
		
		if (properties.size() == 0) {
			throw new IllegalStateException("'properties' must be set");
		}
		
		GetList<E> command = session.get(metamodel);
		
		if (filters != null) {
			command.filter(filters.toArray(new Filter<?>[] {}));
		}
		
		int i = 0;
		
		for (E entity : command.execute()) {
			for (Property<?, ?> property : properties.keySet()) {
				Object object = properties.get(property);
				
				if (object instanceof Modification) {
					Modification<Object> modification = (Modification<Object>) object;
					((Property<E, ?>) property).set(entity, modification.apply(property.get(entity)));
				} else {
					((Property<E, ?>) property).set(entity, object);
				}
			}
			
			session.update(entity);
			i++;
		}
		
		return i;
	}
670456
public java.util.List<com.google.appengine.v1.Version> getVersionsList() {
    return versions_;
  }
604273
@GET
    @Produces(MediaType.APPLICATION_JSON)
    public Response totalApplications(@Context HttpServletRequest request) {
        final DashboardData dataForUser =  service.getSearchService().loadDashboardData();

        return Response.ok(dataForUser).build();
    }
826921
public com.google.appengine.v1.CreateVersionMethod getCreateVersion() {
    if (methodCase_ == 2) {
       return (com.google.appengine.v1.CreateVersionMethod) method_;
    }
    return com.google.appengine.v1.CreateVersionMethod.getDefaultInstance();
  }
65161
public com.google.appengine.v1.Service getService() {
    return service_ == null ? com.google.appengine.v1.Service.getDefaultInstance() : service_;
  }
1075526
def _get_django_sites():
    
    deployed = version_state('deploy_project')
    if not env.sites and 'django.contrib.sites' in env.INSTALLED_APPS and deployed:
        with cd('/'.join([deployment_root(),'env',env.project_fullname,'project',env.project_package_name,'sitesettings'])):
            venv = '/'.join([deployment_root(),'env',env.project_fullname,'bin','activate'])
            #since this is the first time we run ./manage.py on the server it can be
            #a point of failure for installations
            with settings(warn_only=True):
                output = run(' '.join(['source',venv,'&&',"django-admin.py dumpdata sites --settings=%s.sitesettings.settings"% env.project_package_name]))

                if output.failed:
                    print "ERROR: There was an error running ./manage.py on the node"
                    print "See the troubleshooting docs for hints on how to diagnose deployment issues"
                    if hasattr(output, 'stderr'):
                        print output.stderr
                    sys.exit(1)
            output = output.split('\n')[-1] #ignore any lines prior to the data being dumped
            sites = json.loads(output)
            env.sites = {}
            for s in sites:
                env.sites[s['pk']] = s['fields']['domain']
    return env.sites
239924
def get_deployment_timestamp():
    
    # TODO: Support other deployment situations.
    if os.environ.get('SERVER_SOFTWARE', '').startswith('Google App Engine'):
        version_id = os.environ.get('CURRENT_VERSION_ID')
        major_version, timestamp = version_id.split('.', 1)
        return timestamp
    return 'test'
594799
@Override
    public DeploymentPlanBuilder andDeploy() {
        String addedKey = getAddedContentKey();
        DeploymentActionImpl deployMod = DeploymentActionImpl.getDeployAction(addedKey);
        return new DeploymentPlanBuilderImpl(this, deployMod);
    }
1311311
public com.google.appengine.v1.UpdateServiceMethodOrBuilder getUpdateServiceOrBuilder() {
    if (methodCase_ == 1) {
       return (com.google.appengine.v1.UpdateServiceMethod) method_;
    }
    return com.google.appengine.v1.UpdateServiceMethod.getDefaultInstance();
  }
427555
public Optional<Deployment> create(long applicationId, Deployment deployment)
    {
        return HTTP.POST(String.format("/v2/applications/%d/deployments.json", applicationId), deployment, DEPLOYMENT);
    }
217236
def meta_view(self):
        
        # API_URL_PREFIX maybe diffierent in development and production,
        # so pick it from app.config other than store it in metafile
        self.meta["$url_prefix"] = current_app.config.get("API_URL_PREFIX", "")
        mediatype = request.accept_mimetypes.best_match(
            ['text/html', 'application/json'], default='text/html')
        dumped = json.dumps(
            self.meta, indent=4, sort_keys=True, ensure_ascii=False)
        if mediatype == 'application/json' or 'json' in request.args:
            return make_response(dumped, {
                "Content-Type": "application/json; charset=utf-8"
            })
        filename = request.args.get('f')
        if filename in ["res.js", "res.min.js"]:
            # cache parsed meta
            if self._resjs_cache is None:
                self._resjs_cache = parse_meta(self.meta)
            minify = filename == "res.min.js"
            code = generate_code(self._resjs_cache,
                                 prefix=self.meta["$url_prefix"], min=minify)
            response = make_response(code, {
                "Content-Type": "application/javascript"
            })
            # handle etag
            response.add_etag()
            return response.make_conditional(request)
        if filename:
            return send_from_directory(DOCS_DIST, basename(filename))
        with open(DOCS_HTML) as f:
            content = f.read()\
                .replace('$(title)', self.meta.get('$title', ''))\
                .replace('$(meta)', dumped)
        return make_response(content)
683278
public String getRuntime() throws AppEngineException {
    String runtime = getText(getNode(document, "appengine-web-app", "runtime"));
    if (runtime == null) {
      runtime = "java7"; // the default runtime when not specified.
    }
    return runtime;
  }
796431
public com.google.appengine.v1.AutomaticScaling getAutomaticScaling() {
    if (scalingCase_ == 3) {
       return (com.google.appengine.v1.AutomaticScaling) scaling_;
    }
    return com.google.appengine.v1.AutomaticScaling.getDefaultInstance();
  }