Модель google_ml_engine_models
Синтаксис
Используется google_ml_engine_models для проверки ресурса Google Model.
Примеры
describe google_ml_engine_models(project: 'chef-gcp-inspec') do
its('descriptions') { should include 'My awesome ML model' }
its('online_prediction_loggings') { should include 'true' }
its('online_prediction_console_loggings') { should include 'true' }
end
Свойства
Свойства, доступные из ресурса google_ml_engine_models:
Дополнительную информацию см. в ресурсе google_ml_engine_model.
names- массив имен
google_ml_engine_model descriptions- массив описаний
google_ml_engine_model default_versions- массив значений
google_ml_engine_modeldefault_version regions- массив регионов
google_ml_engine_model online_prediction_loggings- массив значений
google_ml_engine_modelonline_prediction_logging online_prediction_console_loggings- массив значений
google_ml_engine_modelonline_prediction_console_logging labels- массив меток
google_ml_engine_model
Критерии фильтрации
Этот ресурс поддерживает все перечисленные выше свойства в качестве критериев фильтрации, которые могут использоваться с where в качестве блока или метода.
Разрешения GCP
Убедитесь, что Cloud ML включен для текущего проекта.
© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/inspec/resources/google_ml_engine_models/