UploadFileAction is a datatype for an uploaded file snapshot.

Table: UploadFileAction

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Apr 2, 2025
allowedActions[AssetAction]yes PreviewA list of allowed asset actions. See AssetAction. This is a preview and subject to change.
displayNamestringyes Long-TermThe display name of the action.
filenamestringyes Long-TermThe name of the uploaded file.
idstringyes Long-TermThe unique identifier of the action.
isAllowedToRunbooleanyes Long-TermFalse if disabled because of a security policy.
namestringyes Long-TermThe name of the action.
packagePackageInstallation  Long-TermThe package, if any, of which the action is part. See PackageInstallation.
packageIdVersionedPackageSpecifier  Long-TermThe unique identifier of the package. VersionedPackageSpecifier is a scalar.
requiresOrganizationOwnedQueriesPermissionToEditbooleanyes Long-TermTrue if this action is used by triggers, where the query is run by the organization. If true, the OrganizationOwnedQueries permission is required to edit.
resourcestringyes Short-TermThe resource identifier for this action.
yamlTemplateyamlyes Long-TermA template that can be used to recreate the action.