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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ MutationRecord

Returns a new instance of MutationRecord.



2678
2679
2680
# File 'generated/google/apis/monitoring_v3/classes.rb', line 2678

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

Instance Attribute Details

#mutate_timeString

When the change occurred. Corresponds to the JSON property mutateTime

Returns:

  • (String)


2671
2672
2673
# File 'generated/google/apis/monitoring_v3/classes.rb', line 2671

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)


2676
2677
2678
# File 'generated/google/apis/monitoring_v3/classes.rb', line 2676

def mutated_by
  @mutated_by
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2683
2684
2685
2686
# File 'generated/google/apis/monitoring_v3/classes.rb', line 2683

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