google_ml_engine_models resource
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 the google_ml_engine_model resource for more information.
names- an array of
google_ml_engine_modelname descriptions- an array of
google_ml_engine_modeldescription default_versions- an array of
google_ml_engine_modeldefault_version regions- an array of
google_ml_engine_modelregions online_prediction_loggings- an array of
google_ml_engine_modelonline_prediction_logging online_prediction_console_loggings- an array of
google_ml_engine_modelonline_prediction_console_logging labels- an array of
google_ml_engine_modellabels
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.
Was this page helpful?