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

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

CustomCanaryDeployment represents the custom canary deployment configuration.

Defined Under Namespace

Classes: PhaseConfig

Instance Attribute Summary collapse

Instance Attribute Details

#phase_configs::Array<::Google::Cloud::Deploy::V1::CustomCanaryDeployment::PhaseConfig>

Returns Required. Configuration for each phase in the canary deployment in the order executed.

Returns:



194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 194

class CustomCanaryDeployment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # PhaseConfig represents the configuration for a phase in the custom
  # canary deployment.
  # @!attribute [rw] phase_id
  #   @return [::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])?$`.
  # @!attribute [rw] percentage
  #   @return [::Integer]
  #     Required. Percentage deployment for the phase.
  # @!attribute [rw] profiles
  #   @return [::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.
  # @!attribute [rw] verify
  #   @return [::Boolean]
  #     Whether to run verify tests after the deployment.
  class PhaseConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end