Reference documentation and code samples for the Google Cloud Saas Platform Saas Service Mgmt V1 Client class UnitUpdatePacing.
UnitUpdatePacing defines the policy for the maximum number of unit operations that can run for a rollout in parallel in a single region.
Generated from protobuf message google.cloud.saasplatform.saasservicemgmt.v1.UnitUpdatePacing
Namespace
Google \ Cloud \ SaasPlatform \ SaasServiceMgmt \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ max_concurrent_operations_percent |
Google\Type\Decimal
Optional. The maximum percentage of total units in the scope that can be in-flight. Example: 10.5 for 10.5%. If both percent and count are provided, the system uses the MINIMUM (most restrictive). |
↳ max_concurrent_operations_count |
int
Optional. An absolute cap on concurrent units operations. If both percent and count are provided, the system uses the MINIMUM (most restrictive). |
getMaxConcurrentOperationsPercent
Optional. The maximum percentage of total units in the scope that can be in-flight. Example: 10.5 for 10.5%. If both percent and count are provided, the system uses the MINIMUM (most restrictive).
| Returns | |
|---|---|
| Type | Description |
Google\Type\Decimal|null |
|
hasMaxConcurrentOperationsPercent
clearMaxConcurrentOperationsPercent
setMaxConcurrentOperationsPercent
Optional. The maximum percentage of total units in the scope that can be in-flight. Example: 10.5 for 10.5%. If both percent and count are provided, the system uses the MINIMUM (most restrictive).
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Type\Decimal
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMaxConcurrentOperationsCount
Optional. An absolute cap on concurrent units operations.
If both percent and count are provided, the system uses the MINIMUM (most restrictive).
| Returns | |
|---|---|
| Type | Description |
int |
|
hasMaxConcurrentOperationsCount
clearMaxConcurrentOperationsCount
setMaxConcurrentOperationsCount
Optional. An absolute cap on concurrent units operations.
If both percent and count are provided, the system uses the MINIMUM (most restrictive).
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|