Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.4 KB

google_ml_engine_models.md

File metadata and controls

36 lines (29 loc) · 1.4 KB
title platform
About the google_ml_engine_models resource
gcp

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 google_ml_engine_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 default_version
  • regions: an array of google_ml_engine_model regions
  • online_prediction_loggings: an array of google_ml_engine_model online_prediction_logging
  • online_prediction_console_loggings: an array of google_ml_engine_model online_prediction_console_logging
  • 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.