Class SchemaFieldSpec
- Assembly
- Google.Apis.Admin.Directory.directory_v1.dll
You can use schemas to add custom fields to user profiles. You can use these fields to store information such as the projects your users work on, their physical locations, their hire dates, or whatever else fits your business needs. For more information, see Custom User Fields.
public class SchemaFieldSpec : IDirectResponseSchema
- Inheritance
-
SchemaFieldSpec
- Implements
-
IDirectResponseSchema
- Inherited Members
Constructors
SchemaFieldSpec()
public SchemaFieldSpec()
Properties
DisplayName
Display Name of the field.
public virtual string DisplayName { get; set; }
Property Value
ETag
The ETag of the field.
public virtual string ETag { get; set; }
Property Value
FieldId
The unique identifier of the field (Read-only)
public virtual string FieldId { get; set; }
Property Value
FieldName
The name of the field.
public virtual string FieldName { get; set; }
Property Value
FieldType
The type of the field.
public virtual string FieldType { get; set; }
Property Value
Indexed
Boolean specifying whether the field is indexed or not. Default: true
.
public virtual bool? Indexed { get; set; }
Property Value
- bool?
Kind
The kind of resource this is. For schema fields this is always admin#directory#schema#fieldspec
.
public virtual string Kind { get; set; }
Property Value
MultiValued
A boolean specifying whether this is a multi-valued field or not. Default: false
.
public virtual bool? MultiValued { get; set; }
Property Value
- bool?
NumericIndexingSpec
Indexing spec for a numeric field. By default, only exact match queries will be supported for numeric
fields. Setting the numericIndexingSpec
allows range queries to be supported.
public virtual SchemaFieldSpec.NumericIndexingSpecData NumericIndexingSpec { get; set; }
Property Value
ReadAccessType
Specifies who can view values of this field. See Retrieve users as a non-administrator for more information. Note: It may take up to 24 hours for changes to this field to be reflected.
public virtual string ReadAccessType { get; set; }