Skip to main content

status

Creates, updates, deletes, gets or lists a status resource.

Overview​

Namestatus
TypeResource
Idgoogle.contentwarehouse.status

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
accessControlModestringAccess control mode. (ACL_MODE_UNKNOWN, ACL_MODE_UNIVERSAL_ACCESS, ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID, ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI)
databaseTypestringDatabase type. (DB_UNKNOWN, DB_INFRA_SPANNER, DB_CLOUD_SQL_POSTGRES)
documentCreatorDefaultRolestringThe default role for the person who create a document.
locationstringThe location of the queried project.
qaEnabledbooleanIf the qa is enabled on this project.
statestringState 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:

NameAccessible byRequired ParamsOptional ParamsDescription
get_statusselectprojectsId, locationsIdGet 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.

NameDatatypeDescription
locationsIdstring
projectsIdstring

SELECT examples​

Get the project status.

SELECT
accessControlMode,
databaseType,
documentCreatorDefaultRole,
location,
qaEnabled,
state
FROM google.contentwarehouse.status
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
;