public static class FiltersHelper method to build filter strings.
Namespace
Google.Cloud.BigQuery.V2Assembly
Google.Cloud.BigQuery.V2.dll
Methods
FromLabel(String, String)
public static string FromLabel(string name, string value)Creates a filter for a single label.
| Parameters | |
|---|---|
| Name | Description | 
| name | StringThe name of the label to filter on. Must not be null or empty. | 
| value | StringThe value for the label. May be null or empty. | 
| Returns | |
|---|---|
| Type | Description | 
| String | A string of the form "labels.{name}:{value}" when  | 
FromLabels(IDictionary<String, String>)
public static string FromLabels(IDictionary<string, string> labels)Creates a filter for the given labels.
| Parameter | |
|---|---|
| Name | Description | 
| labels | IDictionary<String, String>The labels to filter by. Must not be null. | 
| Returns | |
|---|---|
| Type | Description | 
| String | A filter for the given labels. | 
See FromLabel(String, String) for the format of a single label; this method joins multiple labels together with spaces.