ml.projects.explain

valid {
    input.Body.httpBody.contentType == STRING
    input.Body.httpBody.data == STRING
    input.Body.httpBody.extensions[_].STRING == ANY
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

ml.projects.getConfig

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

ml.projects.jobs.cancel

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

ml.projects.jobs.create

enum_GoogleCloudMlV1__AcceleratorConfigType := [ "ACCELERATOR_TYPE_UNSPECIFIED", "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", "NVIDIA_TESLA_V100", "NVIDIA_TESLA_P4", "NVIDIA_TESLA_T4", "NVIDIA_TESLA_A100", "TPU_V2", "TPU_V3", "TPU_V2_POD", "TPU_V3_POD", "TPU_V4_POD" ]
enum_GoogleCloudMlV1__HyperparameterOutputState := [ "STATE_UNSPECIFIED", "QUEUED", "PREPARING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLING", "CANCELLED" ]
enum_GoogleCloudMlV1__HyperparameterSpecAlgorithm := [ "ALGORITHM_UNSPECIFIED", "GRID_SEARCH", "RANDOM_SEARCH" ]
enum_GoogleCloudMlV1__HyperparameterSpecGoal := [ "GOAL_TYPE_UNSPECIFIED", "MAXIMIZE", "MINIMIZE" ]
enum_GoogleCloudMlV1__JobState := [ "STATE_UNSPECIFIED", "QUEUED", "PREPARING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLING", "CANCELLED" ]
enum_GoogleCloudMlV1__ParameterSpecScaleType := [ "NONE", "UNIT_LINEAR_SCALE", "UNIT_LOG_SCALE", "UNIT_REVERSE_LOG_SCALE" ]
enum_GoogleCloudMlV1__ParameterSpecType := [ "PARAMETER_TYPE_UNSPECIFIED", "DOUBLE", "INTEGER", "CATEGORICAL", "DISCRETE" ]
enum_GoogleCloudMlV1__PredictionInputDataFormat := [ "DATA_FORMAT_UNSPECIFIED", "JSON", "TEXT", "TF_RECORD", "TF_RECORD_GZIP", "CSV" ]
enum_GoogleCloudMlV1__PredictionInputOutputDataFormat := [ "DATA_FORMAT_UNSPECIFIED", "JSON", "TEXT", "TF_RECORD", "TF_RECORD_GZIP", "CSV" ]
enum_GoogleCloudMlV1__TrainingInputScaleTier := [ "BASIC", "STANDARD_1", "PREMIUM_1", "BASIC_GPU", "BASIC_TPU", "CUSTOM" ]

valid {
    input.Body.createTime == STRING
    input.Body.endTime == STRING
    input.Body.errorMessage == STRING
    input.Body.etag == STRING
    input.Body.jobId == STRING
    input.Body.labels.STRING == STRING
    input.Body.predictionInput.batchSize == STRING
    input.Body.predictionInput.dataFormat == enum_GoogleCloudMlV1__PredictionInputDataFormat[_]
    input.Body.predictionInput.inputPaths[_] == STRING
    input.Body.predictionInput.maxWorkerCount == STRING
    input.Body.predictionInput.modelName == STRING
    input.Body.predictionInput.outputDataFormat == enum_GoogleCloudMlV1__PredictionInputOutputDataFormat[_]
    input.Body.predictionInput.outputPath == STRING
    input.Body.predictionInput.region == STRING
    input.Body.predictionInput.runtimeVersion == STRING
    input.Body.predictionInput.signatureName == STRING
    input.Body.predictionInput.uri == STRING
    input.Body.predictionInput.versionName == STRING
    input.Body.predictionOutput.errorCount == STRING
    input.Body.predictionOutput.nodeHours == NUMBER
    input.Body.predictionOutput.outputPath == STRING
    input.Body.predictionOutput.predictionCount == STRING
    input.Body.startTime == STRING
    input.Body.state == enum_GoogleCloudMlV1__JobState[_]
    input.Body.trainingInput.args[_] == STRING
    input.Body.trainingInput.enableWebAccess == BOOLEAN
    input.Body.trainingInput.encryptionConfig.kmsKeyName == STRING
    input.Body.trainingInput.evaluatorConfig.acceleratorConfig.count == STRING
    input.Body.trainingInput.evaluatorConfig.acceleratorConfig.type == enum_GoogleCloudMlV1__AcceleratorConfigType[_]
    input.Body.trainingInput.evaluatorConfig.containerArgs[_] == STRING
    input.Body.trainingInput.evaluatorConfig.containerCommand[_] == STRING
    input.Body.trainingInput.evaluatorConfig.diskConfig.bootDiskSizeGb == INTEGER
    input.Body.trainingInput.evaluatorConfig.diskConfig.bootDiskType == STRING
    input.Body.trainingInput.evaluatorConfig.imageUri == STRING
    input.Body.trainingInput.evaluatorConfig.tpuTfVersion == STRING
    input.Body.trainingInput.evaluatorCount == STRING
    input.Body.trainingInput.evaluatorType == STRING
    input.Body.trainingInput.hyperparameters.algorithm == enum_GoogleCloudMlV1__HyperparameterSpecAlgorithm[_]
    input.Body.trainingInput.hyperparameters.enableTrialEarlyStopping == BOOLEAN
    input.Body.trainingInput.hyperparameters.goal == enum_GoogleCloudMlV1__HyperparameterSpecGoal[_]
    input.Body.trainingInput.hyperparameters.hyperparameterMetricTag == STRING
    input.Body.trainingInput.hyperparameters.maxFailedTrials == INTEGER
    input.Body.trainingInput.hyperparameters.maxParallelTrials == INTEGER
    input.Body.trainingInput.hyperparameters.maxTrials == INTEGER
    input.Body.trainingInput.hyperparameters.params[_].categoricalValues[_] == STRING
    input.Body.trainingInput.hyperparameters.params[_].discreteValues[_] == NUMBER
    input.Body.trainingInput.hyperparameters.params[_].maxValue == NUMBER
    input.Body.trainingInput.hyperparameters.params[_].minValue == NUMBER
    input.Body.trainingInput.hyperparameters.params[_].parameterName == STRING
    input.Body.trainingInput.hyperparameters.params[_].scaleType == enum_GoogleCloudMlV1__ParameterSpecScaleType[_]
    input.Body.trainingInput.hyperparameters.params[_].type == enum_GoogleCloudMlV1__ParameterSpecType[_]
    input.Body.trainingInput.hyperparameters.resumePreviousJobId == STRING
    input.Body.trainingInput.jobDir == STRING
    input.Body.trainingInput.masterConfig.acceleratorConfig.count == STRING
    input.Body.trainingInput.masterConfig.acceleratorConfig.type == enum_GoogleCloudMlV1__AcceleratorConfigType[_]
    input.Body.trainingInput.masterConfig.containerArgs[_] == STRING
    input.Body.trainingInput.masterConfig.containerCommand[_] == STRING
    input.Body.trainingInput.masterConfig.diskConfig.bootDiskSizeGb == INTEGER
    input.Body.trainingInput.masterConfig.diskConfig.bootDiskType == STRING
    input.Body.trainingInput.masterConfig.imageUri == STRING
    input.Body.trainingInput.masterConfig.tpuTfVersion == STRING
    input.Body.trainingInput.masterType == STRING
    input.Body.trainingInput.network == STRING
    input.Body.trainingInput.packageUris[_] == STRING
    input.Body.trainingInput.parameterServerConfig.acceleratorConfig.count == STRING
    input.Body.trainingInput.parameterServerConfig.acceleratorConfig.type == enum_GoogleCloudMlV1__AcceleratorConfigType[_]
    input.Body.trainingInput.parameterServerConfig.containerArgs[_] == STRING
    input.Body.trainingInput.parameterServerConfig.containerCommand[_] == STRING
    input.Body.trainingInput.parameterServerConfig.diskConfig.bootDiskSizeGb == INTEGER
    input.Body.trainingInput.parameterServerConfig.diskConfig.bootDiskType == STRING
    input.Body.trainingInput.parameterServerConfig.imageUri == STRING
    input.Body.trainingInput.parameterServerConfig.tpuTfVersion == STRING
    input.Body.trainingInput.parameterServerCount == STRING
    input.Body.trainingInput.parameterServerType == STRING
    input.Body.trainingInput.pythonModule == STRING
    input.Body.trainingInput.pythonVersion == STRING
    input.Body.trainingInput.region == STRING
    input.Body.trainingInput.runtimeVersion == STRING
    input.Body.trainingInput.scaleTier == enum_GoogleCloudMlV1__TrainingInputScaleTier[_]
    input.Body.trainingInput.scheduling.maxRunningTime == STRING
    input.Body.trainingInput.scheduling.maxWaitTime == STRING
    input.Body.trainingInput.scheduling.priority == INTEGER
    input.Body.trainingInput.serviceAccount == STRING
    input.Body.trainingInput.useChiefInTfConfig == BOOLEAN
    input.Body.trainingInput.workerConfig.acceleratorConfig.count == STRING
    input.Body.trainingInput.workerConfig.acceleratorConfig.type == enum_GoogleCloudMlV1__AcceleratorConfigType[_]
    input.Body.trainingInput.workerConfig.containerArgs[_] == STRING
    input.Body.trainingInput.workerConfig.containerCommand[_] == STRING
    input.Body.trainingInput.workerConfig.diskConfig.bootDiskSizeGb == INTEGER
    input.Body.trainingInput.workerConfig.diskConfig.bootDiskType == STRING
    input.Body.trainingInput.workerConfig.imageUri == STRING
    input.Body.trainingInput.workerConfig.tpuTfVersion == STRING
    input.Body.trainingInput.workerCount == STRING
    input.Body.trainingInput.workerType == STRING
    input.Body.trainingOutput.builtInAlgorithmOutput.framework == STRING
    input.Body.trainingOutput.builtInAlgorithmOutput.modelPath == STRING
    input.Body.trainingOutput.builtInAlgorithmOutput.pythonVersion == STRING
    input.Body.trainingOutput.builtInAlgorithmOutput.runtimeVersion == STRING
    input.Body.trainingOutput.completedTrialCount == STRING
    input.Body.trainingOutput.consumedMLUnits == NUMBER
    input.Body.trainingOutput.hyperparameterMetricTag == STRING
    input.Body.trainingOutput.isBuiltInAlgorithmJob == BOOLEAN
    input.Body.trainingOutput.isHyperparameterTuningJob == BOOLEAN
    input.Body.trainingOutput.trials[_].allMetrics[_].objectiveValue == NUMBER
    input.Body.trainingOutput.trials[_].allMetrics[_].trainingStep == STRING
    input.Body.trainingOutput.trials[_].builtInAlgorithmOutput.framework == STRING
    input.Body.trainingOutput.trials[_].builtInAlgorithmOutput.modelPath == STRING
    input.Body.trainingOutput.trials[_].builtInAlgorithmOutput.pythonVersion == STRING
    input.Body.trainingOutput.trials[_].builtInAlgorithmOutput.runtimeVersion == STRING
    input.Body.trainingOutput.trials[_].endTime == STRING
    input.Body.trainingOutput.trials[_].finalMetric.objectiveValue == NUMBER
    input.Body.trainingOutput.trials[_].finalMetric.trainingStep == STRING
    input.Body.trainingOutput.trials[_].hyperparameters.STRING == STRING
    input.Body.trainingOutput.trials[_].isTrialStoppedEarly == BOOLEAN
    input.Body.trainingOutput.trials[_].startTime == STRING
    input.Body.trainingOutput.trials[_].state == enum_GoogleCloudMlV1__HyperparameterOutputState[_]
    input.Body.trainingOutput.trials[_].trialId == STRING
    input.Body.trainingOutput.trials[_].webAccessUris.STRING == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

ml.projects.jobs.get

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

ml.projects.jobs.getIamPolicy

valid {
    input.ReqMap.resource == STRING
    input.Qs.options.requestedPolicyVersion == INTEGER
    input.ProviderMetadata.Region == STRING
}

ml.projects.jobs.list

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

ml.projects.jobs.patch

enum_GoogleCloudMlV1__AcceleratorConfigType := [ "ACCELERATOR_TYPE_UNSPECIFIED", "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", "NVIDIA_TESLA_V100", "NVIDIA_TESLA_P4", "NVIDIA_TESLA_T4", "NVIDIA_TESLA_A100", "TPU_V2", "TPU_V3", "TPU_V2_POD", "TPU_V3_POD", "TPU_V4_POD" ]
enum_GoogleCloudMlV1__HyperparameterOutputState := [ "STATE_UNSPECIFIED", "QUEUED", "PREPARING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLING", "CANCELLED" ]
enum_GoogleCloudMlV1__HyperparameterSpecAlgorithm := [ "ALGORITHM_UNSPECIFIED", "GRID_SEARCH", "RANDOM_SEARCH" ]
enum_GoogleCloudMlV1__HyperparameterSpecGoal := [ "GOAL_TYPE_UNSPECIFIED", "MAXIMIZE", "MINIMIZE" ]
enum_GoogleCloudMlV1__JobState := [ "STATE_UNSPECIFIED", "QUEUED", "PREPARING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLING", "CANCELLED" ]
enum_GoogleCloudMlV1__ParameterSpecScaleType := [ "NONE", "UNIT_LINEAR_SCALE", "UNIT_LOG_SCALE", "UNIT_REVERSE_LOG_SCALE" ]
enum_GoogleCloudMlV1__ParameterSpecType := [ "PARAMETER_TYPE_UNSPECIFIED", "DOUBLE", "INTEGER", "CATEGORICAL", "DISCRETE" ]
enum_GoogleCloudMlV1__PredictionInputDataFormat := [ "DATA_FORMAT_UNSPECIFIED", "JSON", "TEXT", "TF_RECORD", "TF_RECORD_GZIP", "CSV" ]
enum_GoogleCloudMlV1__PredictionInputOutputDataFormat := [ "DATA_FORMAT_UNSPECIFIED", "JSON", "TEXT", "TF_RECORD", "TF_RECORD_GZIP", "CSV" ]
enum_GoogleCloudMlV1__TrainingInputScaleTier := [ "BASIC", "STANDARD_1", "PREMIUM_1", "BASIC_GPU", "BASIC_TPU", "CUSTOM" ]

valid {
    input.Body.createTime == STRING
    input.Body.endTime == STRING
    input.Body.errorMessage == STRING
    input.Body.etag == STRING
    input.Body.jobId == STRING
    input.Body.labels.STRING == STRING
    input.Body.predictionInput.batchSize == STRING
    input.Body.predictionInput.dataFormat == enum_GoogleCloudMlV1__PredictionInputDataFormat[_]
    input.Body.predictionInput.inputPaths[_] == STRING
    input.Body.predictionInput.maxWorkerCount == STRING
    input.Body.predictionInput.modelName == STRING
    input.Body.predictionInput.outputDataFormat == enum_GoogleCloudMlV1__PredictionInputOutputDataFormat[_]
    input.Body.predictionInput.outputPath == STRING
    input.Body.predictionInput.region == STRING
    input.Body.predictionInput.runtimeVersion == STRING
    input.Body.predictionInput.signatureName == STRING
    input.Body.predictionInput.uri == STRING
    input.Body.predictionInput.versionName == STRING
    input.Body.predictionOutput.errorCount == STRING
    input.Body.predictionOutput.nodeHours == NUMBER
    input.Body.predictionOutput.outputPath == STRING
    input.Body.predictionOutput.predictionCount == STRING
    input.Body.startTime == STRING
    input.Body.state == enum_GoogleCloudMlV1__JobState[_]
    input.Body.trainingInput.args[_] == STRING
    input.Body.trainingInput.enableWebAccess == BOOLEAN
    input.Body.trainingInput.encryptionConfig.kmsKeyName == STRING
    input.Body.trainingInput.evaluatorConfig.acceleratorConfig.count == STRING
    input.Body.trainingInput.evaluatorConfig.acceleratorConfig.type == enum_GoogleCloudMlV1__AcceleratorConfigType[_]
    input.Body.trainingInput.evaluatorConfig.containerArgs[_] == STRING
    input.Body.trainingInput.evaluatorConfig.containerCommand[_] == STRING
    input.Body.trainingInput.evaluatorConfig.diskConfig.bootDiskSizeGb == INTEGER
    input.Body.trainingInput.evaluatorConfig.diskConfig.bootDiskType == STRING
    input.Body.trainingInput.evaluatorConfig.imageUri == STRING
    input.Body.trainingInput.evaluatorConfig.tpuTfVersion == STRING
    input.Body.trainingInput.evaluatorCount == STRING
    input.Body.trainingInput.evaluatorType == STRING
    input.Body.trainingInput.hyperparameters.algorithm == enum_GoogleCloudMlV1__HyperparameterSpecAlgorithm[_]
    input.Body.trainingInput.hyperparameters.enableTrialEarlyStopping == BOOLEAN
    input.Body.trainingInput.hyperparameters.goal == enum_GoogleCloudMlV1__HyperparameterSpecGoal[_]
    input.Body.trainingInput.hyperparameters.hyperparameterMetricTag == STRING
    input.Body.trainingInput.hyperparameters.maxFailedTrials == INTEGER
    input.Body.trainingInput.hyperparameters.maxParallelTrials == INTEGER
    input.Body.trainingInput.hyperparameters.maxTrials == INTEGER
    input.Body.trainingInput.hyperparameters.params[_].categoricalValues[_] == STRING
    input.Body.trainingInput.hyperparameters.params[_].discreteValues[_] == NUMBER
    input.Body.trainingInput.hyperparameters.params[_].maxValue == NUMBER
    input.Body.trainingInput.hyperparameters.params[_].minValue == NUMBER
    input.Body.trainingInput.hyperparameters.params[_].parameterName == STRING
    input.Body.trainingInput.hyperparameters.params[_].scaleType == enum_GoogleCloudMlV1__ParameterSpecScaleType[_]
    input.Body.trainingInput.hyperparameters.params[_].type == enum_GoogleCloudMlV1__ParameterSpecType[_]
    input.Body.trainingInput.hyperparameters.resumePreviousJobId == STRING
    input.Body.trainingInput.jobDir == STRING
    input.Body.trainingInput.masterConfig.acceleratorConfig.count == STRING
    input.Body.trainingInput.masterConfig.acceleratorConfig.type == enum_GoogleCloudMlV1__AcceleratorConfigType[_]
    input.Body.trainingInput.masterConfig.containerArgs[_] == STRING
    input.Body.trainingInput.masterConfig.containerCommand[_] == STRING
    input.Body.trainingInput.masterConfig.diskConfig.bootDiskSizeGb == INTEGER
    input.Body.trainingInput.masterConfig.diskConfig.bootDiskType == STRING
    input.Body.trainingInput.masterConfig.imageUri == STRING
    input.Body.trainingInput.masterConfig.tpuTfVersion == STRING
    input.Body.trainingInput.masterType == STRING
    input.Body.trainingInput.network == STRING
    input.Body.trainingInput.packageUris[_] == STRING
    input.Body.trainingInput.parameterServerConfig.acceleratorConfig.count == STRING
    input.Body.trainingInput.parameterServerConfig.acceleratorConfig.type == enum_GoogleCloudMlV1__AcceleratorConfigType[_]
    input.Body.trainingInput.parameterServerConfig.containerArgs[_] == STRING
    input.Body.trainingInput.parameterServerConfig.containerCommand[_] == STRING
    input.Body.trainingInput.parameterServerConfig.diskConfig.bootDiskSizeGb == INTEGER
    input.Body.trainingInput.parameterServerConfig.diskConfig.bootDiskType == STRING
    input.Body.trainingInput.parameterServerConfig.imageUri == STRING
    input.Body.trainingInput.parameterServerConfig.tpuTfVersion == STRING
    input.Body.trainingInput.parameterServerCount == STRING
    input.Body.trainingInput.parameterServerType == STRING
    input.Body.trainingInput.pythonModule == STRING
    input.Body.trainingInput.pythonVersion == STRING
    input.Body.trainingInput.region == STRING
    input.Body.trainingInput.runtimeVersion == STRING
    input.Body.trainingInput.scaleTier == enum_GoogleCloudMlV1__TrainingInputScaleTier[_]
    input.Body.trainingInput.scheduling.maxRunningTime == STRING
    input.Body.trainingInput.scheduling.maxWaitTime == STRING
    input.Body.trainingInput.scheduling.priority == INTEGER
    input.Body.trainingInput.serviceAccount == STRING
    input.Body.trainingInput.useChiefInTfConfig == BOOLEAN
    input.Body.trainingInput.workerConfig.acceleratorConfig.count == STRING
    input.Body.trainingInput.workerConfig.acceleratorConfig.type == enum_GoogleCloudMlV1__AcceleratorConfigType[_]
    input.Body.trainingInput.workerConfig.containerArgs[_] == STRING
    input.Body.trainingInput.workerConfig.containerCommand[_] == STRING
    input.Body.trainingInput.workerConfig.diskConfig.bootDiskSizeGb == INTEGER
    input.Body.trainingInput.workerConfig.diskConfig.bootDiskType == STRING
    input.Body.trainingInput.workerConfig.imageUri == STRING
    input.Body.trainingInput.workerConfig.tpuTfVersion == STRING
    input.Body.trainingInput.workerCount == STRING
    input.Body.trainingInput.workerType == STRING
    input.Body.trainingOutput.builtInAlgorithmOutput.framework == STRING
    input.Body.trainingOutput.builtInAlgorithmOutput.modelPath == STRING
    input.Body.trainingOutput.builtInAlgorithmOutput.pythonVersion == STRING
    input.Body.trainingOutput.builtInAlgorithmOutput.runtimeVersion == STRING
    input.Body.trainingOutput.completedTrialCount == STRING
    input.Body.trainingOutput.consumedMLUnits == NUMBER
    input.Body.trainingOutput.hyperparameterMetricTag == STRING
    input.Body.trainingOutput.isBuiltInAlgorithmJob == BOOLEAN
    input.Body.trainingOutput.isHyperparameterTuningJob == BOOLEAN
    input.Body.trainingOutput.trials[_].allMetrics[_].objectiveValue == NUMBER
    input.Body.trainingOutput.trials[_].allMetrics[_].trainingStep == STRING
    input.Body.trainingOutput.trials[_].builtInAlgorithmOutput.framework == STRING
    input.Body.trainingOutput.trials[_].builtInAlgorithmOutput.modelPath == STRING
    input.Body.trainingOutput.trials[_].builtInAlgorithmOutput.pythonVersion == STRING
    input.Body.trainingOutput.trials[_].builtInAlgorithmOutput.runtimeVersion == STRING
    input.Body.trainingOutput.trials[_].endTime == STRING
    input.Body.trainingOutput.trials[_].finalMetric.objectiveValue == NUMBER
    input.Body.trainingOutput.trials[_].finalMetric.trainingStep == STRING
    input.Body.trainingOutput.trials[_].hyperparameters.STRING == STRING
    input.Body.trainingOutput.trials[_].isTrialStoppedEarly == BOOLEAN
    input.Body.trainingOutput.trials[_].startTime == STRING
    input.Body.trainingOutput.trials[_].state == enum_GoogleCloudMlV1__HyperparameterOutputState[_]
    input.Body.trainingOutput.trials[_].trialId == STRING
    input.Body.trainingOutput.trials[_].webAccessUris.STRING == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

ml.projects.jobs.setIamPolicy

enum_GoogleIamV1__AuditLogConfigLogType := [ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ]

valid {
    input.Body.policy.auditConfigs[_].auditLogConfigs[_].exemptedMembers[_] == STRING
    input.Body.policy.auditConfigs[_].auditLogConfigs[_].logType == enum_GoogleIamV1__AuditLogConfigLogType[_]
    input.Body.policy.auditConfigs[_].service == STRING
    input.Body.policy.bindings[_].condition.description == STRING
    input.Body.policy.bindings[_].condition.expression == STRING
    input.Body.policy.bindings[_].condition.location == STRING
    input.Body.policy.bindings[_].condition.title == STRING
    input.Body.policy.bindings[_].members[_] == STRING
    input.Body.policy.bindings[_].role == STRING
    input.Body.policy.etag == STRING
    input.Body.policy.version == INTEGER
    input.Body.updateMask == STRING
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}

ml.projects.jobs.testIamPermissions

valid {
    input.Body.permissions[_] == STRING
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}

ml.projects.locations.get

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

ml.projects.locations.list

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

ml.projects.locations.operations.cancel

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

ml.projects.locations.operations.get

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

ml.projects.locations.studies.create

enum_GoogleCloudMlV1_StudyConfig_MetricSpecGoal := [ "GOAL_TYPE_UNSPECIFIED", "MAXIMIZE", "MINIMIZE" ]
enum_GoogleCloudMlV1_StudyConfig_ParameterSpecScaleType := [ "SCALE_TYPE_UNSPECIFIED", "UNIT_LINEAR_SCALE", "UNIT_LOG_SCALE", "UNIT_REVERSE_LOG_SCALE" ]
enum_GoogleCloudMlV1_StudyConfig_ParameterSpecType := [ "PARAMETER_TYPE_UNSPECIFIED", "DOUBLE", "INTEGER", "CATEGORICAL", "DISCRETE" ]
enum_GoogleCloudMlV1__StudyConfigAlgorithm := [ "ALGORITHM_UNSPECIFIED", "GAUSSIAN_PROCESS_BANDIT", "GRID_SEARCH", "RANDOM_SEARCH" ]

valid {
    input.Body.studyConfig.algorithm == enum_GoogleCloudMlV1__StudyConfigAlgorithm[_]
    input.Body.studyConfig.automatedStoppingConfig.decayCurveStoppingConfig.useElapsedTime == BOOLEAN
    input.Body.studyConfig.automatedStoppingConfig.medianAutomatedStoppingConfig.useElapsedTime == BOOLEAN
    input.Body.studyConfig.metrics[_].goal == enum_GoogleCloudMlV1_StudyConfig_MetricSpecGoal[_]
    input.Body.studyConfig.metrics[_].metric == STRING
    input.Body.studyConfig.parameters[_].categoricalValueSpec.values[_] == STRING
    input.Body.studyConfig.parameters[_].childParameterSpecs[_] == NESTED
    input.Body.studyConfig.parameters[_].discreteValueSpec.values[_] == NUMBER
    input.Body.studyConfig.parameters[_].doubleValueSpec.maxValue == NUMBER
    input.Body.studyConfig.parameters[_].doubleValueSpec.minValue == NUMBER
    input.Body.studyConfig.parameters[_].integerValueSpec.maxValue == STRING
    input.Body.studyConfig.parameters[_].integerValueSpec.minValue == STRING
    input.Body.studyConfig.parameters[_].parameter == STRING
    input.Body.studyConfig.parameters[_].parentCategoricalValues.values[_] == STRING
    input.Body.studyConfig.parameters[_].parentDiscreteValues.values[_] == NUMBER
    input.Body.studyConfig.parameters[_].parentIntValues.values[_] == STRING
    input.Body.studyConfig.parameters[_].scaleType == enum_GoogleCloudMlV1_StudyConfig_ParameterSpecScaleType[_]
    input.Body.studyConfig.parameters[_].type == enum_GoogleCloudMlV1_StudyConfig_ParameterSpecType[_]
    input.ReqMap.parent == STRING
    input.Qs.studyId == STRING
    input.ProviderMetadata.Region == STRING
}

ml.projects.locations.studies.delete

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

ml.projects.locations.studies.get

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

ml.projects.locations.studies.list

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

ml.projects.locations.studies.trials.addMeasurement

valid {
    input.Body.measurement.elapsedTime == STRING
    input.Body.measurement.metrics[_].metric == STRING
    input.Body.measurement.metrics[_].value == NUMBER
    input.Body.measurement.stepCount == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

ml.projects.locations.studies.trials.checkEarlyStoppingState

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

ml.projects.locations.studies.trials.complete

valid {
    input.Body.finalMeasurement.elapsedTime == STRING
    input.Body.finalMeasurement.metrics[_].metric == STRING
    input.Body.finalMeasurement.metrics[_].value == NUMBER
    input.Body.finalMeasurement.stepCount == STRING
    input.Body.infeasibleReason == STRING
    input.Body.trialInfeasible == BOOLEAN
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

ml.projects.locations.studies.trials.create

enum_GoogleCloudMlV1__TrialState := [ "STATE_UNSPECIFIED", "REQUESTED", "ACTIVE", "COMPLETED", "STOPPING" ]

valid {
    input.Body.finalMeasurement.elapsedTime == STRING
    input.Body.finalMeasurement.metrics[_].metric == STRING
    input.Body.finalMeasurement.metrics[_].value == NUMBER
    input.Body.finalMeasurement.stepCount == STRING
    input.Body.measurements[_].elapsedTime == STRING
    input.Body.measurements[_].metrics[_].metric == STRING
    input.Body.measurements[_].metrics[_].value == NUMBER
    input.Body.measurements[_].stepCount == STRING
    input.Body.parameters[_].floatValue == NUMBER
    input.Body.parameters[_].intValue == STRING
    input.Body.parameters[_].parameter == STRING
    input.Body.parameters[_].stringValue == STRING
    input.Body.state == enum_GoogleCloudMlV1__TrialState[_]
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

ml.projects.locations.studies.trials.delete

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

ml.projects.locations.studies.trials.get

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

ml.projects.locations.studies.trials.list

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

ml.projects.locations.studies.trials.listOptimalTrials

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

ml.projects.locations.studies.trials.stop

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

ml.projects.locations.studies.trials.suggest

valid {
    input.Body.clientId == STRING
    input.Body.suggestionCount == INTEGER
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

ml.projects.models.create

enum_GoogleCloudMlV1__AcceleratorConfigType := [ "ACCELERATOR_TYPE_UNSPECIFIED", "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", "NVIDIA_TESLA_V100", "NVIDIA_TESLA_P4", "NVIDIA_TESLA_T4", "NVIDIA_TESLA_A100", "TPU_V2", "TPU_V3", "TPU_V2_POD", "TPU_V3_POD", "TPU_V4_POD" ]
enum_GoogleCloudMlV1__MetricSpecName := [ "METRIC_NAME_UNSPECIFIED", "CPU_USAGE", "GPU_DUTY_CYCLE" ]
enum_GoogleCloudMlV1__VersionFramework := [ "FRAMEWORK_UNSPECIFIED", "TENSORFLOW", "SCIKIT_LEARN", "XGBOOST" ]
enum_GoogleCloudMlV1__VersionState := [ "UNKNOWN", "READY", "CREATING", "FAILED", "DELETING", "UPDATING" ]

valid {
    input.Body.defaultVersion.acceleratorConfig.count == STRING
    input.Body.defaultVersion.acceleratorConfig.type == enum_GoogleCloudMlV1__AcceleratorConfigType[_]
    input.Body.defaultVersion.autoScaling.maxNodes == INTEGER
    input.Body.defaultVersion.autoScaling.metrics[_].name == enum_GoogleCloudMlV1__MetricSpecName[_]
    input.Body.defaultVersion.autoScaling.metrics[_].target == INTEGER
    input.Body.defaultVersion.autoScaling.minNodes == INTEGER
    input.Body.defaultVersion.container.args[_] == STRING
    input.Body.defaultVersion.container.command[_] == STRING
    input.Body.defaultVersion.container.env[_].name == STRING
    input.Body.defaultVersion.container.env[_].value == STRING
    input.Body.defaultVersion.container.image == STRING
    input.Body.defaultVersion.container.ports[_].containerPort == INTEGER
    input.Body.defaultVersion.createTime == STRING
    input.Body.defaultVersion.deploymentUri == STRING
    input.Body.defaultVersion.description == STRING
    input.Body.defaultVersion.errorMessage == STRING
    input.Body.defaultVersion.etag == STRING
    input.Body.defaultVersion.explanationConfig.integratedGradientsAttribution.numIntegralSteps == INTEGER
    input.Body.defaultVersion.explanationConfig.sampledShapleyAttribution.numPaths == INTEGER
    input.Body.defaultVersion.explanationConfig.xraiAttribution.numIntegralSteps == INTEGER
    input.Body.defaultVersion.framework == enum_GoogleCloudMlV1__VersionFramework[_]
    input.Body.defaultVersion.isDefault == BOOLEAN
    input.Body.defaultVersion.labels.STRING == STRING
    input.Body.defaultVersion.lastUseTime == STRING
    input.Body.defaultVersion.machineType == STRING
    input.Body.defaultVersion.manualScaling.nodes == INTEGER
    input.Body.defaultVersion.name == STRING
    input.Body.defaultVersion.packageUris[_] == STRING
    input.Body.defaultVersion.predictionClass == STRING
    input.Body.defaultVersion.pythonVersion == STRING
    input.Body.defaultVersion.requestLoggingConfig.bigqueryTableName == STRING
    input.Body.defaultVersion.requestLoggingConfig.samplingPercentage == NUMBER
    input.Body.defaultVersion.routes.health == STRING
    input.Body.defaultVersion.routes.predict == STRING
    input.Body.defaultVersion.runtimeVersion == STRING
    input.Body.defaultVersion.serviceAccount == STRING
    input.Body.defaultVersion.state == enum_GoogleCloudMlV1__VersionState[_]
    input.Body.description == STRING
    input.Body.etag == STRING
    input.Body.labels.STRING == STRING
    input.Body.name == STRING
    input.Body.onlinePredictionConsoleLogging == BOOLEAN
    input.Body.onlinePredictionLogging == BOOLEAN
    input.Body.regions[_] == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

ml.projects.models.delete

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

ml.projects.models.get

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

ml.projects.models.getIamPolicy

valid {
    input.ReqMap.resource == STRING
    input.Qs.options.requestedPolicyVersion == INTEGER
    input.ProviderMetadata.Region == STRING
}

ml.projects.models.list

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

ml.projects.models.patch

enum_GoogleCloudMlV1__AcceleratorConfigType := [ "ACCELERATOR_TYPE_UNSPECIFIED", "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", "NVIDIA_TESLA_V100", "NVIDIA_TESLA_P4", "NVIDIA_TESLA_T4", "NVIDIA_TESLA_A100", "TPU_V2", "TPU_V3", "TPU_V2_POD", "TPU_V3_POD", "TPU_V4_POD" ]
enum_GoogleCloudMlV1__MetricSpecName := [ "METRIC_NAME_UNSPECIFIED", "CPU_USAGE", "GPU_DUTY_CYCLE" ]
enum_GoogleCloudMlV1__VersionFramework := [ "FRAMEWORK_UNSPECIFIED", "TENSORFLOW", "SCIKIT_LEARN", "XGBOOST" ]
enum_GoogleCloudMlV1__VersionState := [ "UNKNOWN", "READY", "CREATING", "FAILED", "DELETING", "UPDATING" ]

valid {
    input.Body.defaultVersion.acceleratorConfig.count == STRING
    input.Body.defaultVersion.acceleratorConfig.type == enum_GoogleCloudMlV1__AcceleratorConfigType[_]
    input.Body.defaultVersion.autoScaling.maxNodes == INTEGER
    input.Body.defaultVersion.autoScaling.metrics[_].name == enum_GoogleCloudMlV1__MetricSpecName[_]
    input.Body.defaultVersion.autoScaling.metrics[_].target == INTEGER
    input.Body.defaultVersion.autoScaling.minNodes == INTEGER
    input.Body.defaultVersion.container.args[_] == STRING
    input.Body.defaultVersion.container.command[_] == STRING
    input.Body.defaultVersion.container.env[_].name == STRING
    input.Body.defaultVersion.container.env[_].value == STRING
    input.Body.defaultVersion.container.image == STRING
    input.Body.defaultVersion.container.ports[_].containerPort == INTEGER
    input.Body.defaultVersion.createTime == STRING
    input.Body.defaultVersion.deploymentUri == STRING
    input.Body.defaultVersion.description == STRING
    input.Body.defaultVersion.errorMessage == STRING
    input.Body.defaultVersion.etag == STRING
    input.Body.defaultVersion.explanationConfig.integratedGradientsAttribution.numIntegralSteps == INTEGER
    input.Body.defaultVersion.explanationConfig.sampledShapleyAttribution.numPaths == INTEGER
    input.Body.defaultVersion.explanationConfig.xraiAttribution.numIntegralSteps == INTEGER
    input.Body.defaultVersion.framework == enum_GoogleCloudMlV1__VersionFramework[_]
    input.Body.defaultVersion.isDefault == BOOLEAN
    input.Body.defaultVersion.labels.STRING == STRING
    input.Body.defaultVersion.lastUseTime == STRING
    input.Body.defaultVersion.machineType == STRING
    input.Body.defaultVersion.manualScaling.nodes == INTEGER
    input.Body.defaultVersion.name == STRING
    input.Body.defaultVersion.packageUris[_] == STRING
    input.Body.defaultVersion.predictionClass == STRING
    input.Body.defaultVersion.pythonVersion == STRING
    input.Body.defaultVersion.requestLoggingConfig.bigqueryTableName == STRING
    input.Body.defaultVersion.requestLoggingConfig.samplingPercentage == NUMBER
    input.Body.defaultVersion.routes.health == STRING
    input.Body.defaultVersion.routes.predict == STRING
    input.Body.defaultVersion.runtimeVersion == STRING
    input.Body.defaultVersion.serviceAccount == STRING
    input.Body.defaultVersion.state == enum_GoogleCloudMlV1__VersionState[_]
    input.Body.description == STRING
    input.Body.etag == STRING
    input.Body.labels.STRING == STRING
    input.Body.name == STRING
    input.Body.onlinePredictionConsoleLogging == BOOLEAN
    input.Body.onlinePredictionLogging == BOOLEAN
    input.Body.regions[_] == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

ml.projects.models.setIamPolicy

enum_GoogleIamV1__AuditLogConfigLogType := [ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ]

valid {
    input.Body.policy.auditConfigs[_].auditLogConfigs[_].exemptedMembers[_] == STRING
    input.Body.policy.auditConfigs[_].auditLogConfigs[_].logType == enum_GoogleIamV1__AuditLogConfigLogType[_]
    input.Body.policy.auditConfigs[_].service == STRING
    input.Body.policy.bindings[_].condition.description == STRING
    input.Body.policy.bindings[_].condition.expression == STRING
    input.Body.policy.bindings[_].condition.location == STRING
    input.Body.policy.bindings[_].condition.title == STRING
    input.Body.policy.bindings[_].members[_] == STRING
    input.Body.policy.bindings[_].role == STRING
    input.Body.policy.etag == STRING
    input.Body.policy.version == INTEGER
    input.Body.updateMask == STRING
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}

ml.projects.models.testIamPermissions

valid {
    input.Body.permissions[_] == STRING
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}

ml.projects.models.versions.create

enum_GoogleCloudMlV1__AcceleratorConfigType := [ "ACCELERATOR_TYPE_UNSPECIFIED", "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", "NVIDIA_TESLA_V100", "NVIDIA_TESLA_P4", "NVIDIA_TESLA_T4", "NVIDIA_TESLA_A100", "TPU_V2", "TPU_V3", "TPU_V2_POD", "TPU_V3_POD", "TPU_V4_POD" ]
enum_GoogleCloudMlV1__MetricSpecName := [ "METRIC_NAME_UNSPECIFIED", "CPU_USAGE", "GPU_DUTY_CYCLE" ]
enum_GoogleCloudMlV1__VersionFramework := [ "FRAMEWORK_UNSPECIFIED", "TENSORFLOW", "SCIKIT_LEARN", "XGBOOST" ]
enum_GoogleCloudMlV1__VersionState := [ "UNKNOWN", "READY", "CREATING", "FAILED", "DELETING", "UPDATING" ]

valid {
    input.Body.acceleratorConfig.count == STRING
    input.Body.acceleratorConfig.type == enum_GoogleCloudMlV1__AcceleratorConfigType[_]
    input.Body.autoScaling.maxNodes == INTEGER
    input.Body.autoScaling.metrics[_].name == enum_GoogleCloudMlV1__MetricSpecName[_]
    input.Body.autoScaling.metrics[_].target == INTEGER
    input.Body.autoScaling.minNodes == INTEGER
    input.Body.container.args[_] == STRING
    input.Body.container.command[_] == STRING
    input.Body.container.env[_].name == STRING
    input.Body.container.env[_].value == STRING
    input.Body.container.image == STRING
    input.Body.container.ports[_].containerPort == INTEGER
    input.Body.createTime == STRING
    input.Body.deploymentUri == STRING
    input.Body.description == STRING
    input.Body.errorMessage == STRING
    input.Body.etag == STRING
    input.Body.explanationConfig.integratedGradientsAttribution.numIntegralSteps == INTEGER
    input.Body.explanationConfig.sampledShapleyAttribution.numPaths == INTEGER
    input.Body.explanationConfig.xraiAttribution.numIntegralSteps == INTEGER
    input.Body.framework == enum_GoogleCloudMlV1__VersionFramework[_]
    input.Body.isDefault == BOOLEAN
    input.Body.labels.STRING == STRING
    input.Body.lastUseTime == STRING
    input.Body.machineType == STRING
    input.Body.manualScaling.nodes == INTEGER
    input.Body.name == STRING
    input.Body.packageUris[_] == STRING
    input.Body.predictionClass == STRING
    input.Body.pythonVersion == STRING
    input.Body.requestLoggingConfig.bigqueryTableName == STRING
    input.Body.requestLoggingConfig.samplingPercentage == NUMBER
    input.Body.routes.health == STRING
    input.Body.routes.predict == STRING
    input.Body.runtimeVersion == STRING
    input.Body.serviceAccount == STRING
    input.Body.state == enum_GoogleCloudMlV1__VersionState[_]
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

ml.projects.models.versions.delete

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

ml.projects.models.versions.get

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

ml.projects.models.versions.list

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

ml.projects.models.versions.patch

enum_GoogleCloudMlV1__AcceleratorConfigType := [ "ACCELERATOR_TYPE_UNSPECIFIED", "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", "NVIDIA_TESLA_V100", "NVIDIA_TESLA_P4", "NVIDIA_TESLA_T4", "NVIDIA_TESLA_A100", "TPU_V2", "TPU_V3", "TPU_V2_POD", "TPU_V3_POD", "TPU_V4_POD" ]
enum_GoogleCloudMlV1__MetricSpecName := [ "METRIC_NAME_UNSPECIFIED", "CPU_USAGE", "GPU_DUTY_CYCLE" ]
enum_GoogleCloudMlV1__VersionFramework := [ "FRAMEWORK_UNSPECIFIED", "TENSORFLOW", "SCIKIT_LEARN", "XGBOOST" ]
enum_GoogleCloudMlV1__VersionState := [ "UNKNOWN", "READY", "CREATING", "FAILED", "DELETING", "UPDATING" ]

valid {
    input.Body.acceleratorConfig.count == STRING
    input.Body.acceleratorConfig.type == enum_GoogleCloudMlV1__AcceleratorConfigType[_]
    input.Body.autoScaling.maxNodes == INTEGER
    input.Body.autoScaling.metrics[_].name == enum_GoogleCloudMlV1__MetricSpecName[_]
    input.Body.autoScaling.metrics[_].target == INTEGER
    input.Body.autoScaling.minNodes == INTEGER
    input.Body.container.args[_] == STRING
    input.Body.container.command[_] == STRING
    input.Body.container.env[_].name == STRING
    input.Body.container.env[_].value == STRING
    input.Body.container.image == STRING
    input.Body.container.ports[_].containerPort == INTEGER
    input.Body.createTime == STRING
    input.Body.deploymentUri == STRING
    input.Body.description == STRING
    input.Body.errorMessage == STRING
    input.Body.etag == STRING
    input.Body.explanationConfig.integratedGradientsAttribution.numIntegralSteps == INTEGER
    input.Body.explanationConfig.sampledShapleyAttribution.numPaths == INTEGER
    input.Body.explanationConfig.xraiAttribution.numIntegralSteps == INTEGER
    input.Body.framework == enum_GoogleCloudMlV1__VersionFramework[_]
    input.Body.isDefault == BOOLEAN
    input.Body.labels.STRING == STRING
    input.Body.lastUseTime == STRING
    input.Body.machineType == STRING
    input.Body.manualScaling.nodes == INTEGER
    input.Body.name == STRING
    input.Body.packageUris[_] == STRING
    input.Body.predictionClass == STRING
    input.Body.pythonVersion == STRING
    input.Body.requestLoggingConfig.bigqueryTableName == STRING
    input.Body.requestLoggingConfig.samplingPercentage == NUMBER
    input.Body.routes.health == STRING
    input.Body.routes.predict == STRING
    input.Body.runtimeVersion == STRING
    input.Body.serviceAccount == STRING
    input.Body.state == enum_GoogleCloudMlV1__VersionState[_]
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

ml.projects.models.versions.setDefault

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

ml.projects.operations.cancel

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

ml.projects.operations.get

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

ml.projects.operations.list

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

ml.projects.predict

valid {
    input.Body.httpBody.contentType == STRING
    input.Body.httpBody.data == STRING
    input.Body.httpBody.extensions[_].STRING == ANY
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}