Full name: projects.locations.instances.legacySdk.legacyTrySetContextProperty
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
The LegacySdkTrySetContextPropertyResponse message.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "payload": boolean } |
Fields | |
---|---|
payload |
Required. The context type. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.