Google Cloud Monitoring v3 API - Class ListSnoozesRequest (3.8.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
NameDescription
otherListSnoozesRequest

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
string

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProjectName