Reference documentation and code samples for the SaaS Runtime V1BETA1 API class Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ErrorBudget.
The configuration for error budget. If the number of failed units exceeds max(allowed_count, allowed_ratio * total_units), the rollout will be paused.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allowed_count
def allowed_count() -> ::Integer
Returns
- (::Integer) — Optional. The maximum number of failed units allowed in a location without pausing the rollout.
#allowed_count=
def allowed_count=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. The maximum number of failed units allowed in a location without pausing the rollout.
Returns
- (::Integer) — Optional. The maximum number of failed units allowed in a location without pausing the rollout.
#allowed_percentage
def allowed_percentage() -> ::Integer
Returns
- (::Integer) — Optional. The maximum percentage of units allowed to fail (0, 100] within a location without pausing the rollout.
#allowed_percentage=
def allowed_percentage=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. The maximum percentage of units allowed to fail (0, 100] within a location without pausing the rollout.
Returns
- (::Integer) — Optional. The maximum percentage of units allowed to fail (0, 100] within a location without pausing the rollout.