Google Cloud Saas Platform Saas Service Mgmt V1 Client - Class ErrorBudget (0.1.0)

Reference documentation and code samples for the Google Cloud Saas Platform Saas Service Mgmt V1 Client class 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.

Generated from protobuf message google.cloud.saasplatform.saasservicemgmt.v1.ErrorBudget

Namespace

Google \ Cloud \ SaasPlatform \ SaasServiceMgmt \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ allowed_count int

Optional. The maximum number of failed units allowed in a location without pausing the rollout.

↳ allowed_percentage int

Optional. The maximum percentage of units allowed to fail (0, 100] within a location without pausing the rollout.

getAllowedCount

Optional. The maximum number of failed units allowed in a location without pausing the rollout.

Returns
Type Description
int

hasAllowedCount

clearAllowedCount

setAllowedCount

Optional. The maximum number of failed units allowed in a location without pausing the rollout.

Parameter
Name Description
var int
Returns
Type Description
$this

getAllowedPercentage

Optional. The maximum percentage of units allowed to fail (0, 100] within a location without pausing the rollout.

Returns
Type Description
int

hasAllowedPercentage

clearAllowedPercentage

setAllowedPercentage

Optional. The maximum percentage of units allowed to fail (0, 100] within a location without pausing the rollout.

Parameter
Name Description
var int
Returns
Type Description
$this