class Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluation

CanaryEvaluation represents the canary analysis between two versions of the runtime that is serving requests.

Attributes

control[RW]

Required. The stable version that is serving requests. Corresponds to the JSON property `control` @return [String]

create_time[RW]

Output only. Create time of the canary evaluation. Corresponds to the JSON property `createTime` @return [String]

end_time[RW]

Required. End time for the evaluation's analysis. Corresponds to the JSON property `endTime` @return [String]

metric_labels[RW]

Labels that can be used to filter Apigee metrics. Corresponds to the JSON property `metricLabels` @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluationMetricLabels]

name[RW]

Output only. Name of the canary evalution. Corresponds to the JSON property `name` @return [String]

start_time[RW]

Required. Start time for the canary evaluation's analysis. Corresponds to the JSON property `startTime` @return [String]

state[RW]

Output only. The current state of the canary evaluation. Corresponds to the JSON property `state` @return [String]

treatment[RW]

Required. The newer version that is serving requests. Corresponds to the JSON property `treatment` @return [String]

verdict[RW]

Output only. The resulting verdict of the canary evaluations: NONE, PASS, or FAIL. Corresponds to the JSON property `verdict` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/apigee_v1/classes.rb, line 1287
def update!(**args)
  @control = args[:control] if args.key?(:control)
  @create_time = args[:create_time] if args.key?(:create_time)
  @end_time = args[:end_time] if args.key?(:end_time)
  @metric_labels = args[:metric_labels] if args.key?(:metric_labels)
  @name = args[:name] if args.key?(:name)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
  @treatment = args[:treatment] if args.key?(:treatment)
  @verdict = args[:verdict] if args.key?(:verdict)
end