Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::AutomationRule.
AutomationRule
defines the automation activities.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#advance_rollout_rule
def advance_rollout_rule() -> ::Google::Cloud::Deploy::V1::AdvanceRolloutRule
Returns
-
(::Google::Cloud::Deploy::V1::AdvanceRolloutRule) — Optional. The
AdvanceRolloutRule
will automatically advance a successful Rollout.
#advance_rollout_rule=
def advance_rollout_rule=(value) -> ::Google::Cloud::Deploy::V1::AdvanceRolloutRule
Parameter
-
value (::Google::Cloud::Deploy::V1::AdvanceRolloutRule) — Optional. The
AdvanceRolloutRule
will automatically advance a successful Rollout.
Returns
-
(::Google::Cloud::Deploy::V1::AdvanceRolloutRule) — Optional. The
AdvanceRolloutRule
will automatically advance a successful Rollout.
#promote_release_rule
def promote_release_rule() -> ::Google::Cloud::Deploy::V1::PromoteReleaseRule
Returns
-
(::Google::Cloud::Deploy::V1::PromoteReleaseRule) — Optional.
PromoteReleaseRule
will automatically promote a release from the current target to a specified target.
#promote_release_rule=
def promote_release_rule=(value) -> ::Google::Cloud::Deploy::V1::PromoteReleaseRule
Parameter
-
value (::Google::Cloud::Deploy::V1::PromoteReleaseRule) — Optional.
PromoteReleaseRule
will automatically promote a release from the current target to a specified target.
Returns
-
(::Google::Cloud::Deploy::V1::PromoteReleaseRule) — Optional.
PromoteReleaseRule
will automatically promote a release from the current target to a specified target.
#repair_rollout_rule
def repair_rollout_rule() -> ::Google::Cloud::Deploy::V1::RepairRolloutRule
Returns
-
(::Google::Cloud::Deploy::V1::RepairRolloutRule) — Optional. The
RepairRolloutRule
will automatically repair a failed rollout.
#repair_rollout_rule=
def repair_rollout_rule=(value) -> ::Google::Cloud::Deploy::V1::RepairRolloutRule
Parameter
-
value (::Google::Cloud::Deploy::V1::RepairRolloutRule) — Optional. The
RepairRolloutRule
will automatically repair a failed rollout.
Returns
-
(::Google::Cloud::Deploy::V1::RepairRolloutRule) — Optional. The
RepairRolloutRule
will automatically repair a failed rollout.
#timed_promote_release_rule
def timed_promote_release_rule() -> ::Google::Cloud::Deploy::V1::TimedPromoteReleaseRule
Returns
-
(::Google::Cloud::Deploy::V1::TimedPromoteReleaseRule) — Optional. The
TimedPromoteReleaseRule
will automatically promote a release from the current target(s) to the specified target(s) on a configured schedule.
#timed_promote_release_rule=
def timed_promote_release_rule=(value) -> ::Google::Cloud::Deploy::V1::TimedPromoteReleaseRule
Parameter
-
value (::Google::Cloud::Deploy::V1::TimedPromoteReleaseRule) — Optional. The
TimedPromoteReleaseRule
will automatically promote a release from the current target(s) to the specified target(s) on a configured schedule.
Returns
-
(::Google::Cloud::Deploy::V1::TimedPromoteReleaseRule) — Optional. The
TimedPromoteReleaseRule
will automatically promote a release from the current target(s) to the specified target(s) on a configured schedule.