Close httplib2 connections.
delete(userKey, codeId, x__xgafv=None)
Deletes an ASP issued by a user.
get(userKey, codeId, x__xgafv=None)
Gets information about an ASP issued by a user.
Lists the ASPs issued by a user.
close()
Close httplib2 connections.
delete(userKey, codeId, x__xgafv=None)
Deletes an ASP issued by a user. Args: userKey: string, Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. (required) codeId: integer, The unique ID of the ASP to be deleted. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format
get(userKey, codeId, x__xgafv=None)
Gets information about an ASP issued by a user. Args: userKey: string, Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. (required) codeId: integer, The unique ID of the ASP. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # An application-specific password (ASP) is used with applications that do not accept a verification code when logging into the application on certain devices. The ASP access code is used instead of the login and password you commonly use when accessing an application through a browser. For more information about ASPs and how to create one, see the [help center](https://support.google.com/a/answer/2537800#asp). "codeId": 42, # The unique ID of the ASP. "creationTime": "A String", # The time when the ASP was created. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format. "etag": "A String", # ETag of the ASP. "kind": "admin#directory#asp", # The type of the API resource. This is always `admin#directory#asp`. "lastTimeUsed": "A String", # The time when the ASP was last used. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format. "name": "A String", # The name of the application that the user, represented by their `userId`, entered when the ASP was created. "userKey": "A String", # The unique ID of the user who issued the ASP. }
list(userKey, x__xgafv=None)
Lists the ASPs issued by a user. Args: userKey: string, Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { "etag": "A String", # ETag of the resource. "items": [ # A list of ASP resources. { # An application-specific password (ASP) is used with applications that do not accept a verification code when logging into the application on certain devices. The ASP access code is used instead of the login and password you commonly use when accessing an application through a browser. For more information about ASPs and how to create one, see the [help center](https://support.google.com/a/answer/2537800#asp). "codeId": 42, # The unique ID of the ASP. "creationTime": "A String", # The time when the ASP was created. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format. "etag": "A String", # ETag of the ASP. "kind": "admin#directory#asp", # The type of the API resource. This is always `admin#directory#asp`. "lastTimeUsed": "A String", # The time when the ASP was last used. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format. "name": "A String", # The name of the application that the user, represented by their `userId`, entered when the ASP was created. "userKey": "A String", # The unique ID of the user who issued the ASP. }, ], "kind": "admin#directory#aspList", # The type of the API resource. This is always `admin#directory#aspList`. }