AI-generated Key Takeaways
-
Retrieves a specific setting value using a GET request to the provided URL.
-
Requires
resourcesettings.settingvalues.get
IAM permission andhttps://www.googleapis.com/auth/cloud-platform
OAuth scope for authorization. -
Returns a
google.rpc.Status
withgoogle.rpc.Code.NOT_FOUND
if the setting value doesn't exist; otherwise, returns theSettingValue
. -
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.
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 |
The name of the setting value to get. See Authorization requires the following IAM permission on the specified resource
|
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.