Google Cloud Deploy V1 API - Class Google::Cloud::Deploy::V1::AutomationRule (v1.6.0)

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.

    Note: The following fields are mutually exclusive: advance_rollout_rule, promote_release_rule, repair_rollout_rule, timed_promote_release_rule. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: advance_rollout_rule, promote_release_rule, repair_rollout_rule, timed_promote_release_rule. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Deploy::V1::AdvanceRolloutRule) — Optional. The AdvanceRolloutRule will automatically advance a successful Rollout.

    Note: The following fields are mutually exclusive: advance_rollout_rule, promote_release_rule, repair_rollout_rule, timed_promote_release_rule. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: promote_release_rule, advance_rollout_rule, repair_rollout_rule, timed_promote_release_rule. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: promote_release_rule, advance_rollout_rule, repair_rollout_rule, timed_promote_release_rule. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Deploy::V1::PromoteReleaseRule) — Optional. PromoteReleaseRule will automatically promote a release from the current target to a specified target.

    Note: The following fields are mutually exclusive: promote_release_rule, advance_rollout_rule, repair_rollout_rule, timed_promote_release_rule. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: repair_rollout_rule, promote_release_rule, advance_rollout_rule, timed_promote_release_rule. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: repair_rollout_rule, promote_release_rule, advance_rollout_rule, timed_promote_release_rule. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Deploy::V1::RepairRolloutRule) — Optional. The RepairRolloutRule will automatically repair a failed rollout.

    Note: The following fields are mutually exclusive: repair_rollout_rule, promote_release_rule, advance_rollout_rule, timed_promote_release_rule. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: timed_promote_release_rule, promote_release_rule, advance_rollout_rule, repair_rollout_rule. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: timed_promote_release_rule, promote_release_rule, advance_rollout_rule, repair_rollout_rule. If a field in that set is populated, all other fields in the set will automatically be cleared.

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.

    Note: The following fields are mutually exclusive: timed_promote_release_rule, promote_release_rule, advance_rollout_rule, repair_rollout_rule. If a field in that set is populated, all other fields in the set will automatically be cleared.