Class: Google::Apis::MonitoringV3::MutationRecord

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/monitoring_v3/classes.rb,
lib/google/apis/monitoring_v3/representations.rb,
lib/google/apis/monitoring_v3/representations.rb

Overview

Describes a change made to a configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MutationRecord

Returns a new instance of MutationRecord.



3015
3016
3017
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3015

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

Instance Attribute Details

#mutate_timeString

When the change occurred. Corresponds to the JSON property mutateTime

Returns:

  • (String)


3008
3009
3010
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3008

def mutate_time
  @mutate_time
end

#mutated_byString

The email address of the user making the change. Corresponds to the JSON property mutatedBy

Returns:

  • (String)


3013
3014
3015
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3013

def mutated_by
  @mutated_by
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3020
3021
3022
3023
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3020

def update!(**args)
  @mutate_time = args[:mutate_time] if args.key?(:mutate_time)
  @mutated_by = args[:mutated_by] if args.key?(:mutated_by)
end