Class: Google::Apis::ClouderrorreportingV1beta1::ErrorGroup

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

Description of a group of similar error events.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ErrorGroup

Returns a new instance of ErrorGroup.



157
158
159
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 157

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

Instance Attribute Details

#group_idString

Group IDs are unique for a given project. If the same kind of error occurs in different service contexts, it will receive the same group ID. Corresponds to the JSON property groupId

Returns:

  • (String)


138
139
140
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 138

def group_id
  @group_id
end

#nameString

The group resource name. Example: projects/my-project-123/groups/ CNSgkpnppqKCUw Corresponds to the JSON property name

Returns:

  • (String)


144
145
146
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 144

def name
  @name
end

#resolution_statusString

Error group's resolution status. An unspecified resolution status will be interpreted as OPEN Corresponds to the JSON property resolutionStatus

Returns:

  • (String)


150
151
152
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 150

def resolution_status
  @resolution_status
end

#tracking_issuesArray<Google::Apis::ClouderrorreportingV1beta1::TrackingIssue>

Associated tracking issues. Corresponds to the JSON property trackingIssues



155
156
157
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 155

def tracking_issues
  @tracking_issues
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



162
163
164
165
166
167
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 162

def update!(**args)
  @group_id = args[:group_id] if args.key?(:group_id)
  @name = args[:name] if args.key?(:name)
  @resolution_status = args[:resolution_status] if args.key?(:resolution_status)
  @tracking_issues = args[:tracking_issues] if args.key?(:tracking_issues)
end