Spec-Zone.ru › Chef 18

Ресурс google_ml_engine_models

[править на GitHub]

Синтаксис

Используется google_ml_engine_models для проверки ресурса модели Google.

Примеры

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_model значений default_version
regions
массив google_ml_engine_model областей
online_prediction_loggings
массив google_ml_engine_model online_prediction_logging
online_prediction_console_loggings
массив google_ml_engine_model online_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/

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API