VIDEOINTELLIGENCE

videointelligence.operations.projects.locations.operations.cancel

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

videointelligence.operations.projects.locations.operations.delete

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

videointelligence.operations.projects.locations.operations.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

videointelligence.projects.locations.operations.cancel

valid {
    input.Body.STRING == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

videointelligence.projects.locations.operations.delete

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

videointelligence.projects.locations.operations.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

videointelligence.projects.locations.operations.list

valid {
    input.ReqMap.name == STRING
    input.Qs.filter == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

videointelligence.videos.annotate

enum_GoogleCloudVideointelligenceV1_AnnotateVideoRequestFeatures := [ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", "EXPLICIT_CONTENT_DETECTION", "FACE_DETECTION", "SPEECH_TRANSCRIPTION", "TEXT_DETECTION", "OBJECT_TRACKING", "LOGO_RECOGNITION", "PERSON_DETECTION" ]
enum_GoogleCloudVideointelligenceV1_LabelDetectionConfigLabelDetectionMode := [ "LABEL_DETECTION_MODE_UNSPECIFIED", "SHOT_MODE", "FRAME_MODE", "SHOT_AND_FRAME_MODE" ]

valid {
    input.Body.features[_] == enum_GoogleCloudVideointelligenceV1_AnnotateVideoRequestFeatures[_]
    input.Body.inputContent == STRING
    input.Body.inputUri == STRING
    input.Body.locationId == STRING
    input.Body.outputUri == STRING
    input.Body.videoContext.explicitContentDetectionConfig.model == STRING
    input.Body.videoContext.faceDetectionConfig.includeAttributes == BOOLEAN
    input.Body.videoContext.faceDetectionConfig.includeBoundingBoxes == BOOLEAN
    input.Body.videoContext.faceDetectionConfig.model == STRING
    input.Body.videoContext.labelDetectionConfig.frameConfidenceThreshold == NUMBER
    input.Body.videoContext.labelDetectionConfig.labelDetectionMode == enum_GoogleCloudVideointelligenceV1_LabelDetectionConfigLabelDetectionMode[_]
    input.Body.videoContext.labelDetectionConfig.model == STRING
    input.Body.videoContext.labelDetectionConfig.stationaryCamera == BOOLEAN
    input.Body.videoContext.labelDetectionConfig.videoConfidenceThreshold == NUMBER
    input.Body.videoContext.objectTrackingConfig.model == STRING
    input.Body.videoContext.personDetectionConfig.includeAttributes == BOOLEAN
    input.Body.videoContext.personDetectionConfig.includeBoundingBoxes == BOOLEAN
    input.Body.videoContext.personDetectionConfig.includePoseLandmarks == BOOLEAN
    input.Body.videoContext.segments[_].endTimeOffset == STRING
    input.Body.videoContext.segments[_].startTimeOffset == STRING
    input.Body.videoContext.shotChangeDetectionConfig.model == STRING
    input.Body.videoContext.speechTranscriptionConfig.audioTracks[_] == INTEGER
    input.Body.videoContext.speechTranscriptionConfig.diarizationSpeakerCount == INTEGER
    input.Body.videoContext.speechTranscriptionConfig.enableAutomaticPunctuation == BOOLEAN
    input.Body.videoContext.speechTranscriptionConfig.enableSpeakerDiarization == BOOLEAN
    input.Body.videoContext.speechTranscriptionConfig.enableWordConfidence == BOOLEAN
    input.Body.videoContext.speechTranscriptionConfig.filterProfanity == BOOLEAN
    input.Body.videoContext.speechTranscriptionConfig.languageCode == STRING
    input.Body.videoContext.speechTranscriptionConfig.maxAlternatives == INTEGER
    input.Body.videoContext.speechTranscriptionConfig.speechContexts[_].phrases[_] == STRING
    input.Body.videoContext.textDetectionConfig.languageHints[_] == STRING
    input.Body.videoContext.textDetectionConfig.model == STRING
    input.ProviderMetadata.Region == STRING
}