1.3.0 (latest) 1.2.0 1.1.0 1.0.0

    public sealed class StructuredQuery : IMessage<StructuredQuery>, IEquatable<StructuredQuery>, IDeepCloneable<StructuredQuery>, IBufferMessage, IMessage

Reference documentation and code samples for the Vector Search v1 API class StructuredQuery.

A structured query for text search. Allows expressing field-targeted text
queries combined via boolean operators, with optional per-node boosting.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> StructuredQuery

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[StructuredQuery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VectorSearch.V1/latest/Google.Cloud.VectorSearch.V1.StructuredQuery.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StructuredQuery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VectorSearch.V1/latest/Google.Cloud.VectorSearch.V1.StructuredQuery.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[StructuredQuery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VectorSearch.V1/latest/Google.Cloud.VectorSearch.V1.StructuredQuery.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.VectorSearch.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VectorSearch.V1/latest/Google.Cloud.VectorSearch.V1.md.txt)

## Assembly

Google.Cloud.VectorSearch.V1.dll

## Constructors

### StructuredQuery()

    public StructuredQuery()

### StructuredQuery(StructuredQuery)

    public StructuredQuery(StructuredQuery other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `StructuredQuery` |

## Properties

### Boost

    public float Boost { get; set; }

Optional. Optional multiplier applied to this query node's contribution to
the final relevance score. Must be non-negative; if unset or 0, defaults
to 1.0. Values greater than 1.0 increase its influence on ranking, values
between 0.0 and 1.0 decrease it.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### Combine

    public CombinedQuery Combine { get; set; }

Optional. A query that combines multiple sub-queries with a boolean
operator.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CombinedQuery` |   |

### QueryTypeCase

    public StructuredQuery.QueryTypeOneofCase QueryTypeCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `StructuredQueryQueryTypeOneofCase` |   |

### Text

    public TextQuery Text { get; set; }

Optional. A leaf-level text query.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `TextQuery` |   |

### Unary

    public UnaryQuery Unary { get; set; }

Optional. A query that applies a unary operator to a sub-query.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `UnaryQuery` |   |