- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- ContextKeyValueEnum
- Try it!
Full name: projects.locations.instances.legacySdk.legacyGetContextProperty
Legacy RPC for getting context property.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The GetContextProperty request. Format: projects/{project}/locations/{location}/instances/{instance}/legacySdk:legacyGetContextProperty |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"identifier": string,
"propertyKey": string,
"contextType": enum ( |
Fields | |
---|---|
identifier |
Required. The identifier of the context property. |
propertyKey |
Required. The property key of the context property. |
contextType |
Required. The context type of the context property. |
Response body
The GetContextPropertyResponse message.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "payload": string } |
Fields | |
---|---|
payload |
The context property. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
ContextKeyValueEnum
The context key value enum.
Enums | |
---|---|
CONTEXT_KEY_VALUE_ENUM_UNSPECIFIED |
The context key value enum is unspecified. |
GENERAL |
The general context key value. |
CASE |
The case context key value. |
ALERT |
The alert context key value. |
JOB |
The job context key value. |
CONNECTOR |
The connector context key value. |