Method: projects.versions.read
อ่านเนื้อหาทั้งหมดของเวอร์ชันโปรเจ็กต์
คำขอ HTTP
POST https://actions.googleapis.com/v2/{name=projects/*/versions/*}:read
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ ชื่อของทรัพยากรเวอร์ชันในรูปแบบ projects/{project}/versions/{version} {project} คือรหัสโปรเจ็กต์ที่อยู่ในระบบคลาวด์ที่เชื่อมโยงกับโปรเจ็กต์ {version} คือตัวระบุของเวอร์ชันที่กำลังอ่าน
|
เนื้อหาของคำขอ
เนื้อหาของคำขอมีข้อมูลที่มีโครงสร้างต่อไปนี้
การแสดง JSON |
{
"clientSecretEncryptionKeyVersion": string
} |
ช่อง |
clientSecretEncryptionKeyVersion |
string
ไม่บังคับ เวอร์ชันของ CryptoKey ที่ใช้ในการเข้ารหัสรหัสลับไคลเอ็นต์ OAuth ที่ลิงก์บัญชี หากไม่ได้ระบุ ระบบจะใช้เวอร์ชันคีย์หลักสำหรับการเข้ารหัส เกี่ยวข้องกับโปรเจ็กต์ที่มีการลิงก์บัญชีกับรหัสลับไคลเอ็นต์เท่านั้น
|
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
กำลังสตรีมการตอบกลับ RPC สำหรับ Version.read
การแสดง JSON |
{
"files": {
object (Files )
}
} |
ช่อง |
files |
object (Files )
รายการไฟล์ที่ส่งจากเซิร์ฟเวอร์ในแต่ละครั้ง
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-22 UTC
[null,null,["อัปเดตล่าสุด 2024-08-22 UTC"],[[["Reads the complete content of a specified project version using a POST request."],["Requires the project and version identifiers as path parameters in the request URL."],["Optionally accepts an encryption key version for account linking client secrets in the request body."],["Responds with a stream of files contained within the requested project version."]]],["This documentation details reading the content of a project version via an HTTP POST request to a specific URL, using gRPC Transcoding syntax. The request requires a `name` path parameter indicating the project and version. The request body optionally includes a `clientSecretEncryptionKeyVersion` for projects with account linking. A successful response contains a `files` field with a list of files from the server in JSON format. The request retrieves data associated with a specified project version.\n"]]