SharepointIngestionEntry

A single SharePoint entry to ingest. entry_type determines which other fields are required: - “site”: object_id is required. - “drive”: drive_id is required. - “drive_by_id”: drive_id is required. Use this for drives only reachable by direct drive_id (OneDrive personal, M365 group drives, drives in non-discoverable sites). - “directory”: drive_id and object_id are required. - “file”: drive_id and object_id are required.

Properties

Name

Type

Description

Notes

name

str

Display name of the entry. Optional — used in logs.

[optional]

entry_type

str

web_url

str

Web URL of the entry. Optional — derived from drive_id/object_id when omitted.

[optional]

drive_id

str

SharePoint drive identifier.

[optional]

object_id

str

SharePoint site/folder/file identifier.

[optional]

Example

from h2ogpte.rest_async.models.sharepoint_ingestion_entry import SharepointIngestionEntry

# TODO update the JSON string below
json = "{}"
# create an instance of SharepointIngestionEntry from a JSON string
sharepoint_ingestion_entry_instance = SharepointIngestionEntry.from_json(json)
# print the JSON string representation of the object
print(SharepointIngestionEntry.to_json())

# convert the object into a dict
sharepoint_ingestion_entry_dict = sharepoint_ingestion_entry_instance.to_dict()
# create an instance of SharepointIngestionEntry from a dict
sharepoint_ingestion_entry_from_dict = SharepointIngestionEntry.from_dict(sharepoint_ingestion_entry_dict)