Show / Hide Table of Contents

Class DataSource

Datasource is a logical namespace for items to be indexed. All items must belong to a datasource. This is the prerequisite before items can be indexed into Cloud Search.

Inheritance
System.Object
DataSource
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class DataSource : IDirectResponseSchema

Properties

DisableModifications

If true, Indexing API rejects any modification calls to this datasource such as create, update, and delete. Disabling this does not imply halting process of previously accepted data.

Declaration
[JsonProperty("disableModifications")]
public virtual bool? DisableModifications { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

DisableServing

Disable serving any search or assist results.

Declaration
[JsonProperty("disableServing")]
public virtual bool? DisableServing { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

DisplayName

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

Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

IndexingServiceAccounts

List of service accounts that have indexing access.

Declaration
[JsonProperty("indexingServiceAccounts")]
public virtual IList<string> IndexingServiceAccounts { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

ItemsVisibility

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.

Declaration
[JsonProperty("itemsVisibility")]
public virtual IList<GSuitePrincipal> ItemsVisibility { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<GSuitePrincipal>

Name

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

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

OperationIds

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

Declaration
[JsonProperty("operationIds")]
public virtual IList<string> OperationIds { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

ShortName

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.

Declaration
[JsonProperty("shortName")]
public virtual string ShortName { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
Back to top