Show / Hide Table of Contents

Class FacetOptions

Specifies operators to return facet results for. There will be one FacetResult for every source_name/object_type/operator_name combination.

Inheritance
object
FacetOptions
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 FacetOptions : IDirectResponseSchema

Properties

ETag

The ETag of the item.

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

IntegerFacetingOptions

If set, describes integer faceting options for the given integer property. The corresponding integer property in the schema should be marked isFacetable. The number of buckets returned would be minimum of this and num_facet_buckets.

Declaration
[JsonProperty("integerFacetingOptions")]
public virtual IntegerFacetingOptions IntegerFacetingOptions { get; set; }
Property Value
Type Description
IntegerFacetingOptions

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
int?

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
string

OperatorName

The name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions

Declaration
[JsonProperty("operatorName")]
public virtual string OperatorName { get; set; }
Property Value
Type Description
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
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX