Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluation
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluation
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb 
Overview
CanaryEvaluation represents the canary analysis between two versions of the runtime that is serving requests.
Instance Attribute Summary collapse
- 
  
    
      #control  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #create_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #end_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #metric_labels  ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluationMetricLabels 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Labels that can be used to filter Apigee metrics.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #start_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #state  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #treatment  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #verdict  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudApigeeV1CanaryEvaluation 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GoogleCloudApigeeV1CanaryEvaluation.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1CanaryEvaluation
Returns a new instance of GoogleCloudApigeeV1CanaryEvaluation.
      2243 2244 2245  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 2243 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#control ⇒ String
Required. The stable version that is serving requests.
Corresponds to the JSON property control
      2200 2201 2202  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 2200 def control @control end  | 
  
#create_time ⇒ String
Output only. Create time of the canary evaluation.
Corresponds to the JSON property createTime
      2205 2206 2207  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 2205 def create_time @create_time end  | 
  
#end_time ⇒ String
Required. End time for the evaluation's analysis.
Corresponds to the JSON property endTime
      2210 2211 2212  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 2210 def end_time @end_time end  | 
  
#metric_labels ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluationMetricLabels
Labels that can be used to filter Apigee metrics.
Corresponds to the JSON property metricLabels
      2215 2216 2217  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 2215 def metric_labels @metric_labels end  | 
  
#name ⇒ String
Output only. Name of the canary evalution.
Corresponds to the JSON property name
      2220 2221 2222  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 2220 def name @name end  | 
  
#start_time ⇒ String
Required. Start time for the canary evaluation's analysis.
Corresponds to the JSON property startTime
      2225 2226 2227  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 2225 def start_time @start_time end  | 
  
#state ⇒ String
Output only. The current state of the canary evaluation.
Corresponds to the JSON property state
      2230 2231 2232  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 2230 def state @state end  | 
  
#treatment ⇒ String
Required. The newer version that is serving requests.
Corresponds to the JSON property treatment
      2235 2236 2237  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 2235 def treatment @treatment end  | 
  
#verdict ⇒ String
Output only. The resulting verdict of the canary evaluations: NONE, PASS, or
FAIL.
Corresponds to the JSON property verdict
      2241 2242 2243  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 2241 def verdict @verdict end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 2248 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  |