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\u003eThe \u003ccode\u003eApiTarget\u003c/code\u003e class in the Google.Cloud.ApiKeys.V2 API allows for setting restrictions on specific services and methods, providing granular control over API key usage.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eApiTarget\u003c/code\u003e is implemented by several interfaces such as \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 base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMethods\u003c/code\u003e property of the \u003ccode\u003eApiTarget\u003c/code\u003e class is an optional list of methods that can be called, supporting wildcard characters and allowing for precise method specification or broad service-wide access.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eService\u003c/code\u003e property within \u003ccode\u003eApiTarget\u003c/code\u003e specifies the canonical service name, such as \u003ccode\u003etranslate.googleapis.com\u003c/code\u003e, to which the restrictions apply.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eApiTarget\u003c/code\u003e has two constructors: \u003ccode\u003eApiTarget()\u003c/code\u003e and \u003ccode\u003eApiTarget(ApiTarget other)\u003c/code\u003e allowing for a default constructor and one to create a new ApiTarget based off another.\u003c/p\u003e\n"]]],[],null,[]]