/** * This snippet has been automatically generated and should be regarded as a code template only. * It will require modifications to work. * It may require correct/in-range values for request initialization. * TODO(developer): Uncomment these variables before running the sample. *//** * Required. Parent project that will own the dataset. * Format: projects/{project} */// const parent = 'abc123'/** * Required. The dataset version to create. */// const dataset = {}// Imports the Mapsplatformdatasets libraryconst{MapsPlatformDatasetsClient}=require('@googlemaps/maps-platform-datasets').v1;// Instantiates a clientconstmapsplatformdatasetsClient=newMapsPlatformDatasetsClient();asyncfunctioncallCreateDataset(){// Construct requestconstrequest={parent,dataset,};// Run requestconstresponse=awaitmapsplatformdatasetsClient.createDataset(request);console.log(response);}callCreateDataset();
# This snippet has been automatically generated and should be regarded as a# code template only.# It will require modifications to work:# - It may require correct/in-range values for request initialization.# - It may require specifying regional endpoints when creating the service# client as shown in:# https://googleapis.dev/python/google-api-core/latest/client_options.htmlfromgoogle.mapsimportmapsplatformdatasets_v1defsample_create_dataset():# Create a clientclient=mapsplatformdatasets_v1.MapsPlatformDatasetsClient()# Initialize request argument(s)request=mapsplatformdatasets_v1.CreateDatasetRequest(parent="parent_value",)# Make the requestresponse=client.create_dataset(request=request)# Handle the responseprint(response)
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-26 UTC."],[],["To utilize the Maps Datasets API client libraries, first, install the library using `npm install @googlemaps/maps-platform-datasets` for Node.js or `pip install --upgrade google-maps-mapsplatformdatasets` for Python. Set up Application Default Credentials (ADC) for authentication. Node.js and Python code examples show creating a dataset by instantiating a client, constructing a request, and making the request. Additional resources include links to source code, issue trackers, and Stack Overflow.\n"]]