Method: folders.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=folders/*/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 `resourcesettings.settingvalues.get` IAM permission and `https://www.googleapis.com/auth/cloud-platform` OAuth scope for authorization."],["Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the setting value doesn't exist; otherwise, returns the `SettingValue`."],["Uses gRPC Transcoding for the URL structure and requires the setting value's name as a path parameter."],["The request body must be empty for this operation."]]],["This document details retrieving a setting value via an HTTP GET request. The request URL, structured with gRPC Transcoding, requires a `name` parameter specifying the setting's location. The request body must be empty. Authorization necessitates the `resourcesettings.settingvalues.get` IAM permission and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope. Successful retrieval returns a `SettingValue` instance; otherwise, a `google.rpc.Status` with `NOT_FOUND` is returned.\n"]]