Filter that describes what data should be selected or returned from a request.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field filter . The kinds of filters that may limit what data is selected. filter can be only one of the following: |
|
developerMetadataLookup |
Selects data associated with the developer metadata matching the criteria described by this |
a1Range |
Selects data that matches the specified A1 range. |
gridRange |
Selects data that matches the range described by the |
DeveloperMetadataLookup
Selects DeveloperMetadata
that matches all of the specified fields. For example, if only a metadata ID is specified this considers the DeveloperMetadata
with that particular unique ID. If a metadata key is specified, this considers all developer metadata with that key. If a key, visibility, and location type are all specified, this considers all developer metadata with that key and visibility that are associated with a location of that type. In general, this selects all DeveloperMetadata that matches the intersection of all the specified fields; any field or combination of fields may be specified.
JSON representation |
---|
{ "locationType": enum ( |
Fields | |
---|---|
locationType |
Limits the selected developer metadata to those entries which are associated with locations of the specified type. For example, when this field is specified as |
metadataLocation |
Limits the selected developer metadata to those entries associated with the specified location. This field either matches exact locations or all intersecting locations according the specified |
locationMatchingStrategy |
Determines how this lookup matches the location. If this field is specified as EXACT, only developer metadata associated on the exact location specified is matched. If this field is specified to INTERSECTING, developer metadata associated on intersecting locations is also matched. If left unspecified, this field assumes a default value of |
metadataId |
Limits the selected developer metadata to that which has a matching |
metadataKey |
Limits the selected developer metadata to that which has a matching |
metadataValue |
Limits the selected developer metadata to that which has a matching |
visibility |
Limits the selected developer metadata to that which has a matching |
DeveloperMetadataLocationMatchingStrategy
An enumeration of strategies for matching developer metadata locations.
Enums | |
---|---|
DEVELOPER_METADATA_LOCATION_MATCHING_STRATEGY_UNSPECIFIED |
Default value. This value must not be used. |
EXACT_LOCATION |
Indicates that a specified location should be matched exactly. For example, if row three were specified as a location this matching strategy would only match developer metadata also associated on row three. Metadata associated on other locations would not be considered. |
INTERSECTING_LOCATION |
Indicates that a specified location should match that exact location as well as any intersecting locations. For example, if row three were specified as a location this matching strategy would match developer metadata associated on row three as well as metadata associated on locations that intersect row three. If, for instance, there was developer metadata associated on column B, this matching strategy would also match that location because column B intersects row three. |