REST Resource: accounts.dataSources.fileUploads
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
সম্পদ: ফাইল আপলোড
একটি নির্দিষ্ট ডেটা উত্সের ফাইল আপলোড, অর্থাৎ, ডেটা উত্স প্রক্রিয়াকরণ শেষ হলে একটি নির্দিষ্ট টাইমস্ট্যাম্পে ডেটা উত্স পুনরুদ্ধারের ফলাফল অ্যাসিঙ্ক্রোনাসভাবে গণনা করা হয়৷ শুধুমাত্র ফাইল ডেটা উৎসের জন্য প্রযোজ্য।
JSON প্রতিনিধিত্ব |
---|
{
"name": string,
"dataSourceId": string,
"processingState": enum (ProcessingState ),
"issues": [
{
object (Issue )
}
],
"itemsTotal": string,
"itemsCreated": string,
"itemsUpdated": string,
"uploadTime": string
} |
ক্ষেত্র |
---|
name | string শনাক্তকারী। ডেটা সোর্স ফাইল আপলোডের নাম। ফর্ম্যাট: {datasource.name=accounts/{account}/dataSources/{datasource}/fileUploads/{fileupload}} |
dataSourceId | string ( int64 format) শুধুমাত্র আউটপুট। তথ্য উৎস আইডি. |
processingState | enum ( ProcessingState ) শুধুমাত্র আউটপুট। ডেটা উৎসের প্রক্রিয়াকরণ অবস্থা। |
issues[] | object ( Issue ) শুধুমাত্র আউটপুট। তথ্য উৎসে ঘটমান সমস্যার তালিকা। |
itemsTotal | string ( int64 format) শুধুমাত্র আউটপুট। ডেটা উৎসের আইটেমের সংখ্যা যা প্রক্রিয়া করা হয়েছে। |
itemsCreated | string ( int64 format) শুধুমাত্র আউটপুট। ডেটা উৎসের আইটেমের সংখ্যা যা তৈরি করা হয়েছে। |
itemsUpdated | string ( int64 format) শুধুমাত্র আউটপুট। ডেটা উৎসের আইটেমের সংখ্যা যা আপডেট করা হয়েছে। |
uploadTime | string ( Timestamp format) শুধুমাত্র আউটপুট। ডেটা উৎসের ফাইলটি যে তারিখে আপলোড করা হয়েছিল। |
প্রসেসিং স্টেট
ডেটা উৎসের প্রক্রিয়াকরণ অবস্থা।
Enums |
---|
PROCESSING_STATE_UNSPECIFIED | প্রক্রিয়াকরণ অবস্থা অনির্দিষ্ট. |
FAILED | ডেটা উত্স প্রক্রিয়া করা যায়নি বা সমস্ত আইটেম ত্রুটি ছিল. |
IN_PROGRESS | তথ্য উৎস প্রক্রিয়া করা হচ্ছে. |
SUCCEEDED | ডেটা উৎস সফলভাবে প্রক্রিয়া করা হয়েছে, যদিও কিছু আইটেমে ত্রুটি থাকতে পারে। |
ইস্যু
ডেটা উৎসে একটি ত্রুটি ঘটছে, যেমন "অবৈধ মূল্য"।
JSON প্রতিনিধিত্ব |
---|
{
"title": string,
"description": string,
"code": string,
"count": string,
"severity": enum (Severity ),
"documentationUri": string
} |
ক্ষেত্র |
---|
title | string শুধুমাত্র আউটপুট। ইস্যুটির শিরোনাম, উদাহরণস্বরূপ, "আইটেম খুব বড়"। |
description | string শুধুমাত্র আউটপুট। ত্রুটির বিবরণ, উদাহরণস্বরূপ, "আপনার ডেটা উত্সে এমন আইটেম রয়েছে যার অনেকগুলি বৈশিষ্ট্য রয়েছে বা খুব বড়৷ এই আইটেমগুলি বাদ দেওয়া হবে"৷ |
code | string শুধুমাত্র আউটপুট। ত্রুটির কোড, উদাহরণস্বরূপ, "validation/invalid_value"। ফেরত "?" যদি কোড অজানা হয়। |
count | string ( int64 format) শুধুমাত্র আউটপুট। ফাইল আপলোডের ক্ষেত্রে ত্রুটির সংখ্যা। |
severity | enum ( Severity ) শুধুমাত্র আউটপুট। সমস্যার তীব্রতা। |
documentationUri | string শুধুমাত্র আউটপুট। যদি পাওয়া যায় তবে আরও বিশদে সমস্যাটি ব্যাখ্যা করে ডকুমেন্টেশনের লিঙ্ক। |
তীব্রতা
Enums |
---|
SEVERITY_UNSPECIFIED | তীব্রতা অনির্দিষ্ট। |
WARNING | সমস্যা হল সতর্কতা। |
ERROR | সমস্যা একটি ত্রুটি. |
পদ্ধতি |
---|
| সর্বশেষ তথ্য উৎস ফাইল আপলোড পায়. |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-01-10 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-01-10 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eFileUpload is the asynchronous result of a data source retrieval, containing information about the processing of uploaded files.\u003c/p\u003e\n"],["\u003cp\u003eProcessingState indicates the status of the data source, whether it's being processed, has succeeded, or failed.\u003c/p\u003e\n"],["\u003cp\u003eIssue details errors encountered during data source processing, including descriptions, severity, and counts.\u003c/p\u003e\n"],["\u003cp\u003eFileUpload provides metrics such as the total, created, and updated items processed, along with the upload timestamp.\u003c/p\u003e\n"],["\u003cp\u003eThe resource provides a \u003ccode\u003eget\u003c/code\u003e method to retrieve the latest data source file upload details.\u003c/p\u003e\n"]]],["File uploads for data sources are processed asynchronously, with results available upon completion. Key information includes the `name`, `dataSourceId`, `processingState`, and any `issues`. The `processingState` can be `FAILED`, `IN_PROGRESS`, or `SUCCEEDED`. Issues have a `title`, `description`, `code`, `count`, and `severity` (`WARNING` or `ERROR`). Data like `itemsTotal`, `itemsCreated`, `itemsUpdated`, and `uploadTime` are also available. The `get` method is available to get the data.\n"],null,["# REST Resource: accounts.dataSources.fileUploads\n\n- [Resource: FileUpload](#FileUpload)\n - [JSON representation](#FileUpload.SCHEMA_REPRESENTATION)\n- [ProcessingState](#ProcessingState)\n- [Issue](#Issue)\n - [JSON representation](#Issue.SCHEMA_REPRESENTATION)\n- [Severity](#Severity)\n- [Methods](#METHODS_SUMMARY)\n\nResource: FileUpload\n--------------------\n\nThe file upload of a specific data source, that is, the result of the retrieval of the data source at a certain timestamp computed asynchronously when the data source processing is finished. Only applicable to file data sources.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"dataSourceId\": string, \"processingState\": enum (/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources.fileUploads#ProcessingState), \"issues\": [ { object (/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources.fileUploads#Issue) } ], \"itemsTotal\": string, \"itemsCreated\": string, \"itemsUpdated\": string, \"uploadTime\": string } ``` |\n\n| Fields ||\n|-------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Identifier. The name of the data source file upload. Format: `{datasource.name=accounts/{account}/dataSources/{datasource}/fileUploads/{fileupload}}` |\n| `dataSourceId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The data source id. |\n| `processingState` | `enum (`[ProcessingState](/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources.fileUploads#ProcessingState)`)` Output only. The processing state of the data source. |\n| `issues[]` | `object (`[Issue](/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources.fileUploads#Issue)`)` Output only. The list of issues occurring in the data source. |\n| `itemsTotal` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The number of items in the data source that were processed. |\n| `itemsCreated` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The number of items in the data source that were created. |\n| `itemsUpdated` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The number of items in the data source that were updated. |\n| `uploadTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Output only. The date at which the file of the data source was uploaded. |\n\nProcessingState\n---------------\n\nThe processing state of the data source.\n\n| Enums ||\n|--------------------------------|--------------------------------------------------------------------------------------|\n| `PROCESSING_STATE_UNSPECIFIED` | Processing state unspecified. |\n| `FAILED` | The data source could not be processed or all the items had errors. |\n| `IN_PROGRESS` | The data source is being processed. |\n| `SUCCEEDED` | The data source was processed successfully, though some items might have had errors. |\n\nIssue\n-----\n\nAn error occurring in the data source, like \"invalid price\".\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"title\": string, \"description\": string, \"code\": string, \"count\": string, \"severity\": enum (/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources.fileUploads#Severity), \"documentationUri\": string } ``` |\n\n| Fields ||\n|--------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `title` | `string` Output only. The title of the issue, for example, \"Item too big\". |\n| `description` | `string` Output only. The error description, for example, \"Your data source contains items which have too many attributes, or are too big. These items will be dropped\". |\n| `code` | `string` Output only. The code of the error, for example, \"validation/invalid_value\". Returns \"?\" if the code is unknown. |\n| `count` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The number of occurrences of the error in the file upload. |\n| `severity` | `enum (`[Severity](/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources.fileUploads#Severity)`)` Output only. The severity of the issue. |\n| `documentationUri` | `string` Output only. Link to the documentation explaining the issue in more details, if available. |\n\nSeverity\n--------\n\nThe severity of the issue.\n\n| Enums ||\n|------------------------|---------------------------|\n| `SEVERITY_UNSPECIFIED` | Severity unspecified. |\n| `WARNING` | The issue is the warning. |\n| `ERROR` | The issue is an error. |\n\n| Methods ------- ||\n|-------------------------------------------------------------------------------------------------|------------------------------------------|\n| ### [get](/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources.fileUploads/get) | Gets the latest data source file upload. |"]]