Method: customers.patch
با مجموعهها، منظم بمانید
ذخیره و دستهبندی محتوا براساس اولویتهای شما.
درخواست HTTP
PATCH https://sasportal.googleapis.com/v1alpha1/{customer.name=customers/*}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
مولفه های |
---|
customer.name | string فقط خروجی نام منبع مشتری |
پارامترهای پرس و جو
مولفه های |
---|
updateMask | string ( FieldMask format) فیلدهایی که باید به روز شوند. فهرستی از نامهای فیلدهای کاملاً واجد شرایط جدا شده با کاما. مثال: "user.displayName,photo" . |
درخواست بدن
بدنه درخواست شامل نمونه ای از Customer
است.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی نمونه ای از Customer
است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/userinfo.email
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2022-09-26 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2022-09-26 بهوقت ساعت هماهنگ جهانی."],[[["This operation updates an existing customer within the Spectrum Access System."],["The request must use the `PATCH` method and provide the customer's resource name in the URL path."],["An optional `updateMask` query parameter specifies the fields to be updated."],["The request body should contain the updated customer data in the `Customer` format."],["Authorization requires the `https://www.googleapis.com/auth/userinfo.email` scope."]]],["This document outlines the process for updating a customer resource via a `PATCH` request to a specific URL. The URL utilizes gRPC Transcoding syntax, including a path parameter `customer.name` that identifies the customer. Updates are managed through the `updateMask` query parameter, specifying fields to modify. The request body contains the updated customer details. A successful request returns the updated customer information in the response body. Finally, this operation requires the `userinfo.email` authorization scope.\n"]]