Atualiza uma assinatura em uma troca de dados. Uma troca de dados pode ficar obsoleta quando um editor adiciona ou remove dados. Essa é uma operação de longa duração que pode criar vários conjuntos de dados vinculados.
Solicitação HTTP
POST https://analyticshub.googleapis.com/v1/{name=projects/*/locations/*/subscriptions/*}:refresh
[[["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."],[[["\u003cp\u003eThis webpage details how to refresh a subscription to a Data Exchange, which is necessary when a publisher modifies the data.\u003c/p\u003e\n"],["\u003cp\u003eThe refresh operation is initiated using a POST request to a specific URL, which includes the resource name of the subscription to be refreshed.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this operation must be empty, and upon successful completion, the response body will contain an \u003ccode\u003eOperation\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThis operation requires specific OAuth scopes (\u003ccode\u003ehttps://www.googleapis.com/auth/bigquery\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e) and the \u003ccode\u003eanalyticshub.subscriptions.update\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe Path parameter, \u003ccode\u003ename\u003c/code\u003e is required, to identify the name of the subscription to refresh, in the format of \u003ccode\u003eprojects/subscriberproject/locations/US/subscriptions/123\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.subscriptions.refresh\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nRefreshes a Subscription to a Data Exchange. A Data Exchange can become stale when a publisher adds or removes data. This is a long-running operation as it may create many linked datasets.\n\n### HTTP request\n\n`POST https://analyticshub.googleapis.com/v1/{name=projects/*/locations/*/subscriptions/*}:refresh`\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 [Operation](/bigquery/docs/reference/analytics-hub/rest/v1/Operation).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/bigquery`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `analyticshub.subscriptions.update`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]