Method: projects.settings.getValue
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bir ayar değeri alır.
Ayar değeri yoksa google.rpc.Code.NOT_FOUND
ile google.rpc.Status
döndürür.
HTTP isteği
GET https://resourcesettings.googleapis.com/v1alpha1/{name=projects/*/settings/*/value}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
name |
string
Alınacak ayar değerinin adı. Adlandırma koşulları için SettingValue adresine bakın.
Yetkilendirme, belirtilen name kaynağı için aşağıdaki IAM iznini gerektirir:
resourcesettings.settingvalues.get
|
İstek metni
İstek metni boş olmalıdır.
Yanıt metni
Başarılıysa yanıt metni, SettingValue
öğesinin bir örneğini içerir.
Yetkilendirme Kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/cloud-platform
Daha fazla bilgi için Kimlik Doğrulamaya Genel Bakış başlıklı makaleyi inceleyin.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2023-05-25 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2023-05-25 UTC."],[[["Retrieves a specific setting value using a GET request to the provided URL."],["Requires the `name` path parameter to identify the setting value, using the format `projects/*/settings/*/value`."],["Returns the setting value if found, otherwise, it returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND`."],["Needs authorization with the `cloud-platform` OAuth scope or the `resourcesettings.settingvalues.get` IAM permission."]]],["This content describes retrieving a setting value via an HTTP GET request. The request URL follows gRPC Transcoding syntax, requiring a `name` path parameter, which specifies the setting value. The request body must be empty. Successful requests return a `SettingValue` instance in the response body. If the value is not found, a `NOT_FOUND` status is returned. Authorization requires a specific IAM permission (`resourcesettings.settingvalues.get`) and the `cloud-platform` OAuth scope.\n"]]