Upgrading Google App Engine Admin API to the Latest Release

Use this page to upgrade your apps to use the v1 version of the
Admin API. The v1beta4 and v1beta5 versions of the API are
no longer supported and scheduled for shut down on January 14, 2019.

Warning: The v1beta4 and v1beta5 versions are deprecated and no longer
supported. You should upgrade to the latest version of the Admin API
because the v1beta4 and v1beta5 versions will be shut down.

Upgrading your apps to the latest version

To upgrade to the latest Admin API version you must make
some changes to your app's code.

Version v1 of the API has a few breaking changes due to either deprecated
or renamed resources. The changes in version v1 affect the fields and
methods across all of the resources in the API, including:

DiskUtilization

You must now use the targetWriteBytesPerSecond, targetWriteOpsPerSecond,
targetReadBytesPerSecond, and targetReadOpsPerSecond fields with the
apps.services.versions
resources, for example:

targetWriteBytesPerSec →
targetWriteBytesPerSecond

targetWriteOpsPerSec →
targetWriteOpsPerSecond

targetReadBytesPerSec →
targetReadBytesPerSecond

targetReadOpsPerSec →
targetReadOpsPerSecond

For the RPC API:

You must now use the target_write_bytes_per_second,
target_write_ops_per_second, target_read_bytes_per_second, and
target_read_ops_per_secondfields with the
google.appengine.v1.DiskUtilization
resource, for example:

target_write_bytes_per_sec →
target_write_bytes_per_second

target_write_ops_per_sec →
target_write_ops_per_second

target_read_bytes_per_sec →
target_read_bytes_per_second

target_read_ops_per_sec →
target_read_ops_per_second

NetworkUtilization

The following fields have changed:

For the REST API:

You must now use the targetSentBytesPerSecond, targetSentPacketsPerSecond,
targetReceivedBytesPerSecond, and targetReceivedPacketsPerSecondfields with
the
apps.services.versions
resource, for example:

targetSentBytesPerSec →
targetSentBytesPerSecond

targetSentPacketsPerSec →
targetSentPacketsPerSecond

targetReceivedBytesPerSec →
targetReceivedBytesPerSecond

targetReceivedPacketsPerSec →
targetReceivedPacketsPerSecond

For the RPC API:

You must now use the target_sent_bytes_per_second,
target_sent_packets_per_second, target_received_bytes_per_second, and
target_received_packets_per_second fields with the
google.appengine.v1.NetworkUtilization
resource, for example: