View Source GoogleApi.CloudDeploy.V1.Model.AdvanceRolloutRule (google_api_cloud_deploy v0.6.0)

The AdvanceRollout automation rule will automatically advance a successful Rollout to the next phase.

Attributes

  • condition (type: GoogleApi.CloudDeploy.V1.Model.AutomationRuleCondition.t, default: nil) - Output only. Information around the state of the Automation rule.
  • id (type: String.t, default: nil) - Required. ID of the rule. This id must be unique in the Automation resource to which this rule belongs. The format is a-z{0,62}.
  • sourcePhases (type: list(String.t), default: nil) - Optional. Proceeds only after phase name matched any one in the list. 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])?$.
  • wait (type: String.t, default: nil) - Optional. How long to wait after a rollout is finished.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudDeploy.V1.Model.AdvanceRolloutRule{
  condition: GoogleApi.CloudDeploy.V1.Model.AutomationRuleCondition.t() | nil,
  id: String.t() | nil,
  sourcePhases: [String.t()] | nil,
  wait: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.