Class UpdateWorkbookRequest
Class representing an update workbook request. See Tableau API Reference for documentation.
Namespace: Tableau.Migration.Api.Rest.Models.Requests
Assembly: Tableau.Migration.dll
Syntax
public class UpdateWorkbookRequest : TableauServerRequest
Constructors
UpdateWorkbookRequest()
The default parameterless constructor.
Declaration
public UpdateWorkbookRequest()
UpdateWorkbookRequest(string?, string?, Guid?, Guid?, bool?, bool?, bool?)
Builds the Update request for a workbook.
Declaration
public UpdateWorkbookRequest(string? newName = null, string? newDescription = null, Guid? newProjectId = null, Guid? newOwnerId = null, bool? newShowTabs = null, bool? newRecentlyViewedFlag = null, bool? newEncryptExtracts = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | newName | The new name of the workbook, or null to not update the name. |
| string | newDescription | The new description of the workbook, or null to not update the description. |
| Guid? | newProjectId | The LUID of a project to move the workbook to, or null to not update the project. |
| Guid? | newOwnerId | The LUID of a user to assign the workbook to as owner, or null to not update the owner. |
| bool? | newShowTabs | Whether or not to show workbook views in tabs, or null to not update the option. |
| bool? | newRecentlyViewedFlag | Whether or not to show the workbook in the recently viewed list, or null to not update the flag. |
| bool? | newEncryptExtracts | Whether or not to encrypt extracts, or null to not update the option. |
Properties
Workbook
Gets or sets the workbook for the request.
Declaration
public UpdateWorkbookRequest.WorkbookType? Workbook { get; set; }
Property Value
| Type | Description |
|---|---|
| UpdateWorkbookRequest.WorkbookType |