The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
getName
The name of the operation resource to wait on.
Returns
Type
Description
string
setName
The name of the operation resource to wait on.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getTimeout
The maximum duration to wait before timing out. If left blank, the wait
will be at most the time permitted by the underlying HTTP/RPC protocol.
If RPC context deadline is also specified, the shorter one will be used.
[[["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-09-04 UTC."],[],[],null,["# Google LongRunning Client - Class WaitOperationRequest (0.4.7)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.7 (latest)](/php/docs/reference/longrunning/latest/LongRunning.WaitOperationRequest)\n- [0.4.6](/php/docs/reference/longrunning/0.4.6/LongRunning.WaitOperationRequest)\n- [0.3.0](/php/docs/reference/longrunning/0.3.0/LongRunning.WaitOperationRequest)\n- [0.2.6](/php/docs/reference/longrunning/0.2.6/LongRunning.WaitOperationRequest) \nReference documentation and code samples for the Google LongRunning Client class WaitOperationRequest.\n\nThe request message for\nOperations.WaitOperation.\n\nGenerated from protobuf message `google.longrunning.WaitOperationRequest`\n\nNamespace\n---------\n\nGoogle \\\\ LongRunning\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nThe name of the operation resource to wait on.\n\n### setName\n\nThe name of the operation resource to wait on.\n\n### getTimeout\n\nThe maximum duration to wait before timing out. If left blank, the wait\nwill be at most the time permitted by the underlying HTTP/RPC protocol.\n\nIf RPC context deadline is also specified, the shorter one will be used.\n\n### hasTimeout\n\n### clearTimeout\n\n### setTimeout\n\nThe maximum duration to wait before timing out. If left blank, the wait\nwill be at most the time permitted by the underlying HTTP/RPC protocol.\n\nIf RPC context deadline is also specified, the shorter one will be used."]]