Class IngestionDirectContentsSourceEvent (1.150.0)

IngestionDirectContentsSourceEvent(
    *,
    content: typing.Optional[google.genai.types.Content] = None,
    eventId: typing.Optional[str] = None,
    eventTime: typing.Optional[datetime.datetime] = None
)

The direct contents source event for ingesting events.

Methods

IngestionDirectContentsSourceEvent

IngestionDirectContentsSourceEvent(
    *,
    content: typing.Optional[google.genai.types.Content] = None,
    eventId: typing.Optional[str] = None,
    eventTime: typing.Optional[datetime.datetime] = None
)

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.