Method: projects.settings.getValue
Stay organized with collections
Save and categorize content based on your preferences.
Gets a setting value.
Returns a google.rpc.Status
with google.rpc.Code.NOT_FOUND
if the setting value does not exist.
HTTP request
GET https://resourcesettings.googleapis.com/v1alpha1/{name=projects/*/settings/*/value}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
The name of the setting value to get. See SettingValue for naming requirements.
Authorization requires the following IAM permission on the specified resource name :
resourcesettings.settingvalues.get
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of SettingValue
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-05-25 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 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"]]