Obligatorio. La ruta del recurso superior del intercambio de datos. p.ej., projects/myproject/locations/US.
Parámetros de búsqueda
Parámetros
dataExchangeId
string
Obligatorio. El ID del intercambio de datos. Debe contener solo letras Unicode, números (0-9) y guiones bajos (_). No debe usar caracteres que requieran escapes de URL ni caracteres fuera de ASCII, espacios. Longitud máxima: 100 bytes.
Cuerpo de la solicitud
El cuerpo de la solicitud contiene una instancia de DataExchange.
Cuerpo de la respuesta
Si el proceso se realiza de forma correcta, el cuerpo de la respuesta contiene una instancia recién creada de DataExchange.
Alcances de autorización
Se necesita uno de los siguientes alcances de OAuth:
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2024-05-23 (UTC)"],[[["This webpage outlines how to create a new data exchange using a `POST` request to the specified URL endpoint: `https://analyticshub.googleapis.com/v1/{parent=projects/*/locations/*}/dataExchanges`."],["The request requires a `parent` path parameter and a `dataExchangeId` query parameter to be specified for the new data exchange creation."],["The request body must contain an instance of the `DataExchange` resource, while the successful response body will include the newly created `DataExchange` instance."],["To authorize the creation of a data exchange, either the `https://www.googleapis.com/auth/bigquery` or `https://www.googleapis.com/auth/cloud-platform` OAuth scope is required."],["Creating a data exchange requires the `analyticshub.dataExchanges.create` IAM permission on the `parent` resource."]]],[]]