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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/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_time::Google::Protobuf::Timestamp

Returns The time when the batch request was received.

Returns:



1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
# File 'proto_docs/google/cloud/vision/v1/image_annotator.rb', line 1079

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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

#state::Google::Cloud::Vision::V1::OperationMetadata::State

Returns Current state of the batch operation.

Returns:



1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
# File 'proto_docs/google/cloud/vision/v1/image_annotator.rb', line 1079

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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_time::Google::Protobuf::Timestamp

Returns The time when the operation result was last updated.

Returns:



1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
# File 'proto_docs/google/cloud/vision/v1/image_annotator.rb', line 1079

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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