Method: accounts.dataSources.patch
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
বিদ্যমান ডেটা উৎস কনফিগারেশন আপডেট করে। যে ক্ষেত্রগুলি আপডেট মাস্কে সেট করা আছে কিন্তু রিসোর্সে দেওয়া হয়নি সেগুলি মুছে ফেলা হবে।
HTTP অনুরোধ
PATCH https://merchantapi.googleapis.com/datasources/v1beta/{dataSource.name=accounts/*/dataSources/*}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
data Source. name | string শনাক্তকারী। তথ্য উৎসের নাম। ফর্ম্যাট: {datasource.name=accounts/{account}/dataSources/{datasource}} |
ক্যোয়ারী প্যারামিটার
পরামিতি |
---|
update Mask | string ( FieldMask format) প্রয়োজন। আপডেট করা তথ্য উৎস ক্ষেত্রের তালিকা. বডিতে নির্দিষ্ট মান ছাড়াই আপডেট মাস্কে নির্দিষ্ট করা ক্ষেত্রগুলি ডেটা উৎস থেকে মুছে ফেলা হবে। সম্পূর্ণ ডেটা উৎস প্রতিস্থাপনের জন্য বিশেষ "*" মান প্রদান করা সমর্থিত নয়। |
শরীরের অনুরোধ
অনুরোধের মূল অংশে DataSource
একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে DataSource
একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/content
আরো তথ্যের জন্য, দেখুনOAuth 2.0 Overview .
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-01-23 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-01-23 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThis documentation outlines how to update an existing data source configuration using a PATCH request.\u003c/p\u003e\n"],["\u003cp\u003eThe request should target the specific data source using its unique identifier in the path.\u003c/p\u003e\n"],["\u003cp\u003eAn \u003ccode\u003eupdateMask\u003c/code\u003e query parameter is required to specify the fields to be updated or deleted.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain the updated \u003ccode\u003eDataSource\u003c/code\u003e object, adhering to the provided schema.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests will return the updated \u003ccode\u003eDataSource\u003c/code\u003e object in the response.\u003c/p\u003e\n"]]],["This describes updating an existing data source configuration via a `PATCH` request to a specific URL: `https://merchantapi.googleapis.com/datasources/v1beta/{dataSource.name=accounts/*/dataSources/*}`. The `dataSource.name` is a required path parameter. The `updateMask` query parameter specifies fields for update or deletion. The request body contains `DataSource` details for the update. A successful response also returns a `DataSource` instance. The operation requires the `https://www.googleapis.com/auth/content` authorization scope.\n"],null,["# Method: accounts.dataSources.patch\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\nUpdates the existing data source configuration. The fields that are set in the update mask but not provided in the resource will be deleted.\n\n### HTTP request\n\n`PATCH https://merchantapi.googleapis.com/datasources/v1beta/{dataSource.name=accounts/*/dataSources/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-------------------|-------------------------------------------------------------------------------------------------------------------|\n| `dataSource.name` | `string` Required. Identifier. The name of the data source. Format: `accounts/{account}/dataSources/{datasource}` |\n\n### Query parameters\n\n| Parameters ||\n|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` Required. The list of data source fields to be updated. Fields specified in the update mask without a value specified in the body will be deleted from the data source. Providing special \"\\*\" value for full data source replacement is not supported. For example, If you insert `updateMask=displayName` in the request, it will only update the `displayName` leaving all other fields untouched. |\n\n### Request body\n\nThe request body contains an instance of [DataSource](/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources#DataSource).\n\n### Response body\n\nIf successful, the response body contains an instance of [DataSource](/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources#DataSource).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/content`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]