Method: projects.settings.getValue

  • 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.

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.