Google Cloud Monitoring v3 API - Class ListSnoozesRequest (3.11.0)

public sealed class ListSnoozesRequest : IMessage<ListSnoozesRequest>, IEquatable<ListSnoozesRequest>, IDeepCloneable<ListSnoozesRequest>, IBufferMessage, IMessage, IPageRequest

Reference documentation and code samples for the Google Cloud Monitoring v3 API class ListSnoozesRequest.

The message definition for listing Snoozes associated with the given parent, satisfying the optional filter.

Inheritance

object > ListSnoozesRequest

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Constructors

ListSnoozesRequest()

public ListSnoozesRequest()

ListSnoozesRequest(ListSnoozesRequest)

public ListSnoozesRequest(ListSnoozesRequest other)
Parameter
Name Description
other ListSnoozesRequest

Properties

Filter

public string Filter { get; set; }

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"
```
Property Value
Type Description
string

PageSize

public int PageSize { get; set; }

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.

Property Value
Type Description
int

PageToken

public string PageToken { get; set; }

Optional. The next_page_token from a previous call to ListSnoozesRequest to get the next page of results.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

Required. The project whose Snoozes should be listed. The format is:

projects/[PROJECT_ID_OR_NUMBER]
Property Value
Type Description
string

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
Type Description
ProjectName