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. (ACL_MODE_UNKNOWN, ACL_MODE_UNIVERSAL_ACCESS, ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID, ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI) |
databaseType | string | Database type. (DB_UNKNOWN, DB_INFRA_SPANNER, DB_CLOUD_SQL_POSTGRES) |
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. (PROJECT_STATE_UNSPECIFIED, PROJECT_STATE_PENDING, PROJECT_STATE_COMPLETED, PROJECT_STATE_FAILED, PROJECT_STATE_DELETING, PROJECT_STATE_DELETING_FAILED, PROJECT_STATE_DELETED, PROJECT_STATE_NOT_FOUND) |
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
;