Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::OperationCompletedEvent.
Event sent by the client or background worker to resume an assistant session after an asynchronous Long-Running Operation (LRO) completes.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#deduplication_token
def deduplication_token() -> ::String
Returns
- (::String) — Optional deduplication token (e.g. UUID) to prevent duplicate turn execution from concurrent browser tabs.
#deduplication_token=
def deduplication_token=(value) -> ::String
Parameter
- value (::String) — Optional deduplication token (e.g. UUID) to prevent duplicate turn execution from concurrent browser tabs.
Returns
- (::String) — Optional deduplication token (e.g. UUID) to prevent duplicate turn execution from concurrent browser tabs.
#error
def error() -> ::Google::Rpc::Status
Returns
- (::Google::Rpc::Status) — Optional canonical error status if the operation failed.
#error=
def error=(value) -> ::Google::Rpc::Status
Parameter
- value (::Google::Rpc::Status) — Optional canonical error status if the operation failed.
Returns
- (::Google::Rpc::Status) — Optional canonical error status if the operation failed.
#metadata
def metadata() -> ::Google::Protobuf::Struct
Returns
- (::Google::Protobuf::Struct) — Optional structured result metadata (e.g. pass_rate, total_examples, export_uri).
#metadata=
def metadata=(value) -> ::Google::Protobuf::Struct
Parameter
- value (::Google::Protobuf::Struct) — Optional structured result metadata (e.g. pass_rate, total_examples, export_uri).
Returns
- (::Google::Protobuf::Struct) — Optional structured result metadata (e.g. pass_rate, total_examples, export_uri).
#operation_name
def operation_name() -> ::String
Returns
-
(::String) — The operation resource name (e.g.
operations/{op}).
#operation_name=
def operation_name=(value) -> ::String
Parameter
-
value (::String) — The operation resource name (e.g.
operations/{op}).
Returns
-
(::String) — The operation resource name (e.g.
operations/{op}).
#operation_type
def operation_type() -> ::String
Returns
- (::String) — The operation type or tool name (e.g. "run_evaluation", "copy_app", "export_app").
#operation_type=
def operation_type=(value) -> ::String
Parameter
- value (::String) — The operation type or tool name (e.g. "run_evaluation", "copy_app", "export_app").
Returns
- (::String) — The operation type or tool name (e.g. "run_evaluation", "copy_app", "export_app").
#status
def status() -> ::String
Returns
- (::String) — Status of the operation run (e.g. "SUCCEEDED", "FAILED", "CANCELLED").
#status=
def status=(value) -> ::String
Parameter
- value (::String) — Status of the operation run (e.g. "SUCCEEDED", "FAILED", "CANCELLED").
Returns
- (::String) — Status of the operation run (e.g. "SUCCEEDED", "FAILED", "CANCELLED").
#target_resource_name
def target_resource_name() -> ::String
Returns
- (::String) — The primary resource targeted or produced by the operation (e.g. evaluation run ID, app ID, dataset ID).
#target_resource_name=
def target_resource_name=(value) -> ::String
Parameter
- value (::String) — The primary resource targeted or produced by the operation (e.g. evaluation run ID, app ID, dataset ID).
Returns
- (::String) — The primary resource targeted or produced by the operation (e.g. evaluation run ID, app ID, dataset ID).