Reference documentation and code samples for the GKE Hub V1beta1 API class Google::Cloud::GkeHub::V1beta1::OperationMetadata.
Represents the metadata of the long-running operation.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#api_version
defapi_version()->::String
Returns
(::String) — Output only. API version used to start the operation.
#cancel_requested
defcancel_requested()->::Boolean
Returns
(::Boolean) — Output only. Identifies whether the user has requested cancellation
of the operation. Operations that have successfully been cancelled
have [Operation.error][] value with a
google.rpc.Status.code of 1, corresponding to
Code.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-08-28 UTC."],[],[],null,["# GKE Hub V1beta1 API - Class Google::Cloud::GkeHub::V1beta1::OperationMetadata (v0.15.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.15.0 (latest)](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-OperationMetadata)\n- [0.14.1](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.14.1/Google-Cloud-GkeHub-V1beta1-OperationMetadata)\n- [0.13.0](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.13.0/Google-Cloud-GkeHub-V1beta1-OperationMetadata)\n- [0.12.0](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.12.0/Google-Cloud-GkeHub-V1beta1-OperationMetadata)\n- [0.11.1](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.11.1/Google-Cloud-GkeHub-V1beta1-OperationMetadata)\n- [0.10.2](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.10.2/Google-Cloud-GkeHub-V1beta1-OperationMetadata)\n- [0.9.0](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.9.0/Google-Cloud-GkeHub-V1beta1-OperationMetadata)\n- [0.8.0](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.8.0/Google-Cloud-GkeHub-V1beta1-OperationMetadata)\n- [0.7.0](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.7.0/Google-Cloud-GkeHub-V1beta1-OperationMetadata)\n- [0.6.0](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.6.0/Google-Cloud-GkeHub-V1beta1-OperationMetadata)\n- [0.5.0](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.5.0/Google-Cloud-GkeHub-V1beta1-OperationMetadata)\n- [0.4.0](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.4.0/Google-Cloud-GkeHub-V1beta1-OperationMetadata)\n- [0.3.0](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.3.0/Google-Cloud-GkeHub-V1beta1-OperationMetadata)\n- [0.2.2](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/0.2.2/Google-Cloud-GkeHub-V1beta1-OperationMetadata) \nReference documentation and code samples for the GKE Hub V1beta1 API class Google::Cloud::GkeHub::V1beta1::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### #cancel_requested\n\n def cancel_requested() -\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 \\[Operation.error\\]\\[\\] value with a [google.rpc.Status.code](/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Rpc-Status#Google__Rpc__Status_code_instance_ \"Google::Rpc::Status#code (method)\") of 1, corresponding to `Code.CANCELLED`.\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. The time the operation was created.\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. The time the operation finished running.\n\n### #status_detail\n\n def status_detail() -\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."]]