WAJIB: Kebijakan lengkap yang akan diterapkan ke resource. Ukuran kebijakan dibatasi hingga beberapa 10 KB. Kebijakan kosong adalah kebijakan yang valid, tetapi layanan Google Cloud tertentu (seperti Project) mungkin menolaknya.
OPSIONAL: FieldMask yang menentukan kolom kebijakan yang akan diubah. Hanya kolom dalam mask yang akan diubah. Jika tidak ada mask yang disediakan, mask default berikut akan digunakan:
paths: "bindings, etag"
Ini adalah daftar yang dipisahkan koma yang berisi nama kolom yang sepenuhnya memenuhi syarat. Contoh: "user.displayName,photo".
Isi respons
Jika berhasil, isi respons akan berisi instance Policy.
[[["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 2024-04-19 UTC."],[[["This webpage details how to set an IAM policy using a POST request to a specific Google Cloud Analytics Hub resource endpoint."],["The required request includes a `resource` path parameter, defining the target resource for the policy, along with a structured request body containing the policy details."],["The request body should include a `policy` field, which specifies the complete policy to be applied, and optionally, an `updateMask` field to define specific fields of the policy for modification."],["Successful requests return a response body containing an instance of the `Policy`, while authorization requires either the `https://www.googleapis.com/auth/bigquery` or `https://www.googleapis.com/auth/cloud-platform` OAuth scope."],["Specific IAM permissions are required to execute this operation, either `analyticshub.dataExchanges.setIamPolicy` or `analyticshub.listings.setIamPolicy`, based on the resource type."]]],[]]