Stackdriver Error Reporting V1beta1 Client - Class ServiceContextFilter (0.22.8)

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

Namespace

Google \ Cloud \ ErrorReporting \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setService

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

Parameter
Name Description
var string
Returns
Type Description
$this

getVersion

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

Returns
Type Description
string

setVersion

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

Parameter
Name Description
var string
Returns
Type Description
$this

getResourceType

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

Returns
Type Description
string

setResourceType

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

Parameter
Name Description
var string
Returns
Type Description
$this