Class PushItem
Represents an item to be pushed to the indexing queue.
Implements
Inherited Members
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class PushItem : IDirectResponseSchema
Properties
ContentHash
Content hash of the item according to the repository. If specified, this is used to determine how to modify this item's status. Setting this field and the type field results in argument error. The maximum length is 2048 characters.
Declaration
[JsonProperty("contentHash")]
public virtual string ContentHash { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MetadataHash
The metadata hash of the item according to the repository. If specified, this is used to determine how to modify this item's status. Setting this field and the type field results in argument error. The maximum length is 2048 characters.
Declaration
[JsonProperty("metadataHash")]
public virtual string MetadataHash { get; set; }
Property Value
Type | Description |
---|---|
string |
Payload
Provides additional document state information for the connector, such as an alternate repository ID and other metadata. The maximum length is 8192 bytes.
Declaration
[JsonProperty("payload")]
public virtual string Payload { get; set; }
Property Value
Type | Description |
---|---|
string |
Queue
Queue to which this item belongs. The default
queue is chosen if this field is not specified. The maximum
length is 512 characters.
Declaration
[JsonProperty("queue")]
public virtual string Queue { get; set; }
Property Value
Type | Description |
---|---|
string |
RepositoryError
Populate this field to store Connector or repository error details. This information is displayed in the Admin Console. This field may only be populated when the Type is REPOSITORY_ERROR.
Declaration
[JsonProperty("repositoryError")]
public virtual RepositoryError RepositoryError { get; set; }
Property Value
Type | Description |
---|---|
RepositoryError |
StructuredDataHash
Structured data hash of the item according to the repository. If specified, this is used to determine how to modify this item's status. Setting this field and the type field results in argument error. The maximum length is 2048 characters.
Declaration
[JsonProperty("structuredDataHash")]
public virtual string StructuredDataHash { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
The type of the push operation that defines the push behavior.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |