class Google::Apis::LoggingV2beta1::ListLogEntriesRequest
The parameters to `ListLogEntries`.
Attributes
Optional. An [advanced logs filter](/logging/docs/view/advanced_filters). The filter is compared against all log entries in the projects specified by ` projectIds`. Only entries that match the filter are retrieved. An empty filter matches all log entries. Corresponds to the JSON property `filter` @return [String]
Optional. How the results should be sorted. Presently, the only permitted values are `“timestamp asc”` (default) and `“timestamp desc”`. The first option returns entries in order of increasing values of `LogEntry.timestamp` ( oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are returned in order of `LogEntry.insertId`. Corresponds to the JSON property `orderBy` @return [String]
Optional. The maximum number of results to return from this request. You must check for presence of `nextPageToken` to determine if additional results are available, which you can retrieve by passing the `nextPageToken` value as the ` pageToken` parameter in the next request. Corresponds to the JSON property `pageSize` @return [Fixnum]
Optional. If the `pageToken` parameter is supplied, then the next page of results is retrieved. The `pageToken` parameter must be set to the value of the `nextPageToken` from the previous response. The values of `projectIds`, ` filter`, and `orderBy` must be the same as in the previous request. Corresponds to the JSON property `pageToken` @return [String]
Optional. If true, read access to all projects is not required and results will be returned for the subset of projects for which read access is permitted (empty subset is permitted). Corresponds to the JSON property `partialSuccess` @return [Boolean]
Optional. If true, read access to all projects is not required and results will be returned for the subset of projects for which read access is permitted (empty subset is permitted). Corresponds to the JSON property `partialSuccess` @return [Boolean]
Required. One or more project IDs or project numbers from which to retrieve log entries. Examples of a project ID: `“my-project-1A”`, `“1234567890”`. Corresponds to the JSON property `projectIds` @return [Array<String>]
Public Class Methods
# File generated/google/apis/logging_v2beta1/classes.rb, line 450 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/logging_v2beta1/classes.rb, line 455 def update!(**args) @project_ids = args[:project_ids] if args.key?(:project_ids) @filter = args[:filter] if args.key?(:filter) @order_by = args[:order_by] if args.key?(:order_by) @page_size = args[:page_size] if args.key?(:page_size) @page_token = args[:page_token] if args.key?(:page_token) @partial_success = args[:partial_success] if args.key?(:partial_success) end