PATCH /v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/examples/{examplesId}
Changed onUpdates the specified example.
Request
- Base URLhttps://ces.googleapis.com
- Auth
- OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cesAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/ces
- or OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloud-platformAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloud-platform
Path parameters
Query parameters
V1 error format.
OAuth access token.
Data format for response.
JSONP
Selector specifying which fields to include in a partial response.
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
OAuth 2.0 token for the current user.
Returns response with indentations and line breaks.
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
Legacy upload protocol for media (e.g. "media", "multipart").
Upload protocol for media (e.g. "raw", "multipart").
Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
Request body
An example represents a sample conversation between the user and the agent(s).
Output only. Timestamp when the example was created.
Optional. Human-readable description of the example.
Required. Display name of the example.
Optional. The agent that initially handles the conversation. If not specified, the example represents a conversation that is handled by the root agent. Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}
Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
Output only. The example may become invalid if referencing resources are deleted. Invalid examples will not be used as few-shot examples.
Optional. The collection of messages that make up the conversation.
Identifier. The unique identifier of the example. Format: projects/{project}/locations/{location}/apps/{app}/examples/{example}
Output only. Timestamp when the example was last updated.
Response
Successful response
An example represents a sample conversation between the user and the agent(s).
Output only. Timestamp when the example was created.
Optional. Human-readable description of the example.
Required. Display name of the example.
Optional. The agent that initially handles the conversation. If not specified, the example represents a conversation that is handled by the root agent. Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}
Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
Output only. The example may become invalid if referencing resources are deleted. Invalid examples will not be used as few-shot examples.
Optional. The collection of messages that make up the conversation.
Identifier. The unique identifier of the example. Format: projects/{project}/locations/{location}/apps/{app}/examples/{example}
Output only. Timestamp when the example was last updated.
Changes
- info
the security scope
https://www.googleapis.com/auth/ceswas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/ceswas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas removed from the endpoint's security schemeOauth2
1 more change in this revision
- info