Class UpdateLabelsRequest
Class representing a update labels request.
See https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_metadata.htm#update_label_on_assets for documentation
Namespace: Tableau.Migration.Api.Rest.Models.Requests
Assembly: Tableau.Migration.dll
Syntax
public class UpdateLabelsRequest : TableauServerRequest
Constructors
UpdateLabelsRequest()
The default parameterless constructor.
Declaration
public UpdateLabelsRequest()
UpdateLabelsRequest(Guid, string, ILabelUpdateOptions)
Builds from content item type and content item ID.
Declaration
public UpdateLabelsRequest(Guid contentItemId, string contentItemType, ILabelUpdateOptions labelUpdateOptions)
Parameters
Type | Name | Description |
---|---|---|
Guid | contentItemId | The ID of the content item to update the label for. |
string | contentItemType | The label content type from LabelContentTypes. |
ILabelUpdateOptions | labelUpdateOptions | The options for label to update or create. |
Properties
ContentList
The list of content items to get get labels for.
Declaration
public UpdateLabelsRequest.ContentType[]? ContentList { get; set; }
Property Value
Type | Description |
---|---|
ContentType[] |
Label
The label to be updated.
Declaration
public UpdateLabelsRequest.LabelType? Label { get; set; }
Property Value
Type | Description |
---|---|
UpdateLabelsRequest.LabelType |