REST Resource: matters
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แหล่งข้อมูล: Matter
แสดงถึงเรื่อง
หากต้องการทำงานกับทรัพยากรของห้องนิรภัย บัญชีต้องมีสิทธิ์ของห้องนิรภัยที่จําเป็นและการเข้าถึงเคส หากต้องการเข้าถึงเคส บัญชีต้องเป็นผู้สร้างเคส มีเคสที่แชร์กับตน หรือมีสิทธิ์ดูเคสทั้งหมด
การแสดง JSON |
{
"matterId": string,
"name": string,
"description": string,
"state": enum (State ),
"matterPermissions": [
{
object (MatterPermission )
}
],
"matterRegion": enum (MatterRegion )
} |
ช่อง |
matterId |
string
รหัสเคสที่เซิร์ฟเวอร์สร้างขึ้น ปล่อยว่างไว้เมื่อสร้างเคส
|
name |
string
ชื่อของเรื่อง
|
description |
string
คำอธิบายเพิ่มเติมสำหรับเคส (ไม่บังคับ)
|
state |
enum (State )
สถานะของเรื่อง
|
matterPermissions[] |
object (MatterPermission )
แสดงรายชื่อผู้ใช้และสิทธิ์ของผู้ใช้สำหรับเรื่อง ปัจจุบันยังไม่มีการกำหนดขีดจำกัดจำนวนสิทธิ์ที่เรื่องหนึ่งๆ อาจมีโดยโปรแกรมเมอร์
|
matterRegion |
enum (MatterRegion )
ไม่บังคับ เขตข้อมูลที่ขอสำหรับเคส
|
รัฐ
Enum |
STATE_UNSPECIFIED |
เรื่องนี้ไม่มีสถานะที่ระบุ |
OPEN |
ปัญหานี้ยังไม่ได้รับการแก้ไข |
CLOSED |
ปัญหานี้ปิดแล้ว |
DELETED |
ลบเคสแล้ว |
MatterPermission
ผู้ใช้อาจเป็นเจ้าของหรือผู้ทำงานร่วมกันของเรื่อง โดยแต่ละเรื่องจะมีเจ้าของได้เพียงรายเดียว ผู้ใช้รายอื่นทั้งหมดที่เข้าถึงเรื่องดังกล่าวได้เป็นผู้ทำงานร่วมกัน เมื่อบัญชีถูกล้างออก ทรัพยากร MatterPermission ที่เกี่ยวข้องจะหยุดทำงาน
การแสดง JSON |
{
"role": enum (AclRole ),
"accountId": string
} |
ช่อง |
role |
enum (AclRole )
บทบาทของผู้ใช้สำหรับเรื่องนั้น
|
accountId |
string
รหัสบัญชีตามที่ Admin SDK ระบุ
|
AclRole
สิทธิ์ที่ผู้ใช้มีสิทธิ์ได้รับสำหรับเคสหนึ่งๆ โดยเรียงตามลำดับจากสิทธิ์ที่น้อยไปมาก
Enum |
ROLE_UNSPECIFIED |
ไม่มีบทบาท |
COLLABORATOR |
ผู้ทำงานร่วมกันในเรื่องนี้ |
OWNER |
เจ้าของเคส |
MatterRegion
Enum |
MATTER_REGION_UNSPECIFIED |
ไม่ได้ระบุภูมิภาค ค่าเริ่มต้นคือ ANY |
ANY |
ทุกภูมิภาค |
US |
ภูมิภาคสหรัฐอเมริกา |
EUROPE |
ภูมิภาคยุโรป |
เมธอด |
|
เพิ่มบัญชีเป็นผู้ทำงานร่วมกันในเคส |
|
ปิดเคสที่ระบุ |
|
นับบัญชีที่ประมวลผลโดยข้อความค้นหาที่ระบุ |
|
สร้างเคสด้วยชื่อและคำอธิบายที่ระบุ |
|
ลบเคสที่ระบุ |
|
รับเรื่องดังกล่าว |
|
แสดงรายการเรื่องที่ผู้ขอมีสิทธิ์เข้าถึง |
|
นำบัญชีออกจากผู้ร่วมแก้ไขเคส |
|
เปิดเคสที่ระบุอีกครั้ง |
|
ยกเลิกการลบเคสที่ระบุ |
|
อัปเดตเคสที่ระบุ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],null,["# REST Resource: matters\n\n- [Resource: Matter](#Matter)\n - [JSON representation](#Matter.SCHEMA_REPRESENTATION)\n- [State](#State)\n- [MatterPermission](#MatterPermission)\n - [JSON representation](#MatterPermission.SCHEMA_REPRESENTATION)\n- [AclRole](#AclRole)\n- [MatterRegion](#MatterRegion)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Matter\n----------------\n\nRepresents a matter.\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| ``` { \"matterId\": string, \"name\": string, \"description\": string, \"state\": enum (/workspace/vault/reference/rest/v1/matters#State), \"matterPermissions\": [ { object (/workspace/vault/reference/rest/v1/matters#MatterPermission) } ], \"matterRegion\": enum (/workspace/vault/reference/rest/v1/matters#MatterRegion) } ``` |\n\n| Fields ||\n|-----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `matterId` | `string` The matter ID, which is generated by the server. Leave blank when creating a matter. |\n| `name` | `string` The name of the matter. |\n| `description` | `string` An optional description for the matter. |\n| `state` | `enum (`[State](/workspace/vault/reference/rest/v1/matters#State)`)` The state of the matter. |\n| `matterPermissions[]` | `object (`[MatterPermission](/workspace/vault/reference/rest/v1/matters#MatterPermission)`)` Lists the users and their permission for the matter. Currently there is no programmer defined limit on the number of permissions a matter can have. |\n| `matterRegion` | `enum (`[MatterRegion](/workspace/vault/reference/rest/v1/matters#MatterRegion)`)` Optional. The requested data region for the matter. |\n\nState\n-----\n\nThe state of a matter.\n\n| Enums ||\n|---------------------|------------------------------------|\n| `STATE_UNSPECIFIED` | The matter has no specified state. |\n| `OPEN` | The matter is open. |\n| `CLOSED` | The matter is closed. |\n| `DELETED` | The matter is deleted. |\n\nMatterPermission\n----------------\n\nUsers can be matter owners or collaborators. Each matter has only one owner. All others users who can access the matter are collaborators. When an account is purged, its corresponding MatterPermission resources cease to exist.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------|\n| ``` { \"role\": enum (/workspace/vault/reference/rest/v1/matters#AclRole), \"accountId\": string } ``` |\n\n| Fields ||\n|-------------|----------------------------------------------------------------------------------------------------------|\n| `role` | `enum (`[AclRole](/workspace/vault/reference/rest/v1/matters#AclRole)`)` The user's role for the matter. |\n| `accountId` | `string` The account ID, as provided by the [Admin SDK](https://developers.google.com/admin-sdk/). |\n\nAclRole\n-------\n\nThe possible user permissions for a matter, in order of increasing permissions.\n\n| Enums ||\n|--------------------|-------------------------------|\n| `ROLE_UNSPECIFIED` | No role assigned. |\n| `COLLABORATOR` | A collaborator on the matter. |\n| `OWNER` | The owner of the matter. |\n\nMatterRegion\n------------\n\nThe data region for the matter.\n\n| Enums ||\n|-----------------------------|---------------------------------------------|\n| `MATTER_REGION_UNSPECIFIED` | The region is unspecified. Defaults to ANY. |\n| `ANY` | Any region. |\n| `US` | United States region. |\n| `EUROPE` | Europe region. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------------------------|-------------------------------------------------------|\n| ### [addPermissions](/workspace/vault/reference/rest/v1/matters/addPermissions) | Adds an account as a matter collaborator. |\n| ### [close](/workspace/vault/reference/rest/v1/matters/close) | Closes the specified matter. |\n| ### [count](/workspace/vault/reference/rest/v1/matters/count) | Counts the accounts processed by the specified query. |\n| ### [create](/workspace/vault/reference/rest/v1/matters/create) | Creates a matter with the given name and description. |\n| ### [delete](/workspace/vault/reference/rest/v1/matters/delete) | Deletes the specified matter. |\n| ### [get](/workspace/vault/reference/rest/v1/matters/get) | Gets the specified matter. |\n| ### [list](/workspace/vault/reference/rest/v1/matters/list) | Lists matters the requestor has access to. |\n| ### [removePermissions](/workspace/vault/reference/rest/v1/matters/removePermissions) | Removes an account as a matter collaborator. |\n| ### [reopen](/workspace/vault/reference/rest/v1/matters/reopen) | Reopens the specified matter. |\n| ### [undelete](/workspace/vault/reference/rest/v1/matters/undelete) | Undeletes the specified matter. |\n| ### [update](/workspace/vault/reference/rest/v1/matters/update) | Updates the specified matter. |"]]