Class: Google::Apis::ClouderrorreportingV1beta1::ListGroupStatsResponse

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 group stats.

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) ⇒ ListGroupStatsResponse

Returns a new instance of ListGroupStatsResponse.


363
364
365
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 363

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

Instance Attribute Details

#error_group_statsArray<Google::Apis::ClouderrorreportingV1beta1::ErrorGroupStats>

The error group stats which match the given request. Corresponds to the JSON property errorGroupStats


347
348
349
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 347

def error_group_stats
  @error_group_stats
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)

353
354
355
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 353

def next_page_token
  @next_page_token
end

#time_range_beginString

The timestamp specifies the start time to which the request was restricted. The start time is set based on the requested time range. It may be adjusted to a later time if a project has exceeded the storage quota and older data has been deleted. Corresponds to the JSON property timeRangeBegin

Returns:

  • (String)

361
362
363
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 361

def time_range_begin
  @time_range_begin
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


368
369
370
371
372
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 368

def update!(**args)
  @error_group_stats = args[:error_group_stats] if args.key?(:error_group_stats)
  @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