A google_ml_engine_models is used to test a Google Model resource
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
Properties that can be accessed from the google_ml_engine_models resource:
See the google_ml_engine_model resource for more information.
namesgoogle_ml_engine_model namedescriptionsgoogle_ml_engine_model descriptiondefault_versionsgoogle_ml_engine_model default_versionregionsgoogle_ml_engine_model regionsonline_prediction_loggingsgoogle_ml_engine_model online_prediction_loggingonline_prediction_console_loggingsgoogle_ml_engine_model online_prediction_console_logginglabelsgoogle_ml_engine_model labelsThis resource supports all of the above properties as filter criteria, which can be used with where as a block or a method.
Ensure the Cloud ML is enabled for the current project.
© 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/