Method: contextProperties.create

Full name: projects.locations.instances.integrations.jobs.contextProperties.create

Create a context-property.

HTTP request


Path parameters

Parameters
parent

string

Required. The instance to create the ContextProperty for. Format: projects/{project}/locations/{location}/instances/{instance}/contextProperties projects/{project}/locations/{location}/instances/{instance}/cases/{case}/contextProperties projects/{project}/locations/{location}/instances/{instance}/cases/{case}/alerts/{alert}/contextProperties projects/{project}/locations/{location}/instances/{instance}/integrations/{integration}/connectors/{connector}/contextProperties projects/{project}/locations/{location}/instances/{instance}/integrations/{integration}/jobs/{job}/contextProperties

Query parameters

Parameters
contextPropertyId

string

Required. The ContextProperty ID to use for this ContextProperty. This value should be 4-63 characters and valid characters are /[a-z][0-9]-/.

Request body

The request body contains an instance of ContextProperty.

Response body

If successful, the response body contains a newly created instance of ContextProperty.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.