Note: The following fields are mutually exclusive: deployment_metadata, preview_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: preview_metadata, deployment_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.
#requested_cancellation
defrequested_cancellation()->::Boolean
Returns
(::Boolean) — Output only. Identifies whether the user has requested cancellation of the
operation. Operations that have successfully been cancelled have
google.longrunning.Operation.error
value with a google.rpc.Status.code of 1,
corresponding to Code.CANCELLED.
#status_message
defstatus_message()->::String
Returns
(::String) — Output only. Human-readable status of the operation, if any.
#target
deftarget()->::String
Returns
(::String) — Output only. Server-defined resource path for the target of the operation.
#verb
defverb()->::String
Returns
(::String) — Output only. Name of the verb executed by the operation.
[[["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-09 UTC."],[],[],null,["# Infrastructure Manager V1 API - Class Google::Cloud::ConfigService::V1::OperationMetadata (v2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/ruby/docs/reference/google-cloud-config_service-v1/latest/Google-Cloud-ConfigService-V1-OperationMetadata)\n- [2.1.0](/ruby/docs/reference/google-cloud-config_service-v1/2.1.0/Google-Cloud-ConfigService-V1-OperationMetadata)\n- [2.0.1](/ruby/docs/reference/google-cloud-config_service-v1/2.0.1/Google-Cloud-ConfigService-V1-OperationMetadata)\n- [1.3.0](/ruby/docs/reference/google-cloud-config_service-v1/1.3.0/Google-Cloud-ConfigService-V1-OperationMetadata)\n- [1.2.1](/ruby/docs/reference/google-cloud-config_service-v1/1.2.1/Google-Cloud-ConfigService-V1-OperationMetadata)\n- [1.1.0](/ruby/docs/reference/google-cloud-config_service-v1/1.1.0/Google-Cloud-ConfigService-V1-OperationMetadata)\n- [1.0.2](/ruby/docs/reference/google-cloud-config_service-v1/1.0.2/Google-Cloud-ConfigService-V1-OperationMetadata)\n- [0.6.0](/ruby/docs/reference/google-cloud-config_service-v1/0.6.0/Google-Cloud-ConfigService-V1-OperationMetadata)\n- [0.5.0](/ruby/docs/reference/google-cloud-config_service-v1/0.5.0/Google-Cloud-ConfigService-V1-OperationMetadata)\n- [0.4.0](/ruby/docs/reference/google-cloud-config_service-v1/0.4.0/Google-Cloud-ConfigService-V1-OperationMetadata)\n- [0.3.1](/ruby/docs/reference/google-cloud-config_service-v1/0.3.1/Google-Cloud-ConfigService-V1-OperationMetadata)\n- [0.2.1](/ruby/docs/reference/google-cloud-config_service-v1/0.2.1/Google-Cloud-ConfigService-V1-OperationMetadata)\n- [0.1.0](/ruby/docs/reference/google-cloud-config_service-v1/0.1.0/Google-Cloud-ConfigService-V1-OperationMetadata) \nReference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::ConfigService::V1::OperationMetadata.\n\nRepresents the metadata of the long-running operation. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #api_version\n\n def api_version() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. API version used to start the operation.\n\n### #create_time\n\n def create_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. Time when the operation was created.\n\n### #deployment_metadata\n\n def deployment_metadata() -\u003e ::Google::Cloud::ConfigService::V1::DeploymentOperationMetadata\n\n**Returns**\n\n- ([::Google::Cloud::ConfigService::V1::DeploymentOperationMetadata](./Google-Cloud-ConfigService-V1-DeploymentOperationMetadata)) --- Output only. Metadata about the deployment operation state.\n\n\n Note: The following fields are mutually exclusive: `deployment_metadata`, `preview_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #end_time\n\n def end_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. Time when the operation finished running.\n\n### #preview_metadata\n\n def preview_metadata() -\u003e ::Google::Cloud::ConfigService::V1::PreviewOperationMetadata\n\n**Returns**\n\n- ([::Google::Cloud::ConfigService::V1::PreviewOperationMetadata](./Google-Cloud-ConfigService-V1-PreviewOperationMetadata)) --- Output only. Metadata about the preview operation state.\n\n\n Note: The following fields are mutually exclusive: `preview_metadata`, `deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #requested_cancellation\n\n def requested_cancellation() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [google.longrunning.Operation.error](/ruby/docs/reference/google-cloud-config_service-v1/latest/Google-Longrunning-Operation#Google__Longrunning__Operation_error_instance_ \"Google::Longrunning::Operation#error (method)\") value with a [google.rpc.Status.code](/ruby/docs/reference/google-cloud-config_service-v1/latest/Google-Rpc-Status#Google__Rpc__Status_code_instance_ \"Google::Rpc::Status#code (method)\") of `1`, corresponding to `Code.CANCELLED`.\n\n### #status_message\n\n def status_message() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. Human-readable status of the operation, if any.\n\n### #target\n\n def target() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. Server-defined resource path for the target of the operation.\n\n### #verb\n\n def verb() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. Name of the verb executed by the operation."]]