blob: bedf720f8a0f8736832776439e469954e182e87f [file] [log] [blame]
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="dialogflow_v3.html">Dialogflow API</a> . <a href="dialogflow_v3.projects.html">projects</a> . <a href="dialogflow_v3.projects.locations.html">locations</a> . <a href="dialogflow_v3.projects.locations.agents.html">agents</a> . <a href="dialogflow_v3.projects.locations.agents.environments.html">environments</a> . <a href="dialogflow_v3.projects.locations.agents.environments.experiments.html">experiments</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
81 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Creates an Experiment in the specified Environment.</p>
83<p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85<p class="firstline">Deletes the specified Experiment.</p>
86<p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88<p class="firstline">Retrieves the specified Experiment.</p>
89<p class="toc_element">
90 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91<p class="firstline">Returns the list of all experiments in the specified Environment.</p>
92<p class="toc_element">
93 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
94<p class="firstline">Retrieves the next page of results.</p>
95<p class="toc_element">
96 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97<p class="firstline">Updates the specified Experiment.</p>
98<p class="toc_element">
99 <code><a href="#start">start(name, body=None, x__xgafv=None)</a></code></p>
100<p class="firstline">Starts the specified Experiment. This rpc only changes the state of experiment from PENDING to RUNNING.</p>
101<p class="toc_element">
102 <code><a href="#stop">stop(name, body=None, x__xgafv=None)</a></code></p>
103<p class="firstline">Stops the specified Experiment. This rpc only changes the state of experiment from RUNNING to DONE.</p>
104<h3>Method Details</h3>
105<div class="method">
106 <code class="details" id="close">close()</code>
107 <pre>Close httplib2 connections.</pre>
108</div>
109
110<div class="method">
111 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
112 <pre>Creates an Experiment in the specified Environment.
113
114Args:
115 parent: string, Required. The Agent to create an Environment for. Format: `projects//locations//agents//environments/`. (required)
116 body: object, The request body.
117 The object takes the form of:
118
119{ # Represents an experiment in an environment.
120 &quot;createTime&quot;: &quot;A String&quot;, # Creation time of this experiment.
121 &quot;definition&quot;: { # Definition of the experiment. # The definition of the experiment.
122 &quot;condition&quot;: &quot;A String&quot;, # The condition defines which subset of sessions are selected for this experiment. If not specified, all sessions are eligible. E.g. &quot;query_input.language_code=en&quot; See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
123 &quot;versionVariants&quot;: { # A list of flow version variants. # The flow versions as the variants of this experiment.
124 &quot;variants&quot;: [ # A list of flow version variants.
125 { # A single flow version with specified traffic allocation.
126 &quot;isControlGroup&quot;: True or False, # Whether the variant is for the control group.
127 &quot;trafficAllocation&quot;: 3.14, # Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
128 &quot;version&quot;: &quot;A String&quot;, # The name of the flow version. Format: `projects//locations//agents//flows//versions/`.
129 },
130 ],
131 },
132 },
133 &quot;description&quot;: &quot;A String&quot;, # The human-readable description of the experiment.
134 &quot;displayName&quot;: &quot;A String&quot;, # Required. The human-readable name of the experiment (unique in an environment). Limit of 64 characters.
135 &quot;endTime&quot;: &quot;A String&quot;, # End time of this experiment.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700136 &quot;experimentLength&quot;: &quot;A String&quot;, # LINT.IfChange(default_experiment_length) Maximum number of days to run the experiment/rollout. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days. LINT.ThenChange(//depot/google3/cloud/ml/api/conversation/analytics/compute.cc:default_experiment_length)
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800137 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # Last update time of this experiment.
138 &quot;name&quot;: &quot;A String&quot;, # The name of the experiment. Format: projects//locations//agents//environments//experiments/..
139 &quot;result&quot;: { # The inference result which includes an objective metric to optimize and the confidence interval. # Inference result of the experiment.
140 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # The last time the experiment&#x27;s stats data was updated. Will have default value if stats have never been computed for this experiment.
141 &quot;versionMetrics&quot;: [ # Version variants and metrics.
142 { # Version variant and associated metrics.
143 &quot;metrics&quot;: [ # The metrics and corresponding confidence intervals in the inference result.
144 { # Metric and corresponding confidence intervals.
145 &quot;confidenceInterval&quot;: { # A confidence interval is a range of possible values for the experiment objective you are trying to measure. # The probability that the treatment is better than all other treatments in the experiment
146 &quot;confidenceLevel&quot;: 3.14, # The confidence level used to construct the interval, i.e. there is X% chance that the true value is within this interval.
147 &quot;lowerBound&quot;: 3.14, # Lower bound of the interval.
148 &quot;ratio&quot;: 3.14, # The percent change between an experiment metric&#x27;s value and the value for its control.
149 &quot;upperBound&quot;: 3.14, # Upper bound of the interval.
150 },
151 &quot;count&quot;: 3.14, # Count value of a metric.
152 &quot;countType&quot;: &quot;A String&quot;, # Count-based metric type. Only one of type or count_type is specified in each Metric.
153 &quot;ratio&quot;: 3.14, # Ratio value of a metric.
154 &quot;type&quot;: &quot;A String&quot;, # Ratio-based metric type. Only one of type or count_type is specified in each Metric.
155 },
156 ],
157 &quot;sessionCount&quot;: 42, # Number of sessions that were allocated to this version.
158 &quot;version&quot;: &quot;A String&quot;, # The name of the flow Version. Format: `projects//locations//agents//flows//versions/`.
159 },
160 ],
161 },
162 &quot;startTime&quot;: &quot;A String&quot;, # Start time of this experiment.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700163 &quot;state&quot;: &quot;A String&quot;, # The current state of the experiment. Transition triggered by Experiments.StartExperiment: DRAFT-&gt;RUNNING. Transition triggered by Experiments.CancelExperiment: DRAFT-&gt;DONE or RUNNING-&gt;DONE.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800164 &quot;variantsHistory&quot;: [ # The history of updates to the experiment variants.
165 { # The history of variants update.
166 &quot;updateTime&quot;: &quot;A String&quot;, # Update time of the variants.
167 &quot;versionVariants&quot;: { # A list of flow version variants. # The flow versions as the variants.
168 &quot;variants&quot;: [ # A list of flow version variants.
169 { # A single flow version with specified traffic allocation.
170 &quot;isControlGroup&quot;: True or False, # Whether the variant is for the control group.
171 &quot;trafficAllocation&quot;: 3.14, # Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
172 &quot;version&quot;: &quot;A String&quot;, # The name of the flow version. Format: `projects//locations//agents//flows//versions/`.
173 },
174 ],
175 },
176 },
177 ],
178}
179
180 x__xgafv: string, V1 error format.
181 Allowed values
182 1 - v1 error format
183 2 - v2 error format
184
185Returns:
186 An object of the form:
187
188 { # Represents an experiment in an environment.
189 &quot;createTime&quot;: &quot;A String&quot;, # Creation time of this experiment.
190 &quot;definition&quot;: { # Definition of the experiment. # The definition of the experiment.
191 &quot;condition&quot;: &quot;A String&quot;, # The condition defines which subset of sessions are selected for this experiment. If not specified, all sessions are eligible. E.g. &quot;query_input.language_code=en&quot; See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
192 &quot;versionVariants&quot;: { # A list of flow version variants. # The flow versions as the variants of this experiment.
193 &quot;variants&quot;: [ # A list of flow version variants.
194 { # A single flow version with specified traffic allocation.
195 &quot;isControlGroup&quot;: True or False, # Whether the variant is for the control group.
196 &quot;trafficAllocation&quot;: 3.14, # Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
197 &quot;version&quot;: &quot;A String&quot;, # The name of the flow version. Format: `projects//locations//agents//flows//versions/`.
198 },
199 ],
200 },
201 },
202 &quot;description&quot;: &quot;A String&quot;, # The human-readable description of the experiment.
203 &quot;displayName&quot;: &quot;A String&quot;, # Required. The human-readable name of the experiment (unique in an environment). Limit of 64 characters.
204 &quot;endTime&quot;: &quot;A String&quot;, # End time of this experiment.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700205 &quot;experimentLength&quot;: &quot;A String&quot;, # LINT.IfChange(default_experiment_length) Maximum number of days to run the experiment/rollout. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days. LINT.ThenChange(//depot/google3/cloud/ml/api/conversation/analytics/compute.cc:default_experiment_length)
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800206 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # Last update time of this experiment.
207 &quot;name&quot;: &quot;A String&quot;, # The name of the experiment. Format: projects//locations//agents//environments//experiments/..
208 &quot;result&quot;: { # The inference result which includes an objective metric to optimize and the confidence interval. # Inference result of the experiment.
209 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # The last time the experiment&#x27;s stats data was updated. Will have default value if stats have never been computed for this experiment.
210 &quot;versionMetrics&quot;: [ # Version variants and metrics.
211 { # Version variant and associated metrics.
212 &quot;metrics&quot;: [ # The metrics and corresponding confidence intervals in the inference result.
213 { # Metric and corresponding confidence intervals.
214 &quot;confidenceInterval&quot;: { # A confidence interval is a range of possible values for the experiment objective you are trying to measure. # The probability that the treatment is better than all other treatments in the experiment
215 &quot;confidenceLevel&quot;: 3.14, # The confidence level used to construct the interval, i.e. there is X% chance that the true value is within this interval.
216 &quot;lowerBound&quot;: 3.14, # Lower bound of the interval.
217 &quot;ratio&quot;: 3.14, # The percent change between an experiment metric&#x27;s value and the value for its control.
218 &quot;upperBound&quot;: 3.14, # Upper bound of the interval.
219 },
220 &quot;count&quot;: 3.14, # Count value of a metric.
221 &quot;countType&quot;: &quot;A String&quot;, # Count-based metric type. Only one of type or count_type is specified in each Metric.
222 &quot;ratio&quot;: 3.14, # Ratio value of a metric.
223 &quot;type&quot;: &quot;A String&quot;, # Ratio-based metric type. Only one of type or count_type is specified in each Metric.
224 },
225 ],
226 &quot;sessionCount&quot;: 42, # Number of sessions that were allocated to this version.
227 &quot;version&quot;: &quot;A String&quot;, # The name of the flow Version. Format: `projects//locations//agents//flows//versions/`.
228 },
229 ],
230 },
231 &quot;startTime&quot;: &quot;A String&quot;, # Start time of this experiment.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700232 &quot;state&quot;: &quot;A String&quot;, # The current state of the experiment. Transition triggered by Experiments.StartExperiment: DRAFT-&gt;RUNNING. Transition triggered by Experiments.CancelExperiment: DRAFT-&gt;DONE or RUNNING-&gt;DONE.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800233 &quot;variantsHistory&quot;: [ # The history of updates to the experiment variants.
234 { # The history of variants update.
235 &quot;updateTime&quot;: &quot;A String&quot;, # Update time of the variants.
236 &quot;versionVariants&quot;: { # A list of flow version variants. # The flow versions as the variants.
237 &quot;variants&quot;: [ # A list of flow version variants.
238 { # A single flow version with specified traffic allocation.
239 &quot;isControlGroup&quot;: True or False, # Whether the variant is for the control group.
240 &quot;trafficAllocation&quot;: 3.14, # Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
241 &quot;version&quot;: &quot;A String&quot;, # The name of the flow version. Format: `projects//locations//agents//flows//versions/`.
242 },
243 ],
244 },
245 },
246 ],
247}</pre>
248</div>
249
250<div class="method">
251 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
252 <pre>Deletes the specified Experiment.
253
254Args:
255 name: string, Required. The name of the Environment to delete. Format: `projects//locations//agents//environments//experiments/`. (required)
256 x__xgafv: string, V1 error format.
257 Allowed values
258 1 - v1 error format
259 2 - v2 error format
260
261Returns:
262 An object of the form:
263
264 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
265}</pre>
266</div>
267
268<div class="method">
269 <code class="details" id="get">get(name, x__xgafv=None)</code>
270 <pre>Retrieves the specified Experiment.
271
272Args:
273 name: string, Required. The name of the Environment. Format: `projects//locations//agents//environments//experiments/`. (required)
274 x__xgafv: string, V1 error format.
275 Allowed values
276 1 - v1 error format
277 2 - v2 error format
278
279Returns:
280 An object of the form:
281
282 { # Represents an experiment in an environment.
283 &quot;createTime&quot;: &quot;A String&quot;, # Creation time of this experiment.
284 &quot;definition&quot;: { # Definition of the experiment. # The definition of the experiment.
285 &quot;condition&quot;: &quot;A String&quot;, # The condition defines which subset of sessions are selected for this experiment. If not specified, all sessions are eligible. E.g. &quot;query_input.language_code=en&quot; See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
286 &quot;versionVariants&quot;: { # A list of flow version variants. # The flow versions as the variants of this experiment.
287 &quot;variants&quot;: [ # A list of flow version variants.
288 { # A single flow version with specified traffic allocation.
289 &quot;isControlGroup&quot;: True or False, # Whether the variant is for the control group.
290 &quot;trafficAllocation&quot;: 3.14, # Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
291 &quot;version&quot;: &quot;A String&quot;, # The name of the flow version. Format: `projects//locations//agents//flows//versions/`.
292 },
293 ],
294 },
295 },
296 &quot;description&quot;: &quot;A String&quot;, # The human-readable description of the experiment.
297 &quot;displayName&quot;: &quot;A String&quot;, # Required. The human-readable name of the experiment (unique in an environment). Limit of 64 characters.
298 &quot;endTime&quot;: &quot;A String&quot;, # End time of this experiment.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700299 &quot;experimentLength&quot;: &quot;A String&quot;, # LINT.IfChange(default_experiment_length) Maximum number of days to run the experiment/rollout. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days. LINT.ThenChange(//depot/google3/cloud/ml/api/conversation/analytics/compute.cc:default_experiment_length)
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800300 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # Last update time of this experiment.
301 &quot;name&quot;: &quot;A String&quot;, # The name of the experiment. Format: projects//locations//agents//environments//experiments/..
302 &quot;result&quot;: { # The inference result which includes an objective metric to optimize and the confidence interval. # Inference result of the experiment.
303 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # The last time the experiment&#x27;s stats data was updated. Will have default value if stats have never been computed for this experiment.
304 &quot;versionMetrics&quot;: [ # Version variants and metrics.
305 { # Version variant and associated metrics.
306 &quot;metrics&quot;: [ # The metrics and corresponding confidence intervals in the inference result.
307 { # Metric and corresponding confidence intervals.
308 &quot;confidenceInterval&quot;: { # A confidence interval is a range of possible values for the experiment objective you are trying to measure. # The probability that the treatment is better than all other treatments in the experiment
309 &quot;confidenceLevel&quot;: 3.14, # The confidence level used to construct the interval, i.e. there is X% chance that the true value is within this interval.
310 &quot;lowerBound&quot;: 3.14, # Lower bound of the interval.
311 &quot;ratio&quot;: 3.14, # The percent change between an experiment metric&#x27;s value and the value for its control.
312 &quot;upperBound&quot;: 3.14, # Upper bound of the interval.
313 },
314 &quot;count&quot;: 3.14, # Count value of a metric.
315 &quot;countType&quot;: &quot;A String&quot;, # Count-based metric type. Only one of type or count_type is specified in each Metric.
316 &quot;ratio&quot;: 3.14, # Ratio value of a metric.
317 &quot;type&quot;: &quot;A String&quot;, # Ratio-based metric type. Only one of type or count_type is specified in each Metric.
318 },
319 ],
320 &quot;sessionCount&quot;: 42, # Number of sessions that were allocated to this version.
321 &quot;version&quot;: &quot;A String&quot;, # The name of the flow Version. Format: `projects//locations//agents//flows//versions/`.
322 },
323 ],
324 },
325 &quot;startTime&quot;: &quot;A String&quot;, # Start time of this experiment.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700326 &quot;state&quot;: &quot;A String&quot;, # The current state of the experiment. Transition triggered by Experiments.StartExperiment: DRAFT-&gt;RUNNING. Transition triggered by Experiments.CancelExperiment: DRAFT-&gt;DONE or RUNNING-&gt;DONE.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800327 &quot;variantsHistory&quot;: [ # The history of updates to the experiment variants.
328 { # The history of variants update.
329 &quot;updateTime&quot;: &quot;A String&quot;, # Update time of the variants.
330 &quot;versionVariants&quot;: { # A list of flow version variants. # The flow versions as the variants.
331 &quot;variants&quot;: [ # A list of flow version variants.
332 { # A single flow version with specified traffic allocation.
333 &quot;isControlGroup&quot;: True or False, # Whether the variant is for the control group.
334 &quot;trafficAllocation&quot;: 3.14, # Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
335 &quot;version&quot;: &quot;A String&quot;, # The name of the flow version. Format: `projects//locations//agents//flows//versions/`.
336 },
337 ],
338 },
339 },
340 ],
341}</pre>
342</div>
343
344<div class="method">
345 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
346 <pre>Returns the list of all experiments in the specified Environment.
347
348Args:
349 parent: string, Required. The Environment to list all environments for. Format: `projects//locations//agents//environments/`. (required)
350 pageSize: integer, The maximum number of items to return in a single page. By default 20 and at most 100.
351 pageToken: string, The next_page_token value returned from a previous list request.
352 x__xgafv: string, V1 error format.
353 Allowed values
354 1 - v1 error format
355 2 - v2 error format
356
357Returns:
358 An object of the form:
359
360 { # The response message for Experiments.ListExperiments.
361 &quot;experiments&quot;: [ # The list of experiments. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn&#x27;t the last page.
362 { # Represents an experiment in an environment.
363 &quot;createTime&quot;: &quot;A String&quot;, # Creation time of this experiment.
364 &quot;definition&quot;: { # Definition of the experiment. # The definition of the experiment.
365 &quot;condition&quot;: &quot;A String&quot;, # The condition defines which subset of sessions are selected for this experiment. If not specified, all sessions are eligible. E.g. &quot;query_input.language_code=en&quot; See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
366 &quot;versionVariants&quot;: { # A list of flow version variants. # The flow versions as the variants of this experiment.
367 &quot;variants&quot;: [ # A list of flow version variants.
368 { # A single flow version with specified traffic allocation.
369 &quot;isControlGroup&quot;: True or False, # Whether the variant is for the control group.
370 &quot;trafficAllocation&quot;: 3.14, # Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
371 &quot;version&quot;: &quot;A String&quot;, # The name of the flow version. Format: `projects//locations//agents//flows//versions/`.
372 },
373 ],
374 },
375 },
376 &quot;description&quot;: &quot;A String&quot;, # The human-readable description of the experiment.
377 &quot;displayName&quot;: &quot;A String&quot;, # Required. The human-readable name of the experiment (unique in an environment). Limit of 64 characters.
378 &quot;endTime&quot;: &quot;A String&quot;, # End time of this experiment.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700379 &quot;experimentLength&quot;: &quot;A String&quot;, # LINT.IfChange(default_experiment_length) Maximum number of days to run the experiment/rollout. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days. LINT.ThenChange(//depot/google3/cloud/ml/api/conversation/analytics/compute.cc:default_experiment_length)
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800380 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # Last update time of this experiment.
381 &quot;name&quot;: &quot;A String&quot;, # The name of the experiment. Format: projects//locations//agents//environments//experiments/..
382 &quot;result&quot;: { # The inference result which includes an objective metric to optimize and the confidence interval. # Inference result of the experiment.
383 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # The last time the experiment&#x27;s stats data was updated. Will have default value if stats have never been computed for this experiment.
384 &quot;versionMetrics&quot;: [ # Version variants and metrics.
385 { # Version variant and associated metrics.
386 &quot;metrics&quot;: [ # The metrics and corresponding confidence intervals in the inference result.
387 { # Metric and corresponding confidence intervals.
388 &quot;confidenceInterval&quot;: { # A confidence interval is a range of possible values for the experiment objective you are trying to measure. # The probability that the treatment is better than all other treatments in the experiment
389 &quot;confidenceLevel&quot;: 3.14, # The confidence level used to construct the interval, i.e. there is X% chance that the true value is within this interval.
390 &quot;lowerBound&quot;: 3.14, # Lower bound of the interval.
391 &quot;ratio&quot;: 3.14, # The percent change between an experiment metric&#x27;s value and the value for its control.
392 &quot;upperBound&quot;: 3.14, # Upper bound of the interval.
393 },
394 &quot;count&quot;: 3.14, # Count value of a metric.
395 &quot;countType&quot;: &quot;A String&quot;, # Count-based metric type. Only one of type or count_type is specified in each Metric.
396 &quot;ratio&quot;: 3.14, # Ratio value of a metric.
397 &quot;type&quot;: &quot;A String&quot;, # Ratio-based metric type. Only one of type or count_type is specified in each Metric.
398 },
399 ],
400 &quot;sessionCount&quot;: 42, # Number of sessions that were allocated to this version.
401 &quot;version&quot;: &quot;A String&quot;, # The name of the flow Version. Format: `projects//locations//agents//flows//versions/`.
402 },
403 ],
404 },
405 &quot;startTime&quot;: &quot;A String&quot;, # Start time of this experiment.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700406 &quot;state&quot;: &quot;A String&quot;, # The current state of the experiment. Transition triggered by Experiments.StartExperiment: DRAFT-&gt;RUNNING. Transition triggered by Experiments.CancelExperiment: DRAFT-&gt;DONE or RUNNING-&gt;DONE.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800407 &quot;variantsHistory&quot;: [ # The history of updates to the experiment variants.
408 { # The history of variants update.
409 &quot;updateTime&quot;: &quot;A String&quot;, # Update time of the variants.
410 &quot;versionVariants&quot;: { # A list of flow version variants. # The flow versions as the variants.
411 &quot;variants&quot;: [ # A list of flow version variants.
412 { # A single flow version with specified traffic allocation.
413 &quot;isControlGroup&quot;: True or False, # Whether the variant is for the control group.
414 &quot;trafficAllocation&quot;: 3.14, # Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
415 &quot;version&quot;: &quot;A String&quot;, # The name of the flow version. Format: `projects//locations//agents//flows//versions/`.
416 },
417 ],
418 },
419 },
420 ],
421 },
422 ],
423 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to retrieve the next page of results, or empty if there are no more results in the list.
424}</pre>
425</div>
426
427<div class="method">
428 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
429 <pre>Retrieves the next page of results.
430
431Args:
432 previous_request: The request for the previous page. (required)
433 previous_response: The response from the request for the previous page. (required)
434
435Returns:
436 A request object that you can call &#x27;execute()&#x27; on to request the next
437 page. Returns None if there are no more items in the collection.
438 </pre>
439</div>
440
441<div class="method">
442 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
443 <pre>Updates the specified Experiment.
444
445Args:
446 name: string, The name of the experiment. Format: projects//locations//agents//environments//experiments/.. (required)
447 body: object, The request body.
448 The object takes the form of:
449
450{ # Represents an experiment in an environment.
451 &quot;createTime&quot;: &quot;A String&quot;, # Creation time of this experiment.
452 &quot;definition&quot;: { # Definition of the experiment. # The definition of the experiment.
453 &quot;condition&quot;: &quot;A String&quot;, # The condition defines which subset of sessions are selected for this experiment. If not specified, all sessions are eligible. E.g. &quot;query_input.language_code=en&quot; See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
454 &quot;versionVariants&quot;: { # A list of flow version variants. # The flow versions as the variants of this experiment.
455 &quot;variants&quot;: [ # A list of flow version variants.
456 { # A single flow version with specified traffic allocation.
457 &quot;isControlGroup&quot;: True or False, # Whether the variant is for the control group.
458 &quot;trafficAllocation&quot;: 3.14, # Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
459 &quot;version&quot;: &quot;A String&quot;, # The name of the flow version. Format: `projects//locations//agents//flows//versions/`.
460 },
461 ],
462 },
463 },
464 &quot;description&quot;: &quot;A String&quot;, # The human-readable description of the experiment.
465 &quot;displayName&quot;: &quot;A String&quot;, # Required. The human-readable name of the experiment (unique in an environment). Limit of 64 characters.
466 &quot;endTime&quot;: &quot;A String&quot;, # End time of this experiment.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700467 &quot;experimentLength&quot;: &quot;A String&quot;, # LINT.IfChange(default_experiment_length) Maximum number of days to run the experiment/rollout. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days. LINT.ThenChange(//depot/google3/cloud/ml/api/conversation/analytics/compute.cc:default_experiment_length)
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800468 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # Last update time of this experiment.
469 &quot;name&quot;: &quot;A String&quot;, # The name of the experiment. Format: projects//locations//agents//environments//experiments/..
470 &quot;result&quot;: { # The inference result which includes an objective metric to optimize and the confidence interval. # Inference result of the experiment.
471 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # The last time the experiment&#x27;s stats data was updated. Will have default value if stats have never been computed for this experiment.
472 &quot;versionMetrics&quot;: [ # Version variants and metrics.
473 { # Version variant and associated metrics.
474 &quot;metrics&quot;: [ # The metrics and corresponding confidence intervals in the inference result.
475 { # Metric and corresponding confidence intervals.
476 &quot;confidenceInterval&quot;: { # A confidence interval is a range of possible values for the experiment objective you are trying to measure. # The probability that the treatment is better than all other treatments in the experiment
477 &quot;confidenceLevel&quot;: 3.14, # The confidence level used to construct the interval, i.e. there is X% chance that the true value is within this interval.
478 &quot;lowerBound&quot;: 3.14, # Lower bound of the interval.
479 &quot;ratio&quot;: 3.14, # The percent change between an experiment metric&#x27;s value and the value for its control.
480 &quot;upperBound&quot;: 3.14, # Upper bound of the interval.
481 },
482 &quot;count&quot;: 3.14, # Count value of a metric.
483 &quot;countType&quot;: &quot;A String&quot;, # Count-based metric type. Only one of type or count_type is specified in each Metric.
484 &quot;ratio&quot;: 3.14, # Ratio value of a metric.
485 &quot;type&quot;: &quot;A String&quot;, # Ratio-based metric type. Only one of type or count_type is specified in each Metric.
486 },
487 ],
488 &quot;sessionCount&quot;: 42, # Number of sessions that were allocated to this version.
489 &quot;version&quot;: &quot;A String&quot;, # The name of the flow Version. Format: `projects//locations//agents//flows//versions/`.
490 },
491 ],
492 },
493 &quot;startTime&quot;: &quot;A String&quot;, # Start time of this experiment.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700494 &quot;state&quot;: &quot;A String&quot;, # The current state of the experiment. Transition triggered by Experiments.StartExperiment: DRAFT-&gt;RUNNING. Transition triggered by Experiments.CancelExperiment: DRAFT-&gt;DONE or RUNNING-&gt;DONE.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800495 &quot;variantsHistory&quot;: [ # The history of updates to the experiment variants.
496 { # The history of variants update.
497 &quot;updateTime&quot;: &quot;A String&quot;, # Update time of the variants.
498 &quot;versionVariants&quot;: { # A list of flow version variants. # The flow versions as the variants.
499 &quot;variants&quot;: [ # A list of flow version variants.
500 { # A single flow version with specified traffic allocation.
501 &quot;isControlGroup&quot;: True or False, # Whether the variant is for the control group.
502 &quot;trafficAllocation&quot;: 3.14, # Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
503 &quot;version&quot;: &quot;A String&quot;, # The name of the flow version. Format: `projects//locations//agents//flows//versions/`.
504 },
505 ],
506 },
507 },
508 ],
509}
510
511 updateMask: string, Required. The mask to control which fields get updated.
512 x__xgafv: string, V1 error format.
513 Allowed values
514 1 - v1 error format
515 2 - v2 error format
516
517Returns:
518 An object of the form:
519
520 { # Represents an experiment in an environment.
521 &quot;createTime&quot;: &quot;A String&quot;, # Creation time of this experiment.
522 &quot;definition&quot;: { # Definition of the experiment. # The definition of the experiment.
523 &quot;condition&quot;: &quot;A String&quot;, # The condition defines which subset of sessions are selected for this experiment. If not specified, all sessions are eligible. E.g. &quot;query_input.language_code=en&quot; See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
524 &quot;versionVariants&quot;: { # A list of flow version variants. # The flow versions as the variants of this experiment.
525 &quot;variants&quot;: [ # A list of flow version variants.
526 { # A single flow version with specified traffic allocation.
527 &quot;isControlGroup&quot;: True or False, # Whether the variant is for the control group.
528 &quot;trafficAllocation&quot;: 3.14, # Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
529 &quot;version&quot;: &quot;A String&quot;, # The name of the flow version. Format: `projects//locations//agents//flows//versions/`.
530 },
531 ],
532 },
533 },
534 &quot;description&quot;: &quot;A String&quot;, # The human-readable description of the experiment.
535 &quot;displayName&quot;: &quot;A String&quot;, # Required. The human-readable name of the experiment (unique in an environment). Limit of 64 characters.
536 &quot;endTime&quot;: &quot;A String&quot;, # End time of this experiment.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700537 &quot;experimentLength&quot;: &quot;A String&quot;, # LINT.IfChange(default_experiment_length) Maximum number of days to run the experiment/rollout. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days. LINT.ThenChange(//depot/google3/cloud/ml/api/conversation/analytics/compute.cc:default_experiment_length)
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800538 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # Last update time of this experiment.
539 &quot;name&quot;: &quot;A String&quot;, # The name of the experiment. Format: projects//locations//agents//environments//experiments/..
540 &quot;result&quot;: { # The inference result which includes an objective metric to optimize and the confidence interval. # Inference result of the experiment.
541 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # The last time the experiment&#x27;s stats data was updated. Will have default value if stats have never been computed for this experiment.
542 &quot;versionMetrics&quot;: [ # Version variants and metrics.
543 { # Version variant and associated metrics.
544 &quot;metrics&quot;: [ # The metrics and corresponding confidence intervals in the inference result.
545 { # Metric and corresponding confidence intervals.
546 &quot;confidenceInterval&quot;: { # A confidence interval is a range of possible values for the experiment objective you are trying to measure. # The probability that the treatment is better than all other treatments in the experiment
547 &quot;confidenceLevel&quot;: 3.14, # The confidence level used to construct the interval, i.e. there is X% chance that the true value is within this interval.
548 &quot;lowerBound&quot;: 3.14, # Lower bound of the interval.
549 &quot;ratio&quot;: 3.14, # The percent change between an experiment metric&#x27;s value and the value for its control.
550 &quot;upperBound&quot;: 3.14, # Upper bound of the interval.
551 },
552 &quot;count&quot;: 3.14, # Count value of a metric.
553 &quot;countType&quot;: &quot;A String&quot;, # Count-based metric type. Only one of type or count_type is specified in each Metric.
554 &quot;ratio&quot;: 3.14, # Ratio value of a metric.
555 &quot;type&quot;: &quot;A String&quot;, # Ratio-based metric type. Only one of type or count_type is specified in each Metric.
556 },
557 ],
558 &quot;sessionCount&quot;: 42, # Number of sessions that were allocated to this version.
559 &quot;version&quot;: &quot;A String&quot;, # The name of the flow Version. Format: `projects//locations//agents//flows//versions/`.
560 },
561 ],
562 },
563 &quot;startTime&quot;: &quot;A String&quot;, # Start time of this experiment.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700564 &quot;state&quot;: &quot;A String&quot;, # The current state of the experiment. Transition triggered by Experiments.StartExperiment: DRAFT-&gt;RUNNING. Transition triggered by Experiments.CancelExperiment: DRAFT-&gt;DONE or RUNNING-&gt;DONE.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800565 &quot;variantsHistory&quot;: [ # The history of updates to the experiment variants.
566 { # The history of variants update.
567 &quot;updateTime&quot;: &quot;A String&quot;, # Update time of the variants.
568 &quot;versionVariants&quot;: { # A list of flow version variants. # The flow versions as the variants.
569 &quot;variants&quot;: [ # A list of flow version variants.
570 { # A single flow version with specified traffic allocation.
571 &quot;isControlGroup&quot;: True or False, # Whether the variant is for the control group.
572 &quot;trafficAllocation&quot;: 3.14, # Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
573 &quot;version&quot;: &quot;A String&quot;, # The name of the flow version. Format: `projects//locations//agents//flows//versions/`.
574 },
575 ],
576 },
577 },
578 ],
579}</pre>
580</div>
581
582<div class="method">
583 <code class="details" id="start">start(name, body=None, x__xgafv=None)</code>
584 <pre>Starts the specified Experiment. This rpc only changes the state of experiment from PENDING to RUNNING.
585
586Args:
587 name: string, Required. Resource name of the experiment to start. Format: `projects//locations//agents//environments//experiments/`. (required)
588 body: object, The request body.
589 The object takes the form of:
590
591{ # The request message for Experiments.StartExperiment.
592}
593
594 x__xgafv: string, V1 error format.
595 Allowed values
596 1 - v1 error format
597 2 - v2 error format
598
599Returns:
600 An object of the form:
601
602 { # Represents an experiment in an environment.
603 &quot;createTime&quot;: &quot;A String&quot;, # Creation time of this experiment.
604 &quot;definition&quot;: { # Definition of the experiment. # The definition of the experiment.
605 &quot;condition&quot;: &quot;A String&quot;, # The condition defines which subset of sessions are selected for this experiment. If not specified, all sessions are eligible. E.g. &quot;query_input.language_code=en&quot; See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
606 &quot;versionVariants&quot;: { # A list of flow version variants. # The flow versions as the variants of this experiment.
607 &quot;variants&quot;: [ # A list of flow version variants.
608 { # A single flow version with specified traffic allocation.
609 &quot;isControlGroup&quot;: True or False, # Whether the variant is for the control group.
610 &quot;trafficAllocation&quot;: 3.14, # Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
611 &quot;version&quot;: &quot;A String&quot;, # The name of the flow version. Format: `projects//locations//agents//flows//versions/`.
612 },
613 ],
614 },
615 },
616 &quot;description&quot;: &quot;A String&quot;, # The human-readable description of the experiment.
617 &quot;displayName&quot;: &quot;A String&quot;, # Required. The human-readable name of the experiment (unique in an environment). Limit of 64 characters.
618 &quot;endTime&quot;: &quot;A String&quot;, # End time of this experiment.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700619 &quot;experimentLength&quot;: &quot;A String&quot;, # LINT.IfChange(default_experiment_length) Maximum number of days to run the experiment/rollout. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days. LINT.ThenChange(//depot/google3/cloud/ml/api/conversation/analytics/compute.cc:default_experiment_length)
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800620 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # Last update time of this experiment.
621 &quot;name&quot;: &quot;A String&quot;, # The name of the experiment. Format: projects//locations//agents//environments//experiments/..
622 &quot;result&quot;: { # The inference result which includes an objective metric to optimize and the confidence interval. # Inference result of the experiment.
623 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # The last time the experiment&#x27;s stats data was updated. Will have default value if stats have never been computed for this experiment.
624 &quot;versionMetrics&quot;: [ # Version variants and metrics.
625 { # Version variant and associated metrics.
626 &quot;metrics&quot;: [ # The metrics and corresponding confidence intervals in the inference result.
627 { # Metric and corresponding confidence intervals.
628 &quot;confidenceInterval&quot;: { # A confidence interval is a range of possible values for the experiment objective you are trying to measure. # The probability that the treatment is better than all other treatments in the experiment
629 &quot;confidenceLevel&quot;: 3.14, # The confidence level used to construct the interval, i.e. there is X% chance that the true value is within this interval.
630 &quot;lowerBound&quot;: 3.14, # Lower bound of the interval.
631 &quot;ratio&quot;: 3.14, # The percent change between an experiment metric&#x27;s value and the value for its control.
632 &quot;upperBound&quot;: 3.14, # Upper bound of the interval.
633 },
634 &quot;count&quot;: 3.14, # Count value of a metric.
635 &quot;countType&quot;: &quot;A String&quot;, # Count-based metric type. Only one of type or count_type is specified in each Metric.
636 &quot;ratio&quot;: 3.14, # Ratio value of a metric.
637 &quot;type&quot;: &quot;A String&quot;, # Ratio-based metric type. Only one of type or count_type is specified in each Metric.
638 },
639 ],
640 &quot;sessionCount&quot;: 42, # Number of sessions that were allocated to this version.
641 &quot;version&quot;: &quot;A String&quot;, # The name of the flow Version. Format: `projects//locations//agents//flows//versions/`.
642 },
643 ],
644 },
645 &quot;startTime&quot;: &quot;A String&quot;, # Start time of this experiment.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700646 &quot;state&quot;: &quot;A String&quot;, # The current state of the experiment. Transition triggered by Experiments.StartExperiment: DRAFT-&gt;RUNNING. Transition triggered by Experiments.CancelExperiment: DRAFT-&gt;DONE or RUNNING-&gt;DONE.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800647 &quot;variantsHistory&quot;: [ # The history of updates to the experiment variants.
648 { # The history of variants update.
649 &quot;updateTime&quot;: &quot;A String&quot;, # Update time of the variants.
650 &quot;versionVariants&quot;: { # A list of flow version variants. # The flow versions as the variants.
651 &quot;variants&quot;: [ # A list of flow version variants.
652 { # A single flow version with specified traffic allocation.
653 &quot;isControlGroup&quot;: True or False, # Whether the variant is for the control group.
654 &quot;trafficAllocation&quot;: 3.14, # Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
655 &quot;version&quot;: &quot;A String&quot;, # The name of the flow version. Format: `projects//locations//agents//flows//versions/`.
656 },
657 ],
658 },
659 },
660 ],
661}</pre>
662</div>
663
664<div class="method">
665 <code class="details" id="stop">stop(name, body=None, x__xgafv=None)</code>
666 <pre>Stops the specified Experiment. This rpc only changes the state of experiment from RUNNING to DONE.
667
668Args:
669 name: string, Required. Resource name of the experiment to stop. Format: `projects//locations//agents//environments//experiments/`. (required)
670 body: object, The request body.
671 The object takes the form of:
672
673{ # The request message for Experiments.StopExperiment.
674}
675
676 x__xgafv: string, V1 error format.
677 Allowed values
678 1 - v1 error format
679 2 - v2 error format
680
681Returns:
682 An object of the form:
683
684 { # Represents an experiment in an environment.
685 &quot;createTime&quot;: &quot;A String&quot;, # Creation time of this experiment.
686 &quot;definition&quot;: { # Definition of the experiment. # The definition of the experiment.
687 &quot;condition&quot;: &quot;A String&quot;, # The condition defines which subset of sessions are selected for this experiment. If not specified, all sessions are eligible. E.g. &quot;query_input.language_code=en&quot; See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
688 &quot;versionVariants&quot;: { # A list of flow version variants. # The flow versions as the variants of this experiment.
689 &quot;variants&quot;: [ # A list of flow version variants.
690 { # A single flow version with specified traffic allocation.
691 &quot;isControlGroup&quot;: True or False, # Whether the variant is for the control group.
692 &quot;trafficAllocation&quot;: 3.14, # Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
693 &quot;version&quot;: &quot;A String&quot;, # The name of the flow version. Format: `projects//locations//agents//flows//versions/`.
694 },
695 ],
696 },
697 },
698 &quot;description&quot;: &quot;A String&quot;, # The human-readable description of the experiment.
699 &quot;displayName&quot;: &quot;A String&quot;, # Required. The human-readable name of the experiment (unique in an environment). Limit of 64 characters.
700 &quot;endTime&quot;: &quot;A String&quot;, # End time of this experiment.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700701 &quot;experimentLength&quot;: &quot;A String&quot;, # LINT.IfChange(default_experiment_length) Maximum number of days to run the experiment/rollout. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days. LINT.ThenChange(//depot/google3/cloud/ml/api/conversation/analytics/compute.cc:default_experiment_length)
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800702 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # Last update time of this experiment.
703 &quot;name&quot;: &quot;A String&quot;, # The name of the experiment. Format: projects//locations//agents//environments//experiments/..
704 &quot;result&quot;: { # The inference result which includes an objective metric to optimize and the confidence interval. # Inference result of the experiment.
705 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # The last time the experiment&#x27;s stats data was updated. Will have default value if stats have never been computed for this experiment.
706 &quot;versionMetrics&quot;: [ # Version variants and metrics.
707 { # Version variant and associated metrics.
708 &quot;metrics&quot;: [ # The metrics and corresponding confidence intervals in the inference result.
709 { # Metric and corresponding confidence intervals.
710 &quot;confidenceInterval&quot;: { # A confidence interval is a range of possible values for the experiment objective you are trying to measure. # The probability that the treatment is better than all other treatments in the experiment
711 &quot;confidenceLevel&quot;: 3.14, # The confidence level used to construct the interval, i.e. there is X% chance that the true value is within this interval.
712 &quot;lowerBound&quot;: 3.14, # Lower bound of the interval.
713 &quot;ratio&quot;: 3.14, # The percent change between an experiment metric&#x27;s value and the value for its control.
714 &quot;upperBound&quot;: 3.14, # Upper bound of the interval.
715 },
716 &quot;count&quot;: 3.14, # Count value of a metric.
717 &quot;countType&quot;: &quot;A String&quot;, # Count-based metric type. Only one of type or count_type is specified in each Metric.
718 &quot;ratio&quot;: 3.14, # Ratio value of a metric.
719 &quot;type&quot;: &quot;A String&quot;, # Ratio-based metric type. Only one of type or count_type is specified in each Metric.
720 },
721 ],
722 &quot;sessionCount&quot;: 42, # Number of sessions that were allocated to this version.
723 &quot;version&quot;: &quot;A String&quot;, # The name of the flow Version. Format: `projects//locations//agents//flows//versions/`.
724 },
725 ],
726 },
727 &quot;startTime&quot;: &quot;A String&quot;, # Start time of this experiment.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700728 &quot;state&quot;: &quot;A String&quot;, # The current state of the experiment. Transition triggered by Experiments.StartExperiment: DRAFT-&gt;RUNNING. Transition triggered by Experiments.CancelExperiment: DRAFT-&gt;DONE or RUNNING-&gt;DONE.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800729 &quot;variantsHistory&quot;: [ # The history of updates to the experiment variants.
730 { # The history of variants update.
731 &quot;updateTime&quot;: &quot;A String&quot;, # Update time of the variants.
732 &quot;versionVariants&quot;: { # A list of flow version variants. # The flow versions as the variants.
733 &quot;variants&quot;: [ # A list of flow version variants.
734 { # A single flow version with specified traffic allocation.
735 &quot;isControlGroup&quot;: True or False, # Whether the variant is for the control group.
736 &quot;trafficAllocation&quot;: 3.14, # Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
737 &quot;version&quot;: &quot;A String&quot;, # The name of the flow version. Format: `projects//locations//agents//flows//versions/`.
738 },
739 ],
740 },
741 },
742 ],
743}</pre>
744</div>
745
746</body></html>