Show / Hide Table of Contents

Class SchemaFieldSpec

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.

Inheritance
object
SchemaFieldSpec
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Admin.Directory.directory_v1.Data
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class SchemaFieldSpec : IDirectResponseSchema

Properties

DisplayName

Display Name of the field.

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

ETag

The ETag of the field.

Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type Description
string

FieldId

The unique identifier of the field (Read-only)

Declaration
[JsonProperty("fieldId")]
public virtual string FieldId { get; set; }
Property Value
Type Description
string

FieldName

The name of the field.

Declaration
[JsonProperty("fieldName")]
public virtual string FieldName { get; set; }
Property Value
Type Description
string

FieldType

The type of the field.

Declaration
[JsonProperty("fieldType")]
public virtual string FieldType { get; set; }
Property Value
Type Description
string

Indexed

Boolean specifying whether the field is indexed or not. Default: true.

Declaration
[JsonProperty("indexed")]
public virtual bool? Indexed { get; set; }
Property Value
Type Description
bool?

Kind

The kind of resource this is. For schema fields this is always admin#directory#schema#fieldspec.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
string

MultiValued

A boolean specifying whether this is a multi-valued field or not. Default: false.

Declaration
[JsonProperty("multiValued")]
public virtual bool? MultiValued { get; set; }
Property Value
Type Description
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.

Declaration
[JsonProperty("numericIndexingSpec")]
public virtual SchemaFieldSpec.NumericIndexingSpecData NumericIndexingSpec { get; set; }
Property Value
Type Description
SchemaFieldSpec.NumericIndexingSpecData

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.

Declaration
[JsonProperty("readAccessType")]
public virtual string ReadAccessType { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX