Class: Google::Apis::ClouderrorreportingV1beta1::ErrorGroup
- Inherits:
-
Object
- Object
- Google::Apis::ClouderrorreportingV1beta1::ErrorGroup
- 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
-
#group_id ⇒ String
Group IDs are unique for a given project.
-
#name ⇒ String
The group resource name.
-
#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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ErrorGroup
Returns a new instance of ErrorGroup
156 157 158 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 156 def initialize(**args) update!(**args) end |
Instance Attribute Details
#group_id ⇒ String
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
143 144 145 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 143 def group_id @group_id end |
#name ⇒ String
The group resource name.
Example: projects/my-project-123/groups/my-groupid
Corresponds to the JSON property name
149 150 151 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 149 def name @name end |
#tracking_issues ⇒ Array<Google::Apis::ClouderrorreportingV1beta1::TrackingIssue>
Associated tracking issues.
Corresponds to the JSON property trackingIssues
154 155 156 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 154 def tracking_issues @tracking_issues end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
161 162 163 164 165 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 161 def update!(**args) @group_id = args[:group_id] if args.key?(:group_id) @name = args[:name] if args.key?(:name) @tracking_issues = args[:tracking_issues] if args.key?(:tracking_issues) end |