projects
Creates, updates, deletes, gets or lists a projects resource.
Overview
| Name | projects |
| Type | Resource |
| Id | google.oslogin.projects |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
delete | delete | usersId, projectsId | Deletes a POSIX account. | |
provision_posix_account | exec | usersId, projectsId | Adds a POSIX account and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile. |
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 |
|---|---|---|
projectsId | string | |
usersId | string |
DELETE examples
- delete
Deletes a POSIX account.
DELETE FROM google.oslogin.projects
WHERE usersId = '{{ usersId }}' --required
AND projectsId = '{{ projectsId }}' --required
;
Lifecycle Methods
- provision_posix_account
Adds a POSIX account and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.
EXEC google.oslogin.projects.provision_posix_account
@usersId='{{ usersId }}' --required,
@projectsId='{{ projectsId }}' --required
@@json=
'{
"regions": "{{ regions }}"
}'
;