---
title: "POST /v1/{+name}:manageConfig"
method: POST
path: "/v1/{+name}:manageConfig"
tags: ["projects"]
---

# POST /v1/{+name}:manageConfig

`POST /v1/{+name}:manageConfig`

Manage addon config. This RPC is used for managing the config of the addon. Calling this RPC moves the addon into an updating state until the long-running operation succeeds.

## Path parameters

- `name` string, required

## Request body

- GoogleCloudApihubV1ManageAddonConfigRequest — The ManageAddonConfig method's request.
  - `config` GoogleCloudApihubV1AddonConfig — Configuration for the addon.
    - `gatewayPluginAddonConfig` GoogleCloudApihubV1GatewayPluginAddonConfig — Configuration for gateway plugin addons. This is used to specify the list of gateway plugin configs for which the addon is enabled.
      - `gatewayPluginConfigs` GoogleCloudApihubV1GatewayPluginConfig[] — Required. The list of gateway plugin configs for which the addon is enabled. Each gateway plugin config should have a unique plugin instance.
        - `apigeeXHybridConfig` GoogleCloudApihubV1ApigeeXHybridConfig — Configuration for Apigee X and Apigee Hybrid gateways. Applicability of a filter is determined by the filter being provided. If none of the filters are provided the addon will be enabled for all data brought in by the gateway plugin instance.
          - `environmentFilter` GoogleCloudApihubV1EnvironmentFilter — Filter for environments.
            - `environments` string[] — Optional. If provided, only environments in this list are matched. This field is ignored if `all_environments` is true.
            - `allEnvironments` boolean — Optional. Indicates if this filter should match all environments or only a subset of environments. If set to true, all environments are matched.
        - `apigeeEdgeConfig` GoogleCloudApihubV1ApigeeEdgeConfig — Configuration for Apigee Edge gateways. Applicability of a filter is determined by the filter being provided. If none of the filters are provided the addon will be enabled for all data brought in by the gateway plugin instance.
          - `environmentFilter` GoogleCloudApihubV1EnvironmentFilter — Filter for environments.
            - `environments` string[] — Optional. If provided, only environments in this list are matched. This field is ignored if `all_environments` is true.
            - `allEnvironments` boolean — Optional. Indicates if this filter should match all environments or only a subset of environments. If set to true, all environments are matched.
        - `apigeeOpdkConfig` GoogleCloudApihubV1ApigeeOPDKConfig — Configuration for Apigee OPDK gateways. Applicability of a filter is determined by the filter being provided. If none of the filters are provided the addon will be enabled for all data brought in by the gateway plugin instance.
          - `environmentFilter` GoogleCloudApihubV1EnvironmentFilter — Filter for environments.
            - `environments` string[] — Optional. If provided, only environments in this list are matched. This field is ignored if `all_environments` is true.
            - `allEnvironments` boolean — Optional. Indicates if this filter should match all environments or only a subset of environments. If set to true, all environments are matched.
        - `pluginInstance` string — Required. The name of the gateway plugin instance for which the config is to be specified. Format: projects/{project}/locations/{location}/plugins/{plugin}/pluginInstances/{plugin_instance}
    - `allDataAddonConfig` GoogleCloudApihubV1AllDataAddonConfig — Configuration for addons which act on all data in the API hub. This is used to specify if the addon is enabled for all data in the API hub.
      - `enabled` boolean — Required. If true, the addon is enabled for all data in the API hub.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/apihub.md) · [All operations](https://skmtc.dev/google/apis/apihub/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/apihub/revisions/19473c7df886/schema)
