Stackdriver Error Reporting V1beta1 Client - Class ServiceContextFilter (0.19.12)

Reference documentation and code samples for the Stackdriver Error Reporting V1beta1 Client class ServiceContextFilter.

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.

Generated from protobuf message google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ service string

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

↳ version string

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

↳ resource_type string

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

getService

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

Returns
TypeDescription
string

setService

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVersion

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

Returns
TypeDescription
string

setVersion

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getResourceType

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

Returns
TypeDescription
string

setResourceType

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this