Server-defined resource path for the target of the operation.
↳ verb
string
Name of the verb executed by the operation.
↳ status_message
string
Human-readable status of the operation, if any.
↳ requested_cancellation
bool
Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled haveOperation.errorvalue with agoogle.rpc.Status.codeof 1, corresponding toCode.CANCELLED.
Server-defined resource path for the target of the operation.
Returns
Type
Description
string
setTarget
Server-defined resource path for the target of the operation.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getVerb
Name of the verb executed by the operation.
Returns
Type
Description
string
setVerb
Name of the verb executed by the operation.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getStatusMessage
Human-readable status of the operation, if any.
Returns
Type
Description
string
setStatusMessage
Human-readable status of the operation, if any.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getRequestedCancellation
Identifies whether the user has requested cancellation
of the operation. Operations that have successfully been cancelled
haveOperation.errorvalue with agoogle.rpc.Status.codeof 1, corresponding toCode.CANCELLED.
Returns
Type
Description
bool
setRequestedCancellation
Identifies whether the user has requested cancellation
of the operation. Operations that have successfully been cancelled
haveOperation.errorvalue with agoogle.rpc.Status.codeof 1, corresponding toCode.CANCELLED.
[[["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 Cloud Notebooks V2 Client - Class OperationMetadata (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-notebooks/latest/V2.OperationMetadata)\n- [1.0.4](/php/docs/reference/cloud-notebooks/1.0.4/V2.OperationMetadata)\n- [0.7.5](/php/docs/reference/cloud-notebooks/0.7.5/V2.OperationMetadata)\n- [0.6.2](/php/docs/reference/cloud-notebooks/0.6.2/V2.OperationMetadata)\n- [0.5.0](/php/docs/reference/cloud-notebooks/0.5.0/V2.OperationMetadata)\n- [0.4.1](/php/docs/reference/cloud-notebooks/0.4.1/V2.OperationMetadata)\n- [0.3.6](/php/docs/reference/cloud-notebooks/0.3.6/V2.OperationMetadata) \nReference documentation and code samples for the Google Cloud Notebooks V2 Client class OperationMetadata.\n\nRepresents the metadata of the long-running operation.\n\nGenerated from protobuf message `google.cloud.notebooks.v2.OperationMetadata`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Notebooks \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getCreateTime\n\nThe time the operation was created.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nThe time the operation was created.\n\n### getEndTime\n\nThe time the operation finished running.\n\n### hasEndTime\n\n### clearEndTime\n\n### setEndTime\n\nThe time the operation finished running.\n\n### getTarget\n\nServer-defined resource path for the target of the operation.\n\n### setTarget\n\nServer-defined resource path for the target of the operation.\n\n### getVerb\n\nName of the verb executed by the operation.\n\n### setVerb\n\nName of the verb executed by the operation.\n\n### getStatusMessage\n\nHuman-readable status of the operation, if any.\n\n### setStatusMessage\n\nHuman-readable status of the operation, if any.\n\n### getRequestedCancellation\n\nIdentifies whether the user has requested cancellation\nof the operation. Operations that have successfully been cancelled\nhave Operation.error value with a\n[google.rpc.Status.code](https://cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html#_Google_Rpc_Status__getCode__) of 1, corresponding to\n`Code.CANCELLED`.\n\n### setRequestedCancellation\n\nIdentifies whether the user has requested cancellation\nof the operation. Operations that have successfully been cancelled\nhave Operation.error value with a\n[google.rpc.Status.code](https://cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html#_Google_Rpc_Status__getCode__) of 1, corresponding to\n`Code.CANCELLED`.\n\n### getApiVersion\n\nAPI version used to start the operation.\n\n### setApiVersion\n\nAPI version used to start the operation.\n\n### getEndpoint\n\nAPI endpoint name of this operation.\n\n### setEndpoint\n\nAPI endpoint name of this operation."]]