You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="firstline">Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.</p>
79
+
<pclass="firstline">Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.</p>
<pre>Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
101
+
<pre>Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
102
102
103
103
Args:
104
104
name: string, The name of the operation resource to be cancelled. (required)
parent: string, Required. The parent resource where this test case will be created. Format: `projects/{project_number}/apps/{app_id}` (required)
110
+
body: object, The request body.
111
+
The object takes the form of:
112
+
113
+
{ # AI test cases
114
+
"aiInstructions": { # Instructions for AI driven test # Optional. Instructions for AI driven test.
115
+
"appDescription": "A String", # Optional. Describes the app to give the AI some context
116
+
"steps": [ # Required. Steps to be accomplished by the AI
117
+
{ # A step to be accomplished by the AI
118
+
"assertion": "A String", # An assertion to be checked by the AI
119
+
"goal": "A String", # A goal to be accomplished by the AI
120
+
"hint": "A String", # Optional. Hint text containing suggestions to help the agent accomplish the goal
121
+
"successCriteria": "A String", # Optional. A description of criteria the agent should use to determine if the goal has been successfully completed
122
+
},
123
+
],
124
+
},
125
+
"displayName": "A String", # Optional. Display name of the test case.
126
+
"name": "A String", # Identifier. The name of the test case resource. Format: `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}`
127
+
}
128
+
129
+
testCaseId: string, Optional. The ID to use for the test case, which will become the final component of the test case's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.
130
+
x__xgafv: string, V1 error format.
131
+
Allowed values
132
+
1 - v1 error format
133
+
2 - v2 error format
134
+
135
+
Returns:
136
+
An object of the form:
137
+
138
+
{ # AI test cases
139
+
"aiInstructions": { # Instructions for AI driven test # Optional. Instructions for AI driven test.
140
+
"appDescription": "A String", # Optional. Describes the app to give the AI some context
141
+
"steps": [ # Required. Steps to be accomplished by the AI
142
+
{ # A step to be accomplished by the AI
143
+
"assertion": "A String", # An assertion to be checked by the AI
144
+
"goal": "A String", # A goal to be accomplished by the AI
145
+
"hint": "A String", # Optional. Hint text containing suggestions to help the agent accomplish the goal
146
+
"successCriteria": "A String", # Optional. A description of criteria the agent should use to determine if the goal has been successfully completed
147
+
},
148
+
],
149
+
},
150
+
"displayName": "A String", # Optional. Display name of the test case.
151
+
"name": "A String", # Identifier. The name of the test case resource. Format: `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}`
name: string, Required. The name of the test case resource to delete. Format: `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` (required)
161
+
x__xgafv: string, V1 error format.
162
+
Allowed values
163
+
1 - v1 error format
164
+
2 - v2 error format
165
+
166
+
Returns:
167
+
An object of the form:
168
+
169
+
{ # 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); }
name: string, Required. The name of the test case resource to retrieve. Format: `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` (required)
179
+
x__xgafv: string, V1 error format.
180
+
Allowed values
181
+
1 - v1 error format
182
+
2 - v2 error format
183
+
184
+
Returns:
185
+
An object of the form:
186
+
187
+
{ # AI test cases
188
+
"aiInstructions": { # Instructions for AI driven test # Optional. Instructions for AI driven test.
189
+
"appDescription": "A String", # Optional. Describes the app to give the AI some context
190
+
"steps": [ # Required. Steps to be accomplished by the AI
191
+
{ # A step to be accomplished by the AI
192
+
"assertion": "A String", # An assertion to be checked by the AI
193
+
"goal": "A String", # A goal to be accomplished by the AI
194
+
"hint": "A String", # Optional. Hint text containing suggestions to help the agent accomplish the goal
195
+
"successCriteria": "A String", # Optional. A description of criteria the agent should use to determine if the goal has been successfully completed
196
+
},
197
+
],
198
+
},
199
+
"displayName": "A String", # Optional. Display name of the test case.
200
+
"name": "A String", # Identifier. The name of the test case resource. Format: `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}`
parent: string, Required. The parent resource from which to list test cases. Format: `projects/{project_number}/apps/{app_id}` (required)
210
+
pageSize: integer, Optional. The maximum number of test cases to return. The service may return fewer than this value. If unspecified, at most 50 test cases will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
211
+
pageToken: string, Optional. A page token, received from a previous `ListTestCases` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTestCases` must match the call that provided the page token.
212
+
x__xgafv: string, V1 error format.
213
+
Allowed values
214
+
1 - v1 error format
215
+
2 - v2 error format
216
+
217
+
Returns:
218
+
An object of the form:
219
+
220
+
{ # The response message for `ListTestCases`.
221
+
"nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
222
+
"testCases": [ # The test cases from the specified app.
223
+
{ # AI test cases
224
+
"aiInstructions": { # Instructions for AI driven test # Optional. Instructions for AI driven test.
225
+
"appDescription": "A String", # Optional. Describes the app to give the AI some context
226
+
"steps": [ # Required. Steps to be accomplished by the AI
227
+
{ # A step to be accomplished by the AI
228
+
"assertion": "A String", # An assertion to be checked by the AI
229
+
"goal": "A String", # A goal to be accomplished by the AI
230
+
"hint": "A String", # Optional. Hint text containing suggestions to help the agent accomplish the goal
231
+
"successCriteria": "A String", # Optional. A description of criteria the agent should use to determine if the goal has been successfully completed
232
+
},
233
+
],
234
+
},
235
+
"displayName": "A String", # Optional. Display name of the test case.
236
+
"name": "A String", # Identifier. The name of the test case resource. Format: `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}`
name: string, Identifier. The name of the test case resource. Format: `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}` (required)
262
+
body: object, The request body.
263
+
The object takes the form of:
264
+
265
+
{ # AI test cases
266
+
"aiInstructions": { # Instructions for AI driven test # Optional. Instructions for AI driven test.
267
+
"appDescription": "A String", # Optional. Describes the app to give the AI some context
268
+
"steps": [ # Required. Steps to be accomplished by the AI
269
+
{ # A step to be accomplished by the AI
270
+
"assertion": "A String", # An assertion to be checked by the AI
271
+
"goal": "A String", # A goal to be accomplished by the AI
272
+
"hint": "A String", # Optional. Hint text containing suggestions to help the agent accomplish the goal
273
+
"successCriteria": "A String", # Optional. A description of criteria the agent should use to determine if the goal has been successfully completed
274
+
},
275
+
],
276
+
},
277
+
"displayName": "A String", # Optional. Display name of the test case.
278
+
"name": "A String", # Identifier. The name of the test case resource. Format: `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}`
279
+
}
280
+
281
+
x__xgafv: string, V1 error format.
282
+
Allowed values
283
+
1 - v1 error format
284
+
2 - v2 error format
285
+
286
+
Returns:
287
+
An object of the form:
288
+
289
+
{ # AI test cases
290
+
"aiInstructions": { # Instructions for AI driven test # Optional. Instructions for AI driven test.
291
+
"appDescription": "A String", # Optional. Describes the app to give the AI some context
292
+
"steps": [ # Required. Steps to be accomplished by the AI
293
+
{ # A step to be accomplished by the AI
294
+
"assertion": "A String", # An assertion to be checked by the AI
295
+
"goal": "A String", # A goal to be accomplished by the AI
296
+
"hint": "A String", # Optional. Hint text containing suggestions to help the agent accomplish the goal
297
+
"successCriteria": "A String", # Optional. A description of criteria the agent should use to determine if the goal has been successfully completed
298
+
},
299
+
],
300
+
},
301
+
"displayName": "A String", # Optional. Display name of the test case.
302
+
"name": "A String", # Identifier. The name of the test case resource. Format: `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}`
Copy file name to clipboardExpand all lines: googleapiclient/discovery_cache/documents/firebaseappdistribution.v1.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -438,7 +438,7 @@
438
438
"operations": {
439
439
"methods": {
440
440
"cancel": {
441
-
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
441
+
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
0 commit comments