The languageRestrictionsEnable() GraphQL mutation is used to enable or disable language restrictions for specified version. This field is not yet available. It's described here as a preview and is used only for internal testing.

Syntax

Below is the syntax for the languageRestrictionsEnable() mutation field:

graphql
languageRestrictionsEnable(
     input: EnabledInput!
   ): boolean!

Given Datatypes

For the given datatype, EnabledInput, there are several parameters that may be given. Below is a list of them along with their datatypes and a description of each:

Table: EnabledInput

ParameterTypeRequiredDefaultDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 18, 2024
enabledbooleanyes Whether it's enabled or not.
versionLanguageVersionEnumyes The version of Human language to use: legacy, xdr1, or xdrdetects1. If non-null, it will be a version known by the current LogScale installation. See LanguageVersionEnum Table.