LANGUAGE
language.documents.analyzeEntities
enum_AnalyzeEntitiesRequestEncodingType := [ "NONE", "UTF8", "UTF16", "UTF32" ]
enum_DocumentType := [ "TYPE_UNSPECIFIED", "PLAIN_TEXT", "HTML" ]
valid {
input.Body.document.content == STRING
input.Body.document.gcsContentUri == STRING
input.Body.document.languageCode == STRING
input.Body.document.type == enum_DocumentType[_]
input.Body.encodingType == enum_AnalyzeEntitiesRequestEncodingType[_]
input.ProviderMetadata.Region == STRING
}
language.documents.analyzeEntitySentiment
enum_AnalyzeEntitySentimentRequestEncodingType := [ "NONE", "UTF8", "UTF16", "UTF32" ]
enum_DocumentType := [ "TYPE_UNSPECIFIED", "PLAIN_TEXT", "HTML" ]
valid {
input.Body.document.content == STRING
input.Body.document.gcsContentUri == STRING
input.Body.document.language == STRING
input.Body.document.type == enum_DocumentType[_]
input.Body.encodingType == enum_AnalyzeEntitySentimentRequestEncodingType[_]
input.ProviderMetadata.Region == STRING
}
language.documents.analyzeSentiment
enum_AnalyzeSentimentRequestEncodingType := [ "NONE", "UTF8", "UTF16", "UTF32" ]
enum_DocumentType := [ "TYPE_UNSPECIFIED", "PLAIN_TEXT", "HTML" ]
valid {
input.Body.document.content == STRING
input.Body.document.gcsContentUri == STRING
input.Body.document.languageCode == STRING
input.Body.document.type == enum_DocumentType[_]
input.Body.encodingType == enum_AnalyzeSentimentRequestEncodingType[_]
input.ProviderMetadata.Region == STRING
}
language.documents.analyzeSyntax
enum_AnalyzeSyntaxRequestEncodingType := [ "NONE", "UTF8", "UTF16", "UTF32" ]
enum_DocumentType := [ "TYPE_UNSPECIFIED", "PLAIN_TEXT", "HTML" ]
valid {
input.Body.document.content == STRING
input.Body.document.gcsContentUri == STRING
input.Body.document.language == STRING
input.Body.document.type == enum_DocumentType[_]
input.Body.encodingType == enum_AnalyzeSyntaxRequestEncodingType[_]
input.ProviderMetadata.Region == STRING
}
language.documents.annotateText
enum_AnnotateTextRequestEncodingType := [ "NONE", "UTF8", "UTF16", "UTF32" ]
enum_DocumentType := [ "TYPE_UNSPECIFIED", "PLAIN_TEXT", "HTML" ]
valid {
input.Body.document.content == STRING
input.Body.document.gcsContentUri == STRING
input.Body.document.languageCode == STRING
input.Body.document.type == enum_DocumentType[_]
input.Body.encodingType == enum_AnnotateTextRequestEncodingType[_]
input.Body.features.classifyText == BOOLEAN
input.Body.features.extractDocumentSentiment == BOOLEAN
input.Body.features.extractEntities == BOOLEAN
input.Body.features.moderateText == BOOLEAN
input.ProviderMetadata.Region == STRING
}
language.documents.classifyText
enum_DocumentType := [ "TYPE_UNSPECIFIED", "PLAIN_TEXT", "HTML" ]
valid {
input.Body.document.content == STRING
input.Body.document.gcsContentUri == STRING
input.Body.document.languageCode == STRING
input.Body.document.type == enum_DocumentType[_]
input.ProviderMetadata.Region == STRING
}
language.documents.moderateText
enum_DocumentType := [ "TYPE_UNSPECIFIED", "PLAIN_TEXT", "HTML" ]
enum_ModerateTextRequestModelVersion := [ "MODEL_VERSION_UNSPECIFIED", "MODEL_VERSION_1", "MODEL_VERSION_2" ]
valid {
input.Body.document.content == STRING
input.Body.document.gcsContentUri == STRING
input.Body.document.languageCode == STRING
input.Body.document.type == enum_DocumentType[_]
input.Body.modelVersion == enum_ModerateTextRequestModelVersion[_]
input.ProviderMetadata.Region == STRING
}
Updated 20 days ago