Class: Google::Apis::MonitoringV3::MutationRecord
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::MutationRecord
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/monitoring_v3/classes.rb,
generated/google/apis/monitoring_v3/representations.rb,
generated/google/apis/monitoring_v3/representations.rb
Overview
Describes a change made to a configuration.
Instance Attribute Summary collapse
-
#mutate_time ⇒ String
When the change occurred.
-
#mutated_by ⇒ String
The email address of the user making the change.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MutationRecord
constructor
A new instance of MutationRecord.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MutationRecord
Returns a new instance of MutationRecord
2127 2128 2129 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 2127 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mutate_time ⇒ String
When the change occurred.
Corresponds to the JSON property mutateTime
2120 2121 2122 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 2120 def mutate_time @mutate_time end |
#mutated_by ⇒ String
The email address of the user making the change.
Corresponds to the JSON property mutatedBy
2125 2126 2127 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 2125 def mutated_by @mutated_by end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2132 2133 2134 2135 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 2132 def update!(**args) @mutate_time = args[:mutate_time] if args.key?(:mutate_time) @mutated_by = args[:mutated_by] if args.key?(:mutated_by) end |