Wajib. Jalur resource induk listingan, misalnya, projects/myproject/locations/US/dataExchanges/123.
Parameter kueri
Parameter
listingId
string
Wajib. ID listingan yang akan dibuat. Hanya boleh berisi huruf Unicode, angka (0-9), garis bawah (_). Tidak boleh menggunakan karakter yang memerlukan escaping URL, atau karakter di luar ASCII. Panjang maksimal: 100 byte.
[[["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 page details the process of creating a new listing via a \u003ccode\u003ePOST\u003c/code\u003e request to the specified URL.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter is a required string specifying the resource path, and the \u003ccode\u003elistingId\u003c/code\u003e query parameter is required to provide a unique identifier for the new listing.\u003c/p\u003e\n"],["\u003cp\u003eThe request and response bodies are instances of the \u003ccode\u003eListing\u003c/code\u003e resource, and both contain details of the listing.\u003c/p\u003e\n"],["\u003cp\u003eCreating a new listing requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/bigquery\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope, as well as \u003ccode\u003eanalyticshub.listings.create\u003c/code\u003e IAM permission on the parent resource.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePOST\u003c/code\u003e request URL for creating a listing uses gRPC Transcoding syntax.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.dataExchanges.listings.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_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\nCreates a new listing.\n\n### HTTP request\n\n`POST https://analyticshub.googleapis.com/v1beta1/{parent=projects/*/locations/*/dataExchanges/*}/listings`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [Listing](/bigquery/docs/reference/analytics-hub/rest/v1beta1/projects.locations.dataExchanges.listings#Listing).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Listing](/bigquery/docs/reference/analytics-hub/rest/v1beta1/projects.locations.dataExchanges.listings#Listing).\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 `parent` resource:\n\n- `analyticshub.listings.create`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]