Class: Google::Apis::ClouddeployV1::Canary
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ClouddeployV1::Canary
 
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/clouddeploy_v1/classes.rb,
 lib/google/apis/clouddeploy_v1/representations.rb,
 lib/google/apis/clouddeploy_v1/representations.rb
Overview
Canary represents the canary deployment strategy.
Instance Attribute Summary collapse
- 
  
    
      #canary_deployment  ⇒ Google::Apis::ClouddeployV1::CanaryDeployment 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    CanaryDeployment represents the canary deployment configuration Corresponds to the JSON property canaryDeployment.
- 
  
    
      #custom_canary_deployment  ⇒ Google::Apis::ClouddeployV1::CustomCanaryDeployment 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    CustomCanaryDeployment represents the custom canary deployment configuration. 
- 
  
    
      #runtime_config  ⇒ Google::Apis::ClouddeployV1::RuntimeConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    RuntimeConfig contains the runtime specific configurations for a deployment strategy. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Canary 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Canary. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ Canary
Returns a new instance of Canary.
| 919 920 921 | # File 'lib/google/apis/clouddeploy_v1/classes.rb', line 919 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#canary_deployment ⇒ Google::Apis::ClouddeployV1::CanaryDeployment
CanaryDeployment represents the canary deployment configuration
Corresponds to the JSON property canaryDeployment
| 906 907 908 | # File 'lib/google/apis/clouddeploy_v1/classes.rb', line 906 def canary_deployment @canary_deployment end | 
#custom_canary_deployment ⇒ Google::Apis::ClouddeployV1::CustomCanaryDeployment
CustomCanaryDeployment represents the custom canary deployment configuration.
Corresponds to the JSON property customCanaryDeployment
| 911 912 913 | # File 'lib/google/apis/clouddeploy_v1/classes.rb', line 911 def custom_canary_deployment @custom_canary_deployment end | 
#runtime_config ⇒ Google::Apis::ClouddeployV1::RuntimeConfig
RuntimeConfig contains the runtime specific configurations for a deployment
strategy.
Corresponds to the JSON property runtimeConfig
| 917 918 919 | # File 'lib/google/apis/clouddeploy_v1/classes.rb', line 917 def runtime_config @runtime_config end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 924 925 926 927 928 | # File 'lib/google/apis/clouddeploy_v1/classes.rb', line 924 def update!(**args) @canary_deployment = args[:canary_deployment] if args.key?(:canary_deployment) @custom_canary_deployment = args[:custom_canary_deployment] if args.key?(:custom_canary_deployment) @runtime_config = args[:runtime_config] if args.key?(:runtime_config) end |