Close httplib2 connections.
delete(userKey, codeId, x__xgafv=None)
Delete an ASP issued by a user.
get(userKey, codeId, x__xgafv=None)
Get information about an ASP issued by a user.
List the ASPs issued by a user.
close()
Close httplib2 connections.
delete(userKey, codeId, x__xgafv=None)
Delete 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)
Get 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:
{ # The template that returns individual ASP (Access Code) data. STEPLADDER: Generated unstable field number for field 'kind'. (See http://go/stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'. (See http://go/stepladder-help#fieldNumber)
"codeId": 42, # The unique ID of the ASP.
"lastTimeUsed": "A String", # The time when the ASP was last used. Expressed in Unix time format.
"userKey": "A String", # The unique ID of the user who issued the ASP.
"kind": "admin#directory#asp", # The type of the API resource. This is always admin#directory#asp.
"name": "A String", # The name of the application that the user, represented by their userId, entered when the ASP was created.
"creationTime": "A String", # The time when the ASP was created. Expressed in Unix time format.
"etag": "A String", # ETag of the ASP.
}
list(userKey, x__xgafv=None)
List 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:
{ # STEPLADDER: Generated unstable field number for field 'kind'. (See http://go/stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'. (See http://go/stepladder-help#fieldNumber)
"items": [ # A list of ASP resources.
{ # The template that returns individual ASP (Access Code) data. STEPLADDER: Generated unstable field number for field 'kind'. (See http://go/stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'. (See http://go/stepladder-help#fieldNumber)
"codeId": 42, # The unique ID of the ASP.
"lastTimeUsed": "A String", # The time when the ASP was last used. Expressed in Unix time format.
"userKey": "A String", # The unique ID of the user who issued the ASP.
"kind": "admin#directory#asp", # The type of the API resource. This is always admin#directory#asp.
"name": "A String", # The name of the application that the user, represented by their userId, entered when the ASP was created.
"creationTime": "A String", # The time when the ASP was created. Expressed in Unix time format.
"etag": "A String", # ETag of the ASP.
},
],
"etag": "A String", # ETag of the resource.
"kind": "admin#directory#aspList", # The type of the API resource. This is always admin#directory#aspList.
}