Class GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest
Request message for SiteSearchEngineService.SetUriPatternDocumentData method.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest : IDirectResponseSchema
Properties
DocumentDataMap
Document data keyed by URI pattern. Each entry must be consistent with the Schema. For example: Schema = { "type": "object", "properties": { "Categories": { "type": "array", "items": { "retrievable": true, "type": "string" } } } document_data_map = { "www.url1.com/": { "Categories": ["category1", "category2"] }, "www.url2.com/": { "Categories": ["category3"] } }
Declaration
[JsonProperty("documentDataMap")]
public virtual IDictionary<string, IDictionary<string, object>> DocumentDataMap { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, IDictionary<string, object>> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EmptyDocumentDataMap
If true, clears the document data map. If true, SetUriPatternDocumentDataRequest.document_data_map must be empty.
Declaration
[JsonProperty("emptyDocumentDataMap")]
public virtual bool? EmptyDocumentDataMap { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Schema
Optional. If not provided, the current Schema is used. If provided, validates and updates the Schema. If validation fails, an error is returned.
Declaration
[JsonProperty("schema")]
public virtual IDictionary<string, object> Schema { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |