REST Resource: matters.holds.accounts
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
منبع: HeldAccount
حسابی که تحت پوشش نگهداری قرار گرفته است. این ساختار تغییر ناپذیر است. بسته به خدمات، می تواند یک حساب شخصی یا یک گروه Google باشد.
برای کار با منابع Vault، حساب باید دارای امتیازات Vault مورد نیاز و دسترسی به موضوع باشد. برای دسترسی به یک موضوع، حساب باید موضوع را ایجاد کرده باشد، موضوع را با آنها به اشتراک گذاشته باشد، یا دارای امتیاز View All Matters باشد.
نمایندگی JSON |
---|
{
"accountId": string,
"holdTime": string,
"email": string,
"firstName": string,
"lastName": string
} |
فیلدها |
---|
accountId | string شناسه حساب، همانطور که توسط Admin SDK ارائه شده است. |
holdTime | string ( Timestamp format) فقط خروجی وقتی حساب به حالت تعلیق درآمد. از RFC 3339 استفاده می کند، که در آن خروجی تولید شده همیشه با Z نرمال می شود و از 0، 3، 6 یا 9 رقم کسری استفاده می کند. افست های غیر از "Z" نیز پذیرفته می شود. مثالها: "2014-10-02T15:01:23Z" ، "2014-10-02T15:01:23.045123456Z" یا "2014-10-02T15:01:23+05:30" . |
email | string آدرس ایمیل اصلی حساب اگر به عنوان ورودی استفاده شود، این بر accountId اولویت دارد. |
firstName | string فقط خروجی نام کوچک صاحب حساب. |
lastName | string فقط خروجی نام خانوادگی صاحب حساب. |
روش ها |
---|
| یک حساب کاربری را به ذخیره اضافه می کند. |
| یک حساب کاربری را از حالت نگهداری حذف می کند. |
| حسابهای تحت پوشش را فهرست میکند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# REST Resource: matters.holds.accounts\n\n- [Resource: HeldAccount](#HeldAccount)\n - [JSON representation](#HeldAccount.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: HeldAccount\n---------------------\n\nAn account covered by a hold. This structure is immutable. It can be an individual account or a Google Group, depending on the service.\n\nTo work with Vault resources, the account must have the [required Vault privileges](https://support.google.com/vault/answer/2799699) and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the **View All Matters** privilege.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------|\n| ``` { \"accountId\": string, \"holdTime\": string, \"email\": string, \"firstName\": string, \"lastName\": string } ``` |\n\n| Fields ||\n|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `accountId` | `string` The account ID, as provided by the [Admin SDK](https://developers.google.com/admin-sdk/). |\n| `holdTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Output only. When the account was put on hold. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `email` | `string` The primary email address of the account. If used as an input, this takes precedence over **accountId**. |\n| `firstName` | `string` Output only. The first name of the account holder. |\n| `lastName` | `string` Output only. The last name of the account holder. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------------|---------------------------------------|\n| ### [create](/workspace/vault/reference/rest/v1/matters.holds.accounts/create) | Adds an account to a hold. |\n| ### [delete](/workspace/vault/reference/rest/v1/matters.holds.accounts/delete) | Removes an account from a hold. |\n| ### [list](/workspace/vault/reference/rest/v1/matters.holds.accounts/list) | Lists the accounts covered by a hold. |"]]