Syntax
A google_ml_engine_models
is used to test a Google Model resource
Examples
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
Properties that can be accessed from the google_ml_engine_models
resource:
See googlemlengine_model.md for more detailed information
* names
: an array of google_ml_engine_model
name
* descriptions
: an array of google_ml_engine_model
description
* default_versions
: an array of google_ml_engine_model
defaultversion
* regions
: an array of `googlemlenginemodelregions
*
onlinepredictionloggings: an array of
googlemlenginemodel` onlinepredictionlogging
* `onlinepredictionconsoleloggings: an array of
googlemlenginemodel` onlinepredictionconsolelogging
* labels
: an array of google_ml_engine_model
labels
Filter Criteria
This resource supports all of the above properties as filter criteria, which can be used
with where
as a block or a method.
GCP Permissions
Ensure the Cloud ML is enabled for the current project.