Show / Hide Table of Contents

Class ObjectDefinition

The definition for an object within a data source.

Inheritance
object
ObjectDefinition
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.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class ObjectDefinition : IDirectResponseSchema

Properties

ETag

The ETag of the item.

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

Name

The name for the object, which then defines its type. Item indexing requests should set the objectType field equal to this value. For example, if name is Document, then indexing requests for items of type Document should set objectType equal to Document. Each object definition must be uniquely named within a schema. The name must start with a letter and can only contain letters (A-Z, a-z) or numbers (0-9). The maximum length is 256 characters.

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

Options

The optional object-specific options.

Declaration
[JsonProperty("options")]
public virtual ObjectOptions Options { get; set; }
Property Value
Type Description
ObjectOptions

PropertyDefinitions

The property definitions for the object. The maximum number of elements is 1000.

Declaration
[JsonProperty("propertyDefinitions")]
public virtual IList<PropertyDefinition> PropertyDefinitions { get; set; }
Property Value
Type Description
IList<PropertyDefinition>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX