Class: Google::Apis::LoggingV2::LogErrorGroup
- Inherits:
-
Object
- Object
- Google::Apis::LoggingV2::LogErrorGroup
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/logging_v2/classes.rb,
lib/google/apis/logging_v2/representations.rb,
lib/google/apis/logging_v2/representations.rb
Overview
Contains metadata that associates the LogEntry to Error Reporting error groups.
Instance Attribute Summary collapse
-
#id ⇒ String
The id is a unique identifier for a particular error group; it is the last part of the error group resource name: /project/[PROJECT_ID]/errors/[ ERROR_GROUP_ID].
Instance Method Summary collapse
-
#initialize(**args) ⇒ LogErrorGroup
constructor
A new instance of LogErrorGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LogErrorGroup
Returns a new instance of LogErrorGroup.
2180 2181 2182 |
# File 'lib/google/apis/logging_v2/classes.rb', line 2180 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
The id is a unique identifier for a particular error group; it is the last
part of the error group resource name: /project/[PROJECT_ID]/errors/[
ERROR_GROUP_ID]. Example: COShysOX0r_51QE. The id 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 property id
2178 2179 2180 |
# File 'lib/google/apis/logging_v2/classes.rb', line 2178 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2185 2186 2187 |
# File 'lib/google/apis/logging_v2/classes.rb', line 2185 def update!(**args) @id = args[:id] if args.key?(:id) end |