Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::CanaryDeployment.
CanaryDeployment represents the canary deployment configuration
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#percentages
def percentages() -> ::Array<::Integer>
Returns
-
(::Array<::Integer>) — Required. The percentage based deployments that will occur as a part of a
Rollout
. List is expected in ascending order and each integer n is 0 <= n < 100.
#percentages=
def percentages=(value) -> ::Array<::Integer>
Parameter
-
value (::Array<::Integer>) — Required. The percentage based deployments that will occur as a part of a
Rollout
. List is expected in ascending order and each integer n is 0 <= n < 100.
Returns
-
(::Array<::Integer>) — Required. The percentage based deployments that will occur as a part of a
Rollout
. List is expected in ascending order and each integer n is 0 <= n < 100.
#postdeploy
def postdeploy() -> ::Google::Cloud::Deploy::V1::Postdeploy
Returns
- (::Google::Cloud::Deploy::V1::Postdeploy) — Optional. Configuration for the postdeploy job of the last phase. If this is not configured, there will be no postdeploy job for this phase.
#postdeploy=
def postdeploy=(value) -> ::Google::Cloud::Deploy::V1::Postdeploy
Parameter
- value (::Google::Cloud::Deploy::V1::Postdeploy) — Optional. Configuration for the postdeploy job of the last phase. If this is not configured, there will be no postdeploy job for this phase.
Returns
- (::Google::Cloud::Deploy::V1::Postdeploy) — Optional. Configuration for the postdeploy job of the last phase. If this is not configured, there will be no postdeploy job for this phase.
#predeploy
def predeploy() -> ::Google::Cloud::Deploy::V1::Predeploy
Returns
- (::Google::Cloud::Deploy::V1::Predeploy) — Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase.
#predeploy=
def predeploy=(value) -> ::Google::Cloud::Deploy::V1::Predeploy
Parameter
- value (::Google::Cloud::Deploy::V1::Predeploy) — Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase.
Returns
- (::Google::Cloud::Deploy::V1::Predeploy) — Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase.
#verify
def verify() -> ::Boolean
Returns
- (::Boolean) — Whether to run verify tests after each percentage deployment.
#verify=
def verify=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether to run verify tests after each percentage deployment.
Returns
- (::Boolean) — Whether to run verify tests after each percentage deployment.