Class: Google::Cloud::Talent::V4beta1::BatchOperationMetadata
- Inherits:
-
Object
- Object
- Google::Cloud::Talent::V4beta1::BatchOperationMetadata
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/talent/v4beta1/common.rb
Overview
Metadata used for long running operations returned by CTS batch APIs. It's used to replace google.longrunning.Operation.metadata.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
The time when the batch operation is created.
-
#end_time ⇒ ::Google::Protobuf::Timestamp
The time when the batch operation is finished and google.longrunning.Operation.done is set to
true
. -
#failure_count ⇒ ::Integer
Count of failed item(s) inside an operation.
-
#state ⇒ ::Google::Cloud::Talent::V4beta1::BatchOperationMetadata::State
The state of a long running operation.
-
#state_description ⇒ ::String
More detailed information about operation state.
-
#success_count ⇒ ::Integer
Count of successful item(s) inside an operation.
-
#total_count ⇒ ::Integer
Count of total item(s) inside an operation.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
The time when the batch operation status is updated.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp
Returns The time when the batch operation is created.
528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 |
# File 'proto_docs/google/cloud/talent/v4beta1/common.rb', line 528 class BatchOperationMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module State # Default value. STATE_UNSPECIFIED = 0 # The batch operation is being prepared for processing. INITIALIZING = 1 # The batch operation is actively being processed. PROCESSING = 2 # The batch operation is processed, and at least one item has been # successfully processed. SUCCEEDED = 3 # The batch operation is done and no item has been successfully processed. FAILED = 4 # The batch operation is in the process of cancelling after # google.longrunning.Operations.CancelOperation # is called. CANCELLING = 5 # The batch operation is done after # google.longrunning.Operations.CancelOperation # is called. Any items processed before cancelling are returned in the # response. CANCELLED = 6 end end |
#end_time ⇒ ::Google::Protobuf::Timestamp
Returns The time when the batch operation is finished and
google.longrunning.Operation.done is
set to true
.
528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 |
# File 'proto_docs/google/cloud/talent/v4beta1/common.rb', line 528 class BatchOperationMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module State # Default value. STATE_UNSPECIFIED = 0 # The batch operation is being prepared for processing. INITIALIZING = 1 # The batch operation is actively being processed. PROCESSING = 2 # The batch operation is processed, and at least one item has been # successfully processed. SUCCEEDED = 3 # The batch operation is done and no item has been successfully processed. FAILED = 4 # The batch operation is in the process of cancelling after # google.longrunning.Operations.CancelOperation # is called. CANCELLING = 5 # The batch operation is done after # google.longrunning.Operations.CancelOperation # is called. Any items processed before cancelling are returned in the # response. CANCELLED = 6 end end |
#failure_count ⇒ ::Integer
Returns Count of failed item(s) inside an operation.
528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 |
# File 'proto_docs/google/cloud/talent/v4beta1/common.rb', line 528 class BatchOperationMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module State # Default value. STATE_UNSPECIFIED = 0 # The batch operation is being prepared for processing. INITIALIZING = 1 # The batch operation is actively being processed. PROCESSING = 2 # The batch operation is processed, and at least one item has been # successfully processed. SUCCEEDED = 3 # The batch operation is done and no item has been successfully processed. FAILED = 4 # The batch operation is in the process of cancelling after # google.longrunning.Operations.CancelOperation # is called. CANCELLING = 5 # The batch operation is done after # google.longrunning.Operations.CancelOperation # is called. Any items processed before cancelling are returned in the # response. CANCELLED = 6 end end |
#state ⇒ ::Google::Cloud::Talent::V4beta1::BatchOperationMetadata::State
Returns The state of a long running operation.
528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 |
# File 'proto_docs/google/cloud/talent/v4beta1/common.rb', line 528 class BatchOperationMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module State # Default value. STATE_UNSPECIFIED = 0 # The batch operation is being prepared for processing. INITIALIZING = 1 # The batch operation is actively being processed. PROCESSING = 2 # The batch operation is processed, and at least one item has been # successfully processed. SUCCEEDED = 3 # The batch operation is done and no item has been successfully processed. FAILED = 4 # The batch operation is in the process of cancelling after # google.longrunning.Operations.CancelOperation # is called. CANCELLING = 5 # The batch operation is done after # google.longrunning.Operations.CancelOperation # is called. Any items processed before cancelling are returned in the # response. CANCELLED = 6 end end |
#state_description ⇒ ::String
Returns More detailed information about operation state.
528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 |
# File 'proto_docs/google/cloud/talent/v4beta1/common.rb', line 528 class BatchOperationMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module State # Default value. STATE_UNSPECIFIED = 0 # The batch operation is being prepared for processing. INITIALIZING = 1 # The batch operation is actively being processed. PROCESSING = 2 # The batch operation is processed, and at least one item has been # successfully processed. SUCCEEDED = 3 # The batch operation is done and no item has been successfully processed. FAILED = 4 # The batch operation is in the process of cancelling after # google.longrunning.Operations.CancelOperation # is called. CANCELLING = 5 # The batch operation is done after # google.longrunning.Operations.CancelOperation # is called. Any items processed before cancelling are returned in the # response. CANCELLED = 6 end end |
#success_count ⇒ ::Integer
Returns Count of successful item(s) inside an operation.
528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 |
# File 'proto_docs/google/cloud/talent/v4beta1/common.rb', line 528 class BatchOperationMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module State # Default value. STATE_UNSPECIFIED = 0 # The batch operation is being prepared for processing. INITIALIZING = 1 # The batch operation is actively being processed. PROCESSING = 2 # The batch operation is processed, and at least one item has been # successfully processed. SUCCEEDED = 3 # The batch operation is done and no item has been successfully processed. FAILED = 4 # The batch operation is in the process of cancelling after # google.longrunning.Operations.CancelOperation # is called. CANCELLING = 5 # The batch operation is done after # google.longrunning.Operations.CancelOperation # is called. Any items processed before cancelling are returned in the # response. CANCELLED = 6 end end |
#total_count ⇒ ::Integer
Returns Count of total item(s) inside an operation.
528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 |
# File 'proto_docs/google/cloud/talent/v4beta1/common.rb', line 528 class BatchOperationMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module State # Default value. STATE_UNSPECIFIED = 0 # The batch operation is being prepared for processing. INITIALIZING = 1 # The batch operation is actively being processed. PROCESSING = 2 # The batch operation is processed, and at least one item has been # successfully processed. SUCCEEDED = 3 # The batch operation is done and no item has been successfully processed. FAILED = 4 # The batch operation is in the process of cancelling after # google.longrunning.Operations.CancelOperation # is called. CANCELLING = 5 # The batch operation is done after # google.longrunning.Operations.CancelOperation # is called. Any items processed before cancelling are returned in the # response. CANCELLED = 6 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp
Returns The time when the batch operation status is updated. The metadata and the update_time is refreshed every minute otherwise cached data is returned.
528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 |
# File 'proto_docs/google/cloud/talent/v4beta1/common.rb', line 528 class BatchOperationMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module State # Default value. STATE_UNSPECIFIED = 0 # The batch operation is being prepared for processing. INITIALIZING = 1 # The batch operation is actively being processed. PROCESSING = 2 # The batch operation is processed, and at least one item has been # successfully processed. SUCCEEDED = 3 # The batch operation is done and no item has been successfully processed. FAILED = 4 # The batch operation is in the process of cancelling after # google.longrunning.Operations.CancelOperation # is called. CANCELLING = 5 # The batch operation is done after # google.longrunning.Operations.CancelOperation # is called. Any items processed before cancelling are returned in the # response. CANCELLED = 6 end end |