Google Cloud Deploy V1 API - Class Google::Cloud::Deploy::V1::CustomCanaryDeployment::PhaseConfig (v1.1.0)

Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::CustomCanaryDeployment::PhaseConfig.

PhaseConfig represents the configuration for a phase in the custom canary deployment.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#percentage

def percentage() -> ::Integer
Returns
  • (::Integer) — Required. Percentage deployment for the phase.

#percentage=

def percentage=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. Percentage deployment for the phase.
Returns
  • (::Integer) — Required. Percentage deployment for the phase.

#phase_id

def phase_id() -> ::String
Returns
  • (::String) — 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])?$.

#phase_id=

def phase_id=(value) -> ::String
Parameter
  • value (::String) — 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])?$.
Returns
  • (::String) — 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])?$.

#postdeploy

def postdeploy() -> ::Google::Cloud::Deploy::V1::Postdeploy
Returns

#postdeploy=

def postdeploy=(value) -> ::Google::Cloud::Deploy::V1::Postdeploy
Parameter
Returns

#predeploy

def predeploy() -> ::Google::Cloud::Deploy::V1::Predeploy
Returns

#predeploy=

def predeploy=(value) -> ::Google::Cloud::Deploy::V1::Predeploy
Parameter
Returns

#profiles

def profiles() -> ::Array<::String>
Returns
  • (::Array<::String>) — Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the DeliveryPipeline stage.

#profiles=

def profiles=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the DeliveryPipeline stage.
Returns
  • (::Array<::String>) — Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the DeliveryPipeline stage.

#verify

def verify() -> ::Boolean
Returns
  • (::Boolean) — Whether to run verify tests after the deployment.

#verify=

def verify=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether to run verify tests after the deployment.
Returns
  • (::Boolean) — Whether to run verify tests after the deployment.