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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eApiTarget\u003c/code\u003e class within the Google.Cloud.ApiKeys.V2 namespace is used to define restrictions for specific services and their methods in the API Keys v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eApiTarget\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMethods\u003c/code\u003e property of \u003ccode\u003eApiTarget\u003c/code\u003e allows for specifying a list of methods that can be called, with support for wildcards to represent multiple methods.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eService\u003c/code\u003e property of \u003ccode\u003eApiTarget\u003c/code\u003e is a string representing the canonical name of the service, such as \u003ccode\u003etranslate.googleapis.com\u003c/code\u003e, to which the restrictions apply.\u003c/p\u003e\n"],["\u003cp\u003eThere are different versions of the API available for use, with version 1.4.0 being the most recent.\u003c/p\u003e\n"]]],[],null,[]]