Documentation
¶
Index ¶
- Constants
- type AddResourceTagRequest
- type AddResourceTagResponse
- type AttachResourcesTagRequest
- type AttachResourcesTagResponse
- type Client
- func (c *Client) AddResourceTag(request *AddResourceTagRequest) (response *AddResourceTagResponse, err error)
- func (c *Client) AttachResourcesTag(request *AttachResourcesTagRequest) (response *AttachResourcesTagResponse, err error)
- func (c *Client) CreateTag(request *CreateTagRequest) (response *CreateTagResponse, err error)
- func (c *Client) DeleteResourceTag(request *DeleteResourceTagRequest) (response *DeleteResourceTagResponse, err error)
- func (c *Client) DeleteTag(request *DeleteTagRequest) (response *DeleteTagResponse, err error)
- func (c *Client) DescribeResourceTags(request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)
- func (c *Client) DescribeResourceTagsByResourceIds(request *DescribeResourceTagsByResourceIdsRequest) (response *DescribeResourceTagsByResourceIdsResponse, err error)
- func (c *Client) DescribeResourceTagsByResourceIdsSeq(request *DescribeResourceTagsByResourceIdsSeqRequest) (response *DescribeResourceTagsByResourceIdsSeqResponse, err error)
- func (c *Client) DescribeResourceTagsByTagKeys(request *DescribeResourceTagsByTagKeysRequest) (response *DescribeResourceTagsByTagKeysResponse, err error)
- func (c *Client) DescribeResourcesByTags(request *DescribeResourcesByTagsRequest) (response *DescribeResourcesByTagsResponse, err error)
- func (c *Client) DescribeResourcesByTagsUnion(request *DescribeResourcesByTagsUnionRequest) (response *DescribeResourcesByTagsUnionResponse, err error)
- func (c *Client) DescribeTagKeys(request *DescribeTagKeysRequest) (response *DescribeTagKeysResponse, err error)
- func (c *Client) DescribeTagValues(request *DescribeTagValuesRequest) (response *DescribeTagValuesResponse, err error)
- func (c *Client) DescribeTagValuesSeq(request *DescribeTagValuesSeqRequest) (response *DescribeTagValuesSeqResponse, err error)
- func (c *Client) DescribeTags(request *DescribeTagsRequest) (response *DescribeTagsResponse, err error)
- func (c *Client) DescribeTagsSeq(request *DescribeTagsSeqRequest) (response *DescribeTagsSeqResponse, err error)
- func (c *Client) DetachResourcesTag(request *DetachResourcesTagRequest) (response *DetachResourcesTagResponse, err error)
- func (c *Client) ModifyResourceTags(request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)
- func (c *Client) ModifyResourcesTagValue(request *ModifyResourcesTagValueRequest) (response *ModifyResourcesTagValueResponse, err error)
- func (c *Client) UpdateResourceTagValue(request *UpdateResourceTagValueRequest) (response *UpdateResourceTagValueResponse, err error)
- type CreateTagRequest
- type CreateTagResponse
- type DeleteResourceTagRequest
- type DeleteResourceTagResponse
- type DeleteTagRequest
- type DeleteTagResponse
- type DescribeResourceTagsByResourceIdsRequest
- type DescribeResourceTagsByResourceIdsResponse
- type DescribeResourceTagsByResourceIdsSeqRequest
- type DescribeResourceTagsByResourceIdsSeqResponse
- type DescribeResourceTagsByTagKeysRequest
- type DescribeResourceTagsByTagKeysResponse
- type DescribeResourceTagsRequest
- type DescribeResourceTagsResponse
- type DescribeResourcesByTagsRequest
- type DescribeResourcesByTagsResponse
- type DescribeResourcesByTagsUnionRequest
- type DescribeResourcesByTagsUnionResponse
- type DescribeTagKeysRequest
- type DescribeTagKeysResponse
- type DescribeTagValuesRequest
- type DescribeTagValuesResponse
- type DescribeTagValuesSeqRequest
- type DescribeTagValuesSeqResponse
- type DescribeTagsRequest
- type DescribeTagsResponse
- type DescribeTagsSeqRequest
- type DescribeTagsSeqResponse
- type DetachResourcesTagRequest
- type DetachResourcesTagResponse
- type ModifyResourceTagsRequest
- type ModifyResourceTagsResponse
- type ModifyResourcesTagValueRequest
- type ModifyResourcesTagValueResponse
- type ResourceIdTag
- type ResourceTag
- type Tag
- type TagFilter
- type TagKeyObject
- type TagResource
- type TagWithDelete
- type UpdateResourceTagValueRequest
- type UpdateResourceTagValueResponse
Constants ¶
View Source
const APIVersion = "2018-08-13"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddResourceTagRequest ¶
type AddResourceTagRequest struct { *tchttp.BaseRequest // 标签键 TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // 标签值 TagValue *string `json:"TagValue,omitempty" name:"TagValue"` // [ 资源六段式描述 ](https://cloud.tencent.com/document/product/598/10606) Resource *string `json:"Resource,omitempty" name:"Resource"` }
func NewAddResourceTagRequest ¶
func NewAddResourceTagRequest() (request *AddResourceTagRequest)
func (*AddResourceTagRequest) FromJsonString ¶
func (r *AddResourceTagRequest) FromJsonString(s string) error
func (*AddResourceTagRequest) ToJsonString ¶
func (r *AddResourceTagRequest) ToJsonString() string
type AddResourceTagResponse ¶
type AddResourceTagResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAddResourceTagResponse ¶
func NewAddResourceTagResponse() (response *AddResourceTagResponse)
func (*AddResourceTagResponse) FromJsonString ¶
func (r *AddResourceTagResponse) FromJsonString(s string) error
func (*AddResourceTagResponse) ToJsonString ¶
func (r *AddResourceTagResponse) ToJsonString() string
type AttachResourcesTagRequest ¶
type AttachResourcesTagRequest struct { *tchttp.BaseRequest // 资源所属业务名称 ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` // 资源ID数组,资源个数最多为50 ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds" list` // 标签键 TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // 标签值 TagValue *string `json:"TagValue,omitempty" name:"TagValue"` // 资源所在地域,不区分地域的资源不需要传入该字段 ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // 资源前缀,cos存储桶不需要传入该字段 ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` }
func NewAttachResourcesTagRequest ¶
func NewAttachResourcesTagRequest() (request *AttachResourcesTagRequest)
func (*AttachResourcesTagRequest) FromJsonString ¶
func (r *AttachResourcesTagRequest) FromJsonString(s string) error
func (*AttachResourcesTagRequest) ToJsonString ¶
func (r *AttachResourcesTagRequest) ToJsonString() string
type AttachResourcesTagResponse ¶
type AttachResourcesTagResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAttachResourcesTagResponse ¶
func NewAttachResourcesTagResponse() (response *AttachResourcesTagResponse)
func (*AttachResourcesTagResponse) FromJsonString ¶
func (r *AttachResourcesTagResponse) FromJsonString(s string) error
func (*AttachResourcesTagResponse) ToJsonString ¶
func (r *AttachResourcesTagResponse) ToJsonString() string
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddResourceTag ¶
func (c *Client) AddResourceTag(request *AddResourceTagRequest) (response *AddResourceTagResponse, err error)
本接口用于给标签关联资源
func (*Client) AttachResourcesTag ¶
func (c *Client) AttachResourcesTag(request *AttachResourcesTagRequest) (response *AttachResourcesTagResponse, err error)
给多个资源关联某个标签
func (*Client) CreateTag ¶
func (c *Client) CreateTag(request *CreateTagRequest) (response *CreateTagResponse, err error)
本接口用于创建一对标签键和标签值
func (*Client) DeleteResourceTag ¶
func (c *Client) DeleteResourceTag(request *DeleteResourceTagRequest) (response *DeleteResourceTagResponse, err error)
本接口用于解除标签和资源的关联关系
func (*Client) DeleteTag ¶
func (c *Client) DeleteTag(request *DeleteTagRequest) (response *DeleteTagResponse, err error)
本接口用于删除一对标签键和标签值
func (*Client) DescribeResourceTags ¶
func (c *Client) DescribeResourceTags(request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)
查询资源关联标签
func (*Client) DescribeResourceTagsByResourceIds ¶
func (c *Client) DescribeResourceTagsByResourceIds(request *DescribeResourceTagsByResourceIdsRequest) (response *DescribeResourceTagsByResourceIdsResponse, err error)
用于查询已有资源标签键值对
func (*Client) DescribeResourceTagsByResourceIdsSeq ¶
func (c *Client) DescribeResourceTagsByResourceIdsSeq(request *DescribeResourceTagsByResourceIdsSeqRequest) (response *DescribeResourceTagsByResourceIdsSeqResponse, err error)
按顺序查看资源关联的标签
func (*Client) DescribeResourceTagsByTagKeys ¶
func (c *Client) DescribeResourceTagsByTagKeys(request *DescribeResourceTagsByTagKeysRequest) (response *DescribeResourceTagsByTagKeysResponse, err error)
根据标签键获取资源标签
func (*Client) DescribeResourcesByTags ¶
func (c *Client) DescribeResourcesByTags(request *DescribeResourcesByTagsRequest) (response *DescribeResourcesByTagsResponse, err error)
通过标签查询资源列表
func (*Client) DescribeResourcesByTagsUnion ¶
func (c *Client) DescribeResourcesByTagsUnion(request *DescribeResourcesByTagsUnionRequest) (response *DescribeResourcesByTagsUnionResponse, err error)
通过标签查询资源列表并集
func (*Client) DescribeTagKeys ¶
func (c *Client) DescribeTagKeys(request *DescribeTagKeysRequest) (response *DescribeTagKeysResponse, err error)
用于查询已建立的标签列表中的标签键。
func (*Client) DescribeTagValues ¶
func (c *Client) DescribeTagValues(request *DescribeTagValuesRequest) (response *DescribeTagValuesResponse, err error)
用于查询已建立的标签列表中的标签值。
func (*Client) DescribeTagValuesSeq ¶
func (c *Client) DescribeTagValuesSeq(request *DescribeTagValuesSeqRequest) (response *DescribeTagValuesSeqResponse, err error)
用于查询已建立的标签列表中的标签值。
func (*Client) DescribeTags ¶
func (c *Client) DescribeTags(request *DescribeTagsRequest) (response *DescribeTagsResponse, err error)
用于查询已建立的标签列表。
func (*Client) DescribeTagsSeq ¶
func (c *Client) DescribeTagsSeq(request *DescribeTagsSeqRequest) (response *DescribeTagsSeqResponse, err error)
用于查询已建立的标签列表。
func (*Client) DetachResourcesTag ¶
func (c *Client) DetachResourcesTag(request *DetachResourcesTagRequest) (response *DetachResourcesTagResponse, err error)
解绑多个资源关联的某个标签
func (*Client) ModifyResourceTags ¶
func (c *Client) ModifyResourceTags(request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)
本接口用于修改资源关联的所有标签
func (*Client) ModifyResourcesTagValue ¶
func (c *Client) ModifyResourcesTagValue(request *ModifyResourcesTagValueRequest) (response *ModifyResourcesTagValueResponse, err error)
修改多个资源关联的某个标签键对应的标签值
func (*Client) UpdateResourceTagValue ¶
func (c *Client) UpdateResourceTagValue(request *UpdateResourceTagValueRequest) (response *UpdateResourceTagValueResponse, err error)
本接口用于修改资源已关联的标签值(标签键不变)
type CreateTagRequest ¶
type CreateTagRequest struct { *tchttp.BaseRequest // 标签键 TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // 标签值 TagValue *string `json:"TagValue,omitempty" name:"TagValue"` }
func NewCreateTagRequest ¶
func NewCreateTagRequest() (request *CreateTagRequest)
func (*CreateTagRequest) FromJsonString ¶
func (r *CreateTagRequest) FromJsonString(s string) error
func (*CreateTagRequest) ToJsonString ¶
func (r *CreateTagRequest) ToJsonString() string
type CreateTagResponse ¶
type CreateTagResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateTagResponse ¶
func NewCreateTagResponse() (response *CreateTagResponse)
func (*CreateTagResponse) FromJsonString ¶
func (r *CreateTagResponse) FromJsonString(s string) error
func (*CreateTagResponse) ToJsonString ¶
func (r *CreateTagResponse) ToJsonString() string
type DeleteResourceTagRequest ¶
type DeleteResourceTagRequest struct { *tchttp.BaseRequest // 标签键 TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // [ 资源六段式描述 ](https://cloud.tencent.com/document/product/598/10606) Resource *string `json:"Resource,omitempty" name:"Resource"` }
func NewDeleteResourceTagRequest ¶
func NewDeleteResourceTagRequest() (request *DeleteResourceTagRequest)
func (*DeleteResourceTagRequest) FromJsonString ¶
func (r *DeleteResourceTagRequest) FromJsonString(s string) error
func (*DeleteResourceTagRequest) ToJsonString ¶
func (r *DeleteResourceTagRequest) ToJsonString() string
type DeleteResourceTagResponse ¶
type DeleteResourceTagResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteResourceTagResponse ¶
func NewDeleteResourceTagResponse() (response *DeleteResourceTagResponse)
func (*DeleteResourceTagResponse) FromJsonString ¶
func (r *DeleteResourceTagResponse) FromJsonString(s string) error
func (*DeleteResourceTagResponse) ToJsonString ¶
func (r *DeleteResourceTagResponse) ToJsonString() string
type DeleteTagRequest ¶
type DeleteTagRequest struct { *tchttp.BaseRequest // 需要删除的标签键 TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // 需要删除的标签值 TagValue *string `json:"TagValue,omitempty" name:"TagValue"` }
func NewDeleteTagRequest ¶
func NewDeleteTagRequest() (request *DeleteTagRequest)
func (*DeleteTagRequest) FromJsonString ¶
func (r *DeleteTagRequest) FromJsonString(s string) error
func (*DeleteTagRequest) ToJsonString ¶
func (r *DeleteTagRequest) ToJsonString() string
type DeleteTagResponse ¶
type DeleteTagResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteTagResponse ¶
func NewDeleteTagResponse() (response *DeleteTagResponse)
func (*DeleteTagResponse) FromJsonString ¶
func (r *DeleteTagResponse) FromJsonString(s string) error
func (*DeleteTagResponse) ToJsonString ¶
func (r *DeleteTagResponse) ToJsonString() string
type DescribeResourceTagsByResourceIdsRequest ¶
type DescribeResourceTagsByResourceIdsRequest struct { *tchttp.BaseRequest // 业务类型 ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` // 资源前缀 ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` // 资源唯一标记 ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds" list` // 资源所在地域 ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // 数据偏移量,默认为 0, 必须为Limit参数的整数倍 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小,默认为 15 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeResourceTagsByResourceIdsRequest ¶
func NewDescribeResourceTagsByResourceIdsRequest() (request *DescribeResourceTagsByResourceIdsRequest)
func (*DescribeResourceTagsByResourceIdsRequest) FromJsonString ¶
func (r *DescribeResourceTagsByResourceIdsRequest) FromJsonString(s string) error
func (*DescribeResourceTagsByResourceIdsRequest) ToJsonString ¶
func (r *DescribeResourceTagsByResourceIdsRequest) ToJsonString() string
type DescribeResourceTagsByResourceIdsResponse ¶
type DescribeResourceTagsByResourceIdsResponse struct { *tchttp.BaseResponse Response *struct { // 结果总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 数据位移偏量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 标签列表 Tags []*TagResource `json:"Tags,omitempty" name:"Tags" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeResourceTagsByResourceIdsResponse ¶
func NewDescribeResourceTagsByResourceIdsResponse() (response *DescribeResourceTagsByResourceIdsResponse)
func (*DescribeResourceTagsByResourceIdsResponse) FromJsonString ¶
func (r *DescribeResourceTagsByResourceIdsResponse) FromJsonString(s string) error
func (*DescribeResourceTagsByResourceIdsResponse) ToJsonString ¶
func (r *DescribeResourceTagsByResourceIdsResponse) ToJsonString() string
type DescribeResourceTagsByResourceIdsSeqRequest ¶
type DescribeResourceTagsByResourceIdsSeqRequest struct { *tchttp.BaseRequest // 业务类型 ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` // 资源前缀 ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` // 资源唯一标记 ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds" list` // 资源所在地域 ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // 数据偏移量,默认为 0, 必须为Limit参数的整数倍 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小,默认为 15 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeResourceTagsByResourceIdsSeqRequest ¶
func NewDescribeResourceTagsByResourceIdsSeqRequest() (request *DescribeResourceTagsByResourceIdsSeqRequest)
func (*DescribeResourceTagsByResourceIdsSeqRequest) FromJsonString ¶
func (r *DescribeResourceTagsByResourceIdsSeqRequest) FromJsonString(s string) error
func (*DescribeResourceTagsByResourceIdsSeqRequest) ToJsonString ¶
func (r *DescribeResourceTagsByResourceIdsSeqRequest) ToJsonString() string
type DescribeResourceTagsByResourceIdsSeqResponse ¶
type DescribeResourceTagsByResourceIdsSeqResponse struct { *tchttp.BaseResponse Response *struct { // 结果总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 数据位移偏量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 标签列表 Tags []*TagResource `json:"Tags,omitempty" name:"Tags" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeResourceTagsByResourceIdsSeqResponse ¶
func NewDescribeResourceTagsByResourceIdsSeqResponse() (response *DescribeResourceTagsByResourceIdsSeqResponse)
func (*DescribeResourceTagsByResourceIdsSeqResponse) FromJsonString ¶
func (r *DescribeResourceTagsByResourceIdsSeqResponse) FromJsonString(s string) error
func (*DescribeResourceTagsByResourceIdsSeqResponse) ToJsonString ¶
func (r *DescribeResourceTagsByResourceIdsSeqResponse) ToJsonString() string
type DescribeResourceTagsByTagKeysRequest ¶
type DescribeResourceTagsByTagKeysRequest struct { *tchttp.BaseRequest // 业务类型 ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` // 资源前缀 ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` // 资源地域 ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // 资源唯一标识 ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds" list` // 资源标签键 TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys" list` // 每页大小,默认为 400 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 数据偏移量,默认为 0, 必须为Limit参数的整数倍 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeResourceTagsByTagKeysRequest ¶
func NewDescribeResourceTagsByTagKeysRequest() (request *DescribeResourceTagsByTagKeysRequest)
func (*DescribeResourceTagsByTagKeysRequest) FromJsonString ¶
func (r *DescribeResourceTagsByTagKeysRequest) FromJsonString(s string) error
func (*DescribeResourceTagsByTagKeysRequest) ToJsonString ¶
func (r *DescribeResourceTagsByTagKeysRequest) ToJsonString() string
type DescribeResourceTagsByTagKeysResponse ¶
type DescribeResourceTagsByTagKeysResponse struct { *tchttp.BaseResponse Response *struct { // 结果总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 数据位移偏量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 资源标签 Rows []*ResourceIdTag `json:"Rows,omitempty" name:"Rows" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeResourceTagsByTagKeysResponse ¶
func NewDescribeResourceTagsByTagKeysResponse() (response *DescribeResourceTagsByTagKeysResponse)
func (*DescribeResourceTagsByTagKeysResponse) FromJsonString ¶
func (r *DescribeResourceTagsByTagKeysResponse) FromJsonString(s string) error
func (*DescribeResourceTagsByTagKeysResponse) ToJsonString ¶
func (r *DescribeResourceTagsByTagKeysResponse) ToJsonString() string
type DescribeResourceTagsRequest ¶
type DescribeResourceTagsRequest struct { *tchttp.BaseRequest // 创建者uin CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"` // 资源所在地域 ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // 业务类型 ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` // 资源前缀 ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` // 资源唯一标识 ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // 数据偏移量,默认为 0, 必须为Limit参数的整数倍 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小,默认为 15 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 是否是Cos的资源id CosResourceId *uint64 `json:"CosResourceId,omitempty" name:"CosResourceId"` }
func NewDescribeResourceTagsRequest ¶
func NewDescribeResourceTagsRequest() (request *DescribeResourceTagsRequest)
func (*DescribeResourceTagsRequest) FromJsonString ¶
func (r *DescribeResourceTagsRequest) FromJsonString(s string) error
func (*DescribeResourceTagsRequest) ToJsonString ¶
func (r *DescribeResourceTagsRequest) ToJsonString() string
type DescribeResourceTagsResponse ¶
type DescribeResourceTagsResponse struct { *tchttp.BaseResponse Response *struct { // 结果总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 数据位移偏量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小 // 注意:此字段可能返回 null,表示取不到有效值。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 资源标签 Rows []*TagResource `json:"Rows,omitempty" name:"Rows" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeResourceTagsResponse ¶
func NewDescribeResourceTagsResponse() (response *DescribeResourceTagsResponse)
func (*DescribeResourceTagsResponse) FromJsonString ¶
func (r *DescribeResourceTagsResponse) FromJsonString(s string) error
func (*DescribeResourceTagsResponse) ToJsonString ¶
func (r *DescribeResourceTagsResponse) ToJsonString() string
type DescribeResourcesByTagsRequest ¶
type DescribeResourcesByTagsRequest struct { *tchttp.BaseRequest // 标签过滤数组 TagFilters []*TagFilter `json:"TagFilters,omitempty" name:"TagFilters" list` // 创建标签者uin CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"` // 数据偏移量,默认为 0, 必须为Limit参数的整数倍 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小,默认为 15 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 资源前缀 ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` // 资源唯一标记 ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // 资源所在地域 ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // 业务类型 ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` }
func NewDescribeResourcesByTagsRequest ¶
func NewDescribeResourcesByTagsRequest() (request *DescribeResourcesByTagsRequest)
func (*DescribeResourcesByTagsRequest) FromJsonString ¶
func (r *DescribeResourcesByTagsRequest) FromJsonString(s string) error
func (*DescribeResourcesByTagsRequest) ToJsonString ¶
func (r *DescribeResourcesByTagsRequest) ToJsonString() string
type DescribeResourcesByTagsResponse ¶
type DescribeResourcesByTagsResponse struct { *tchttp.BaseResponse Response *struct { // 结果总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 数据位移偏量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小 // 注意:此字段可能返回 null,表示取不到有效值。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 资源标签 Rows []*ResourceTag `json:"Rows,omitempty" name:"Rows" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeResourcesByTagsResponse ¶
func NewDescribeResourcesByTagsResponse() (response *DescribeResourcesByTagsResponse)
func (*DescribeResourcesByTagsResponse) FromJsonString ¶
func (r *DescribeResourcesByTagsResponse) FromJsonString(s string) error
func (*DescribeResourcesByTagsResponse) ToJsonString ¶
func (r *DescribeResourcesByTagsResponse) ToJsonString() string
type DescribeResourcesByTagsUnionRequest ¶
type DescribeResourcesByTagsUnionRequest struct { *tchttp.BaseRequest // 标签过滤数组 TagFilters []*TagFilter `json:"TagFilters,omitempty" name:"TagFilters" list` // 创建标签者uin CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"` // 数据偏移量,默认为 0, 必须为Limit参数的整数倍 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小,默认为 15 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 资源前缀 ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` // 资源唯一标记 ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // 资源所在地域 ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // 业务类型 ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` }
func NewDescribeResourcesByTagsUnionRequest ¶
func NewDescribeResourcesByTagsUnionRequest() (request *DescribeResourcesByTagsUnionRequest)
func (*DescribeResourcesByTagsUnionRequest) FromJsonString ¶
func (r *DescribeResourcesByTagsUnionRequest) FromJsonString(s string) error
func (*DescribeResourcesByTagsUnionRequest) ToJsonString ¶
func (r *DescribeResourcesByTagsUnionRequest) ToJsonString() string
type DescribeResourcesByTagsUnionResponse ¶
type DescribeResourcesByTagsUnionResponse struct { *tchttp.BaseResponse Response *struct { // 结果总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 数据位移偏量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 资源标签 Rows []*ResourceTag `json:"Rows,omitempty" name:"Rows" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeResourcesByTagsUnionResponse ¶
func NewDescribeResourcesByTagsUnionResponse() (response *DescribeResourcesByTagsUnionResponse)
func (*DescribeResourcesByTagsUnionResponse) FromJsonString ¶
func (r *DescribeResourcesByTagsUnionResponse) FromJsonString(s string) error
func (*DescribeResourcesByTagsUnionResponse) ToJsonString ¶
func (r *DescribeResourcesByTagsUnionResponse) ToJsonString() string
type DescribeTagKeysRequest ¶
type DescribeTagKeysRequest struct { *tchttp.BaseRequest // 创建者用户 Uin,不传或为空只将 Uin 作为条件查询 CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"` // 数据偏移量,默认为 0, 必须为Limit参数的整数倍 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小,默认为 15 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 是否展现项目 ShowProject *uint64 `json:"ShowProject,omitempty" name:"ShowProject"` }
func NewDescribeTagKeysRequest ¶
func NewDescribeTagKeysRequest() (request *DescribeTagKeysRequest)
func (*DescribeTagKeysRequest) FromJsonString ¶
func (r *DescribeTagKeysRequest) FromJsonString(s string) error
func (*DescribeTagKeysRequest) ToJsonString ¶
func (r *DescribeTagKeysRequest) ToJsonString() string
type DescribeTagKeysResponse ¶
type DescribeTagKeysResponse struct { *tchttp.BaseResponse Response *struct { // 结果总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 数据位移偏量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 标签列表 Tags []*string `json:"Tags,omitempty" name:"Tags" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTagKeysResponse ¶
func NewDescribeTagKeysResponse() (response *DescribeTagKeysResponse)
func (*DescribeTagKeysResponse) FromJsonString ¶
func (r *DescribeTagKeysResponse) FromJsonString(s string) error
func (*DescribeTagKeysResponse) ToJsonString ¶
func (r *DescribeTagKeysResponse) ToJsonString() string
type DescribeTagValuesRequest ¶
type DescribeTagValuesRequest struct { *tchttp.BaseRequest // 标签键列表 TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys" list` // 创建者用户 Uin,不传或为空只将 Uin 作为条件查询 CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"` // 数据偏移量,默认为 0, 必须为Limit参数的整数倍 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小,默认为 15 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeTagValuesRequest ¶
func NewDescribeTagValuesRequest() (request *DescribeTagValuesRequest)
func (*DescribeTagValuesRequest) FromJsonString ¶
func (r *DescribeTagValuesRequest) FromJsonString(s string) error
func (*DescribeTagValuesRequest) ToJsonString ¶
func (r *DescribeTagValuesRequest) ToJsonString() string
type DescribeTagValuesResponse ¶
type DescribeTagValuesResponse struct { *tchttp.BaseResponse Response *struct { // 结果总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 数据位移偏量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 标签列表 Tags []*Tag `json:"Tags,omitempty" name:"Tags" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTagValuesResponse ¶
func NewDescribeTagValuesResponse() (response *DescribeTagValuesResponse)
func (*DescribeTagValuesResponse) FromJsonString ¶
func (r *DescribeTagValuesResponse) FromJsonString(s string) error
func (*DescribeTagValuesResponse) ToJsonString ¶
func (r *DescribeTagValuesResponse) ToJsonString() string
type DescribeTagValuesSeqRequest ¶
type DescribeTagValuesSeqRequest struct { *tchttp.BaseRequest // 标签键列表 TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys" list` // 创建者用户 Uin,不传或为空只将 Uin 作为条件查询 CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"` // 数据偏移量,默认为 0, 必须为Limit参数的整数倍 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小,默认为 15 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeTagValuesSeqRequest ¶
func NewDescribeTagValuesSeqRequest() (request *DescribeTagValuesSeqRequest)
func (*DescribeTagValuesSeqRequest) FromJsonString ¶
func (r *DescribeTagValuesSeqRequest) FromJsonString(s string) error
func (*DescribeTagValuesSeqRequest) ToJsonString ¶
func (r *DescribeTagValuesSeqRequest) ToJsonString() string
type DescribeTagValuesSeqResponse ¶
type DescribeTagValuesSeqResponse struct { *tchttp.BaseResponse Response *struct { // 结果总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 数据位移偏量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 标签列表 Tags []*Tag `json:"Tags,omitempty" name:"Tags" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTagValuesSeqResponse ¶
func NewDescribeTagValuesSeqResponse() (response *DescribeTagValuesSeqResponse)
func (*DescribeTagValuesSeqResponse) FromJsonString ¶
func (r *DescribeTagValuesSeqResponse) FromJsonString(s string) error
func (*DescribeTagValuesSeqResponse) ToJsonString ¶
func (r *DescribeTagValuesSeqResponse) ToJsonString() string
type DescribeTagsRequest ¶
type DescribeTagsRequest struct { *tchttp.BaseRequest // 标签键,与标签值同时存在或同时不存在,不存在时表示查询该用户所有标签 TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // 标签值,与标签键同时存在或同时不存在,不存在时表示查询该用户所有标签 TagValue *string `json:"TagValue,omitempty" name:"TagValue"` // 数据偏移量,默认为 0, 必须为Limit参数的整数倍 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小,默认为 15 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 创建者用户 Uin,不传或为空只将 Uin 作为条件查询 CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"` // 标签键数组,与标签值同时存在或同时不存在,不存在时表示查询该用户所有标签,当与TagKey同时传递时只取本值 TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys" list` // 是否展现项目标签 ShowProject *uint64 `json:"ShowProject,omitempty" name:"ShowProject"` }
func NewDescribeTagsRequest ¶
func NewDescribeTagsRequest() (request *DescribeTagsRequest)
func (*DescribeTagsRequest) FromJsonString ¶
func (r *DescribeTagsRequest) FromJsonString(s string) error
func (*DescribeTagsRequest) ToJsonString ¶
func (r *DescribeTagsRequest) ToJsonString() string
type DescribeTagsResponse ¶
type DescribeTagsResponse struct { *tchttp.BaseResponse Response *struct { // 结果总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 数据位移偏量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 标签列表 Tags []*TagWithDelete `json:"Tags,omitempty" name:"Tags" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTagsResponse ¶
func NewDescribeTagsResponse() (response *DescribeTagsResponse)
func (*DescribeTagsResponse) FromJsonString ¶
func (r *DescribeTagsResponse) FromJsonString(s string) error
func (*DescribeTagsResponse) ToJsonString ¶
func (r *DescribeTagsResponse) ToJsonString() string
type DescribeTagsSeqRequest ¶
type DescribeTagsSeqRequest struct { *tchttp.BaseRequest // 标签键,与标签值同时存在或同时不存在,不存在时表示查询该用户所有标签 TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // 标签值,与标签键同时存在或同时不存在,不存在时表示查询该用户所有标签 TagValue *string `json:"TagValue,omitempty" name:"TagValue"` // 数据偏移量,默认为 0, 必须为Limit参数的整数倍 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小,默认为 15 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 创建者用户 Uin,不传或为空只将 Uin 作为条件查询 CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"` // 标签键数组,与标签值同时存在或同时不存在,不存在时表示查询该用户所有标签,当与TagKey同时传递时只取本值 TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys" list` // 是否展现项目标签 ShowProject *uint64 `json:"ShowProject,omitempty" name:"ShowProject"` }
func NewDescribeTagsSeqRequest ¶
func NewDescribeTagsSeqRequest() (request *DescribeTagsSeqRequest)
func (*DescribeTagsSeqRequest) FromJsonString ¶
func (r *DescribeTagsSeqRequest) FromJsonString(s string) error
func (*DescribeTagsSeqRequest) ToJsonString ¶
func (r *DescribeTagsSeqRequest) ToJsonString() string
type DescribeTagsSeqResponse ¶
type DescribeTagsSeqResponse struct { *tchttp.BaseResponse Response *struct { // 结果总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 数据位移偏量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页大小 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 标签列表 Tags []*TagWithDelete `json:"Tags,omitempty" name:"Tags" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTagsSeqResponse ¶
func NewDescribeTagsSeqResponse() (response *DescribeTagsSeqResponse)
func (*DescribeTagsSeqResponse) FromJsonString ¶
func (r *DescribeTagsSeqResponse) FromJsonString(s string) error
func (*DescribeTagsSeqResponse) ToJsonString ¶
func (r *DescribeTagsSeqResponse) ToJsonString() string
type DetachResourcesTagRequest ¶
type DetachResourcesTagRequest struct { *tchttp.BaseRequest // 资源所属业务名称 ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` // 资源ID数组,资源个数最多为50 ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds" list` // 需要解绑的标签键 TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // 资源所在地域不区分地域的资源不需要传入该字段 ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // 资源前缀,cos存储桶不需要传入该字段 ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` }
func NewDetachResourcesTagRequest ¶
func NewDetachResourcesTagRequest() (request *DetachResourcesTagRequest)
func (*DetachResourcesTagRequest) FromJsonString ¶
func (r *DetachResourcesTagRequest) FromJsonString(s string) error
func (*DetachResourcesTagRequest) ToJsonString ¶
func (r *DetachResourcesTagRequest) ToJsonString() string
type DetachResourcesTagResponse ¶
type DetachResourcesTagResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDetachResourcesTagResponse ¶
func NewDetachResourcesTagResponse() (response *DetachResourcesTagResponse)
func (*DetachResourcesTagResponse) FromJsonString ¶
func (r *DetachResourcesTagResponse) FromJsonString(s string) error
func (*DetachResourcesTagResponse) ToJsonString ¶
func (r *DetachResourcesTagResponse) ToJsonString() string
type ModifyResourceTagsRequest ¶
type ModifyResourceTagsRequest struct { *tchttp.BaseRequest // [ 资源六段式描述 ](https://cloud.tencent.com/document/product/598/10606) Resource *string `json:"Resource,omitempty" name:"Resource"` // 需要增加或修改的标签集合。如果Resource描述的资源未关联输入的标签键,则增加关联;若已关联,则将该资源关联的键对应的标签值修改为输入值。本接口中ReplaceTags和DeleteTags二者必须存在其一,且二者不能包含相同的标签键 ReplaceTags []*Tag `json:"ReplaceTags,omitempty" name:"ReplaceTags" list` // 需要解关联的标签集合。本接口中ReplaceTags和DeleteTags二者必须存在其一,且二者不能包含相同的标签键 DeleteTags []*TagKeyObject `json:"DeleteTags,omitempty" name:"DeleteTags" list` }
func NewModifyResourceTagsRequest ¶
func NewModifyResourceTagsRequest() (request *ModifyResourceTagsRequest)
func (*ModifyResourceTagsRequest) FromJsonString ¶
func (r *ModifyResourceTagsRequest) FromJsonString(s string) error
func (*ModifyResourceTagsRequest) ToJsonString ¶
func (r *ModifyResourceTagsRequest) ToJsonString() string
type ModifyResourceTagsResponse ¶
type ModifyResourceTagsResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyResourceTagsResponse ¶
func NewModifyResourceTagsResponse() (response *ModifyResourceTagsResponse)
func (*ModifyResourceTagsResponse) FromJsonString ¶
func (r *ModifyResourceTagsResponse) FromJsonString(s string) error
func (*ModifyResourceTagsResponse) ToJsonString ¶
func (r *ModifyResourceTagsResponse) ToJsonString() string
type ModifyResourcesTagValueRequest ¶
type ModifyResourcesTagValueRequest struct { *tchttp.BaseRequest // 资源所属业务名称 ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` // 资源ID数组,资源个数最多为50 ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds" list` // 标签键 TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // 标签值 TagValue *string `json:"TagValue,omitempty" name:"TagValue"` // 资源所在地域,不区分地域的资源不需要传入该字段 ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // 资源前缀,cos存储桶不需要传入该字段 ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` }
func NewModifyResourcesTagValueRequest ¶
func NewModifyResourcesTagValueRequest() (request *ModifyResourcesTagValueRequest)
func (*ModifyResourcesTagValueRequest) FromJsonString ¶
func (r *ModifyResourcesTagValueRequest) FromJsonString(s string) error
func (*ModifyResourcesTagValueRequest) ToJsonString ¶
func (r *ModifyResourcesTagValueRequest) ToJsonString() string
type ModifyResourcesTagValueResponse ¶
type ModifyResourcesTagValueResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyResourcesTagValueResponse ¶
func NewModifyResourcesTagValueResponse() (response *ModifyResourcesTagValueResponse)
func (*ModifyResourcesTagValueResponse) FromJsonString ¶
func (r *ModifyResourcesTagValueResponse) FromJsonString(s string) error
func (*ModifyResourcesTagValueResponse) ToJsonString ¶
func (r *ModifyResourcesTagValueResponse) ToJsonString() string
type ResourceIdTag ¶
type ResourceTag ¶
type ResourceTag struct { // 资源所在地域 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"` // 业务类型 // 注意:此字段可能返回 null,表示取不到有效值。 ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` // 资源前缀 // 注意:此字段可能返回 null,表示取不到有效值。 ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"` // 资源唯一标记 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // 资源标签 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitempty" name:"Tags" list` }
type TagKeyObject ¶
type TagKeyObject struct { // 标签键 TagKey *string `json:"TagKey,omitempty" name:"TagKey"` }
type TagResource ¶
type TagResource struct { // 标签键 TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // 标签值 TagValue *string `json:"TagValue,omitempty" name:"TagValue"` // 资源ID ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // 标签键MD5值 TagKeyMd5 *string `json:"TagKeyMd5,omitempty" name:"TagKeyMd5"` // 标签值MD5值 TagValueMd5 *string `json:"TagValueMd5,omitempty" name:"TagValueMd5"` // 资源类型 // 注意:此字段可能返回 null,表示取不到有效值。 ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` }
type TagWithDelete ¶
type UpdateResourceTagValueRequest ¶
type UpdateResourceTagValueRequest struct { *tchttp.BaseRequest // 资源关联的标签键 TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // 修改后的标签值 TagValue *string `json:"TagValue,omitempty" name:"TagValue"` // [ 资源六段式描述 ](https://cloud.tencent.com/document/product/598/10606) Resource *string `json:"Resource,omitempty" name:"Resource"` }
func NewUpdateResourceTagValueRequest ¶
func NewUpdateResourceTagValueRequest() (request *UpdateResourceTagValueRequest)
func (*UpdateResourceTagValueRequest) FromJsonString ¶
func (r *UpdateResourceTagValueRequest) FromJsonString(s string) error
func (*UpdateResourceTagValueRequest) ToJsonString ¶
func (r *UpdateResourceTagValueRequest) ToJsonString() string
type UpdateResourceTagValueResponse ¶
type UpdateResourceTagValueResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUpdateResourceTagValueResponse ¶
func NewUpdateResourceTagValueResponse() (response *UpdateResourceTagValueResponse)
func (*UpdateResourceTagValueResponse) FromJsonString ¶
func (r *UpdateResourceTagValueResponse) FromJsonString(s string) error
func (*UpdateResourceTagValueResponse) ToJsonString ¶
func (r *UpdateResourceTagValueResponse) ToJsonString() string
Click to show internal directories.
Click to hide internal directories.