OBRIGATÓRIO: a política completa a ser aplicada ao resource. O tamanho da política é limitado a algumas dezenas de KBs. Uma política vazia é válida, mas alguns serviços do Google Cloud (como Projetos) podem rejeitá-la.
OPCIONAL: uma FieldMask especificando os campos da política a serem modificados. Somente os campos da máscara serão modificados. Se nenhuma máscara for fornecida, a seguinte máscara padrão será usada:
paths: "bindings, etag"
É uma lista separada por vírgulas de nomes de campos totalmente qualificados. Exemplo: "user.displayName,photo".
Corpo da resposta
Se a solicitação for bem-sucedida, o corpo da resposta conterá uma instância de Policy.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2024-05-23 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."]]],[]]