Reference documentation and code samples for the Stackdriver Monitoring V3 Client class ListSnoozesRequest.
The message definition for listing Snooze
s associated with the given parent
, satisfying the optional filter
.
Generated from protobuf message google.monitoring.v3.ListSnoozesRequest
Namespace
Google \ Cloud \ Monitoring \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The project
whose Snooze
s should be listed. The format is: projects/[PROJECT_ID_OR_NUMBER]
↳ filter
string
Optional. Optional filter to restrict results to the given criteria. The following fields are supported. * * interval.start_time
* * interval.end_time
For example: interval.start_time > "2022-03-11T00:00:00-08:00" AND interval.end_time < "2022-03-12T00:00:00-08:00"
↳ page_size
int
Optional. The maximum number of results to return for a single query. The server may further constrain the maximum number of results returned in a single page. The value should be in the range [1, 1000]. If the value given is outside this range, the server will decide the number of results to be returned.
↳ page_token
string
Optional. The next_page_token
from a previous call to ListSnoozesRequest
to get the next page of results.
getParent
Required. The project
whose Snooze
s should be listed. The format is:
projects/[PROJECT_ID_OR_NUMBER]
string
setParent
Required. The project
whose Snooze
s should be listed. The format is:
projects/[PROJECT_ID_OR_NUMBER]
var
string
$this
getFilter
Optional. Optional filter to restrict results to the given criteria. The following fields are supported.
-
interval.start_time
-
interval.end_time
For example:php interval.start_time > "2022-03-11T00:00:00-08:00" AND interval.end_time < "2022-03-12T00:00:00-08:00"
-
string
setFilter
Optional. Optional filter to restrict results to the given criteria. The following fields are supported.
-
interval.start_time
-
interval.end_time
For example:php interval.start_time > "2022-03-11T00:00:00-08:00" AND interval.end_time < "2022-03-12T00:00:00-08:00"
-
var
string
$this
getPageSize
Optional. The maximum number of results to return for a single query. The server may further constrain the maximum number of results returned in a single page. The value should be in the range [1, 1000]. If the value given is outside this range, the server will decide the number of results to be returned.
int
setPageSize
Optional. The maximum number of results to return for a single query. The server may further constrain the maximum number of results returned in a single page. The value should be in the range [1, 1000]. If the value given is outside this range, the server will decide the number of results to be returned.
var
int
$this
getPageToken
Optional. The next_page_token
from a previous call to ListSnoozesRequest
to get the next page of results.
string
setPageToken
Optional. The next_page_token
from a previous call to ListSnoozesRequest
to get the next page of results.
var
string
$this
static::build
parent
string
Required. The project
whose Snooze
s should be listed. The format is:
projects/[PROJECT_ID_OR_NUMBER] Please see SnoozeServiceClient::workspaceName() for help formatting this field.