Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products. If you have feedback or questions as you navigate the site, click Send Feedback.

Python 2 is no longer supported by the community. We recommend that you migrate Python 2 apps to Python 3.
Stay organized with collections Save and categorize content based on your preferences.

google.appengine.api.client_deployinfo module

Summary

Client deploy info.

Library for parsing client_deploy.yaml files and working with these in memory.

Contents

class google.appengine.api.client_deployinfo.ClientDeployInfoExternal(**attributes)source

Bases: google.appengine.api.validation.Validated

Describes the format of a client_deployinfo.yaml file.

ATTRIBUTES = {'start_time_usec': <google.appengine.api.validation.Type object>, 'end_time_usec': <google.appengine.api.validation.Type object>, 'success': <google.appengine.api.validation.Type object>, 'sdk_version': <google.appengine.api.validation.Optional object>, 'requests': <google.appengine.api.validation.Optional object>, 'runtime': '((gs://[a-z0-9\\-\\._/]+)|([a-z][a-z0-9\\-\\.]{0,29}))'}
exception google.appengine.api.client_deployinfo.EmptyYamlsource

Bases: google.appengine.api.client_deployinfo.Error

Tried to load an empty yaml.

exception google.appengine.api.client_deployinfo.Errorsource

Bases: exceptions.Exception

Base ClientDeployInfo Exception type.

google.appengine.api.client_deployinfo.LoadSingleClientDeployInfo(client_deploy_info)source

Returns a ClientDeployInfoExternal from a deploy_info.yaml file or string.

Parameters

client_deploy_info – The contents of a client_deploy_info.yaml file or string, or an open file object.

Returns

A ClientDeployInfoExternal instance which represents the contents of the parsed yaml.

Raises
  • EmptyYaml – when there are no documents in yaml.

  • MultipleClientDeployInfo – when there are multiple documents in yaml.

  • yaml_errors.EventError – when an error occurs while parsing the yaml.

exception google.appengine.api.client_deployinfo.MultipleClientDeployInfosource

Bases: google.appengine.api.client_deployinfo.Error

Tried to load a yaml containing multiple client deploy info definitions.

class google.appengine.api.client_deployinfo.Request(**attributes)source

Bases: google.appengine.api.validation.Validated

A Request describes a single http request within a deployment attempt.

ATTRIBUTES = {'start_time_usec': <google.appengine.api.validation.Type object>, 'path': <google.appengine.api.validation.Type object>, 'response_code': <google.appengine.api.validation.Range object>, 'end_time_usec': <google.appengine.api.validation.Type object>, 'request_size_bytes': <google.appengine.api.validation.Type object>}