- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.legacyPublisher.legacyCreateConnectorPackage
Legacy endpoint for creating a connector package of an integration.
HTTP request
* Upload URI, for media upload requests:
POST https://chronicle.africa-south1.rep.googleapis.com/upload/v1alpha/{instance}/legacyPublisher:legacyCreateConnectorPackage * Metadata URI, for metadata-only requests:POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}/legacyPublisher:legacyCreateConnectorPackage Path parameters
| Parameters | |
|---|---|
instance |
Required. The instance of the legacy publisher. Format: projects/{project}/locations/{location}/instances/{instance}/legacyPublisher |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "connector_id": string, "guid": string, "media": { object ( |
| Fields | |
|---|---|
connector_id |
Required. The connector id of the connector package. |
guid |
Required. The guid of the connector package. |
media |
Required. The media object to upload containing the connector package. |
mediaInfo |
Required. The media request info. |
Response body
Response message for legacyPublisher.legacyCreateConnectorPackage.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"mediaInfo": {
object ( |
| Fields | |
|---|---|
mediaInfo |
Required. Scotty properties (won't be visible in exposed API) |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the instance resource:
chronicle.legacyPublisher.update
For more information, see the IAM documentation.