Skip to content

UpdateAssetRequest

Source code in docs_src/capo_devops_agent/types/update_asset_request.py
class UpdateAssetRequest(TypedDict, closed=True):
    agent_space_id: (
        "capo_devops_agent.types.agent_space_identifier.AgentSpaceIdentifier"
    )
    """<p>The unique identifier for the agent space containing the asset</p>"""
    asset_id: "capo_devops_agent.types.resource_id.ResourceId"
    """<p>The unique identifier of the asset to update</p>"""
    metadata: NotRequired["object"]
    """<p>Metadata fields to update. Only the fields present in this document are updated. Omitted fields retain their current values.</p>"""
    content: NotRequired["capo_devops_agent.types.asset_content.AssetContent"]
    """<p>Optional content update. A single file adds or replaces one file; a zip replaces all files; a sourceUrl re-syncs from the original source.</p>"""
    client_token: NotRequired["str"]
    """<p>A unique, case-sensitive identifier used for idempotent asset update</p>"""

agent_space_id instance-attribute

agent_space_id: AgentSpaceIdentifier

The unique identifier for the agent space containing the asset

asset_id instance-attribute

asset_id: ResourceId

The unique identifier of the asset to update

client_token instance-attribute

client_token: NotRequired[str]

A unique, case-sensitive identifier used for idempotent asset update

content instance-attribute

content: NotRequired[AssetContent]

Optional content update. A single file adds or replaces one file; a zip replaces all files; a sourceUrl re-syncs from the original source.

metadata instance-attribute

metadata: NotRequired[object]

Metadata fields to update. Only the fields present in this document are updated. Omitted fields retain their current values.