title | platform |
---|---|
About the google_ml_engine_models resource |
gcp |
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 google_ml_engine_model.md for more detailed information
names
: an array ofgoogle_ml_engine_model
namedescriptions
: an array ofgoogle_ml_engine_model
descriptiondefault_versions
: an array ofgoogle_ml_engine_model
default_versionregions
: an array ofgoogle_ml_engine_model
regionsonline_prediction_loggings
: an array ofgoogle_ml_engine_model
online_prediction_loggingonline_prediction_console_loggings
: an array ofgoogle_ml_engine_model
online_prediction_console_logginglabels
: an array ofgoogle_ml_engine_model
labels
This 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.