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:

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

ParameterTypeRequired[a]DefaultDescription
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.
enabledbooleanyes Whether it's enabled or not.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.