An allowed method or permission of a service specified inApiOperation.
JSON representation
{// Union fieldkindcan be only one of the following:"method":string,"permission":string// End of list of possible types for union fieldkind.}
Fields
Union fieldkind. The API method name or Cloud IAM permission name to allow.kindcan be only one of the following:
method
string
A valid method name for the correspondingserviceNameinApiOperation. If*is used as the value for themethod, then ALL methods and permissions are allowed.
permission
string
A valid Cloud IAM permission for the correspondingserviceNameinApiOperation.
[[["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 section defines the JSON representation for specifying allowed methods or permissions within an \u003ccode\u003eApiOperation\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ekind\u003c/code\u003e field is a union field that can only be either \u003ccode\u003emethod\u003c/code\u003e or \u003ccode\u003epermission\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003emethod\u003c/code\u003e field, if used, represents a specific API method name; using \u003ccode\u003e*\u003c/code\u003e for the value allows all methods and permissions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003epermission\u003c/code\u003e field represents a valid Cloud IAM permission.\u003c/p\u003e\n"]]],[],null,["# MethodSelector\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nAn allowed method or permission of a service specified in [ApiOperation](/access-context-manager/docs/reference/rest/v1/accessPolicies.servicePerimeters#ApiOperation)."]]