IRPCBackgroundOperationsAdmin.StartBackgroundOperation

View as Markdown

Administration API / specialized admin session idempotent

Starts a background operation now, such as a full refresh of an external object type from its external database.

ServiceBackground operations MFiles.IRPCBackgroundOperationsAdmin
gRPC method/MFiles.IRPCBackgroundOperationsAdmin/StartBackgroundOperation
HTTP (mf-http-grpc)POST /grpc/v1/start-background-operation
RequestStartBackgroundOperationRequest
ResponseStartBackgroundOperationResponse
Book and levelAdministration API, specialized
Kindadmin
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentyes
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Request: StartBackgroundOperationRequest

A structure that specifies the request type for the corresponding method.

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
background_operation_idBackgroundOperationIDThe operation to start.
background_operation_id.typeBackgroundOperationTypeOperation type.Values: BACKGROUND_OPERATION_TYPE_UNKNOWN (0), BACKGROUND_OPERATION_TYPE_INDEX_METADATA (1), BACKGROUND_OPERATION_TYPE_REFRESH_EXTERNAL_OBJECT_TYPE (2), BACKGROUND_OPERATION_TYPE_REFRESH_EXTERNAL_LOCATION (3), BACKGROUND_OPERATION_TYPE_PERFORM_OCR_TASK (4), BACKGROUND_OPERATION_TYPE_RUN_PERFORMANCE_MEASUREMENTS (5), BACKGROUND_OPERATION_TYPE_CLEAN_UP_ACL_DEPENDENCY_SETS (6).
background_operation_id.idint32Specifies an ID for the operation (e.g. object type ID).
restart_if_already_runningboolTrue to signal a new start even if the operation is already running; false to leave a running operation alone.
wait_until_startedboolTrue to return only after the operation has actually started. Has no effect if restart_if_already_running is false and the operation is already running.

Response: StartBackgroundOperationResponse

No fields.