Reference documentation and code samples for the Google Cloud Ces V1 Client class VersionRelease.
Version release for the experiment.
Generated from protobuf message google.cloud.ces.v1.ExperimentConfig.VersionRelease
Namespace
Google \ Cloud \ Ces \ V1 \ ExperimentConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ state |
int
Optional. State of the version release. |
↳ traffic_allocations |
array<VersionRelease\TrafficAllocation>
Optional. Traffic allocations for the version release. |
getState
Optional. State of the version release.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type State. |
setState
Optional. State of the version release.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type State. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTrafficAllocations
Optional. Traffic allocations for the version release.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<VersionRelease\TrafficAllocation> |
|
setTrafficAllocations
Optional. Traffic allocations for the version release.
| Parameter | |
|---|---|
| Name | Description |
var |
array<VersionRelease\TrafficAllocation>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|