Obrigatório. O caminho do recurso pai da listagem. Por exemplo, projects/myproject/locations/US/dataExchanges/123.
Parâmetros de consulta
Parâmetros
listingId
string
Obrigatório. O ID da listagem a ser criada. Precisa conter somente letras Unicode, números (0-9), sublinhados (_). Não deve usar caracteres que exijam escape de URL ou caracteres fora de espaços ASCII. Tamanho máximo: 100 bytes.
Corpo da solicitação
O corpo da solicitação contém uma instância de Listing.
Corpo da resposta
Se a solicitação for bem-sucedida, o corpo da resposta incluirá uma instância de Listing.
[[["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-21 UTC."],[[["\u003cp\u003eThis page details the process for creating a new listing via a \u003ccode\u003ePOST\u003c/code\u003e HTTP request to the specified URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL requires a \u003ccode\u003eparent\u003c/code\u003e path parameter, which defines the parent resource path of the listing and is a mandatory string.\u003c/p\u003e\n"],["\u003cp\u003eA mandatory \u003ccode\u003elistingId\u003c/code\u003e query parameter is needed to create a new listing, and this ID must adhere to specified format constraints such as containing only certain characters and not exceeding 100 bytes.\u003c/p\u003e\n"],["\u003cp\u003eThe request body, and the response body will both be an instance of \u003ccode\u003eListing\u003c/code\u003e, however one will be used for the request, and the other will be the result of a successful request.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this operation 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.\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- [Try it!](#try-it)\n\nCreates a new listing.\n\n### HTTP request\n\n`POST https://analyticshub.googleapis.com/v1/{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/v1/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/v1/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)."]]