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

AutomationRule defines the automation activities.

Attributes

  • advanceRolloutRule (type: GoogleApi.CloudDeploy.V1.Model.AdvanceRolloutRule.t, default: nil) - Optional. The AdvanceRolloutRule will automatically advance a successful Rollout.
  • promoteReleaseRule (type: GoogleApi.CloudDeploy.V1.Model.PromoteReleaseRule.t, default: nil) - Optional. PromoteReleaseRule will automatically promote a release from the current target to a specified target.
  • repairRolloutRule (type: GoogleApi.CloudDeploy.V1.Model.RepairRolloutRule.t, default: nil) - Optional. The RepairRolloutRule will automatically repair a failed rollout.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudDeploy.V1.Model.AutomationRule{
  advanceRolloutRule:
    GoogleApi.CloudDeploy.V1.Model.AdvanceRolloutRule.t() | nil,
  promoteReleaseRule:
    GoogleApi.CloudDeploy.V1.Model.PromoteReleaseRule.t() | nil,
  repairRolloutRule: GoogleApi.CloudDeploy.V1.Model.RepairRolloutRule.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.