class Google::Apis::MonitoringV3::OperationMetadata

Contains metadata for longrunning operation for the edit Metrics Scope endpoints.

Attributes

create_time[RW]

The time when the batch request was received. Corresponds to the JSON property `createTime` @return [String]

state[RW]

Current state of the batch operation. Corresponds to the JSON property `state` @return [String]

update_time[RW]

The time when the operation result was last updated. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/monitoring_v3/classes.rb, line 3329
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/monitoring_v3/classes.rb, line 3334
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
end