Contentwarehouse_v1Functions

Functions

Link copied to clipboard

Gets a document. Returns NOT_FOUND if the document does not exist.

suspend fun getDocument(argument: suspend GetDocumentPlainArgsBuilder.() -> Unit): GetDocumentResult
suspend fun getDocument(documentId: String, location: String, project: String? = null): GetDocumentResult
Link copied to clipboard

Gets a document schema. Returns NOT_FOUND if the document schema does not exist.

suspend fun getDocumentSchema(documentSchemaId: String, location: String, project: String? = null): GetDocumentSchemaResult
Link copied to clipboard

Gets a ruleset. Returns NOT_FOUND if the ruleset does not exist.

suspend fun getRuleSet(argument: suspend GetRuleSetPlainArgsBuilder.() -> Unit): GetRuleSetResult
suspend fun getRuleSet(location: String, project: String? = null, ruleSetId: String): GetRuleSetResult
Link copied to clipboard

Gets a SynonymSet for a particular context. Throws a NOT_FOUND exception if the Synonymset does not exist

suspend fun getSynonymSet(location: String, project: String? = null, synonymSetId: String): GetSynonymSetResult