Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::ListSnoozesRequest (v1.1.0)

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

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#filter

def filter() -> ::String
Returns
  • (::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"
    ```
    

#filter=

def filter=(value) -> ::String
Parameter
  • value (::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"
    ```
    
Returns
  • (::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

def page_size() -> ::Integer
Returns
  • (::Integer) — 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_size=

def page_size=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.
Returns
  • (::Integer) — 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

def page_token() -> ::String
Returns
  • (::String) — Optional. The next_page_token from a previous call to ListSnoozesRequest to get the next page of results.

#page_token=

def page_token=(value) -> ::String
Parameter
  • value (::String) — Optional. The next_page_token from a previous call to ListSnoozesRequest to get the next page of results.
Returns
  • (::String) — Optional. The next_page_token from a previous call to ListSnoozesRequest to get the next page of results.

#parent

def parent() -> ::String
Returns
  • (::String) —

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

    projects/[PROJECT_ID_OR_NUMBER]
    

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) —

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

    projects/[PROJECT_ID_OR_NUMBER]
    
Returns
  • (::String) —

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

    projects/[PROJECT_ID_OR_NUMBER]