Reference documentation and code samples for the Stackdriver Monitoring V3 Client class ListServiceLevelObjectivesRequest.
The ListServiceLevelObjectives
request.
Generated from protobuf message google.monitoring.v3.ListServiceLevelObjectivesRequest
Namespace
Google \ Cloud \ Monitoring \ V3Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Resource name of the parent containing the listed SLOs, either a project or a Monitoring Workspace. The formats are: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID] workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/- |
↳ filter |
string
A filter specifying what |
↳ page_size |
int
A non-negative number that is the maximum number of results to return. When 0, use default page size. |
↳ page_token |
string
If this field is not empty then it must contain the |
↳ view |
int
View of the |
getParent
Required. Resource name of the parent containing the listed SLOs, either a project or a Monitoring Workspace. The formats are: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID] workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
Returns | |
---|---|
Type | Description |
string |
setParent
Required. Resource name of the parent containing the listed SLOs, either a project or a Monitoring Workspace. The formats are: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID] workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getFilter
A filter specifying what ServiceLevelObjective
s to return.
Returns | |
---|---|
Type | Description |
string |
setFilter
A filter specifying what ServiceLevelObjective
s to return.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPageSize
A non-negative number that is the maximum number of results to return.
When 0, use default page size.
Returns | |
---|---|
Type | Description |
int |
setPageSize
A non-negative number that is the maximum number of results to return.
When 0, use default page size.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPageToken
If this field is not empty then it must contain the nextPageToken
value
returned by a previous call to this method. Using this field causes the
method to return additional results from the previous method call.
Returns | |
---|---|
Type | Description |
string |
setPageToken
If this field is not empty then it must contain the nextPageToken
value
returned by a previous call to this method. Using this field causes the
method to return additional results from the previous method call.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getView
View of the ServiceLevelObjective
s to return. If DEFAULT
, return each
ServiceLevelObjective
as originally defined. If EXPLICIT
and the
ServiceLevelObjective
is defined in terms of a BasicSli
, replace the
BasicSli
with a RequestBasedSli
spelling out how the SLI is computed.
Returns | |
---|---|
Type | Description |
int |
setView
View of the ServiceLevelObjective
s to return. If DEFAULT
, return each
ServiceLevelObjective
as originally defined. If EXPLICIT
and the
ServiceLevelObjective
is defined in terms of a BasicSli
, replace the
BasicSli
with a RequestBasedSli
spelling out how the SLI is computed.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
parent |
string
Required. Resource name of the parent containing the listed SLOs, either a project or a Monitoring Workspace. The formats are: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID] workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/- Please see Google\Cloud\Monitoring\V3\ServiceMonitoringServiceClient::serviceName() for help formatting this field. |
Returns | |
---|---|
Type | Description |
Google\Cloud\Monitoring\V3\ListServiceLevelObjectivesRequest |