Skip to content

GetAssetFileRequest

Source code in docs_src/capo_devops_agent/types/get_asset_file_request.py
class GetAssetFileRequest(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 containing the file</p>"""
    path: "capo_devops_agent.types.asset_file_path.AssetFilePath"
    """<p>The path of the file within the asset to retrieve</p>"""
    asset_version: NotRequired["int"]
    """<p>The specific asset version to retrieve the file from. If omitted, the latest version is returned.</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 containing the file

asset_version instance-attribute

asset_version: NotRequired[int]

The specific asset version to retrieve the file from. If omitted, the latest version is returned.

path instance-attribute

The path of the file within the asset to retrieve