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.GetSupportedLanguageTranslateText
`Get`translate.googleapis.com.Get*
The service for this restriction. It should be the canonical
service name, for example: translate.googleapis.com.
You can use gcloud services list
to get a list of services that are enabled in the project.
[[["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 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eApiTarget\u003c/code\u003e class within the Google Cloud API Keys v2 library, specifically version 1.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eApiTarget\u003c/code\u003e class is used to define restrictions for a specific service, and optionally, one or more specific methods which it inherits from object and implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties for \u003ccode\u003eMethods\u003c/code\u003e, a list of methods that can be called, and \u003ccode\u003eService\u003c/code\u003e, which represents the canonical name of the service for the restriction.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available to create an \u003ccode\u003eApiTarget\u003c/code\u003e object, either a default one, or one where an existing \u003ccode\u003eApiTarget\u003c/code\u003e object can be passed in to create another.\u003c/p\u003e\n"],["\u003cp\u003eThere are links to the documentation for previous versions, ranging from version 1.0.0 to 1.2.0, as well as the latest version 1.4.0.\u003c/p\u003e\n"]]],[],null,[]]