Method: pages.update
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Memperbarui semua markup ClaimReview
di halaman
Perhatikan bahwa ini adalah update penuh. Untuk mempertahankan markup ClaimReview
yang ada di halaman, lakukan operasi Get terlebih dahulu, lalu ubah markup yang ditampilkan, dan terakhir panggil Update dengan seluruh markup ClaimReview
sebagai isi.
Permintaan HTTP
PUT https://factchecktools.googleapis.com/v1alpha1/{claimReviewMarkupPage.name=pages/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
claimReviewMarkupPage.name |
string
Nama resource halaman markup ClaimReview ini, dalam bentuk pages/{page_id} . Kecuali untuk permintaan update, kolom ini hanya berupa output dan tidak boleh ditetapkan oleh pengguna.
|
Isi permintaan
Isi permintaan memuat instance ClaimReviewMarkupPage
.
Isi respons
Jika berhasil, isi respons memuat instance ClaimReviewMarkupPage
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/factchecktools
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-26 UTC."],[[["\u003cp\u003eUpdates all \u003ccode\u003eClaimReview\u003c/code\u003e markup on a specified page, requiring a full replacement of existing markup.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes a \u003ccode\u003ePUT\u003c/code\u003e request to \u003ccode\u003ehttps://factchecktools.googleapis.com/v1alpha1/{claimReviewMarkupPage.name=pages/*}\u003c/code\u003e for updates.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003eclaimReviewMarkupPage.name\u003c/code\u003e path parameter to identify the target page using the format \u003ccode\u003epages/{page_id}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain the entire updated \u003ccode\u003eClaimReviewMarkupPage\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/factchecktools\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: pages.update\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- [Try it!](#try-it)\n\nUpdate for all `ClaimReview` markup on a page\n\nNote that this is a full update. To retain the existing `ClaimReview` markup on a page, first perform a Get operation, then modify the returned markup, and finally call Update with the entire `ClaimReview` markup as the body.\n\n### HTTP request\n\n`PUT https://factchecktools.googleapis.com/v1alpha1/{claimReviewMarkupPage.name=pages/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `claimReviewMarkupPage.name` | `string` The name of this `ClaimReview` markup page resource, in the form of `pages/{page_id}`. Except for update requests, this field is output-only and should not be set by the user. |\n\n### Request body\n\nThe request body contains an instance of [ClaimReviewMarkupPage](/fact-check/tools/api/reference/rest/v1alpha1/pages#ClaimReviewMarkupPage).\n\n### Response body\n\nIf successful, the response body contains an instance of [ClaimReviewMarkupPage](/fact-check/tools/api/reference/rest/v1alpha1/pages#ClaimReviewMarkupPage).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/factchecktools`"]]