Method: projects.locations.plugins.instances.enableAction

Enables a plugin instance in the API hub.

HTTP request

POST https://apihub.googleapis.com/v1/{name=projects/*/locations/*/plugins/*/instances/*}:enableAction

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the plugin instance to enable. Format: projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}

Request body

The request body contains data with the following structure:

JSON representation
{
 "actionId": string
}
Fields
actionId

string

Required. The action id to enable.

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年07月28日 UTC.