Class: Google::Apis::ClouderrorreportingV1beta1::ErrorGroup
- Inherits:
-
Object
- Object
- Google::Apis::ClouderrorreportingV1beta1::ErrorGroup
- 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
-
#group_id ⇒ String
An opaque identifier of the group.
-
#name ⇒ String
The group resource name.
-
#resolution_status ⇒ String
Error group's resolution status.
-
#tracking_issues ⇒ Array<Google::Apis::ClouderrorreportingV1beta1::TrackingIssue>
Associated tracking issues.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ErrorGroup
constructor
A new instance of ErrorGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ErrorGroup
Returns a new instance of ErrorGroup.
166 167 168 |
# File 'lib/google/apis/clouderrorreporting_v1beta1/classes.rb', line 166 def initialize(**args) update!(**args) end |
Instance Attribute Details
#group_id ⇒ String
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
142 143 144 |
# File 'lib/google/apis/clouderrorreporting_v1beta1/classes.rb', line 142 def group_id @group_id end |
#name ⇒ String
The group resource name. Written as projects/projectID/groups/group_id`.
Example:projects/my-project-123/groups/my-groupIn the group resource name,
thegroup_idis 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](https://cloud.google.com/terms/cloud-privacy-
notice).
Corresponds to the JSON propertyname`
153 154 155 |
# File 'lib/google/apis/clouderrorreporting_v1beta1/classes.rb', line 153 def name @name end |
#resolution_status ⇒ String
Error group's resolution status. An unspecified resolution status will be
interpreted as OPEN
Corresponds to the JSON property resolutionStatus
159 160 161 |
# File 'lib/google/apis/clouderrorreporting_v1beta1/classes.rb', line 159 def resolution_status @resolution_status end |
#tracking_issues ⇒ Array<Google::Apis::ClouderrorreportingV1beta1::TrackingIssue>
Associated tracking issues.
Corresponds to the JSON property trackingIssues
164 165 166 |
# File 'lib/google/apis/clouderrorreporting_v1beta1/classes.rb', line 164 def tracking_issues @tracking_issues end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
171 172 173 174 175 176 |
# File 'lib/google/apis/clouderrorreporting_v1beta1/classes.rb', line 171 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 |