Method: properties.dataStreams.measurementProtocolSecrets.get
ค้นหา MeasurementProtocolSecret รายการเดียว
คำขอ HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ ชื่อของข้อมูลลับของ Measurement Protocol ที่จะค้นหา Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ MeasurementProtocolSecret
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-01-14 UTC
[null,null,["อัปเดตล่าสุด 2025-01-14 UTC"],[[["Look up a single \"GA4\" MeasurementProtocolSecret using the provided HTTP request."],["The request requires the `name` parameter, specifying the MeasurementProtocolSecret's location within the property and data stream."],["An empty request body is necessary, and a successful response returns a MeasurementProtocolSecret object."],["Authorization is required, utilizing either `analytics.readonly` or `analytics.edit` OAuth scopes."]]],["This document outlines the process to retrieve a single MeasurementProtocolSecret. A `GET` HTTP request is sent to a specific URL, defined by a `name` parameter in the path. The format of the `name` is provided and is required. The request body must be empty. A successful response will include a `MeasurementProtocolSecret` instance in the response body. The request requires one of two OAuth scopes for authorization: `analytics.readonly` or `analytics.edit`.\n"]]