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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/clouderrorreporting_v1beta1/classes.rb,
lib/google/apis/clouderrorreporting_v1beta1/representations.rb,
lib/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.



169
170
171
# File 'lib/google/apis/clouderrorreporting_v1beta1/classes.rb', line 169

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

Instance Attribute Details

#group_idString

An opaque identifier of the group. This field is assigned by the Error Reporting system and always populated. In the group resource name, the group_id is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see Google Cloud Privacy Notice. Corresponds to the JSON property groupId

Returns:

  • (String)


142
143
144
# File 'lib/google/apis/clouderrorreporting_v1beta1/classes.rb', line 142

def group_id
  @group_id
end

#nameString

The group resource name. Written as projects/projectID/groups/group_id or `projects/`projectID`/locations/`location`/groups/`group_id Examples: projects/my-project-123/groups/my-group, projects/my-project-123/locations/ us-central1/groups/my-group In the group resource name, the group_id is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see Google Cloud Privacy Notice. For a list of supported locations, see Supported Regions. global is the default when unspecified. Corresponds to the JSON property name

Returns:

  • (String)


156
157
158
# File 'lib/google/apis/clouderrorreporting_v1beta1/classes.rb', line 156

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)


162
163
164
# File 'lib/google/apis/clouderrorreporting_v1beta1/classes.rb', line 162

def resolution_status
  @resolution_status
end

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

Associated tracking issues. Corresponds to the JSON property trackingIssues



167
168
169
# File 'lib/google/apis/clouderrorreporting_v1beta1/classes.rb', line 167

def tracking_issues
  @tracking_issues
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



174
175
176
177
178
179
# File 'lib/google/apis/clouderrorreporting_v1beta1/classes.rb', line 174

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