Class ServiceContextFilter (2.0.0-beta05)

public sealed class ServiceContextFilter : IMessage<ServiceContextFilter>, IEquatable<ServiceContextFilter>, IDeepCloneable<ServiceContextFilter>, IBufferMessage, IMessage

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

Inheritance

Object > ServiceContextFilter

Namespace

Google.Cloud.ErrorReporting.V1Beta1

Assembly

Google.Cloud.ErrorReporting.V1Beta1.dll

Constructors

ServiceContextFilter()

public ServiceContextFilter()

ServiceContextFilter(ServiceContextFilter)

public ServiceContextFilter(ServiceContextFilter other)
Parameter
NameDescription
otherServiceContextFilter

Properties

ResourceType

public string ResourceType { get; set; }

Optional. The exact value to match against ServiceContext.resource_type.

Property Value
TypeDescription
String

Service

public string Service { get; set; }

Optional. The exact value to match against ServiceContext.service.

Property Value
TypeDescription
String

Version

public string Version { get; set; }

Optional. The exact value to match against ServiceContext.version.

Property Value
TypeDescription
String