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:

Successful response

NameDatatypeDescription
accessControlModestringAccess control mode.
databaseTypestringDatabase type.
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.

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;