Updates an extension.
Note: This API cannot be executed using the Try this API panel.
When you retrieve a list of extensions, each extension in the collection includes a self property with a URL to the extension, including its ID. Use the ID value in that URL to complete the URL here.
To deploy the an extension, specify {state:"DEPLOYED"}
in the body. The state property can take the following values:
When you set state UNDEPLOYED
, you cannot update name
, packageName
, version
, or configuration
. You can only specify description
, credentials
, and state
.
Each extension type defines the properties that you can set in the configuration object. For more on each extension type, see Extensions reference overview. For example, when the cponfiguration object for the Google Stackdriver Logging Extension is: {"projectId": "gcp_project_name"}
Note: You must be an organization administrator to call this API.