class Google::Apis::LoggingV2::TailLogEntriesRequest

The parameters to TailLogEntries.

Attributes

buffer_window[RW]

Optional. The amount of time to buffer log entries at the server before being returned to prevent out of order results due to late arriving log entries. Valid values are between 0-60000 milliseconds. Defaults to 2000 milliseconds. Corresponds to the JSON property `bufferWindow` @return [String]

filter[RW]

Optional. A filter that chooses which log entries to return. See Advanced Logs Filters (cloud.google.com/logging/docs/view/advanced_filters). Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not in resource_names will cause the filter to return no results. The maximum length of the filter is 20000 characters. Corresponds to the JSON property `filter` @return [String]

resource_names[RW]

Required. Name of a parent resource from which to retrieve log entries: projects/ organizations/ billingAccounts/[ BILLING_ACCOUNT_ID] folders/May alternatively be one or more views: projects//locations//buckets//views/[ VIEW_ID] organizations//locations//buckets/[ BUCKET_ID]/views/ billingAccounts//locations/[ LOCATION_ID]/buckets//views/ folders//locations/

LOCATION_ID]/buckets//views/[VIEW_ID

Corresponds to the JSON property `resourceNames` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/logging_v2/classes.rb, line 2559
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/logging_v2/classes.rb, line 2564
def update!(**args)
  @buffer_window = args[:buffer_window] if args.key?(:buffer_window)
  @filter = args[:filter] if args.key?(:filter)
  @resource_names = args[:resource_names] if args.key?(:resource_names)
end