Class: Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/clouderrorreporting_v1beta1/classes.rb,
generated/google/apis/clouderrorreporting_v1beta1/representations.rb,
generated/google/apis/clouderrorreporting_v1beta1/representations.rb

Overview

Contains a set of requested error events.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListEventsResponse

Returns a new instance of ListEventsResponse.


328
329
330
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 328

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#error_eventsArray<Google::Apis::ClouderrorreportingV1beta1::ErrorEvent>

The error events which match the given request. Corresponds to the JSON property errorEvents


315
316
317
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 315

def error_events
  @error_events
end

#next_page_tokenString

If non-empty, more results are available. Pass this token, along with the same query parameters as the first request, to view the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)

321
322
323
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 321

def next_page_token
  @next_page_token
end

#time_range_beginString

The timestamp specifies the start time to which the request was restricted. Corresponds to the JSON property timeRangeBegin

Returns:

  • (String)

326
327
328
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 326

def time_range_begin
  @time_range_begin
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


333
334
335
336
337
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 333

def update!(**args)
  @error_events = args[:error_events] if args.key?(:error_events)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @time_range_begin = args[:time_range_begin] if args.key?(:time_range_begin)
end