REST Resource: projects.locations.experimentTemplates

Resource: ExperimentTemplate

Template for a failure-injection experiment.

JSON representation
{
  "name": string,
  "displayName": string,
  "description": string,
  "duration": string,
  "createTime": string,
  "updateTime": string,
  "action": {
    object (Action)
  }
}
Fields
name

string

Identifier. The resource name of this experiment template. Format: projects/{project}/locations/{location}/experimentTemplates/{experimentTemplate}

displayName

string

Optional. Human-readable template name. Min length 0, max 1000.

description

string

Optional. Optional user-provided description or notes. Min length 0. Max length 2000.

duration

string (Duration format)

Required. How long the experiment is intended to run. Min duration is 0, max is 10 days.

A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

createTime

string (Timestamp format)

Output only. The time the template was created.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

Output only. The time the template was last updated.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

action

object (Action)

Required. The action to be performed.

Methods

create

Creates a new experiment template.

delete

Deletes an experiment template.

get

Retrieves the details of a specific experiment template.

list

Lists all experiment templates in a specified project and location.

patch

Updates an existing experiment template.