Class: Google::Cloud::Deploy::V1::CustomCanaryDeployment::PhaseConfig

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#percentage::Integer

Returns Required. Percentage deployment for the phase.

Returns:

  • (::Integer)

    Required. Percentage deployment for the phase.



296
297
298
299
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 296

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])?$.

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])?$.



296
297
298
299
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 296

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.

Returns:



296
297
298
299
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 296

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.

Returns:



296
297
298
299
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 296

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.

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.



296
297
298
299
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 296

class PhaseConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#verify::Boolean

Returns Whether to run verify tests after the deployment.

Returns:

  • (::Boolean)

    Whether to run verify tests after the deployment.



296
297
298
299
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 296

class PhaseConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end