Skip to content

Create or update the Google Cloud Platform Artifact Registry integration

PUT
/api/v4/projects/{id}/integrations/google-cloud-platform-artifact-registry

Creates or updates the Google Cloud Platform Artifact Registry integration.

id
required
One of:
string

The ID or URL-encoded path of the project

Example
1
Media type application/json
object
artifact_registry_project_id
required

ID of the Google Cloud project.

string
nullable
artifact_registry_repositories
required

Repository of Artifact Registry.

string
nullable
artifact_registry_location
required

Location of the Artifact Registry repository.

string
nullable
use_inherited_settings

Indicates whether to inherit the default settings. Defaults to false.

boolean
nullable
Example generated
{
"artifact_registry_project_id": "example",
"artifact_registry_repositories": "example",
"artifact_registry_location": "example",
"use_inherited_settings": true
}

OK

Media type application/json
object
id
integer format: int64
title
string
slug
string
created_at
string format: date-time
updated_at
string format: date-time
active
boolean
commit_events
boolean
push_events
boolean
issues_events
boolean
incident_events
boolean
alert_events
boolean
confidential_issues_events
boolean
merge_requests_events
boolean
tag_push_events
boolean
deployment_events
boolean
note_events
boolean
confidential_note_events
boolean
pipeline_events
boolean
wiki_page_events
boolean
job_events
boolean
comment_on_event_enabled
boolean
inherited
boolean
vulnerability_events
boolean
Example
{
"id": 75,
"title": "Jenkins CI",
"slug": "jenkins",
"created_at": "2019-11-20T11:20:25.297Z",
"updated_at": "2019-11-20T12:24:37.498Z"
}

Bad request

Unauthorized

Not found

Unprocessable entity