class Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluation
CanaryEvaluation represents the canary analysis between two versions of the runtime that is serving requests.
Attributes
Required. The stable version that is serving requests. Corresponds to the JSON property `control` @return [String]
Output only. Create time of the canary evaluation. Corresponds to the JSON property `createTime` @return [String]
Required. End time for the evaluation's analysis. Corresponds to the JSON property `endTime` @return [String]
Labels that can be used to filter Apigee metrics. Corresponds to the JSON property `metricLabels` @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluationMetricLabels]
Output only. Name of the canary evalution. Corresponds to the JSON property `name` @return [String]
Required. Start time for the canary evaluation's analysis. Corresponds to the JSON property `startTime` @return [String]
Output only. The current state of the canary evaluation. Corresponds to the JSON property `state` @return [String]
Required. The newer version that is serving requests. Corresponds to the JSON property `treatment` @return [String]
Output only. The resulting verdict of the canary evaluations: NONE, PASS, or FAIL. Corresponds to the JSON property `verdict` @return [String]
Public Class Methods
# File lib/google/apis/apigee_v1/classes.rb, line 1282 def initialize(**args) update!(**args) end
Public Instance Methods
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