DataSourceArgs

data class DataSourceArgs(val disableModifications: Output<Boolean>? = null, val disableServing: Output<Boolean>? = null, val displayName: Output<String>? = null, val indexingServiceAccounts: Output<List<String>>? = null, val itemsVisibility: Output<List<GSuitePrincipalArgs>>? = null, val name: Output<String>? = null, val operationIds: Output<List<String>>? = null, val returnThumbnailUrls: Output<Boolean>? = null, val shortName: Output<String>? = null) : ConvertibleToJava<DataSourceArgs>

Creates a datasource. Note: This API requires an admin account to execute.

Constructors

Link copied to clipboard
constructor(disableModifications: Output<Boolean>? = null, disableServing: Output<Boolean>? = null, displayName: Output<String>? = null, indexingServiceAccounts: Output<List<String>>? = null, itemsVisibility: Output<List<GSuitePrincipalArgs>>? = null, name: Output<String>? = null, operationIds: Output<List<String>>? = null, returnThumbnailUrls: Output<Boolean>? = null, shortName: Output<String>? = null)

Properties

Link copied to clipboard
val disableModifications: Output<Boolean>? = null

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.

Link copied to clipboard
val disableServing: Output<Boolean>? = null

Disable serving any search or assist results.

Link copied to clipboard
val displayName: Output<String>? = null

Display name of the datasource The maximum length is 300 characters.

Link copied to clipboard
val indexingServiceAccounts: Output<List<String>>? = null

List of service accounts that have indexing access.

Link copied to clipboard

This field restricts visibility to items at the datasource level. Items within the datasource are restricted to the union of users and groups included in this field. Note that, this does not ensure access to a specific item, as users need to have ACL permissions on the contained items. This ensures a high level access on the entire datasource, and that the individual items are not shared outside this visibility.

Link copied to clipboard
val name: Output<String>? = null

The name of the datasource resource. Format: datasources/{source_id}. The name is ignored when creating a datasource.

Link copied to clipboard
val operationIds: Output<List<String>>? = null

IDs of the Long Running Operations (LROs) currently running for this schema.

Link copied to clipboard
val returnThumbnailUrls: Output<Boolean>? = null

Can a user request to get thumbnail URI for Items indexed in this data source.

Link copied to clipboard
val shortName: Output<String>? = null

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 then queries like source: 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.

Functions

Link copied to clipboard
open override fun toJava(): DataSourceArgs