<!--
{
  "availability" : [
    "iOS: 27.2.0 -",
    "iPadOS: 27.2.0 -",
    "macCatalyst: 27.2.0 -",
    "macOS: 27.2.0 -",
    "visionOS: 27.2.0 -",
    "watchOS: 27.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FoundationModels",
  "identifier" : "/documentation/FoundationModels/LanguageModelExecutorGenerationChannel/DataEntry/Action-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation Models",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:16FoundationModels38LanguageModelExecutorGenerationChannelV9DataEntryV6ActionV"
  },
  "title" : "LanguageModelExecutorGenerationChannel.DataEntry.Action"
}
-->

# LanguageModelExecutorGenerationChannel.DataEntry.Action

An operation that can be performed on a data entry.

```
struct Action
```

## Overview

`Action` is an enum-like struct; construct one with a leading-dot factory
such as [`update(contentType:content:metadata:)`](/documentation/FoundationModels/LanguageModelExecutorGenerationChannel/DataEntry/Action-swift.struct/update(contentType:content:metadata:)).

## Topics

### Type Methods

[`static func update(contentType: UTType, content: Data, metadata: GeneratedContent) -> LanguageModelExecutorGenerationChannel.DataEntry.Action`](/documentation/FoundationModels/LanguageModelExecutorGenerationChannel/DataEntry/Action-swift.struct/update(contentType:content:metadata:))

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)