v20180813

package
v3.0.213+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

	// Tag key.
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value.
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`

	// [Six-segment resource description](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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddResourceTagRequest) ToJsonString

func (r *AddResourceTagRequest) ToJsonString() string

type AddResourceTagResponse

type AddResourceTagResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddResourceTagResponse) ToJsonString

func (r *AddResourceTagResponse) ToJsonString() string

type AttachResourcesTagRequest

type AttachResourcesTagRequest struct {
	*tchttp.BaseRequest

	// Resource service name
	ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`

	// Resource ID array, which can contain up to 50 resources
	ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds" list`

	// Tag key
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`

	// Resource region. This field is not required for resources that do not have the region attribute
	ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"`

	// Resource prefix, which is not required for COS buckets
	ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"`
}

func NewAttachResourcesTagRequest

func NewAttachResourcesTagRequest() (request *AttachResourcesTagRequest)

func (*AttachResourcesTagRequest) FromJsonString

func (r *AttachResourcesTagRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AttachResourcesTagRequest) ToJsonString

func (r *AttachResourcesTagRequest) ToJsonString() string

type AttachResourcesTagResponse

type AttachResourcesTagResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AttachResourcesTagResponse) ToJsonString

func (r *AttachResourcesTagResponse) ToJsonString() string

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) AddResourceTag

func (c *Client) AddResourceTag(request *AddResourceTagRequest) (response *AddResourceTagResponse, err error)

This API is used to associate resources with tags.

func (*Client) AttachResourcesTag

func (c *Client) AttachResourcesTag(request *AttachResourcesTagRequest) (response *AttachResourcesTagResponse, err error)

This API is used to associate a tag with multiple resources.

func (*Client) CreateTag

func (c *Client) CreateTag(request *CreateTagRequest) (response *CreateTagResponse, err error)

This API is used to create a tag key and tag value pair.

func (*Client) DeleteResourceTag

func (c *Client) DeleteResourceTag(request *DeleteResourceTagRequest) (response *DeleteResourceTagResponse, err error)

This API is used to unassociate tags and resources.

func (*Client) DeleteTag

func (c *Client) DeleteTag(request *DeleteTagRequest) (response *DeleteTagResponse, err error)

This API is used to delete a tag key and tag value pair.

func (*Client) DescribeResourceTags

func (c *Client) DescribeResourceTags(request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)

This API is used to query the tags associated with a resource.

func (*Client) DescribeResourceTagsByResourceIds

func (c *Client) DescribeResourceTagsByResourceIds(request *DescribeResourceTagsByResourceIdsRequest) (response *DescribeResourceTagsByResourceIdsResponse, err error)

This API is used to query tag key and value pairs for existing resources.

func (*Client) DescribeResourceTagsByResourceIdsSeq

func (c *Client) DescribeResourceTagsByResourceIdsSeq(request *DescribeResourceTagsByResourceIdsSeqRequest) (response *DescribeResourceTagsByResourceIdsSeqResponse, err error)

This API is used to view the tags associated with a resource in sequence.

func (*Client) DescribeResourceTagsByTagKeys

func (c *Client) DescribeResourceTagsByTagKeys(request *DescribeResourceTagsByTagKeysRequest) (response *DescribeResourceTagsByTagKeysResponse, err error)

This API is used to get resource tags based on tag keys.

func (*Client) DescribeResourcesByTags

func (c *Client) DescribeResourcesByTags(request *DescribeResourcesByTagsRequest) (response *DescribeResourcesByTagsResponse, err error)

This API is used to query resources by tags.

func (*Client) DescribeResourcesByTagsUnion

func (c *Client) DescribeResourcesByTagsUnion(request *DescribeResourcesByTagsUnionRequest) (response *DescribeResourcesByTagsUnionResponse, err error)

This API is used to query resource list by tags.

func (*Client) DescribeTagKeys

func (c *Client) DescribeTagKeys(request *DescribeTagKeysRequest) (response *DescribeTagKeysResponse, err error)

This API is used to query tag keys in an existing tag list.

func (*Client) DescribeTagValues

func (c *Client) DescribeTagValues(request *DescribeTagValuesRequest) (response *DescribeTagValuesResponse, err error)

This API is used to query tag values in an existing tag list.

func (*Client) DescribeTagValuesSeq

func (c *Client) DescribeTagValuesSeq(request *DescribeTagValuesSeqRequest) (response *DescribeTagValuesSeqResponse, err error)

This API is used to query tag values in a created tag list.

func (*Client) DescribeTags

func (c *Client) DescribeTags(request *DescribeTagsRequest) (response *DescribeTagsResponse, err error)

This API is used to query existing tag lists.

func (*Client) DescribeTagsSeq

func (c *Client) DescribeTagsSeq(request *DescribeTagsSeqRequest) (response *DescribeTagsSeqResponse, err error)

This API is used to query the created tag lists.

func (*Client) DetachResourcesTag

func (c *Client) DetachResourcesTag(request *DetachResourcesTagRequest) (response *DetachResourcesTagResponse, err error)

This API is used to unbind a tag from multiple resources.

func (*Client) ModifyResourceTags

func (c *Client) ModifyResourceTags(request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)

This API is used to modify all tags associated with a resource.

func (*Client) ModifyResourcesTagValue

func (c *Client) ModifyResourcesTagValue(request *ModifyResourcesTagValueRequest) (response *ModifyResourcesTagValueResponse, err error)

This API is used to modify the tag value corresponding to a tag key associated with multiple resources.

func (*Client) UpdateResourceTagValue

func (c *Client) UpdateResourceTagValue(request *UpdateResourceTagValueRequest) (response *UpdateResourceTagValueResponse, err error)

This API is used to modify the values of tags associated with a resource (the tag key does not change).

type CreateTagRequest

type CreateTagRequest struct {
	*tchttp.BaseRequest

	// Tag key.
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value.
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`
}

func NewCreateTagRequest

func NewCreateTagRequest() (request *CreateTagRequest)

func (*CreateTagRequest) FromJsonString

func (r *CreateTagRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTagRequest) ToJsonString

func (r *CreateTagRequest) ToJsonString() string

type CreateTagResponse

type CreateTagResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTagResponse) ToJsonString

func (r *CreateTagResponse) ToJsonString() string

type DeleteResourceTagRequest

type DeleteResourceTagRequest struct {
	*tchttp.BaseRequest

	// Tag key.
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// [Six-segment resource description](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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteResourceTagRequest) ToJsonString

func (r *DeleteResourceTagRequest) ToJsonString() string

type DeleteResourceTagResponse

type DeleteResourceTagResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteResourceTagResponse) ToJsonString

func (r *DeleteResourceTagResponse) ToJsonString() string

type DeleteTagRequest

type DeleteTagRequest struct {
	*tchttp.BaseRequest

	// The tag key to be deleted.
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// The tag value to be deleted.
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`
}

func NewDeleteTagRequest

func NewDeleteTagRequest() (request *DeleteTagRequest)

func (*DeleteTagRequest) FromJsonString

func (r *DeleteTagRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteTagRequest) ToJsonString

func (r *DeleteTagRequest) ToJsonString() string

type DeleteTagResponse

type DeleteTagResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteTagResponse) ToJsonString

func (r *DeleteTagResponse) ToJsonString() string

type DescribeResourceTagsByResourceIdsRequest

type DescribeResourceTagsByResourceIdsRequest struct {
	*tchttp.BaseRequest

	// Service type.
	ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`

	// Resource prefix.
	ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"`

	// Unique resource ID.
	ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds" list`

	// The resource's region.
	ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"`

	// Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Page size. The default value is 0.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeResourceTagsByResourceIdsRequest

func NewDescribeResourceTagsByResourceIdsRequest() (request *DescribeResourceTagsByResourceIdsRequest)

func (*DescribeResourceTagsByResourceIdsRequest) FromJsonString

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourceTagsByResourceIdsRequest) ToJsonString

type DescribeResourceTagsByResourceIdsResponse

type DescribeResourceTagsByResourceIdsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of results.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Data offset.
		Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

		// Page size.
		Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

		// Tag list.
		Tags []*TagResource `json:"Tags,omitempty" name:"Tags" list`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeResourceTagsByResourceIdsResponse

func NewDescribeResourceTagsByResourceIdsResponse() (response *DescribeResourceTagsByResourceIdsResponse)

func (*DescribeResourceTagsByResourceIdsResponse) FromJsonString

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourceTagsByResourceIdsResponse) ToJsonString

type DescribeResourceTagsByResourceIdsSeqRequest

type DescribeResourceTagsByResourceIdsSeqRequest struct {
	*tchttp.BaseRequest

	// Service type
	ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`

	// Resource prefix
	ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"`

	// Unique resource ID
	ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds" list`

	// Resource region
	ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"`

	// Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of entries per page. Default value: 15
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeResourceTagsByResourceIdsSeqRequest

func NewDescribeResourceTagsByResourceIdsSeqRequest() (request *DescribeResourceTagsByResourceIdsSeqRequest)

func (*DescribeResourceTagsByResourceIdsSeqRequest) FromJsonString

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourceTagsByResourceIdsSeqRequest) ToJsonString

type DescribeResourceTagsByResourceIdsSeqResponse

type DescribeResourceTagsByResourceIdsSeqResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of results
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Data offset
		Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

		// Number of entries per page
		Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

		// Tag list
		Tags []*TagResource `json:"Tags,omitempty" name:"Tags" list`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeResourceTagsByResourceIdsSeqResponse

func NewDescribeResourceTagsByResourceIdsSeqResponse() (response *DescribeResourceTagsByResourceIdsSeqResponse)

func (*DescribeResourceTagsByResourceIdsSeqResponse) FromJsonString

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourceTagsByResourceIdsSeqResponse) ToJsonString

type DescribeResourceTagsByTagKeysRequest

type DescribeResourceTagsByTagKeysRequest struct {
	*tchttp.BaseRequest

	// Service type
	ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`

	// Resource prefix
	ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"`

	// Resource region
	ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"`

	// Unique resource ID
	ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds" list`

	// Resource tag key
	TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys" list`

	// Number of entries per page. Default value: 400
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeResourceTagsByTagKeysRequest

func NewDescribeResourceTagsByTagKeysRequest() (request *DescribeResourceTagsByTagKeysRequest)

func (*DescribeResourceTagsByTagKeysRequest) FromJsonString

func (r *DescribeResourceTagsByTagKeysRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourceTagsByTagKeysRequest) ToJsonString

func (r *DescribeResourceTagsByTagKeysRequest) ToJsonString() string

type DescribeResourceTagsByTagKeysResponse

type DescribeResourceTagsByTagKeysResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of results
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Data offset
		Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

		// Number of entries per page
		Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

		// Resource tag
		Rows []*ResourceIdTag `json:"Rows,omitempty" name:"Rows" list`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourceTagsByTagKeysResponse) ToJsonString

type DescribeResourceTagsRequest

type DescribeResourceTagsRequest struct {
	*tchttp.BaseRequest

	// Creator `uin`
	CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"`

	// Resource region.
	ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"`

	// Service type.
	ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`

	// Resource prefix
	ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"`

	// Unique resource ID
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`

	// Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of entries per page. Default value: 15
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Whether it is a COS resource ID
	CosResourceId *uint64 `json:"CosResourceId,omitempty" name:"CosResourceId"`
}

func NewDescribeResourceTagsRequest

func NewDescribeResourceTagsRequest() (request *DescribeResourceTagsRequest)

func (*DescribeResourceTagsRequest) FromJsonString

func (r *DescribeResourceTagsRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourceTagsRequest) ToJsonString

func (r *DescribeResourceTagsRequest) ToJsonString() string

type DescribeResourceTagsResponse

type DescribeResourceTagsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of results
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Data offset.
		Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

		// Number of entries per page.
		// Note: this field may return null, indicating that no valid values can be obtained.
		Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

		// Resource tag
		Rows []*TagResource `json:"Rows,omitempty" name:"Rows" list`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourceTagsResponse) ToJsonString

func (r *DescribeResourceTagsResponse) ToJsonString() string

type DescribeResourcesByTagsRequest

type DescribeResourcesByTagsRequest struct {
	*tchttp.BaseRequest

	// Tag filtering arrays.
	TagFilters []*TagFilter `json:"TagFilters,omitempty" name:"TagFilters" list`

	// Tag creator uin.
	CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"`

	// Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Page size. The default value is 15.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Resource prefix.
	ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"`

	// Unique resource ID.
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`

	// The resource's region.
	ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"`

	// Service type.
	ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`
}

func NewDescribeResourcesByTagsRequest

func NewDescribeResourcesByTagsRequest() (request *DescribeResourcesByTagsRequest)

func (*DescribeResourcesByTagsRequest) FromJsonString

func (r *DescribeResourcesByTagsRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourcesByTagsRequest) ToJsonString

func (r *DescribeResourcesByTagsRequest) ToJsonString() string

type DescribeResourcesByTagsResponse

type DescribeResourcesByTagsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of results.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Data offset.
		Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

		// Number of entries per page.
		// Note: This field may return null, indicating that no valid value is found.
		Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

		// Resource tag.
		Rows []*ResourceTag `json:"Rows,omitempty" name:"Rows" list`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourcesByTagsResponse) ToJsonString

func (r *DescribeResourcesByTagsResponse) ToJsonString() string

type DescribeResourcesByTagsUnionRequest

type DescribeResourcesByTagsUnionRequest struct {
	*tchttp.BaseRequest

	// Tag filtering arrays.
	TagFilters []*TagFilter `json:"TagFilters,omitempty" name:"TagFilters" list`

	// Tag creator uin.
	CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"`

	// Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Page size. The default value is 15.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Resource prefix.
	ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"`

	// Unique resource ID.
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`

	// The resource’s region.
	ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"`

	// Service type
	ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`
}

func NewDescribeResourcesByTagsUnionRequest

func NewDescribeResourcesByTagsUnionRequest() (request *DescribeResourcesByTagsUnionRequest)

func (*DescribeResourcesByTagsUnionRequest) FromJsonString

func (r *DescribeResourcesByTagsUnionRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourcesByTagsUnionRequest) ToJsonString

func (r *DescribeResourcesByTagsUnionRequest) ToJsonString() string

type DescribeResourcesByTagsUnionResponse

type DescribeResourcesByTagsUnionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of results.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Data offset.
		Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

		// The size of each page.
		Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

		// Resource tag.
		Rows []*ResourceTag `json:"Rows,omitempty" name:"Rows" list`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourcesByTagsUnionResponse) ToJsonString

func (r *DescribeResourcesByTagsUnionResponse) ToJsonString() string

type DescribeTagKeysRequest

type DescribeTagKeysRequest struct {
	*tchttp.BaseRequest

	// Creator `Uin`. If not specified, `Uin` is only used as the query condition.
	CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"`

	// Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Page size. The default value is 0.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Whether to show project
	ShowProject *uint64 `json:"ShowProject,omitempty" name:"ShowProject"`
}

func NewDescribeTagKeysRequest

func NewDescribeTagKeysRequest() (request *DescribeTagKeysRequest)

func (*DescribeTagKeysRequest) FromJsonString

func (r *DescribeTagKeysRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTagKeysRequest) ToJsonString

func (r *DescribeTagKeysRequest) ToJsonString() string

type DescribeTagKeysResponse

type DescribeTagKeysResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of results.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Data offset.
		Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

		// Page size.
		Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

		// Tag list.
		Tags []*string `json:"Tags,omitempty" name:"Tags" list`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTagKeysResponse) ToJsonString

func (r *DescribeTagKeysResponse) ToJsonString() string

type DescribeTagValuesRequest

type DescribeTagValuesRequest struct {
	*tchttp.BaseRequest

	// Tag key list.
	TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys" list`

	// Creator `Uin`. If not specified, `Uin` is only used as the query condition.
	CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"`

	// Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Page size. The default value is 0.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeTagValuesRequest

func NewDescribeTagValuesRequest() (request *DescribeTagValuesRequest)

func (*DescribeTagValuesRequest) FromJsonString

func (r *DescribeTagValuesRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTagValuesRequest) ToJsonString

func (r *DescribeTagValuesRequest) ToJsonString() string

type DescribeTagValuesResponse

type DescribeTagValuesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of results.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Data offset.
		Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

		// Page size.
		Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

		// Tag list.
		Tags []*Tag `json:"Tags,omitempty" name:"Tags" list`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTagValuesResponse) ToJsonString

func (r *DescribeTagValuesResponse) ToJsonString() string

type DescribeTagValuesSeqRequest

type DescribeTagValuesSeqRequest struct {
	*tchttp.BaseRequest

	// Tag key list
	TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys" list`

	// Creator `Uin`. If this parameter is blank or left empty, only `Uin` will be used as a condition for query
	CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"`

	// Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of entries per page. Default value: 15
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeTagValuesSeqRequest

func NewDescribeTagValuesSeqRequest() (request *DescribeTagValuesSeqRequest)

func (*DescribeTagValuesSeqRequest) FromJsonString

func (r *DescribeTagValuesSeqRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTagValuesSeqRequest) ToJsonString

func (r *DescribeTagValuesSeqRequest) ToJsonString() string

type DescribeTagValuesSeqResponse

type DescribeTagValuesSeqResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of results
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Data offset
		Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

		// Number of entries per page
		Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

		// Tag list
		Tags []*Tag `json:"Tags,omitempty" name:"Tags" list`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTagValuesSeqResponse) ToJsonString

func (r *DescribeTagValuesSeqResponse) ToJsonString() string

type DescribeTagsRequest

type DescribeTagsRequest struct {
	*tchttp.BaseRequest

	// Tag key. Either exists or does not exist alongside the tag value. If it does not exist, all of the user's tags will be queried.
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value. Either exists or does not exist alongside the tag key. If it does not exist, all of the user's tags will be queried.
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`

	// Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Page size. The default value is 0.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Creator `Uin`. If not specified, `Uin` is only used as the query condition.
	CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"`

	// Tag key array, which either exists or does not exist with the tag value. If it does not exist, all tags of the user will be queried. If it is passed in together with `TagKey`, it will be used and the `TagKey` will be ignored.
	TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys" list`

	// Whether to show project tag
	ShowProject *uint64 `json:"ShowProject,omitempty" name:"ShowProject"`
}

func NewDescribeTagsRequest

func NewDescribeTagsRequest() (request *DescribeTagsRequest)

func (*DescribeTagsRequest) FromJsonString

func (r *DescribeTagsRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTagsRequest) ToJsonString

func (r *DescribeTagsRequest) ToJsonString() string

type DescribeTagsResponse

type DescribeTagsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of results.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Data offset.
		Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

		// Page size.
		Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

		// Tag list.
		Tags []*TagWithDelete `json:"Tags,omitempty" name:"Tags" list`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTagsResponse) ToJsonString

func (r *DescribeTagsResponse) ToJsonString() string

type DescribeTagsSeqRequest

type DescribeTagsSeqRequest struct {
	*tchttp.BaseRequest

	// Tag key, which either exists or does not exist with the tag value. If it does not exist, all tags of the user will be queried
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value, which either exists or does not exist with the tag key. If it does not exist, all tags of the user will be queried
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`

	// Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of entries per page. Default value: 15
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Creator `Uin`. If this parameter is blank or left empty, only `Uin` will be used as a condition for query
	CreateUin *uint64 `json:"CreateUin,omitempty" name:"CreateUin"`

	// Tag key array, which either exists or does not exist with the tag value. If it does not exist, all tags of the user will be queried. If it is passed in together with `TagKey`, it will be used and the `TagKey` will be ignored.
	TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys" list`

	// Whether to show project tag
	ShowProject *uint64 `json:"ShowProject,omitempty" name:"ShowProject"`
}

func NewDescribeTagsSeqRequest

func NewDescribeTagsSeqRequest() (request *DescribeTagsSeqRequest)

func (*DescribeTagsSeqRequest) FromJsonString

func (r *DescribeTagsSeqRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTagsSeqRequest) ToJsonString

func (r *DescribeTagsSeqRequest) ToJsonString() string

type DescribeTagsSeqResponse

type DescribeTagsSeqResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of results
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Data offset
		Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

		// Number of entries per page
		Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

		// Tag list
		Tags []*TagWithDelete `json:"Tags,omitempty" name:"Tags" list`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTagsSeqResponse) ToJsonString

func (r *DescribeTagsSeqResponse) ToJsonString() string

type DetachResourcesTagRequest

type DetachResourcesTagRequest struct {
	*tchttp.BaseRequest

	// Resource service name
	ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`

	// Resource ID array, which can contain up to 50 resources
	ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds" list`

	// Tag key to be unbound
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Resource region. This field is not required for resources that do not have the region attribute
	ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"`

	// Resource prefix, which is not required for COS buckets
	ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"`
}

func NewDetachResourcesTagRequest

func NewDetachResourcesTagRequest() (request *DetachResourcesTagRequest)

func (*DetachResourcesTagRequest) FromJsonString

func (r *DetachResourcesTagRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DetachResourcesTagRequest) ToJsonString

func (r *DetachResourcesTagRequest) ToJsonString() string

type DetachResourcesTagResponse

type DetachResourcesTagResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DetachResourcesTagResponse) ToJsonString

func (r *DetachResourcesTagResponse) ToJsonString() string

type ModifyResourceTagsRequest

type ModifyResourceTagsRequest struct {
	*tchttp.BaseRequest

	// [Six-segment resource description](https://cloud.tencent.com/document/product/598/10606)
	Resource *string `json:"Resource,omitempty" name:"Resource"`

	// The tags to be added or modified. If the resource described by `Resource` is not associated with the input tag keys, an association will be added. If the tag keys are already associated, the values corresponding to the associated tag keys will be modified to the input values. This API must contain either `ReplaceTags` or `DeleteTag`. And these two parameters cannot include the same tag keys.
	ReplaceTags []*Tag `json:"ReplaceTags,omitempty" name:"ReplaceTags" list`

	// The tags to be unassociated. This API must contain either `ReplaceTags` or `DeleteTag`. And these two parameters cannot include the same tag keys.
	DeleteTags []*TagKeyObject `json:"DeleteTags,omitempty" name:"DeleteTags" list`
}

func NewModifyResourceTagsRequest

func NewModifyResourceTagsRequest() (request *ModifyResourceTagsRequest)

func (*ModifyResourceTagsRequest) FromJsonString

func (r *ModifyResourceTagsRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyResourceTagsRequest) ToJsonString

func (r *ModifyResourceTagsRequest) ToJsonString() string

type ModifyResourceTagsResponse

type ModifyResourceTagsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyResourceTagsResponse) ToJsonString

func (r *ModifyResourceTagsResponse) ToJsonString() string

type ModifyResourcesTagValueRequest

type ModifyResourcesTagValueRequest struct {
	*tchttp.BaseRequest

	// Resource service name
	ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`

	// Resource ID array, which can contain up to 50 resources
	ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds" list`

	// Tag key
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`

	// Resource region. This field is not required for resources that do not have the region attribute
	ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"`

	// Resource prefix, which is not required for COS buckets
	ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"`
}

func NewModifyResourcesTagValueRequest

func NewModifyResourcesTagValueRequest() (request *ModifyResourcesTagValueRequest)

func (*ModifyResourcesTagValueRequest) FromJsonString

func (r *ModifyResourcesTagValueRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyResourcesTagValueRequest) ToJsonString

func (r *ModifyResourcesTagValueRequest) ToJsonString() string

type ModifyResourcesTagValueResponse

type ModifyResourcesTagValueResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyResourcesTagValueResponse) ToJsonString

func (r *ModifyResourcesTagValueResponse) ToJsonString() string

type ResourceIdTag

type ResourceIdTag struct {

	// Unique resource ID
	// Note: this field may return null, indicating that no valid values can be obtained
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`

	// Tag key-value pair
	// Note: this field may return null, indicating that no valid values can be obtained
	TagKeyValues []*Tag `json:"TagKeyValues,omitempty" name:"TagKeyValues" list`
}

type ResourceTag

type ResourceTag struct {

	// The resource's region.
	// Note: This field may return null, indicating that no valid value is found.
	ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"`

	// Service type.
	// Note: This field may return null, indicating that no valid value is found.
	ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`

	// Resource prefix.
	// Note: This field may return null, indicating that no valid value is found.
	ResourcePrefix *string `json:"ResourcePrefix,omitempty" name:"ResourcePrefix"`

	// Unique resource ID.
	// Note: This field may return null, indicating that no valid value is found.
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`

	// Resource tag.
	// Note: This field may return null, indicating that no valid value is found.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags" list`
}

type Tag

type Tag struct {

	// Tag key.
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value.
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`
}

type TagFilter

type TagFilter struct {

	// Tag key.
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value array. '**OR**' relation if multiple values.
	TagValue []*string `json:"TagValue,omitempty" name:"TagValue" list`
}

type TagKeyObject

type TagKeyObject struct {

	// Tag key.
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`
}

type TagResource

type TagResource struct {

	// Tag key.
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value.
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`

	// Resource ID.
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`

	// Tag key MD5 value.
	TagKeyMd5 *string `json:"TagKeyMd5,omitempty" name:"TagKeyMd5"`

	// Tag value MD5 value.
	TagValueMd5 *string `json:"TagValueMd5,omitempty" name:"TagValueMd5"`

	// Resource type
	// Note: this field may return null, indicating that no valid values found.
	ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`
}

type TagWithDelete

type TagWithDelete struct {

	// Tag key.
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value.
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`

	// If deletion is allowed.
	CanDelete *uint64 `json:"CanDelete,omitempty" name:"CanDelete"`
}

type UpdateResourceTagValueRequest

type UpdateResourceTagValueRequest struct {
	*tchttp.BaseRequest

	// Tag key associated with the resource.
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Modified tag value.
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`

	// [Six-segment resource description](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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateResourceTagValueRequest) ToJsonString

func (r *UpdateResourceTagValueRequest) ToJsonString() string

type UpdateResourceTagValueResponse

type UpdateResourceTagValueResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateResourceTagValueResponse) ToJsonString

func (r *UpdateResourceTagValueResponse) ToJsonString() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL