asps
Creates, updates, deletes, gets or lists an asps
resource.
Overview
Name | asps |
Type | Resource |
Id | googleadmin.directory.asps |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | The name of the application that the user, represented by their userId , entered when the ASP was created. |
codeId | integer (int32) | The unique ID of the ASP. |
creationTime | string (int64) | The time when the ASP was created. Expressed in Unix time format. |
etag | string | ETag of the ASP. |
kind | string | The type of the API resource. This is always admin#directory#asp . (default: admin#directory#asp) |
lastTimeUsed | string (int64) | The time when the ASP was last used. Expressed in Unix time format. |
userKey | string | The unique ID of the user who issued the ASP. |
Successful response
Name | Datatype | Description |
---|---|---|
etag | string | ETag of the resource. |
items | array | A list of ASP resources. |
kind | string | The type of the API resource. This is always admin#directory#aspList . (default: admin#directory#aspList) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | userKey , codeId | Gets information about an ASP issued by a user. | |
list | select | userKey | Lists the ASPs issued by a user. | |
delete | delete | userKey , codeId | Deletes an ASP issued by a user. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
codeId | string | |
userKey | string |
SELECT
examples
- get
- list
Gets information about an ASP issued by a user.
SELECT
name,
codeId,
creationTime,
etag,
kind,
lastTimeUsed,
userKey
FROM googleadmin.directory.asps
WHERE userKey = '{{ userKey }}' -- required
AND codeId = '{{ codeId }}' -- required;
Lists the ASPs issued by a user.
SELECT
etag,
items,
kind
FROM googleadmin.directory.asps
WHERE userKey = '{{ userKey }}' -- required;
DELETE
examples
- delete
Deletes an ASP issued by a user.
DELETE FROM googleadmin.directory.asps
WHERE userKey = '{{ userKey }}' --required
AND codeId = '{{ codeId }}' --required;