QueryBuilder
and_
Name | Description |
---|---|
[QueryBuilder](/sdk/python/references/models/query_builder) | The current QueryBuilder instance for method chaining. |
or_
Name | Description |
---|---|
[QueryBuilder](/sdk/python/references/models/query_builder) | The current QueryBuilder instance for method chaining. |
folder
Name | Type | Description |
---|---|---|
folderId | str | The ID of the folder to set as the scope. |
Name | Description |
---|---|
[QueryBuilder](/sdk/python/references/models/query_builder) | The current QueryBuilder instance for method chaining. |
exact_match
Name | Description |
---|---|
[QueryBuilder](/sdk/python/references/models/query_builder) | The current QueryBuilder instance for method chaining. |
deployment_var
Name | Type | Description |
---|---|---|
key | str | The key of the deployment variable. |
value | Union[str, int, bool] | The value of the deployment variable. |
enforce | bool, optional | Whether to enforce the deployment variable. Defaults to True. |
Name | Description |
---|---|
[QueryBuilder](/sdk/python/references/models/query_builder) | The current QueryBuilder instance for method chaining. |
tag
Name | Type | Description |
---|---|---|
key | str | The key of the tag. |
value | Union[str, int, bool] | The value of the tag. |
enforce | bool, optional | Whether to enforce the tag. Defaults to False. |
Name | Description |
---|---|
[QueryBuilder](/sdk/python/references/models/query_builder) | The current QueryBuilder instance for method chaining. |
build
ValueError
- If the query is empty after trimming.
Name | Description |
---|---|
QueryRule | A QueryRule instance with the built query. |