Skip to main content

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_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.

Edit this page on GitHub

Thank you for your feedback!

×









Search Results