Method: organizations.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=organizations/*/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."],[[["\u003cp\u003eRetrieves a specific setting value using a GET request to the provided URL.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ename\u003c/code\u003e path parameter to identify the setting value, following specific naming conventions.\u003c/p\u003e\n"],["\u003cp\u003eReturns a \u003ccode\u003eSettingValue\u003c/code\u003e object if the setting value exists, otherwise, a \u003ccode\u003egoogle.rpc.Status\u003c/code\u003e with a \u003ccode\u003eNOT_FOUND\u003c/code\u003e code.\u003c/p\u003e\n"],["\u003cp\u003eNeeds the \u003ccode\u003ecloud-platform\u003c/code\u003e OAuth scope for authorization and specific IAM permissions on the setting resource.\u003c/p\u003e\n"]]],["This describes retrieving a setting value via a `GET` HTTP request to a specific URL: `https://resourcesettings.googleapis.com/v1alpha1/{name=organizations/*/settings/*/value}`. The `name` parameter within the URL is a string specifying the setting value to retrieve, needing the `resourcesettings.settingvalues.get` IAM permission. The request body must be empty, and the response, if successful, returns a `SettingValue` instance. The process uses gRPC Transcoding and requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope. A `NOT_FOUND` error is given if the setting value does not exist.\n"],null,["# Method: organizations.settings.getValue\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n\nGets a setting value.\n\nReturns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the setting value does not exist.\n\n### HTTP request\n\n`GET https://resourcesettings.googleapis.com/v1alpha1/{name=organizations/*/settings/*/value}`\n\nThe URL uses [gRPC Transcoding](https://github.com/googleapis/googleapis/blob/master/google/api/http.proto) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The name of the setting value to get. See [SettingValue](/resource-settings/docs/reference/rest/v1alpha1/folders.settings.value#SettingValue) for naming requirements. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `resourcesettings.settingvalues.get` |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [SettingValue](/resource-settings/docs/reference/rest/v1alpha1/folders.settings.value#SettingValue).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]