Method: indexing.datasources.items.delete
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
নির্দিষ্ট সংস্থান নামের জন্য Item resource
মুছে দেয়। এই API কার্যকর করার জন্য একটি প্রশাসক বা পরিষেবা অ্যাকাউন্ট প্রয়োজন৷ ব্যবহৃত পরিষেবা অ্যাকাউন্টটি সংশ্লিষ্ট ডেটা উৎসে সাদা তালিকাভুক্ত।
HTTP অনুরোধ
DELETE https://cloudsearch.googleapis.com/v1/indexing/{name=datasources/*/items/*}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
name | string প্রয়োজন। মুছে ফেলা আইটেমটির নাম। বিন্যাস: datasources/{sourceId}/items/{itemId} |
ক্যোয়ারী প্যারামিটার
পরামিতি |
---|
version | string ( bytes format) প্রয়োজন। সূচক থেকে মুছে ফেলার জন্য আইটেমের বর্ধিত সংস্করণ। ইনডেক্সিং সিস্টেম ডাটাসোর্স থেকে সংস্করণটিকে একটি বাইট স্ট্রিং হিসাবে সংরক্ষণ করে এবং আভিধানিক ক্রম ব্যবহার করে সারিবদ্ধ আইটেমের সংস্করণের সাথে সূচকের আইটেম সংস্করণের তুলনা করে। ক্লাউড সার্চ ইনডেক্সিং বর্তমানে ইন্ডেক্স করা আইটেমের সংস্করণের চেয়ে কম বা সমান সংস্করণের মান সহ কোনো সারিবদ্ধ আইটেম মুছে ফেলবে না। এই ক্ষেত্রের জন্য সর্বাধিক দৈর্ঘ্য 1024 বাইট। আইটেম সংস্করণ কীভাবে মুছে ফেলার প্রক্রিয়াকে প্রভাবিত করে সে সম্পর্কে তথ্যের জন্য, ম্যানুয়াল মুছে ফেলার পরে হ্যান্ডেল রিভিশন দেখুন। একটি base64-এনকোডেড স্ট্রিং। |
connectorName | string এই কল করার সংযোগকারীর নাম। বিন্যাস: datasources/{sourceId}/connectors/{id} |
mode | enum ( RequestMode.Mode ) প্রয়োজন। এই অনুরোধের জন্য RequestMode. |
debugOptions | object ( DebugOptions ) সাধারণ ডিবাগ বিকল্প। |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে Operation
একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://www.googleapis.com/auth/cloud_search.indexing
-
https://www.googleapis.com/auth/cloud_search
আরও তথ্যের জন্য, অনুমোদন নির্দেশিকা দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Method: indexing.datasources.items.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes [Item resource](/workspace/cloud-search/docs/reference/rest/v1/indexing.datasources.items#Item) for the specified resource name. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.\n\n### HTTP request\n\n`DELETE https://cloudsearch.googleapis.com/v1/indexing/{name=datasources/*/items/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|--------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the item to delete. Format: datasources/{sourceId}/items/{itemId} |\n\n### Query parameters\n\n| Parameters ||\n|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `version` | `string (`[bytes](https://developers.google.com/discovery/v1/type-format)` format)` Required. The incremented version of the item to delete from the index. The indexing system stores the version from the datasource as a byte string and compares the Item version in the index to the version of the queued Item using lexical ordering. Cloud Search Indexing won't delete any queued item with a version value that is less than or equal to the version of the currently indexed item. The maximum length for this field is 1024 bytes. For information on how item version affects the deletion process, refer to [Handle revisions after manual deletes](https://developers.google.com/workspace/cloud-search/docs/guides/operations). A base64-encoded string. |\n| `connectorName` | `string` The name of connector making this call. Format: datasources/{sourceId}/connectors/{id} |\n| `mode` | `enum (`[RequestMode.Mode](/workspace/cloud-search/docs/reference/rest/v1/RequestMode.Mode)`)` Required. The RequestMode for this request. |\n| `debugOptions` | `object (`[DebugOptions](/workspace/cloud-search/docs/reference/rest/v1/DebugOptions)`)` Common debug options. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/workspace/cloud-search/docs/reference/rest/v1/operations#Operation).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud_search.indexing`\n- `https://www.googleapis.com/auth/cloud_search`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]