Es la vinculación de un usuario con un conjunto de funciones.
Representación JSON
{"name": string,"roles": [string],// Union field access_target can be only one of the following:"user": string// End of list of possible types for union field access_target.}
Campos
name
string
Solo salida. Nombre del recurso de esta vinculación.
Formato: accounts/{account}/accessBindings/{accessBinding} o properties/{property}/accessBindings/{accessBinding}
Ejemplo: "accounts/100/accessBindings/200"
roles[]
string
Una lista de funciones para otorgar al recurso superior.
Valores válidos:
Para los usuarios, si se establece una lista vacía de roles, se borrará esta AccessBinding.
Campo de unión access_target. El destino para el que se establecen las funciones. Las direcciones (access_target) solo pueden ser una de las siguientes opciones:
user
string
Si se configura, la dirección de correo electrónico del usuario para el que se establecerán las funciones. Formato: “algúnusuario@gmail.com”
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-07-26 (UTC)"],[[["\u003cp\u003eAccessBinding is a resource that binds a user to a set of roles within Google Analytics.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage AccessBindings through various methods like creating, deleting, updating, and listing them for accounts or properties.\u003c/p\u003e\n"],["\u003cp\u003eAccessBindings use a JSON representation to define the user, their roles, and the target resource (account or property).\u003c/p\u003e\n"],["\u003cp\u003eRoles granted via AccessBindings can include predefined options such as viewer, analyst, editor, admin, and more.\u003c/p\u003e\n"],["\u003cp\u003eAvailable methods for interacting with AccessBindings include batch operations (create, delete, get, update) and individual operations (create, delete, get, list, patch).\u003c/p\u003e\n"]]],["AccessBindings link users to roles within accounts or properties. Key fields include `name` (resource identifier), `roles[]` (list of granted roles like viewer, editor, admin), and `user` (target user's email). Available roles include predefined options. The union field `access_target` specifies the target for role assignments, currently only supporting the `user` field. Several methods are provided for managing access bindings, including creating, deleting, getting, listing, updating single or multiple user's bindings.\n"],null,[]]