status
Creates, updates, deletes, gets or lists a status resource.
Overview
| Name | status |
| Type | Resource |
| Id | google.contentwarehouse.status |
Fields
The following fields are returned by SELECT queries:
- get_status
| Name | Datatype | Description |
|---|---|---|
accessControlMode | string | Access control mode. |
databaseType | string | Database type. |
documentCreatorDefaultRole | string | The default role for the person who create a document. |
location | string | The location of the queried project. |
qaEnabled | boolean | If the qa is enabled on this project. |
state | string | State of the project. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_status | select | projectsId, locationsId | Get the project status. |
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 |
|---|---|---|
locationsId | string | |
projectsId | string |
SELECT examples
- get_status
Get the project status.
SELECT
accessControlMode,
databaseType,
documentCreatorDefaultRole,
location,
qaEnabled,
state
FROM google.contentwarehouse.status
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
;