ServiceContextFilter

Specifies criteria for filtering a subset of service contexts. The fields in the filter correspond to the fields inServiceContext. Only exact, case-sensitive matches are supported. If a field is unset or empty, it matches arbitrary values.

JSON representation
{"service":string,"version":string,"resourceType":string}
Fields
service

string

Optional. The exact value to match againstServiceContext.service.

version

string

Optional. The exact value to match againstServiceContext.version.

resourceType

string

Optional. The exact value to match againstServiceContext.resource_type.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-14 UTC.