Method: integrations.fetchRestrictedAgents

Full name: projects.locations.instances.integrations.fetchRestrictedAgents

Returns a list of all agents that an integration update should be restricted on, due to possible incompatibility, such as: unsupported Python version. Agents without a corresponding integration instance are excluded.

HTTP request


Path parameters

Parameters
name

string

Required. The unique name of the integration. Format: projects/{project}/locations/{location}/instances/{instance}/integrations/{integration}

Query parameters

Parameters
requiredPythonVersion

enum (PythonVersion)

Required. Python version required for the updated integration. Query parameter.

pushRequest

boolean

Optional. Indicates whether the integration is pushed to a different mode (production/staging). False by default. Query parameter.

Request body

The request body must be empty.

Response body

Response message for geting the restricted agents for an integration update.

If successful, the response body contains data with the following structure:

JSON representation
{
  "agents": [
    string
  ]
}
Fields
agents[]

string

Output only. Agents display names blocklist for the integration update.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.