Assistant change set items
The calls of a change set in the order it applies them, each with what was there before and what it left.
List assistant change set items
The calls a change set makes, in the order it applies them, each with what was there before and what it left. Read by whoever reads the set.
path Parameters
account_idId of the parent account.
assistant_conversation_idId of the parent assistant_conversation.
change_set_idId of the parent change_set.
query Parameters
page_sizeRows per page. Over the maximum is clamped, not rejected.
page_tokenOpaque token from a previous next_page_token. A token minted under a different order_by/filter is rejected.
skipRows to skip before the page (AIP-158). skip + page_size is capped at 10000; beyond that is OUT_OF_RANGE.
order_byComma-separated field [asc|desc], at most 3 keys. Default: create_time desc. Sortable: none — this collection serves its documented order only.
filterAIP-160 subset (§8). Filterable: none. A field outside the list is INVALID_ARGUMENT.
List assistant change set items › Responses
One page of items.
This page of items, in the requested order.
next_page_tokenOpaque. Absent or empty means this was the last page.
total_sizeRows in the whole filtered collection, not in this page.
Get assistant change set item
One call of the tenant-api a change set makes, in the order the set applies them: what it calls with what, what was there before and what the call left — the «before → after» a person confirms or reverts.
path Parameters
account_idId of the parent account.
assistant_conversation_idId of the parent assistant_conversation.
change_set_idId of the parent change_set.
item_idId of the parent item.
Headers
If-None-MatchA matching etag answers 304 with no body (§16).
Get assistant change set item › Responses
The resource.
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
operationThe method the item calls: CREATE on the collection resource names, UPDATE or DELETE of the resource it names, or CUSTOM — the custom method verb.
resourceThe name the call acts on, under the tenant-api: a collection's for a Create, a resource's for the others.
verbA custom method's verb, without its colon; absent for the standard methods.
bodyWhat the call sends: a Create's resource, an Update's fields, a custom method's request. Absent on a Delete.
update_maskThe fields an Update writes — and that its revert puts back. Empty for the other methods.
precondition_etagThe etag the resource had when the set was prepared: an Update and a Delete go with If-Match on it, so a resource changed since is not overwritten.
assistant_classThe class the server weighed the call at: WRITE, which the assistant applies at once, or CONFIRM, which waits for its user.
statePENDING until it is called, then APPLIED, FAILED, STALE (its resource changed after the set was prepared), SKIPPED (an earlier item stopped the set), or REVERTED (taken back).
beforeWhat was there before: an Update's fields of update_mask, a Delete's resource whole. Absent for a Create, a custom method, and an Update of what did not exist yet.
afterWhat the call left: an Update's fields of update_mask with the resource's name and new etag; a Create's or a custom method's answer whole. Absent until it is applied, and on a Delete.
result_resourceThe name of the resource the call acted on — a Create's new one.
errorWhy the call — or its revert — was refused, in the shape of an API error: code, status, message and its details.
revertibleWhether the set's :revert can take this call back: an Update or a Create of a resource with an etag. A Delete and a custom method cannot be taken back.