Class UpdateDataSourceRequest
Class representing an update data source request. See Tableau API Reference for documentation.
Namespace: Tableau.Migration.Api.Rest.Models.Requests
Assembly: Tableau.Migration.dll
Syntax
public class UpdateDataSourceRequest : TableauServerRequestConstructors
UpdateDataSourceRequest()
The default parameterless constructor.
Declaration
public UpdateDataSourceRequest()UpdateDataSourceRequest(string?, Guid?, Guid?, bool?, string?, bool?)
Builds the Update request for a data source.
Declaration
public UpdateDataSourceRequest(string? newName = null, Guid? newProjectId = null, Guid? newOwnerId = null, bool? newIsCertified = null, string? newCertificationNote = null, bool? newEncryptExtracts = null)Parameters
| Type | Name | Description | 
|---|---|---|
| string | newName | (Optional) The new name of a the data source. | 
| Guid? | newProjectId | (Optional) The LUID of a project to add the data source to. | 
| Guid? | newOwnerId | (Optional) The LUID of a user to assign the data source to as owner. | 
| bool? | newIsCertified | (Optional) A Boolean value that indicates whether the data source is certified. | 
| string | newCertificationNote | (Optional) A note that provides more information on the certification of the data source, if applicable. | 
| bool? | newEncryptExtracts | (Optional) true to encrypt the extracts or false to not encrypt extracts. | 
Properties
DataSource
Gets or sets the data source for the request.
Declaration
public UpdateDataSourceRequest.DataSourceType? DataSource { get; set; }Property Value
| Type | Description | 
|---|---|
| UpdateDataSourceRequest.DataSourceType |