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 API Keys v2 API allows for specifying restrictions on services and methods.\u003c/p\u003e\n"],["\u003cp\u003eIt is a sealed class that implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e for managing API targets.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eApiTarget\u003c/code\u003e class has a \u003ccode\u003eService\u003c/code\u003e property for identifying the restricted service and a \u003ccode\u003eMethods\u003c/code\u003e property for listing specific methods allowed for that service, which can include wildcards.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor, \u003ccode\u003eApiTarget()\u003c/code\u003e, and a copy constructor, \u003ccode\u003eApiTarget(ApiTarget other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation provides access to versions 1.0.0 up to the latest version 1.4.0 of \u003ccode\u003eApiTarget\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]