public static class Filters
Reference documentation and code samples for the Google BigQuery v2 API class Filters.
Helper method to build filter strings.
Namespace
GoogleGoogle.CloudGoogle.Cloud.BigQueryV2Assembly
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 | string The name of the label to filter on. Must not be null or empty. |
value | string The 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 | IDictionarystringstring 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.