Class: Google::Cloud::Vision::V1::OperationMetadata

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb

Overview

Contains metadata for the BatchAnnotateImages operation.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#create_timeGoogle::Protobuf::Timestamp

Returns The time when the batch request was received.

Returns:

  • (Google::Protobuf::Timestamp)

    The time when the batch request was received.



682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 682

class OperationMetadata
  # Batch operation states.
  module State
    # Invalid.
    STATE_UNSPECIFIED = 0

    # Request is received.
    CREATED = 1

    # Request is actively being processed.
    RUNNING = 2

    # The batch processing is done.
    DONE = 3

    # The batch processing was cancelled.
    CANCELLED = 4
  end
end

#stateGoogle::Cloud::Vision::V1::OperationMetadata::State

Returns Current state of the batch operation.

Returns:



682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 682

class OperationMetadata
  # Batch operation states.
  module State
    # Invalid.
    STATE_UNSPECIFIED = 0

    # Request is received.
    CREATED = 1

    # Request is actively being processed.
    RUNNING = 2

    # The batch processing is done.
    DONE = 3

    # The batch processing was cancelled.
    CANCELLED = 4
  end
end

#update_timeGoogle::Protobuf::Timestamp

Returns The time when the operation result was last updated.

Returns:

  • (Google::Protobuf::Timestamp)

    The time when the operation result was last updated.



682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 682

class OperationMetadata
  # Batch operation states.
  module State
    # Invalid.
    STATE_UNSPECIFIED = 0

    # Request is received.
    CREATED = 1

    # Request is actively being processed.
    RUNNING = 2

    # The batch processing is done.
    DONE = 3

    # The batch processing was cancelled.
    CANCELLED = 4
  end
end