Class: Google::Cloud::Talent::V4beta1::BatchOperationMetadata
- Inherits:
-
Object
- Object
- Google::Cloud::Talent::V4beta1::BatchOperationMetadata
- Defined in:
- lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb
Overview
Metadata used for long running operations returned by CTS batch APIs. It's used to replace 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 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.
564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb', line 564 class BatchOperationMetadata 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
Longrunning::Operation#done is
set to true.
564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb', line 564 class BatchOperationMetadata 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.
564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb', line 564 class BatchOperationMetadata 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.
564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb', line 564 class BatchOperationMetadata 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.
564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb', line 564 class BatchOperationMetadata 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.
564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb', line 564 class BatchOperationMetadata 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.
564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb', line 564 class BatchOperationMetadata 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.
564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb', line 564 class BatchOperationMetadata 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 |