Method: verificationCodes.list
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
নির্দিষ্ট ব্যবহারকারীর জন্য বৈধ ব্যাকআপ যাচাইকরণ কোডের বর্তমান সেট প্রদান করে।
HTTP অনুরোধ
GET https://admin.googleapis.com/admin/directory/v1/users/{userKey}/verificationCodes
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
userKey | string API অনুরোধে ব্যবহারকারীকে শনাক্ত করে। মানটি ব্যবহারকারীর প্রাথমিক ইমেল ঠিকানা, উপনাম ইমেল ঠিকানা বা অনন্য ব্যবহারকারী আইডি হতে পারে। |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
ডিরেক্টরি API-তে তালিকা যাচাইকরণ কোড অপারেশনের জন্য JSON প্রতিক্রিয়া টেমপ্লেট।
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
JSON প্রতিনিধিত্ব |
---|
{
"kind": string,
"etag": string,
"items": [
{
object (VerificationCode )
}
]
} |
ক্ষেত্র |
---|
kind | string সম্পদের ধরন। এটি সর্বদা admin#directory#verificationCodesList । |
etag | string সম্পদের ETag. |
items[] | object ( VerificationCode ) যাচাইকরণ কোড সংস্থানগুলির একটি তালিকা৷ |
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/admin.directory.user.security
আরও তথ্যের জন্য, অনুমোদন নির্দেশিকা দেখুন।
যাচাইকরণ কোড
ডিরেক্টরি API আপনাকে ব্যবহারকারীর জন্য ব্যাকআপ যাচাইকরণ কোডগুলি দেখতে, তৈরি করতে এবং অবৈধ করতে দেয়৷
JSON প্রতিনিধিত্ব |
---|
{
"userId": string,
"verificationCode": string,
"kind": string,
"etag": string
} |
ক্ষেত্র |
---|
userId | string ব্যবহারকারীর অস্পষ্ট অনন্য আইডি। |
verificationCode | string ব্যবহারকারীর জন্য একটি বর্তমান যাচাইকরণ কোড। ফলাফলের অংশ হিসাবে অবৈধ বা ব্যবহৃত যাচাইকরণ কোডগুলি ফেরত দেওয়া হয় না। |
kind | string সম্পদের ধরন। এটি সর্বদা admin#directory#verificationCode । |
etag | string সম্পদের ETag. |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Method: verificationCodes.list\n\nReturns the current set of valid backup verification codes for the specified user.\n\n### HTTP request\n\n`GET https://admin.googleapis.com/admin/directory/v1/users/{userKey}/verificationCodes`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-----------|---------------------------------------------------------------------------------------------------------------------------------------------|\n| `userKey` | `string` Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nJSON response template for list verification codes operation in Directory API.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"etag\": string, \"items\": [ { object (/workspace/admin/directory/reference/rest/v1/verificationCodes/list#VerificationCode) } ] } ``` |\n\n| Fields ||\n|-----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` The type of the resource. This is always `admin#directory#verificationCodesList`. |\n| `etag` | `string` ETag of the resource. |\n| `items[]` | `object (`[VerificationCode](/workspace/admin/directory/reference/rest/v1/verificationCodes/list#VerificationCode)`)` A list of verification code resources. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/admin.directory.user.security`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent).\n\nVerificationCode\n----------------\n\nThe Directory API allows you to view, generate, and invalidate backup verification codes for a user.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------|\n| ``` { \"userId\": string, \"verificationCode\": string, \"kind\": string, \"etag\": string } ``` |\n\n| Fields ||\n|--------------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| `userId` | `string` The obfuscated unique ID of the user. |\n| `verificationCode` | `string` A current verification code for the user. Invalidated or used verification codes are not returned as part of the result. |\n| `kind` | `string` The type of the resource. This is always `admin#directory#verificationCode`. |\n| `etag` | `string` ETag of the resource. |"]]