Creates a datasource. Note: This API requires an admin account to execute.
Request body
The name of the datasource resource. Format: datasources/{source_id}. The name is ignored when creating a datasource.
Disable serving any search or assist results.
Can a user request to get thumbnail URI for Items indexed in this data source.
IDs of the Long Running Operations (LROs) currently running for this schema.
If true, sets the datasource to read-only mode. In read-only mode, the Indexing API rejects any requests to index or delete items in this source. Enabling read-only mode does not stop the processing of previously accepted data.
Required. Display name of the datasource The maximum length is 300 characters.
A short name or alias for the source. This value will be used to match the 'source' operator. For example, if the short name is <value> then queries like source:<value> will only return results for this source. The value must be unique across all datasources. The value must only contain alphanumeric characters (a-zA-Z0-9). The value cannot start with 'google' and cannot be one of the following: mail, gmail, docs, drive, groups, sites, calendar, hangouts, gplus, keep, people, teams. Its maximum length is 32 characters.
List of service accounts that have indexing access.
Response
Successful response