DataSourceArgs class
The set of arguments for DataSource. The set of arguments for DataSource.
Constructors
-
DataSourceArgs({Input<
bool> ? disableModifications, Input<bool> ? disableServing, required Input<String> displayName, Input<List< ? indexingServiceAccounts, Input<String> >List< ? itemsVisibility, Input<GSuitePrincipal> >String> ? name, Input<List< ? operationIds, Input<String> >bool> ? returnThumbnailUrls, Input<String> ? shortName}) -
Creates a new DataSourceArgs.
disableModificationsIf 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.disableServingDisable serving any search or assist results.displayNameDisplay name of the datasource The maximum length is 300 characters.indexingServiceAccountsList of service accounts that have indexing access.itemsVisibilityThis 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.nameThe name of the datasource resource. Format: datasources/{source_id}. The name is ignored when creating a datasource.operationIdsIDs of the Long Running Operations (LROs) currently running for this schema.returnThumbnailUrlsCan a user request to get thumbnail URI for Items indexed in this data source.shortNameA 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.const -
DataSourceArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
disableModifications
→ Input<
bool> ? -
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.
final
-
disableServing
→ Input<
bool> ? -
Disable serving any search or assist results.
final
-
displayName
→ Input<
String> -
Display name of the datasource The maximum length is 300 characters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
indexingServiceAccounts
→ Input<
List< ?String> > -
List of service accounts that have indexing access.
final
-
itemsVisibility
→ Input<
List< ?GSuitePrincipal> > -
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.
final
-
name
→ Input<
String> ? -
The name of the datasource resource. Format: datasources/{source_id}. The name is ignored when creating a datasource.
final
-
operationIds
→ Input<
List< ?String> > -
IDs of the Long Running Operations (LROs) currently running for this schema.
final
-
returnThumbnailUrls
→ Input<
bool> ? -
Can a user request to get thumbnail URI for Items indexed in this data source.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shortName
→ Input<
String> ? -
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.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited