Class: Google::Cloud::Deploy::V1::CustomCanaryDeployment::PhaseConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Deploy::V1::CustomCanaryDeployment::PhaseConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/deploy/v1/cloud_deploy.rb
Overview
PhaseConfig represents the configuration for a phase in the custom canary deployment.
Instance Attribute Summary collapse
-
#percentage ⇒ ::Integer
Required.
-
#phase_id ⇒ ::String
Required.
-
#postdeploy ⇒ ::Google::Cloud::Deploy::V1::Postdeploy
Optional.
-
#predeploy ⇒ ::Google::Cloud::Deploy::V1::Predeploy
Optional.
-
#profiles ⇒ ::Array<::String>
Skaffold profiles to use when rendering the manifest for this phase.
-
#verify ⇒ ::Boolean
Whether to run verify tests after the deployment.
Instance Attribute Details
#percentage ⇒ ::Integer
Returns Required. Percentage deployment for the phase.
300 301 302 303 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 300 class PhaseConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#phase_id ⇒ ::String
Returns Required. The ID to assign to the Rollout
phase.
This value must consist of lower-case letters, numbers, and hyphens,
start with a letter and end with a letter or a number, and have a max
length of 63 characters. In other words, it must match the following
regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$
.
300 301 302 303 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 300 class PhaseConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#postdeploy ⇒ ::Google::Cloud::Deploy::V1::Postdeploy
Returns Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase.
300 301 302 303 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 300 class PhaseConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#predeploy ⇒ ::Google::Cloud::Deploy::V1::Predeploy
Returns Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase.
300 301 302 303 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 300 class PhaseConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#profiles ⇒ ::Array<::String>
Returns Skaffold profiles to use when rendering the manifest for this phase.
These are in addition to the profiles list specified in the
DeliveryPipeline
stage.
300 301 302 303 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 300 class PhaseConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#verify ⇒ ::Boolean
Returns Whether to run verify tests after the deployment.
300 301 302 303 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 300 class PhaseConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |