Method: legacyPublisher.legacyCreateConnectorPackage

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

string

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 (Media)
  },
  "mediaInfo": {
    object (MediaRequestInfo)
  }
}
Fields
connector_id

string

Required. The connector id of the connector package.

guid

string

Required. The guid of the connector package.

media

object (Media)

Required. The media object to upload containing the connector package.

mediaInfo

object (MediaRequestInfo)

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 (MediaResponseInfo)
  }
}
Fields
mediaInfo

object (MediaResponseInfo)

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.