Python 2.7 has reached end of support and will be deprecated on January 31, 2026. After deprecation, you won't be able to deploy Python 2.7 applications, even if your organization previously used an organization policy to re-enable deployments of legacy runtimes. Your existing Python 2.7 applications will continue to run and receive traffic after their deprecation date. We recommend that you migrate to the latest supported version of Python.

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>}

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年06月16日 UTC.