Method: projects.locations.datasets.importData
Stay organized with collections
Save and categorize content based on your preferences.
Imports data into a dataset. For Tables this method can only be called on an empty Dataset.
For Tables: * A schema_inference_version
parameter must be explicitly set. Returns an empty response in the response
field when it completes.
HTTP request
POST https://automl.googleapis.com/v1beta1/{name}:importData
Path parameters
Parameters |
name |
string
Required. Dataset name. Dataset must already exist. All imported annotations and examples will be added.
Authorization requires the following Google IAM permission on the specified resource name :
|
Request body
The request body contains data with the following structure:
JSON representation |
{
"inputConfig": {
object (InputConfig )
}
} |
Fields |
inputConfig |
object (InputConfig )
Required. The desired input location and its domain specific semantics, if any.
|
Response body
If successful, the response body contains an instance of Operation
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2019-12-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-12-17 UTC."],[[["This operation imports data into a dataset, and for Tables, it can only be performed on an empty Dataset, requiring a `schema_inference_version` to be explicitly set."],["The HTTP request method for this operation is `POST`, directed to a specific endpoint which includes the dataset's name in the URL path as a parameter."],["The `name` parameter in the URL is required and it indicates the dataset to which data will be imported, with authorization needing the `automl.datasets.import` permission."],["The request body requires an `inputConfig` object, which specifies the input location and any relevant domain-specific semantics."],["Successful calls return an `Operation` object in the response, and the operation requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope for authorization."]]],[]]