Tableau Migration SDK 5.1.1
  • Articles
  • Code Samples
  • Python API Reference
  • C# API Reference
Show / Hide Table of Contents
  • tableau_migration
    • migration
      • get_service
      • get_service_provider
      • PyMigrationResult
      • PyMigrationManifest
      • PyMigrationCompletionStatus
      • PyContentReference
      • PyContentLocation
      • PyPipelineProfile
      • PyResult
    • migration_api_rest
      • PyRestIdentifiable
    • migration_api_rest_models
      • PyAdministratorLevels
      • PyContentPermissions
      • PyLabelCategories
      • PyLicenseLevels
      • PyPermissionsCapabilityModes
      • PyPermissionsCapabilityNames
      • PySiteRoles
      • PyExtractEncryptionModes
    • migration_api_rest_models_types
      • PyAuthenticationTypes
      • PyDataSourceFileTypes
      • PyWorkbookFileTypes
    • migration_content
      • PyCloudSubscription
      • PySubscription
      • PySubscriptionContent
      • PyTag
      • PyUser
      • PyUserAuthenticationType
      • PyUsernameContent
      • PyServerSubscription
      • PyView
      • PyWithOwner
      • PyWithTags
      • PyWithWorkbook
      • PyWorkbook
      • PyWorkbookDetails
      • PyWithDomain
      • PyPublishedContent
      • PyPublishableGroup
      • PyConnection
      • PyConnectionsContent
      • PyContainerContent
      • PyCustomView
      • PyDataSource
      • PyDataSourceDetails
      • PyPublishableWorkbook
      • PyDescriptionContent
      • PyGroup
      • PyGroupUser
      • PyLabel
      • PyProject
      • PyPublishableCustomView
      • PyPublishableDataSource
      • PyExtractContent
    • migration_content_permissions
      • PyPermissions
      • PyGranteeType
      • PyGranteeCapability
      • PyCapability
    • migration_content_schedules
      • PyInterval
      • PyFrequencyDetails
      • PyExtractRefreshTask
      • PyExtractRefreshContentType
      • PySchedule
      • PyWithSchedule
    • migration_content_schedules_cloud
      • PyCloudSchedule
      • PyCloudExtractRefreshTask
    • migration_content_schedules_server
      • PyServerSchedule
      • PyServerExtractRefreshTask
    • migration_engine
      • PyServerToCloudMigrationPlanBuilder
      • PyMigrationPlanBuilder
      • PyMigrationPlan
      • PyContentMigrationItem
    • migration_engine_actions
      • PyMigrationActionResult
    • migration_engine_endpoints_search
      • PySourceContentReferenceFinder
      • PySourceContentReferenceFinderFactory
      • PyDestinationContentReferenceFinderFactory
      • PyDestinationContentReferenceFinder
    • migration_engine_hooks
      • PyMigrationHookBuilder
      • PyMigrationHookFactoryCollection
    • migration_engine_hooks_filters
      • PyContentFilterBuilder
    • migration_engine_hooks_filters_interop
      • PyContentFilterBase
    • migration_engine_hooks_interop
      • PyInitializeMigrationHookBase
      • PyMigrationActionCompletedHookBase
      • PyContentBatchMigrationCompletedHookBase
    • migration_engine_hooks_mappings
      • PyContentMappingContext
      • PyContentMappingBuilder
    • migration_engine_hooks_mappings_interop
      • PyContentMappingBase
      • PyTableauCloudUsernameMappingBase
    • migration_engine_hooks_postpublish
      • PyContentItemPostPublishContext
      • PyBulkPostPublishContext
    • migration_engine_hooks_postpublish_interop
      • PyContentItemPostPublishHookBase
      • PyBulkPostPublishHookBase
    • migration_engine_hooks_results
      • PyInitializeMigrationHookResult
    • migration_engine_hooks_transformers
      • PyContentTransformerBuilder
    • migration_engine_hooks_transformers_interop
      • PyXmlContentTransformerBase
      • PyContentTransformerBase
    • migration_engine_manifest
      • PyMigrationManifestEntryEditor
      • PyMigrationManifestEntryStatus
      • PyMigrationManifestSerializer
      • PyMigrationManifestEntry
    • migration_engine_migrators
      • PyContentItemMigrationResult
      • PyMigrator
    • migration_engine_migrators_batch
      • PyContentBatchMigrationResult
    • migration_engine_options
      • PyMigrationPlanOptionsBuilder
      • PyMigrationPlanOptionsCollection
    • migration_engine_pipelines
      • PyMigrationPipelineContentType
      • PyServerToCloudMigrationPipeline
    • migration_enum
    • migration_logger
      • MigrationLogger
    • migration_services
      • ScopedMigrationServices

PySubscription

class PySubscription(subscription)

Bases: Generic[TSchedule], PyWithSchedule[TSchedule], PyWithOwner

Interface for a subscription.

  • Parameters: subscription (ISubscription [ ])

__init__(subscription)

Creates a new PySubscription object.

Args: : subscription: A ISubscription object.

Returns: None.

  • Parameters: subscription (ISubscription [ ])
  • Return type: None

Methods

__init__(subscription) Creates a new PySubscription object.

Attributes

attach_image Gets or sets whether or not an image file should be attached to the notification.
attach_pdf Gets or sets whether or not a pdf file should be attached to the notification.
content Gets or set the content reference of the subscription.
content_url Get the site-unique "content URL" of the content item, or an empty string if the content type does not use a content URL.
id Gets the unique identifier.
location Gets the logical location path of the content item, for project-level content this is the project path and the content item name.
message Gets or sets the message of the subscription.
name Gets the name of the content item.
owner Gets or sets the owner for the content item.
page_orientation Gets or set the page orientation of the subscription.
page_size_option Gets or set the page page size option of the subscription.
schedule Gets the content item's schedule.
subject Gets or sets the subject of the subscription.
suspended Gets or sets whether or not the subscription is suspended.

property subject : str

Gets or sets the subject of the subscription.

property attach_image : bool

Gets or sets whether or not an image file should be attached to the notification.

property attach_pdf : bool

Gets or sets whether or not a pdf file should be attached to the notification.

property page_orientation : str

Gets or set the page orientation of the subscription.

property content_url : str

Get the site-unique “content URL” of the content item, or an empty string if the content type does not use a content URL.

property id : UUID

Gets the unique identifier.

property location : PyContentLocation

Gets the logical location path of the content item, for project-level content this is the project path and the content item name.

property name : str

Gets the name of the content item. This is equivalent to the last segment of the Location. Renames should be performed through mapping.

property owner : PyContentReference

Gets or sets the owner for the content item.

property page_size_option : str

Gets or set the page page size option of the subscription.

property schedule : TSchedule

Gets the content item’s schedule.

property suspended : bool

Gets or sets whether or not the subscription is suspended.

property message : str

Gets or sets the message of the subscription.

property content : PySubscriptionContent

Gets or set the content reference of the subscription.

In this article