Note: The following fields are mutually exclusive: batch_create_instances_metadata, promote_cluster_status, upgrade_cluster_status. 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: promote_cluster_status, batch_create_instances_metadata, upgrade_cluster_status. 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.
Note: The following fields are mutually exclusive: upgrade_cluster_status, batch_create_instances_metadata, promote_cluster_status. If a field in that set is populated, all other fields in the set will automatically be cleared.
#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-04 UTC."],[],[],null,["# AlloyDB V1ALPHA API - Class Google::Cloud::AlloyDB::V1alpha::OperationMetadata (v0.14.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.14.1 (latest)](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-OperationMetadata)\n- [0.14.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.14.0/Google-Cloud-AlloyDB-V1alpha-OperationMetadata)\n- [0.13.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.13.0/Google-Cloud-AlloyDB-V1alpha-OperationMetadata)\n- [0.12.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.12.0/Google-Cloud-AlloyDB-V1alpha-OperationMetadata)\n- [0.11.1](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.11.1/Google-Cloud-AlloyDB-V1alpha-OperationMetadata)\n- [0.10.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.10.0/Google-Cloud-AlloyDB-V1alpha-OperationMetadata)\n- [0.9.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.9.0/Google-Cloud-AlloyDB-V1alpha-OperationMetadata)\n- [0.8.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.8.0/Google-Cloud-AlloyDB-V1alpha-OperationMetadata)\n- [0.7.2](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.7.2/Google-Cloud-AlloyDB-V1alpha-OperationMetadata)\n- [0.6.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.6.0/Google-Cloud-AlloyDB-V1alpha-OperationMetadata)\n- [0.5.2](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.5.2/Google-Cloud-AlloyDB-V1alpha-OperationMetadata)\n- [0.4.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.4.0/Google-Cloud-AlloyDB-V1alpha-OperationMetadata)\n- [0.3.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.3.0/Google-Cloud-AlloyDB-V1alpha-OperationMetadata)\n- [0.2.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.2.0/Google-Cloud-AlloyDB-V1alpha-OperationMetadata)\n- [0.1.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.1.0/Google-Cloud-AlloyDB-V1alpha-OperationMetadata) \nReference documentation and code samples for the AlloyDB V1ALPHA API class Google::Cloud::AlloyDB::V1alpha::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### #batch_create_instances_metadata\n\n def batch_create_instances_metadata() -\u003e ::Google::Cloud::AlloyDB::V1alpha::BatchCreateInstancesMetadata\n\n**Returns**\n\n- ([::Google::Cloud::AlloyDB::V1alpha::BatchCreateInstancesMetadata](./Google-Cloud-AlloyDB-V1alpha-BatchCreateInstancesMetadata)) --- Output only. BatchCreateInstances related metadata.\n\n\n Note: The following fields are mutually exclusive: `batch_create_instances_metadata`, `promote_cluster_status`, `upgrade_cluster_status`. If a field in that set is populated, all other fields in the set will automatically be cleared.\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### #promote_cluster_status\n\n def promote_cluster_status() -\u003e ::Google::Cloud::AlloyDB::V1alpha::PromoteClusterStatus\n\n**Returns**\n\n- ([::Google::Cloud::AlloyDB::V1alpha::PromoteClusterStatus](./Google-Cloud-AlloyDB-V1alpha-PromoteClusterStatus)) --- Output only. PromoteClusterStatus related metadata.\n\n\n Note: The following fields are mutually exclusive: `promote_cluster_status`, `batch_create_instances_metadata`, `upgrade_cluster_status`. 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-alloy_db-v1alpha/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-alloy_db-v1alpha/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### #upgrade_cluster_status\n\n def upgrade_cluster_status() -\u003e ::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus\n\n**Returns**\n\n- ([::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus](./Google-Cloud-AlloyDB-V1alpha-UpgradeClusterStatus)) --- Output only. UpgradeClusterStatus related metadata.\n\n\n Note: The following fields are mutually exclusive: `upgrade_cluster_status`, `batch_create_instances_metadata`, `promote_cluster_status`. If a field in that set is populated, all other fields in the set will automatically be cleared.\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."]]