Membuat kunci baru.
Permintaan HTTP
POST https://biglake.googleapis.com/v1alpha1/{parent=projects/*/locations/*/catalogs/*/databases/*}/locks
URL menggunakan sintaks gRPC Transcoding.
Parameter jalur
Parameter | |
---|---|
parent |
Wajib. Resource induk tempat kunci ini akan dibuat. Format: projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId} |
Isi permintaan
Isi permintaan memuat instance Lock
.
Isi respons
Jika berhasil, isi respons memuat instance Lock
yang baru dibuat.
Cakupan Otorisasi
Memerlukan salah satu cakupan OAuth berikut:
https://www.googleapis.com/auth/bigquery
https://www.googleapis.com/auth/cloud-platform
Untuk informasi selengkapnya, lihat Ringkasan Autentikasi.
Izin IAM
Memerlukan izin IAM berikut pada resource parent
:
biglake.locks.create
Untuk informasi lebih lanjut, lihat dokumentasi IAM.