Menghubungkan pengelolaan kode sumber pihak ketiga ke Google
- Resource REST: v1.projects.locations
- Resource REST: v1.projects.locations.accountConnectors
- Resource REST: v1.projects.locations.accountConnectors.users
- Resource REST: v1.projects.locations.connections
- Resource REST: v1.projects.locations.connections.gitRepositoryLinks
- Resource REST: v1.projects.locations.insightsConfigs
- Resource REST: v1.projects.locations.insightsConfigs.deploymentEvents
- Resource REST: v1.projects.locations.operations
Layanan: developerconnect.googleapis.com
Untuk memanggil layanan ini, sebaiknya gunakan library klien yang disediakan Google. Jika aplikasi perlu menggunakan library Anda sendiri untuk memanggil layanan ini, gunakan informasi berikut saat membuat permintaan API.
Dokumen discovery
Dokumen Discovery adalah spesifikasi yang dapat dibaca mesin untuk mendeskripsikan dan menggunakan REST API. Dokumen ini digunakan untuk membuat library klien, plugin IDE, dan alat lainnya yang berinteraksi dengan Google API. Satu layanan dapat menyediakan beberapa dokumen discovery. Layanan ini menyediakan dokumen discovery berikut:
Endpoint layanan
Endpoint layanan adalah URL dasar yang menentukan alamat jaringan layanan API. Satu layanan dapat memiliki beberapa endpoint layanan. Layanan ini memiliki endpoint layanan berikut dan semua URI di bawah didasarkan pada endpoint layanan ini:
https://developerconnect.googleapis.com
Resource REST: v1.projects.locations
| Metode | |
|---|---|
get |
GET /v1/{name=projects/*/locations/*} Mendapatkan informasi tentang lokasi. |
list |
GET /v1/{name=projects/*}/locations Mencantumkan informasi tentang lokasi yang didukung untuk layanan ini. |
Resource REST: v1.projects.locations.accountConnectors
| Metode | |
|---|---|
create |
POST /v1/{parent=projects/*/locations/*}/accountConnectors Membuat AccountConnector baru di project dan lokasi tertentu. |
delete |
DELETE /v1/{name=projects/*/locations/*/accountConnectors/*} Menghapus satu AccountConnector. |
get |
GET /v1/{name=projects/*/locations/*/accountConnectors/*} Mendapatkan detail satu AccountConnector. |
list |
GET /v1/{parent=projects/*/locations/*}/accountConnectors Mencantumkan AccountConnector di project dan lokasi tertentu. |
patch |
PATCH /v1/{accountConnector.name=projects/*/locations/*/accountConnectors/*} Memperbarui parameter satu AccountConnector. |
Resource REST: v1.projects.locations.accountConnectors.users
| Metode | |
|---|---|
delete |
DELETE /v1/{name=projects/*/locations/*/accountConnectors/*/users/*} Menghapus satu Pengguna. |
deleteSelf |
DELETE /v1/{name=projects/*/locations/*/accountConnectors/*}/users:deleteSelf Menghapus Pengguna berdasarkan kredensial pengguna. |
fetchAccessToken |
POST /v1/{accountConnector=projects/*/locations/*/accountConnectors/*}/users:fetchAccessToken Mengambil token akses OAuth berdasarkan kredensial pengguna akhir. |
fetchSelf |
GET /v1/{name=projects/*/locations/*/accountConnectors/*}/users:fetchSelf Mengambil Pengguna berdasarkan kredensial pengguna. |
finishOAuthFlow |
GET /v1/{accountConnector=projects/*/locations/*/accountConnectors/*}/users:finishOAuthFlow Menyelesaikan alur OAuth untuk konektor akun. |
list |
GET /v1/{parent=projects/*/locations/*/accountConnectors/*}/users Mencantumkan Pengguna di project, lokasi, dan account_connector tertentu. |
startOAuthFlow |
GET /v1/{accountConnector=projects/*/locations/*/accountConnectors/*}/users:startOAuthFlow Memulai alur OAuth untuk konektor akun. |
Resource REST: v1.projects.locations.connections
| Metode | |
|---|---|
create |
POST /v1/{parent=projects/*/locations/*}/connections Membuat Koneksi baru di project dan lokasi tertentu. |
delete |
DELETE /v1/{name=projects/*/locations/*/connections/*} Menghapus satu Koneksi. |
fetchGitHubInstallations |
GET /v1/{connection=projects/*/locations/*/connections/*}:fetchGitHubInstallations FetchGitHubInstallations menampilkan daftar Penginstalan GitHub yang tersedia untuk ditambahkan ke Koneksi. |
fetchLinkableGitRepositories |
GET /v1/{connection=projects/*/locations/*/connections/*}:fetchLinkableGitRepositories FetchLinkableGitRepositories menampilkan daftar repositori git dari SCM yang tersedia untuk ditambahkan ke Koneksi. |
get |
GET /v1/{name=projects/*/locations/*/connections/*} Mendapatkan detail satu Koneksi. |
list |
GET /v1/{parent=projects/*/locations/*}/connections Mencantumkan Koneksi di project dan lokasi tertentu. |
patch |
PATCH /v1/{connection.name=projects/*/locations/*/connections/*} Memperbarui parameter satu Koneksi. |
processGitHubEnterpriseWebhook |
POST /v1/{parent=projects/*/locations/*}/connections:processGitHubEnterpriseWebhook ProcessGitHubEnterpriseWebhook dipanggil oleh instance GitHub Enterprise eksternal untuk memberi tahu peristiwa. |
Resource REST: v1.projects.locations.connections.gitRepositoryLinks
| Metode | |
|---|---|
addPullRequestComment |
POST /v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:addPullRequestComment Menambahkan komentar ke Permintaan Pull. |
addPullRequestReviewComment |
POST /v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:addPullRequestReviewComment Menambahkan komentar ulasan (inline pada diff) ke Permintaan Pull. |
create |
POST /v1/{parent=projects/*/locations/*/connections/*}/gitRepositoryLinks Membuat GitRepositoryLink. |
delete |
DELETE /v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*} Menghapus satu GitRepositoryLink. |
diffCommit |
GET /v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:diffCommit Commit diff untuk GitRepositoryLink. |
fetchCommit |
GET /v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:fetchCommit Mengambil detail Commit dari link repositori Git. |
fetchCommitList |
GET /v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:fetchCommitList Mengambil daftar Commit dari link repositori Git. |
fetchFileBlame |
GET /v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:fetchFileBlame Mengambil informasi blame untuk file atau rentang baris dalam file. |
fetchGitRefs |
GET /v1/{gitRepositoryLink=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:fetchGitRefs Ambil daftar cabang atau tag untuk repositori tertentu. |
fetchPullRequest |
GET /v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:fetchPullRequest Mengambil detail Permintaan Pull dari link repositori Git. |
fetchPullRequestList |
GET /v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:fetchPullRequestList Mengambil daftar Permintaan Pull dari repositori jarak jauh. |
fetchReadToken |
POST /v1/{gitRepositoryLink=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:fetchReadToken Mengambil token baca dari gitRepositoryLink tertentu. |
fetchReadWriteToken |
POST /v1/{gitRepositoryLink=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:fetchReadWriteToken Mengambil token baca/tulis dari gitRepositoryLink tertentu. |
get |
GET /v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*} Mendapatkan detail satu GitRepositoryLink. |
list |
GET /v1/{parent=projects/*/locations/*/connections/*}/gitRepositoryLinks Mencantumkan GitRepositoryLink dalam project, lokasi, dan koneksi tertentu. |
modifyPullRequest |
POST /v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:modifyPullRequest Mengubah Permintaan Pull di repositori SCM jarak jauh yang terkait dengan GitRepositoryLink. |
openPullRequest |
POST /v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:openPullRequest Membuka Permintaan Pull di repositori SCM jarak jauh yang terkait dengan GitRepositoryLink. |
processBitbucketCloudWebhook |
POST /v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:processBitbucketCloudWebhook ProcessBitbucketCloudWebhook dipanggil oleh instance Bitbucket Cloud eksternal untuk memberi tahu peristiwa. |
processBitbucketDataCenterWebhook |
POST /v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:processBitbucketDataCenterWebhook ProcessBitbucketDataCenterWebhook dipanggil oleh instance Pusat Data Bitbucket eksternal untuk memberi tahu peristiwa. |
processGitLabEnterpriseWebhook |
POST /v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:processGitLabEnterpriseWebhook ProcessGitLabEnterpriseWebhook dipanggil oleh instance GitLab Enterprise eksternal untuk memberi tahu peristiwa. |
processGitLabWebhook |
POST /v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:processGitLabWebhook ProcessGitLabWebhook dipanggil oleh GitLab.com untuk memberi tahu peristiwa. |
Resource REST: v1.projects.locations.insightsConfigs
| Metode | |
|---|---|
create |
POST /v1/{parent=projects/*/locations/*}/insightsConfigs Membuat InsightsConfig baru di project dan lokasi tertentu. |
delete |
DELETE /v1/{name=projects/*/locations/*/insightsConfigs/*} Menghapus satu Insight. |
get |
GET /v1/{name=projects/*/locations/*/insightsConfigs/*} Mendapatkan detail satu Insight. |
list |
GET /v1/{parent=projects/*/locations/*}/insightsConfigs Mencantumkan InsightsConfig di project dan lokasi tertentu. |
patch |
PATCH /v1/{insightsConfig.name=projects/*/locations/*/insightsConfigs/*} Memperbarui parameter satu InsightsConfig. |
Resource REST: v1.projects.locations.insightsConfigs.deploymentEvents
| Metode | |
|---|---|
get |
GET /v1/{name=projects/*/locations/*/insightsConfigs/*/deploymentEvents/*} Mendapatkan satu Peristiwa Deployment. |
list |
GET /v1/{parent=projects/*/locations/*/insightsConfigs/*}/deploymentEvents Mencantumkan Peristiwa Deployment dalam konfigurasi insight tertentu. |
Resource REST: v1.projects.locations.operations
| Metode | |
|---|---|
cancel |
POST /v1/{name=projects/*/locations/*/operations/*}:cancel Memulai pembatalan asinkron pada operasi yang berjalan lama. |
delete |
DELETE /v1/{name=projects/*/locations/*/operations/*} Menghapus operasi yang berjalan lama. |
get |
GET /v1/{name=projects/*/locations/*/operations/*} Mendapatkan status terbaru dari operasi yang berjalan lama. |
list |
GET /v1/{name=projects/*/locations/*}/operations Menampilkan operasi yang sesuai dengan filter yang ditentukan dalam permintaan. |