View Source GoogleApi.APIKeys.V2.Model.V2ApiTarget (google_api_api_keys v0.5.0)
A restriction for a specific service and optionally one or multiple specific methods. Both fields are case insensitive.
Attributes
-
methods
(type:list(String.t)
, default:nil
) - Optional. List of one or more methods that can be called. If empty, all methods for the service are allowed. A wildcard () can be used as the last symbol. Valid examples:google.cloud.translate.v2.TranslateService.GetSupportedLanguage
TranslateText
`Gettranslate.googleapis.com.Get*`
-
service
(type:String.t
, default:nil
) - The service for this restriction. It should be the canonical service name, for example:translate.googleapis.com
. You can usegcloud services list
to get a list of services that are enabled in the project.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
Functions
Unwrap a decoded JSON object into its complex fields.