AI-generated Key Takeaways
-
Retrieves the most recent data source file upload using a GET request.
-
Requires specifying the data source file upload name using the
latestalias in the URL path. -
The request body should be empty, and a successful response returns a FileUpload object.
-
Authorization requires the
https://www.googleapis.com/auth/contentOAuth scope.
Gets the latest data source file upload. Only the latest alias is accepted for a file upload.
HTTP request
GET https://merchantapi.googleapis.com/datasources/v1beta/{name=accounts/*/dataSources/*/fileUploads/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the data source file upload to retrieve. Format: |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of FileUpload.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.