Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Grant access for a user to the given package.
Removes all access for the user to the given package or developer account.
patch(name, body=None, updateMask=None, x__xgafv=None)
Updates access for the user to the given package.
close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Grant access for a user to the given package. Args: parent: string, Required. The user which needs permission. Format: developers/{developer}/users/{user} (required) body: object, The request body. The object takes the form of: { # An access grant resource. "appLevelPermissions": [ # The permissions granted to the user for this app. "A String", ], "name": "A String", # Required. Resource name for this grant, following the pattern "developers/{developer}/users/{email}/grants/{package_name}". "packageName": "A String", # Immutable. The package name of the app. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # An access grant resource. "appLevelPermissions": [ # The permissions granted to the user for this app. "A String", ], "name": "A String", # Required. Resource name for this grant, following the pattern "developers/{developer}/users/{email}/grants/{package_name}". "packageName": "A String", # Immutable. The package name of the app. }
delete(name, x__xgafv=None)
Removes all access for the user to the given package or developer account. Args: name: string, Required. The name of the grant to delete. Format: developers/{developer}/users/{email}/grants/{package_name} (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format
patch(name, body=None, updateMask=None, x__xgafv=None)
Updates access for the user to the given package. Args: name: string, Required. Resource name for this grant, following the pattern "developers/{developer}/users/{email}/grants/{package_name}". (required) body: object, The request body. The object takes the form of: { # An access grant resource. "appLevelPermissions": [ # The permissions granted to the user for this app. "A String", ], "name": "A String", # Required. Resource name for this grant, following the pattern "developers/{developer}/users/{email}/grants/{package_name}". "packageName": "A String", # Immutable. The package name of the app. } updateMask: string, Optional. The list of fields to be updated. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # An access grant resource. "appLevelPermissions": [ # The permissions granted to the user for this app. "A String", ], "name": "A String", # Required. Resource name for this grant, following the pattern "developers/{developer}/users/{email}/grants/{package_name}". "packageName": "A String", # Immutable. The package name of the app. }