Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::CommonOperationMetadata.
The common metadata for long running operations.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The creation time of the operation.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The creation time of the operation.
Returns
- (::Google::Protobuf::Timestamp) — The creation time of the operation.
#resource
def resource() -> ::String
Returns
- (::String) — A related resource to this operation.
#resource=
def resource=(value) -> ::String
Parameter
- value (::String) — A related resource to this operation.
Returns
- (::String) — A related resource to this operation.
#state
def state() -> ::Google::Cloud::DocumentAI::V1::CommonOperationMetadata::State
Returns
- (::Google::Cloud::DocumentAI::V1::CommonOperationMetadata::State) — The state of the operation.
#state=
def state=(value) -> ::Google::Cloud::DocumentAI::V1::CommonOperationMetadata::State
Parameter
- value (::Google::Cloud::DocumentAI::V1::CommonOperationMetadata::State) — The state of the operation.
Returns
- (::Google::Cloud::DocumentAI::V1::CommonOperationMetadata::State) — The state of the operation.
#state_message
def state_message() -> ::String
Returns
- (::String) — A message providing more details about the current state of processing.
#state_message=
def state_message=(value) -> ::String
Parameter
- value (::String) — A message providing more details about the current state of processing.
Returns
- (::String) — A message providing more details about the current state of processing.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The last update time of the operation.
#update_time=
def update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The last update time of the operation.
Returns
- (::Google::Protobuf::Timestamp) — The last update time of the operation.