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



528
529
530
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 528

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



526
527
528
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 526

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)


513
514
515
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 513

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)


521
522
523
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 521

def time_range_begin
  @time_range_begin
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



533
534
535
536
537
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 533

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