Full name: projects.locations.instances.legacySdk.legacySetContextProperty
Legacy RPC for setting context property.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The instance of the legacy sdk. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"contextType": enum ( |
Fields | |
---|---|
contextType |
Required. The context type. |
identifier |
Required. The identifier. |
propertyKey |
Required. The property key. |
propertyValue |
Required. The property value. |
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.