An allowed method or permission of a service specified in ApiOperation.
JSON representation
{// Union field kind can be only one of the following:"method": string,"permission": string// End of list of possible types for union field kind.}
Fields
Union field kind. The API method name or Cloud IAM permission name to allow. kind can be only one of the following:
method
string
A valid method name for the corresponding serviceName in ApiOperation. If * is used as the value for the method, then ALL methods and permissions are allowed.
permission
string
A valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
[[["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-07-17 UTC."],[[["\u003cp\u003eThis document details the JSON representation and fields for defining allowed methods or permissions within a service, as specified in the \u003ccode\u003eApiOperation\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ekind\u003c/code\u003e field is a union field that can be either \u003ccode\u003emethod\u003c/code\u003e or \u003ccode\u003epermission\u003c/code\u003e, allowing specification of either an API method name or a Cloud IAM permission name.\u003c/p\u003e\n"],["\u003cp\u003eIf \u003ccode\u003emethod\u003c/code\u003e is set to \u003ccode\u003e*\u003c/code\u003e, then all methods and permissions for the associated service are granted.\u003c/p\u003e\n"],["\u003cp\u003eThe valid fields within a service's allowed method or permission are either the \u003ccode\u003emethod\u003c/code\u003e or \u003ccode\u003epermission\u003c/code\u003e to determine which specific action is permitted.\u003c/p\u003e\n"]]],[],null,[]]