CustomerLabel

表示客户与标签之间的关系。此客户可能无权访问其所关联的所有标签。通过使用 login-customer-id 提高权限,可能会返回其他 CustomerLabel。

JSON 表示法
{
  "resourceName": string,
  "customer": string,
  "label": string
}
字段
resourceName

string

不可变。资源的名称。客户标签资源名称采用以下格式:customers/{customerId}/customerLabels/{label_id}

customer

string

仅供输出。标签所附加到的客户的资源名称。只读。

label

string

仅供输出。分配给客户的标签的资源名称。

注意:创建新客户标签时,系统不会验证标签资源名称的客户 ID 部分。