Reference documentation and code samples for the Google Cloud Service Management V1 Client class Rollout.
A rollout resource that defines how service configuration versions are pushed to control plane systems. Typically, you create a new version of the service config, and then create a Rollout to push the service config.
Generated from protobuf message google.api.servicemanagement.v1.Rollout
Namespace
Google \ Cloud \ ServiceManagement \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ rollout_id
string
Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If not specified by client, the server will generate one. The generated id will have the form of
↳ create_time
↳ created_by
string
The user who created the Rollout. Readonly.
↳ status
int
The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly.
↳ traffic_percent_strategy
Rollout\TrafficPercentStrategy
Google Service Control selects service configurations based on traffic percentage.
↳ delete_service_strategy
Rollout\DeleteServiceStrategy
The strategy associated with a rollout to delete a ManagedService
. Readonly.
↳ service_name
string
The name of the service associated with this Rollout.
getRolloutId
Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed.
If not specified by client, the server will generate one. The generated id will have the form of
string
setRolloutId
Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed.
If not specified by client, the server will generate one. The generated id will have the form of
var
string
$this
getCreateTime
Creation time of the rollout. Readonly.
hasCreateTime
clearCreateTime
setCreateTime
Creation time of the rollout. Readonly.
$this
getCreatedBy
The user who created the Rollout. Readonly.
string
setCreatedBy
The user who created the Rollout. Readonly.
var
string
$this
getStatus
The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly.
int
setStatus
The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly.
var
int
$this
getTrafficPercentStrategy
Google Service Control selects service configurations based on traffic percentage.
hasTrafficPercentStrategy
setTrafficPercentStrategy
Google Service Control selects service configurations based on traffic percentage.
$this
getDeleteServiceStrategy
The strategy associated with a rollout to delete a ManagedService
.
Readonly.
hasDeleteServiceStrategy
setDeleteServiceStrategy
The strategy associated with a rollout to delete a ManagedService
.
Readonly.
$this
getServiceName
The name of the service associated with this Rollout.
string
setServiceName
The name of the service associated with this Rollout.
var
string
$this
getStrategy
string