Update a shadow experiment
Updates a shadow experiment’s description or source sampling strategy. updateMask is required; source changes also require the current etag in the request body.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Project identifier.
Endpoint identifier.
Shadow experiment identifier.
Query Parameters
Required fields to update, such as description or source.
Body
Response
OK
Experiment that mirrors sampled endpoint requests to target deployments without changing client responses.
Output only. Unique shadow experiment identifier.
Output only. Project that owns the parent endpoint.
Output only. Endpoint whose traffic this experiment samples.
Human-readable shadow experiment name, unique within the endpoint. At most 256 characters.
Endpoint source and sampling configuration for mirrored requests.
Target deployments that receive mirrored traffic.
Identifier of the principal that created the experiment.
Timestamp when the experiment was created.
Timestamp when the experiment was last updated.
Opaque version tag for optimistic concurrency control. Returned on read; set it on update or delete requests for consistent read-modify-write.
Derived serving state, active when the experiment has at least one target.
SHADOW_EXPERIMENT_STATE_ACTIVE, SHADOW_EXPERIMENT_STATE_INACTIVE User defined description.