lib/twilio-ruby/rest/monitor/v1/alert.rb in twilio-ruby-5.31.3 vs lib/twilio-ruby/rest/monitor/v1/alert.rb in twilio-ruby-5.31.4

- old
+ new

@@ -27,16 +27,16 @@ # Lists AlertInstance records from the API as a list. # Unlike stream(), this operation is eager and will load `limit` records into # memory before returning. # @param [String] log_level Only show alerts for this log-level. Can be: `error`, # `warning`, `notice`, or `debug`. - # @param [Date] start_date Only include alerts that occurred on or after this - # date. Specify the date in GMT and format as `YYYY-MM-DD`. Queries for alerts - # older than 30 days are not supported. - # @param [Date] end_date Only include alerts that occurred on or before this date. - # Specify the date in GMT and format as `YYYY-MM-DD`. Queries for alerts older - # than 30 days are not supported. + # @param [Date] start_date Only include alerts that occurred on or after this date + # and time. Specify the date and time in GMT and format as `YYYY-MM-DD` or + # `YYYY-MM-DDThh:mm:ssZ`. Queries for alerts older than 30 days are not supported. + # @param [Date] end_date Only include alerts that occurred on or before this date + # and time. Specify the date and time in GMT and format as `YYYY-MM-DD` or + # `YYYY-MM-DDThh:mm:ssZ`. Queries for alerts older than 30 days are not supported. # @param [Integer] limit Upper limit for the number of records to return. stream() # guarantees to never return more than limit. Default is no limit # @param [Integer] page_size Number of records to fetch per request, when # not set will use the default value of 50 records. If no page_size is defined # but a limit is defined, stream() will attempt to read the limit with the most @@ -56,16 +56,16 @@ # Streams AlertInstance records from the API as an Enumerable. # This operation lazily loads records as efficiently as possible until the limit # is reached. # @param [String] log_level Only show alerts for this log-level. Can be: `error`, # `warning`, `notice`, or `debug`. - # @param [Date] start_date Only include alerts that occurred on or after this - # date. Specify the date in GMT and format as `YYYY-MM-DD`. Queries for alerts - # older than 30 days are not supported. - # @param [Date] end_date Only include alerts that occurred on or before this date. - # Specify the date in GMT and format as `YYYY-MM-DD`. Queries for alerts older - # than 30 days are not supported. + # @param [Date] start_date Only include alerts that occurred on or after this date + # and time. Specify the date and time in GMT and format as `YYYY-MM-DD` or + # `YYYY-MM-DDThh:mm:ssZ`. Queries for alerts older than 30 days are not supported. + # @param [Date] end_date Only include alerts that occurred on or before this date + # and time. Specify the date and time in GMT and format as `YYYY-MM-DD` or + # `YYYY-MM-DDThh:mm:ssZ`. Queries for alerts older than 30 days are not supported. # @param [Integer] limit Upper limit for the number of records to return. stream() # guarantees to never return more than limit. Default is no limit. # @param [Integer] page_size Number of records to fetch per request, when # not set will use the default value of 50 records. If no page_size is defined # but a limit is defined, stream() will attempt to read the limit with the most @@ -101,15 +101,15 @@ ## # Retrieve a single page of AlertInstance records from the API. # Request is executed immediately. # @param [String] log_level Only show alerts for this log-level. Can be: `error`, # `warning`, `notice`, or `debug`. - # @param [Date] start_date Only include alerts that occurred on or after this - # date. Specify the date in GMT and format as `YYYY-MM-DD`. Queries for alerts - # older than 30 days are not supported. - # @param [Date] end_date Only include alerts that occurred on or before this date. - # Specify the date in GMT and format as `YYYY-MM-DD`. Queries for alerts older - # than 30 days are not supported. + # @param [Date] start_date Only include alerts that occurred on or after this date + # and time. Specify the date and time in GMT and format as `YYYY-MM-DD` or + # `YYYY-MM-DDThh:mm:ssZ`. Queries for alerts older than 30 days are not supported. + # @param [Date] end_date Only include alerts that occurred on or before this date + # and time. Specify the date and time in GMT and format as `YYYY-MM-DD` or + # `YYYY-MM-DDThh:mm:ssZ`. Queries for alerts older than 30 days are not supported. # @param [String] page_token PageToken provided by the API # @param [Integer] page_number Page Number, this value is simply for client state # @param [Integer] page_size Number of records to return, defaults to 50 # @return [Page] Page of AlertInstance def page(log_level: :unset, start_date: :unset, end_date: :unset, page_token: :unset, page_number: :unset, page_size: :unset) \ No newline at end of file