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 \ V1beta1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ service |
string
Optional. The exact value to match against |
↳ version |
string
Optional. The exact value to match against |
↳ resource_type |
string
Optional. The exact value to match against |
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 |