Class FacetOptions
Specifies operators to return facet results for. There will be one FacetResult for every source_name/object_type/operator_name combination.
Inheritance
System.Object
FacetOptions
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class FacetOptions : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
NumFacetBuckets
Maximum number of facet buckets that should be returned for this facet. Defaults to 10. Maximum value is 100.
Declaration
[JsonProperty("numFacetBuckets")]
public virtual int? NumFacetBuckets { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
ObjectType
If object_type is set, only those objects of that type will be used to compute facets. If empty, then all objects will be used to compute facets.
Declaration
[JsonProperty("objectType")]
public virtual string ObjectType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
OperatorName
Name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions
Declaration
[JsonProperty("operatorName")]
public virtual string OperatorName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SourceName
Source name to facet on. Format: datasources/{source_id} If empty, all data sources will be used.
Declaration
[JsonProperty("sourceName")]
public virtual string SourceName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |