Controls traffic configuration for the backend.
JSON representation |
---|
{ "name": string, "current": { object ( |
Fields | |
---|---|
name |
Identifier. The resource name of the backend. Format:
|
current |
Output only. Current state of traffic allocation for the backend. When setting |
reconciling |
Output only. A field that, if true, indicates that the system is working to make the backend's |
createTime |
Output only. Time at which the backend was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. Time at which the backend was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
Optional. Unstructured key value map that can be used to organize and categorize objects. An object containing a list of |
annotations |
Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. An object containing a list of |
etag |
Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource. |
uid |
Output only. System-assigned, unique identifier. |
Union field
|
|
target |
Set to manually control the desired traffic for the backend. This will cause |
rolloutPolicy |
A rollout policy specifies how new builds and automatic deployments are created. |
TrafficSet
A list of traffic splits that together represent where traffic is being routed.
JSON representation |
---|
{
"splits": [
{
object ( |
Fields | |
---|---|
splits[] |
Required. The list of traffic splits. |
TrafficSplit
The traffic allocation for the backend.
JSON representation |
---|
{ "build": string, "percent": integer } |
Fields | |
---|---|
build |
Required. The build that traffic is being routed to. |
percent |
Required. The percentage of traffic to send to the build. Currently must be 100% or 0%. |
RolloutPolicy
The policy for how builds and rollouts are triggered and rolled out.
JSON representation |
---|
{ "disabled": boolean, "disabledTime": string, // Union field |
Fields | |
---|---|
disabled |
Optional. A flag that, if true, prevents rollouts from being created via this RolloutPolicy. |
disabledTime |
Output only. If A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Union field trigger . Specifies the type of codebase event that can trigger a new build. trigger can be only one of the following: |
|
codebaseBranch |
If set, specifies a branch that triggers a new build to be started with this policy. Otherwise, no automatic rollouts will happen. |