> For the complete documentation index, see [llms.txt](https://smallso.gitbook.io/tencent-cloud-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smallso.gitbook.io/tencent-cloud-sdk/python-docs/serverless-functions/data-types/layer-info.md).

# LayerInfo 类型

## 简要

包含层信息或层的版本信息的字典类型。

```python
{
    'name': 'default',
    'description': 'default layer',
    'version': 1,
    'runtimes': [
        'Python3.6'
    ],
    'license': 'default license',
    'create_time': '2020-01-20 19:46:14',
    'content': {
        'url': '...',
        'hash': '...'
    },
    'status': 'Active'
}
```

## 成员

该数据类型包含的成员和成员描述如下：

| 成员           | 类型         | 必选 | 描述                                                      |
| ------------ | ---------- | -- | ------------------------------------------------------- |
| name         | str        | 是  | 层唯一名称。                                                  |
| description  | str        | 是  | 层描述正文。                                                  |
| version      | int        | 是  | 层版本编号。                                                  |
| runtimes     | list\<str> | 是  | <p>包含层兼容的运行时名称的列表实例。<br>与之关联的是 FunctionRuntime 枚举器。</p> |
| license      | str        | 是  | 层许可正文。                                                  |
| create\_time | str        | 是  | 层创建时间字符串。                                               |
| content      | dict       | 否  | 包含层数据相关信息的字典实例。                                         |
| content.url  | str        | 是  | 层数据 ZIP 档案下载 URL。                                       |
| content.hash | str        | 是  | 层数据 ZIP 档案 SHA256 校验字符串。                                |
| status       | str        | 是  | <p>层状态。<br>与之关联的是 LayerStatus 枚举器。</p>                  |

## 适用于

#### Tencent Cloud SDK for Python

产品软件包：tencent-cloud-sdk-serverless-functions >= 0.1.2
