PHP 5 has reached end of support and will be
deprecated
on January 31, 2026. After deprecation, you won't be able to deploy PHP 5
applications, even if your organization previously used an organization policy to
re-enable deployments of legacy runtimes. Your existing PHP
5 applications will continue to run and receive traffic after their
deprecation date. We recommend that
you
migrate to the latest supported version of PHP.
\google\appengine\runtime\VmApiProxy
Stay organized with collections
Save and categorize content based on your preferences.
An ApiProxy implementation that communicates with the VMRuntime Service
bridge.
Constants
OK
Inherited from
\google\appengine\runtime\ApiProxyBase
RPC_FAILED
Inherited from
\google\appengine\runtime\ApiProxyBase
CALL_NOT_FOUND
Inherited from
\google\appengine\runtime\ApiProxyBase
ARGUMENT_ERROR
Inherited from
\google\appengine\runtime\ApiProxyBase
DEADLINE_EXCEEDED
Inherited from
\google\appengine\runtime\ApiProxyBase
CANCELLED
Inherited from
\google\appengine\runtime\ApiProxyBase
APPLICATION_ERROR
Inherited from
\google\appengine\runtime\ApiProxyBase
OTHER_ERROR
Inherited from
\google\appengine\runtime\ApiProxyBase
OVER_QUOTA
Inherited from
\google\appengine\runtime\ApiProxyBase
REQUEST_TOO_LARGE
Inherited from
\google\appengine\runtime\ApiProxyBase
CAPABILITY_DISABLED
Inherited from
\google\appengine\runtime\ApiProxyBase
FEATURE_DISABLED
Inherited from
\google\appengine\runtime\ApiProxyBase
RESPONSE_TOO_LARGE
Inherited from
\google\appengine\runtime\ApiProxyBase
DAPPER_ENV_KEY
SERVICE_BRIDGE_HOST
API_PORT
SERVICE_ENDPOINT_NAME
APIHOST_METHOD
PROXY_PATH
RPC_CONTENT_TYPE
DEFAULT_TIMEOUT_SEC
DEADLINE_DELTA_SECONDS
Methods
makeSyncCall
makeSyncCall(string $package, string $call_name, string $request, string $response, double $deadline = null)
Makes a synchronous RPC call.
Parameters
Name |
Description |
$package
|
string
Package to call |
$call_name
|
string
Specific RPC call to make |
$request
|
string
Request proto, serialised to string |
$response
|
string
Response proto string to populate |
$deadline
|
double
Optional deadline for the RPC call in seconds. |
__construct
__construct( $default_ticket = null)
Consruct a VmAPiProxy object.
Parameters
Name |
Description |
$default_ticket
|
|
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-16 UTC."],[[["\u003cp\u003eThis is an ApiProxy implementation designed to interact with the VMRuntime Service bridge.\u003c/p\u003e\n"],["\u003cp\u003eThe implementation inherits several constants such as OK, RPC_FAILED, and others related to error handling from the ApiProxyBase class.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a \u003ccode\u003emakeSyncCall\u003c/code\u003e method for making synchronous RPC calls, requiring package, call name, request, response, and an optional deadline.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e__construct\u003c/code\u003e method is designed to construct a VmApiProxy object.\u003c/p\u003e\n"]]],[],null,["# \\google\\appengine\\runtime\\VmApiProxy\n\nAn ApiProxy implementation that communicates with the VMRuntime Service\nbridge.\n\nConstants\n---------\n\n### OK\n\n#### Inherited from\n\n[\\\\google\\\\appengine\\\\runtime\\\\ApiProxyBase](../classes/google.appengine.runtime.ApiProxyBase.html)\n\n### RPC_FAILED\n\n#### Inherited from\n\n[\\\\google\\\\appengine\\\\runtime\\\\ApiProxyBase](../classes/google.appengine.runtime.ApiProxyBase.html)\n\n### CALL_NOT_FOUND\n\n#### Inherited from\n\n[\\\\google\\\\appengine\\\\runtime\\\\ApiProxyBase](../classes/google.appengine.runtime.ApiProxyBase.html)\n\n### ARGUMENT_ERROR\n\n#### Inherited from\n\n[\\\\google\\\\appengine\\\\runtime\\\\ApiProxyBase](../classes/google.appengine.runtime.ApiProxyBase.html)\n\n### DEADLINE_EXCEEDED\n\n#### Inherited from\n\n[\\\\google\\\\appengine\\\\runtime\\\\ApiProxyBase](../classes/google.appengine.runtime.ApiProxyBase.html)\n\n### CANCELLED\n\n#### Inherited from\n\n[\\\\google\\\\appengine\\\\runtime\\\\ApiProxyBase](../classes/google.appengine.runtime.ApiProxyBase.html)\n\n### APPLICATION_ERROR\n\n#### Inherited from\n\n[\\\\google\\\\appengine\\\\runtime\\\\ApiProxyBase](../classes/google.appengine.runtime.ApiProxyBase.html)\n\n### OTHER_ERROR\n\n#### Inherited from\n\n[\\\\google\\\\appengine\\\\runtime\\\\ApiProxyBase](../classes/google.appengine.runtime.ApiProxyBase.html)\n\n### OVER_QUOTA\n\n#### Inherited from\n\n[\\\\google\\\\appengine\\\\runtime\\\\ApiProxyBase](../classes/google.appengine.runtime.ApiProxyBase.html)\n\n### REQUEST_TOO_LARGE\n\n#### Inherited from\n\n[\\\\google\\\\appengine\\\\runtime\\\\ApiProxyBase](../classes/google.appengine.runtime.ApiProxyBase.html)\n\n### CAPABILITY_DISABLED\n\n#### Inherited from\n\n[\\\\google\\\\appengine\\\\runtime\\\\ApiProxyBase](../classes/google.appengine.runtime.ApiProxyBase.html)\n\n### FEATURE_DISABLED\n\n#### Inherited from\n\n[\\\\google\\\\appengine\\\\runtime\\\\ApiProxyBase](../classes/google.appengine.runtime.ApiProxyBase.html)\n\n### RESPONSE_TOO_LARGE\n\n#### Inherited from\n\n[\\\\google\\\\appengine\\\\runtime\\\\ApiProxyBase](../classes/google.appengine.runtime.ApiProxyBase.html)\n\n### TICKET_HEADER\n\n### DEV_TICKET_HEADER\n\n### DAPPER_ENV_KEY\n\n### SERVICE_BRIDGE_HOST\n\n### API_PORT\n\n### SERVICE_ENDPOINT_NAME\n\n### APIHOST_METHOD\n\n### PROXY_PATH\n\n### DAPPER_HEADER\n\n### SERVICE_DEADLINE_HEADER\n\n### SERVICE_ENDPOINT_HEADER\n\n### SERVICE_METHOD_HEADER\n\n### RPC_CONTENT_TYPE\n\n### DEFAULT_TIMEOUT_SEC\n\n### DEADLINE_DELTA_SECONDS\n\nMethods\n-------\n\n### makeSyncCall\n\n`makeSyncCall(string `$package`, string `$call_name`, string `$request`, string `$response`, double `$deadline = null`) `\n\nMakes a synchronous RPC call.\n\n#### Parameters\n\n### __construct\n\n`__construct( `$default_ticket = null`) `\n\nConsruct a VmAPiProxy object.\n\n#### Parameters"]]