Memperbarui Langganan ke Pertukaran Data. Pertukaran Data bisa menjadi usang saat penayang menambahkan atau menghapus data. Ini adalah operasi yang berjalan lama karena dapat membuat banyak set data yang tertaut.
Permintaan HTTP
POST https://analyticshub.googleapis.com/v1/{name=projects/*/locations/*/subscriptions/*}:refresh
[[["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."],[[["\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)."]]