Updates an add-on enablement status of an environment.
HTTP request
POST https://apigee.googleapis.com/v1/{name=organizations/*/environments/*/addonsConfig}:setAddonEnablement
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Name of the add-ons config. Must be in the format of |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field addon_enablement . Boolean flags manage add-ons enablement status. addon_enablement can be only one of the following: |
|
analytics |
If the Analytics should be enabled in the environment. |
api |
If the API Security should be enabled in the environment. |
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform