Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Menampilkan akun layanan Google yang digunakan oleh Storage Transfer Service untuk mengakses bucket di project tempat transfer berjalan atau di project lain. Setiap akun layanan Google dikaitkan dengan satu project Google Cloud. Pengguna harus menambahkan akun layanan ini ke ACL bucket Google Cloud Storage untuk memberikan akses ke Storage Transfer Service. Akun layanan ini dibuat dan dimiliki oleh Storage Transfer Service dan hanya dapat digunakan oleh Storage Transfer Service.
Permintaan HTTP
GET https://storagetransfer.googleapis.com/v1/googleServiceAccounts/{projectId}
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-03-04 UTC."],[],[],null,["# Method: googleServiceAccounts.get\n\nReturns the Google service account that is used by Storage Transfer Service to access buckets in the project where transfers run or in other projects. Each Google service account is associated with one Google Cloud project. Users should add this service account to the Google Cloud Storage bucket ACLs to grant access to Storage Transfer Service. This service account is created and owned by Storage Transfer Service and can only be used by Storage Transfer Service.\n\n### HTTP request\n\n`GET https://storagetransfer.googleapis.com/v1/googleServiceAccounts/{projectId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [GoogleServiceAccount](/storage-transfer/docs/reference/rest/v1/googleServiceAccounts#GoogleServiceAccount).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]