จัดการข้อมูลเข้าสู่ระบบสำหรับ Google Workspace API
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ระบบจะใช้ข้อมูลเข้าสู่ระบบเพื่อรับโทเค็นการเข้าถึงจากเซิร์ฟเวอร์การให้สิทธิ์ของ Google เพื่อให้แอปเรียกใช้ Google Workspace API ได้ สำหรับ Google Workspace API คุณสามารถจัดการข้อมูลเข้าสู่ระบบ OAuth 2.0 และบัญชีบริการได้
ดูข้อมูลเข้าสู่ระบบ
หากต้องการดูรายการข้อมูลเข้าสู่ระบบที่เปิดใช้สำหรับ Google Workspace API ทั้งหมดหรือ Google Workspace API รายการใดรายการหนึ่ง ให้ทำดังนี้
ในคอนโซล Google Cloud ให้คลิกเมนู
menu
> ผลิตภัณฑ์เพิ่มเติม
> Google Workspace
> ข้อมูลเข้าสู่ระบบ
ไปที่ Google Workspace
หากต้องการเลือก Google Workspace API รายการใดรายการหนึ่ง ให้คลิก Google Workspace API ทั้งหมด แล้วเลือก API
แก้ไขข้อมูลเข้าสู่ระบบ
หลังจากสร้างข้อมูลเข้าสู่ระบบแล้ว คุณจะแก้ไขข้อมูลบางอย่างของข้อมูลเข้าสู่ระบบได้ เช่น สําหรับรหัสไคลเอ็นต์ OAuth 2.0 คุณสามารถแก้ไขชื่อที่แสดงในคอนโซล Google Cloud หรือรีเซ็ตคีย์ไคลเอ็นต์ได้ สำหรับบัญชีบริการ คุณจะแก้ไขชื่อและคำอธิบายได้
ในคอนโซล Google Cloud ให้คลิกเมนู
menu
> ผลิตภัณฑ์เพิ่มเติม
> Google Workspace
> ข้อมูลเข้าสู่ระบบ
ไปที่ Google Workspace
หากต้องการแก้ไขข้อมูลเข้าสู่ระบบ ให้คลิกแก้ไข edit
ทำการเปลี่ยนแปลง แล้วคลิกบันทึก
รีเซ็ตรหัสลับไคลเอ็นต์
เฉพาะแอปพลิเคชันและเซิร์ฟเวอร์การให้สิทธิ์เท่านั้นที่ควรทราบรหัสลับไคลเอ็นต์
ในคอนโซล Google Cloud ให้คลิกเมนู
menu
> ผลิตภัณฑ์เพิ่มเติม
> Google Workspace
> ข้อมูลเข้าสู่ระบบ
ไปที่ Google Workspace
คลิกแก้ไข edit ข้างรหัสไคลเอ็นต์ OAuth 2.0
คลิกรีเซ็ตข้อมูลลับ
คัดลอกข้อมูลลับและอัปเดตแอปพลิเคชันด้วยค่านี้
ปิดบัญชีบริการ
เมื่อปิดบัญชีบริการ แอปพลิเคชันจะไม่มีสิทธิ์เข้าถึงทรัพยากร Google Cloud ผ่านบัญชีบริการนั้นอีกต่อไป หากปิดบัญชีบริการ คุณก็เปิดบัญชีนั้นอีกครั้งในภายหลังได้
ในคอนโซล Google Cloud ให้คลิกเมนู
menu
> ผลิตภัณฑ์เพิ่มเติม
> Google Workspace
> ข้อมูลเข้าสู่ระบบ
ไปที่ Google Workspace
คลิกแก้ไข edit ข้างบัญชีบริการ
คลิกปิดใช้บัญชีบริการ แล้วคลิกปิดใช้
ลบรหัสไคลเอ็นต์หรือบัญชีบริการ
เมื่อคุณลบรหัสไคลเอ็นต์หรือบัญชีบริการ แอปพลิเคชันจะเข้าถึงทรัพยากร Google Cloud ผ่านรหัสไคลเอ็นต์หรือบัญชีบริการนั้นไม่ได้อีกต่อไป หากคุณลบรหัสไคลเอ็นต์หรือบัญชีบริการ การลบนี้จะลบอย่างถาวรและจะกู้คืนข้อมูลเข้าสู่ระบบไม่ได้
ในคอนโซล Google Cloud ให้คลิกเมนู
menu
> ผลิตภัณฑ์เพิ่มเติม
> Google Workspace
> ข้อมูลเข้าสู่ระบบ
ไปที่ Google Workspace
คลิกลบข้างข้อมูลเข้าสู่ระบบ delete แล้วคลิกลบ
ขั้นตอนถัดไป
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-04-08 UTC
[null,null,["อัปเดตล่าสุด 2025-04-08 UTC"],[[["\u003cp\u003eGoogle Workspace credentials, including OAuth 2.0 and service accounts, are used to obtain access tokens for your app to interact with Google Workspace APIs.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage your Google Workspace credentials—view, edit, reset client secrets, turn off service accounts, and delete credentials—in the Google Cloud console.\u003c/p\u003e\n"],["\u003cp\u003eDeleting credentials permanently removes application access to Google Cloud resources through that credential and cannot be undone.\u003c/p\u003e\n"],["\u003cp\u003eFor security, the client secret of an OAuth 2.0 Client ID should only be known by the application and the authorization server.\u003c/p\u003e\n"]]],["Credentials, like OAuth 2.0 and service accounts, enable apps to access Google Workspace APIs. To manage them, navigate to **Google Workspace** \u003e **Credentials** in the Google Cloud console. Here, you can view credentials for all or individual APIs. Editing allows changes to names and descriptions or resetting client secrets. Service accounts can be disabled or deleted, permanently revoking app access. Similarly, deleting client IDs is permanent. Finally, credentials can be reset to get new access tokes.\n"],null,["# Manage credentials for Google Workspace APIs\n\nCredentials are used to obtain an access token from Google's authorization\nservers so your app can call Google Workspace APIs. For\nGoogle Workspace APIs, you can manage OAuth 2.0 and service account\ncredentials.\n\nView credentials\n----------------\n\nTo see a list of credentials enabled for all Google Workspace APIs or an\nindividual Google Workspace API, do the following:\n\n1. In the Google Cloud console, click Menu\n menu\n \\\u003e **More products**\n \\\u003e **Google Workspace**\n \\\u003e **Credentials**.\n\n [Go to Google Workspace](https://console.cloud.google.com/workspace-api)\n2. To select an individual Google Workspace API, click **All Google\n Workspace APIs**, then select an API.\n\nEdit credentials\n----------------\n\nAfter you create credentials, you can edit some aspects of a credential. For\nexample, for OAuth 2.0 client IDs, you can edit the name that is shown in\ntheGoogle Cloud console or reset the client secret. For service accounts, you\ncan edit the name and description.\n\n1. In the Google Cloud console, click Menu\n menu\n \\\u003e **More products**\n \\\u003e **Google Workspace**\n \\\u003e **Credentials**.\n\n [Go to Google Workspace](https://console.cloud.google.com/workspace-api)\n2. To edit a credential, click Edit edit.\n\n3. Make your changes and then click **Save**.\n\nReset client secret\n-------------------\n\nThe client secret should only be known to the application and the authorization\nserver.\n\n1. In the Google Cloud console, click Menu\n menu\n \\\u003e **More products**\n \\\u003e **Google Workspace**\n \\\u003e **Credentials**.\n\n [Go to Google Workspace](https://console.cloud.google.com/workspace-api)\n2. Next to an OAuth 2.0 Client ID, click Edit edit.\n\n3. Click **Reset Secret**.\n\n4. Copy the secret and update the application with this value.\n\nTurn off a service account\n--------------------------\n\nWhen you turn off a service account, applications no longer have access to the\nGoogle Cloud resources through that service account. If you turn off a service\naccount, you can turn it back on later.\n\n1. In the Google Cloud console, click Menu\n menu\n \\\u003e **More products**\n \\\u003e **Google Workspace**\n \\\u003e **Credentials**.\n\n [Go to Google Workspace](https://console.cloud.google.com/workspace-api)\n2. Next to a service account, click Edit edit.\n\n3. Click **Disable service account** and then click **Disable.**\n\nDelete a client ID or service account\n-------------------------------------\n\nWhen you delete a client ID or a service account, applications no longer have\naccess to the Google Cloud Resources through that client ID or service\naccount. If you delete a client ID or service account, this deletion is\npermanent and the credentials can't be restored.\n\n1. In the Google Cloud console, click Menu\n menu\n \\\u003e **More products**\n \\\u003e **Google Workspace**\n \\\u003e **Credentials**.\n\n [Go to Google Workspace](https://console.cloud.google.com/workspace-api)\n2. Next to a credential, click Delete\n delete and then click **Delete**.\n\nNext steps\n----------\n\n- [Learn about authentication \\& authorization](/workspace/guides/auth-overview).\n- [Create access credentials](/workspace/guides/create-credentials)."]]