Method: folders.settings.search
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ค้นหาค่าการตั้งค่าทั้งหมดที่มีอยู่ในทรัพยากร parent
ค่าการตั้งค่าไม่ได้จํากัดอยู่แค่การตั้งค่าใดค่าหนึ่ง
คำขอ HTTP
GET https://resourcesettings.googleapis.com/v1alpha1/{parent=folders/*}/settings:search
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
parent |
string
ทรัพยากรในระบบคลาวด์ที่ผู้ปกครองตั้งค่า ต้องอยู่ในรูปแบบใดรูปแบบหนึ่งต่อไปนี้
projects/{project_number}
projects/{project_id}
folders/{folder_id}
organizations/{organization_id}
การให้สิทธิ์ต้องมีสิทธิ์ IAM ต่อไปนี้ในทรัพยากร parent ที่ระบุ
resourcesettings.settingvalues.list
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
pageSize |
integer
ไม่ได้ใช้งาน ขนาดของหน้าเว็บที่จะแสดง
|
pageToken |
string
ไม่ได้ใช้งาน โทเค็นหน้าเว็บที่ใช้เพื่อดึงหน้าถัดไป
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ SearchSettingValuesResponse
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/cloud-platform
โปรดดูข้อมูลเพิ่มเติมที่ภาพรวมการตรวจสอบสิทธิ์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2023-05-25 UTC
[[["เข้าใจง่าย","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"]],["อัปเดตล่าสุด 2023-05-25 UTC"],[[["This documentation outlines how to search for all setting values on a specified Cloud resource using the Resource Settings API."],["The search is performed using a `GET` request to a specific endpoint, passing the parent resource in the path."],["While `pageSize` and `pageToken` are present as query parameters, they are currently unused."],["Successful requests will return a `SearchSettingValuesResponse` containing the search results."],["Authorization requires the `cloud-platform` OAuth scope and the `resourcesettings.settingvalues.list` IAM permission on the parent resource."]]],["This document details how to search for setting values on a resource. The `GET` request targets a specific `parent` resource (project, folder, or organization) using the URL: `https://resourcesettings.googleapis.com/v1alpha1/{parent=folders/*}/settings:search`. The `parent` path parameter is mandatory and needs `resourcesettings.settingvalues.list` IAM permission. `pageSize` and `pageToken` query parameters are currently unused. The request body must be empty. A successful response returns a `SearchSettingValuesResponse`. Authorization requires the `cloud-platform` OAuth scope.\n"]]