Method: legacySdk.legacyGetContextProperty

Full name: projects.locations.instances.legacySdk.legacyGetContextProperty

Legacy RPC for getting context property.

HTTP request


Path parameters

Parameters
instance

string

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 (ContextKeyValueEnum)
}
Fields
identifier

string

Required. The identifier of the context property.

propertyKey

string

Required. The property key of the context property.

contextType

enum (ContextKeyValueEnum)

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

string

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.