You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pre>Grant access for a user to the given package.
98
+
99
+
Args:
100
+
parent: string, Required. The user which needs permission. Format: developers/{developer}/users/{user} (required)
101
+
body: object, The request body.
102
+
The object takes the form of:
103
+
104
+
{ # An access grant resource.
105
+
"appLevelPermissions": [ # The permissions granted to the user for this app.
106
+
"A String",
107
+
],
108
+
"name": "A String", # Required. Resource name for this grant, following the pattern "developers/{developer}/users/{email}/grants/{package_name}".
109
+
"packageName": "A String", # Immutable. The package name of the app.
110
+
}
111
+
112
+
x__xgafv: string, V1 error format.
113
+
Allowed values
114
+
1 - v1 error format
115
+
2 - v2 error format
116
+
117
+
Returns:
118
+
An object of the form:
119
+
120
+
{ # An access grant resource.
121
+
"appLevelPermissions": [ # The permissions granted to the user for this app.
122
+
"A String",
123
+
],
124
+
"name": "A String", # Required. Resource name for this grant, following the pattern "developers/{developer}/users/{email}/grants/{package_name}".
125
+
"packageName": "A String", # Immutable. The package name of the app.
<pre>Updates access for the user to the given package.
145
+
146
+
Args:
147
+
name: string, Required. Resource name for this grant, following the pattern "developers/{developer}/users/{email}/grants/{package_name}". (required)
148
+
body: object, The request body.
149
+
The object takes the form of:
150
+
151
+
{ # An access grant resource.
152
+
"appLevelPermissions": [ # The permissions granted to the user for this app.
153
+
"A String",
154
+
],
155
+
"name": "A String", # Required. Resource name for this grant, following the pattern "developers/{developer}/users/{email}/grants/{package_name}".
156
+
"packageName": "A String", # Immutable. The package name of the app.
157
+
}
158
+
159
+
updateMask: string, Optional. The list of fields to be updated.
160
+
x__xgafv: string, V1 error format.
161
+
Allowed values
162
+
1 - v1 error format
163
+
2 - v2 error format
164
+
165
+
Returns:
166
+
An object of the form:
167
+
168
+
{ # An access grant resource.
169
+
"appLevelPermissions": [ # The permissions granted to the user for this app.
170
+
"A String",
171
+
],
172
+
"name": "A String", # Required. Resource name for this grant, following the pattern "developers/{developer}/users/{email}/grants/{package_name}".
173
+
"packageName": "A String", # Immutable. The package name of the app.
0 commit comments