Manages data for a given plugin instance.
HTTP request
POST https://apihub.googleapis.com/v1/{name=projects/*/locations/*/plugins/*/instances/*}:manageSourceData
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the plugin instance for which data needs to be managed. Format: |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "dataType": enum ( |
| Fields | |
|---|---|
dataType |
Required. Type of data to be managed. |
action |
Required. Action to be performed. |
relativePath |
Required. Relative path of data being managed for a given plugin instance. |
data |
Required. Data to be managed. A base64-encoded string. |
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
DataType
Type of data to be managed.
| Enums | |
|---|---|
DATA_TYPE_UNSPECIFIED |
Default unspecified type. |
PROXY_DEPLOYMENT_MANIFEST |
Proxy deployment manifest. |
ENVIRONMENT_MANIFEST |
Environment manifest. |
PROXY_BUNDLE |
Proxy bundle. |
SHARED_FLOW_BUNDLE |
Shared flow bundle. |
Action
Action to be performed.
| Enums | |
|---|---|
ACTION_UNSPECIFIED |
Default unspecified action. |
UPLOAD |
Upload or upsert data. |
DELETE |
Delete data. |